Lfs forcing to cdn-lfs-eu-1 endpoint

Hello,

I am trying to download a model (jinaai/jina-reranker-v1-turbo-en ) via huggingface_hub (cli and/or lib); and it seems to always push me to https://cdn-lfs-eu-1.hf.com endpoint for the LFS files. The debug logs show

DEBUG:huggingface_hub.utils._http:Request 832a264d-9774-45dc-af45-e98d1a4083d8: GET https://cdn-lfs-eu-1.hf.co/repos

I will not be able to use b/c of firewall restrictions at my office, cdn-lfs-us-1 is open along with cdn-lfs

I do see this model is tagged with Region: EU, but I cannot find any documentation about region specific models/lfs/etc. On the contrary, I have read all of LFS backed by an S3 bucket in us-east-1. Yet the Cloudfront pushes me to EU endpoint while I am in US.

Therefore, I was looking for information on the region specific process which will help me in getting a firewall rule added. Or help on how to force HF hub to not use the EU cdn endpoint.

thanks

1 Like

looks like this blog answers my question

1 Like