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
I use VPN (specifically ShadowRocket) to access huggingface.com and hf.co, I tried to use huggingface-cli download file. It would work with small files, but for large files such as*.safetensors and *.bin, It would stuck at 0% forever.
I enabled debug in /Users/user/miniforge3/envs/py312/bin/huggingface-cli file using
Hi @truebit, sorry you encountered this issue. Could you retry with hf_transfer disabled ?
export HF_HUB_ENABLE_HF_TRANSFER=0
hf_transfer is a power user tool optimized for performance in standard setups as mentioned in the documentation here. It prioritizes speed but doesn't support features like proxies or resumable downloads. So the default downloader might work better with your VPN setup or at least give us explicit errors if any.
Describe the bug
I use VPN (specifically ShadowRocket) to access huggingface.com and hf.co, I tried to use
huggingface-cli
download file. It would work with small files, but for large files such as*.safetensors
and*.bin
, It would stuck at 0% forever.I enabled debug in
/Users/user/miniforge3/envs/py312/bin/huggingface-cli
file usingbut the log did not show any useful info.
By the way, I could use
wget
to directly download the large files in the same terminal.Reproduction
No response
Logs
System info
The text was updated successfully, but these errors were encountered: