Skip to content

Commit 1344923

Browse files
committed
fix(infra): disable HF Xet to use classic CDN download path
The Xet transfer protocol (hf-xet) hangs behind TLS-inspection proxies that allow the TCP/TLS handshake to cas-bridge.xethub.hf.co but block the data transfer, stalling model downloads at startup. Set HF_HUB_DISABLE_XET=1 so huggingface_hub falls back to the classic CDN path.
1 parent 420747b commit 1344923

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ services:
88
environment:
99
- QDRANT_HOST=qdrant
1010
- QDRANT_API_KEY=${QDRANT_API_KEY:-}
11+
# Force HuggingFace's classic CDN download path. The Xet transfer
12+
# protocol is blocked/throttled by some corporate TLS-inspection proxies.
13+
- HF_HUB_DISABLE_XET=1
1114
volumes:
1215
- ./docs:/app/docs
1316
# Self-contained model cache so `docker compose up` works on any host

0 commit comments

Comments
 (0)