Skip to content

Commit 40e4dbe

Browse files
psychedelicioushipsterusername
authored andcommitted
docs: add blurb about setting a HF token when downloading HF models by URL and not repo id
1 parent 4815b4e commit 40e4dbe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ remote_api_tokens:
114114
115115
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.
116116

117+
!!! tip "HuggingFace Models"
118+
119+
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`.
120+
117121
#### Model Hashing
118122

119123
Models are hashed during installation, providing a stable identifier for models across all platforms. Hashing is a one-time operation.

0 commit comments

Comments
 (0)