How to get a list of all Huggingface download redirections to whitelist?

I work inside a secure corporate VPN network, so I’m unable to download Huggingface models using from_pretrained commands. However, I can request the security team to whitelist certain URLs needed for my use-case.

The security team has already whitelisted the ‘’ and ‘’ URLs. I can now download the files from repo but the loading functions from_pretrained still don’t work.

I think it’s getting blocked while redirecting the requests internally. So, is there a way to know all (hop) URLs I can request to whitelist to make the load functions work?

Thanks in advance.

hi @ayadav

Can you give more details, like error logs, etc?

Is there any update on this?