From 40e4dbe1fbe609ce8cd0d78cad169bc5f45ebdac Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 3 Jan 2025 18:41:54 +1000 Subject: [PATCH] docs: add blurb about setting a HF token when downloading HF models by URL and not repo id --- docs/configuration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 3d0378bc96..6bfc05bcd4 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -114,6 +114,10 @@ remote_api_tokens: The provided token will be added as a `Bearer` token to the network requests to download the model files. As far as we know, this works for all model marketplaces that require authorization. +!!! tip "HuggingFace Models" + + If you get an error when installing a HF model using a URL instead of repo id, you may need to [set up a HF API token](https://huggingface.co/settings/tokens) and add an entry for it under `remote_api_tokens`. Use `huggingface.co` for `url_regex`. + #### Model Hashing Models are hashed during installation, providing a stable identifier for models across all platforms. Hashing is a one-time operation.