tabbyAPI-ollama/common
kingbri 55ccd1baad API: Add HuggingFace downloader
Adds an asynchronous huggingface downloader that uses HF hub to fetch
all repo files. The current HF hub package has a snapshot_download
function that does not cancel on KeyboardInterrupt.

Instead, make a downloader that uses the Rich progress bar styling
along with a cancellable interface. Finally, link this to TabbyAPI.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-04-29 01:15:02 -04:00
..
args.py Tree: Format 2024-03-13 00:02:55 -04:00
auth.py API: Cleanup permission endpoint 2024-03-18 15:13:26 -04:00
concurrency.py API: Fix blocking iterator execution 2024-03-16 23:23:31 -04:00
config.py Tree: Update to cleanup globals 2024-03-12 23:59:30 -04:00
downloader.py API: Add HuggingFace downloader 2024-04-29 01:15:02 -04:00
gen_logging.py Tree: Format 2024-03-13 23:33:18 -04:00
logger.py API: Add HuggingFace downloader 2024-04-29 01:15:02 -04:00
model.py Common: Migrate request utils to networking 2024-03-21 23:21:57 -04:00
networking.py Network: Fix socket check timeout 2024-04-22 21:33:41 -04:00
sampling.py API: Fix banned_tokens string when empty 2024-04-28 12:46:28 -04:00
signals.py Signal: Fix signal handlers for uvicorn 2024-03-16 23:23:31 -04:00
templating.py Templates: Migrate to class 2024-04-21 23:28:14 -04:00
transformers_utils.py Tree: Add transformers_utils 2024-04-20 00:07:39 -04:00
utils.py Common: Migrate request utils to networking 2024-03-21 23:21:57 -04:00