You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update models-downloading with downloading behind a proxy or firewall… (#2628)
* Update models-downloading with downloading behind a proxy or firewall info
* Update models-downloading.md
Addresses comments from @rajatarya 💪
* Update docs/hub/models-downloading.md
Co-authored-by: Hugo Larcher <hugo.larcher@huggingface.co>
---------
Co-authored-by: Hugo Larcher <hugo.larcher@huggingface.co>
Repos are mounted read-only. See [Mount as a Local Filesystem](./storage-buckets-access#mount-as-a-local-filesystem) for full setup details, backend options, and caching.
85
+
86
+
## Downloading behind a proxy or firewall
87
+
88
+
If your network restricts outbound traffic through a firewall or proxy, downloading models and datasets requires more than just `huggingface.co`. File contents are served from separate storage and CDN hostnames, and `from_pretrained` / `hf download` will fail if these are not reachable, even when `huggingface.co` itself is allowlisted.
89
+
90
+
Allowlist the following hostnames (all over HTTPS / port 443):
0 commit comments