Skip to content

Add Huggingface download CDN and Xet domains#113

Open
rovle wants to merge 1 commit into
daytonaio:mainfrom
rovle:huggingface-hf-co-xet-domains
Open

Add Huggingface download CDN and Xet domains#113
rovle wants to merge 1 commit into
daytonaio:mainfrom
rovle:huggingface-hf-co-xet-domains

Conversation

@rovle

@rovle rovle commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Huggingface downloads nowadays redirect off huggingface.co to backends the current whitelist doesn't cover:

  • the hf.co LFS CDN,
  • Xet storage (*.xethub.hf.co),
  • and the multi-cloud CDN (*.cdn.hf.co, *.aws.cdn.hf.co, *.gcp.cdn.hf.co).

Adding these to enable downloads from HF.

…hitelist

Modern HuggingFace downloads no longer come solely from huggingface.co.
LFS-backed repos redirect to the hf.co CDN (cdn-lfs.hf.co,
cdn-lfs-{us,eu}-1.hf.co), Xet-backed repos pull from the Xet storage
endpoints (cas-bridge / cas-server / transfer.xethub.hf.co), and the
newer multi-cloud CDN serves from {region}.{cloud}.cdn.hf.co (e.g.
us.aws.cdn.hf.co, us.gcp.cdn.hf.co), verified live via the x-hf-cdn-pop
header.

None match the existing *.huggingface.co wildcard. Because *.hf.co only
matches one subdomain level, the xethub and cdn branches each need their
own wildcard per label level.

Signed-off-by: rovle <lovre.pesut@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant