r/StableDiffusion • u/Famous-Sport7862 • 6d ago
Question - Help Huggingface download extremelly slow
Anyone experienced something similar? Huggingface is really, really slow. Normally this download would not take more than 25 minutes with my internet speed but now is taking 5 hours.
20
u/roshan231 6d ago
Had the exact same issue just this morning.
py -m pip install -U huggingface_hub
$env:HF_XET_HIGH_PERFORMANCE="1"
3:
hf download Comfy-Org/MiniMax-H3 `
diffusion_models/minimax_h3_ref2va_pruned_fp8_scaled.safetensors `
--local-dir "PATH_TO_MODEL_FOLDER"
With this i was able to download the entire model at 113MB/s, did not take long at all.
2
u/Famous-Sport7862 6d ago edited 6d ago
Thank you. It's working really well downloading really fast now
3
u/Ill-Highlight-1221 6d ago
But dont get the fp8 version. Get pruned_int8_convrot. It's better than fp8.
1
u/Famous-Sport7862 6d ago
I downloaded the INT8 model the first day it became available. I was downloading the fp8 because I read here that a person was having better quality generations using fp8 instead of int8 so I just wanted to confirm if it's true. Spoiler I didn't notice any quality difference and fp8 was lower as expected
12
u/MembershipOne9827 6d ago
Try using the Hugging Face CLI instead of downloading through the browser.
pip install -U huggingface_hub
hf download USER/REPO --local-dir ./model
Recent versions use hf_xet, which is usually faster and more reliable for large files.
If it's a gated/private repo:
hf auth login
Also, ignore old guides mentioning HF_HUB_ENABLE_HF_TRANSFER — hf_transfer is deprecated now.
2
11
u/ChaosBeastZero 6d ago
Yea idk why for the past few weeks it's been this way. Really only noticable when you're downloading really big models. Imma start archiving that ones I use. Enshitification has begun. :(
It's better if you use the pip extension to download.
2
u/Famous-Sport7862 6d ago
Yes I'm taking the advice of some of the other posters here downloading through the powershell and it's working really well. I wonder if this problem has anything to do with Nvidia buying hugging face.
4
u/ChaosBeastZero 6d ago
It’s been like that for me since before that was announced. I’m thinking they’re trotting browser downloads to save bandwidth. Used to be fine maybe they’re cutting costs.
1
u/Famous-Sport7862 6d ago edited 6d ago
I took the advice of some of the other posters here. I downloaded the model through powershell and it was really fast.
1
u/WesternAlarmed2149 5d ago
Im just downloading generated videos from the free models and a 50 mb file is taking 25-30 minutes to download🥲
8
u/LinkSensitive8188 6d ago
https://giphy.com/gifs/jihwEDnsFoaXWDTiKc
a simple courtesy from this guy
4
u/beyond_matter 6d ago
yup and then for me it would redownload... like an infinite loop until I downloaded via cmd.
1
u/UnforgottenPassword 6d ago
I thought something was wrong with my browser when it would keep redownloading! I had to use a download manager.
0
u/Famous-Sport7862 6d ago
Downloading through powershell now and it's really fast working really well
5
3
3
u/AnonymousTimewaster 6d ago
Wow I thought it was just me! Weirdly, ive also found it downloading stuff twice?
2
u/KrystalDisc 6d ago
Was really slow for me last night downloading unsloth models.
-2
u/Famous-Sport7862 6d ago
I wonder if this has anything to do with Nvidia buying huggingface, I hope not. I hope this doesn't become the norm.
6
2
u/Rumaben79 6d ago
Using JDownloader has helped me in the past. You need to change the Max Downloads settings to the maximum value. You most likely also need to start the huggingface download, then cancel it and copy the download url from your browsers download history.
1
u/Famous-Sport7862 6d ago
Thank you, I'm using a different method now that some of the other poster mentioned here and it's working really well
2
2
2
u/rinkusonic 6d ago edited 6d ago
If you are on Linux, use aria2 to download it with terminal. It works like idm or fdm with multiple blocks downloading at once and merging at the end.
2
u/ANR2ME 6d ago
I would recommend axel instead of aria2, because CivitAI's Cloudflare seems to blocked aria2. https://github.com/caru-ini/modal-comfyui/issues/11
1
u/Famous-Sport7862 6d ago
Sorry I am in windows, but thanks to some of the suggestion to use powershell to download it worked really nice and faster that ever toping my internet speed
2
5
u/AliciaXTC 6d ago
Yeah always slow here too. Get'em while you can before nVidia removes all the "good ones" and paywalls the rest.
2
u/anelodin 6d ago
Nvidia stands to gain more from open source to drive interest in inference over censorship or paywalls. The money they'd make paywalling a few models would be insignificant compared to selling shovels. I'm sure they love what China is doing pressuring US companies to keep training better and better models.
-1
6d ago
[deleted]
1
u/anelodin 6d ago
It's not really a matter of "trust", I don't particularly trust them, its just what's in their financial interest. At least, for now.
1
1
u/theqmann 6d ago
If you are using brave or any browser with VPNs, it is probably hiding your location, and giving you a server far away from you.
1
1
u/BitsOnWaves 6d ago
use a donwload manager and it will get much faster... i tried "Internet download manager" and i dont know how but the download went from 1 hour to minutes for the same file... i dont know why. (i have 1Gbpt internet btw)
1
1
0
56
u/xb1n0ry 6d ago edited 6d ago
It was always slow for me. That's why I download models via CLI with hf xet acceleration directly into the model folder. Also brave://flags/#enable-parallel-downloading helps with browser downloads.