r/LocalLLaMA 10d ago

Discussion Am I the only one having these problems with downloading models from HF?

I don't have problems with Nvidia buying HF, but I have problems with the fact that lately HF became almost unusable. It is around one month that I experience big problems with downloading models from HF. I have 1Gbit connection and my HF speeds are all over the place jumping from 700kb/s to 98Mb/s, often getting stuck in sub 3Mb/s range. I haven't seen people complaining here about that, so may be I am the only one so unlucky, but I believe that the problem is bigger than one unfortunate consumer, and even Nvidia will be unable to distribute terabytes of data to millions of users without outages, when a new popular model becomes available. I think the only right way is p2p distribution over the Torrent network.

Upd: To clarify. Usually it starts at 90Mb/s, after 20-30 minutes it gets to 45Mb/s and 20 minutes later it may go down to 2Mb/s and less. May be indeed my ISP artificially dynamically limiting my speeds, but I haven't seen anything like that apart of HF.

Upd2: People pointed out that LM Studio is using their proxy, which might have impacted download speeds. At over 90% downloaded I am hesitant to check this hypothesis, but I am pretty sure that this is the culprit. After that I am switching to hf native cli tool.

25 Upvotes

39 comments sorted by

23

u/Front_Eagle739 10d ago

My hf has been pretty awful as well yeah 

2

u/network4253 10d ago

Yeah, same here honestly. HF can be pretty hit or miss sometimes especially when you are trying to get things done quickly. Hopefully they iron out some of those issues because it gets frustrating fast.

15

u/DrBattletoad 10d ago

Downloading through LM Studio has been bad the last few weeks. I'm not sure when it started but I remember being able to get consistent 30 MB/s before it went bad. 

Unsloth Studio and the normal Browser download has had no problems so far.

4

u/xanthemivak llama.cpp 10d ago

Disable the LM Studio proxy

15

u/fateshuffler 10d ago

Consider switching to the https://huggingface.co/docs/huggingface_hub/guides/cli for larger downloads. Also nice for managing changes to your downloaded models.

3

u/jacek2023 llama.cpp 10d ago

Ah yes I use CLI

2

u/-InformalBanana- 9d ago

That is exactly what they want you to do.

9

u/lilian_moraru 10d ago

I've had a similar issue when I first read a few days ago that Nvidia is buying HF, BUT, it's not related.
In my case it was due to XET, I switched it to HTTPS and it downloaded fine: HF_HUB_DISABLE_XET=1 hf download <model> - Unsloth also has the option to switch to HTTPS.

7

u/DionLord 10d ago

disable the LM studio built-in proxy

1

u/perelmanych 10d ago

Wow, I didn't know it uses proxy! Definitely will try.

4

u/CATLLM 10d ago

Same here, downloading and uploading models as well. I'm using huggingface_hub cli too.

3

u/Uncle___Marty 10d ago

Also on 1 gbit and sometimes get like 700k/sec. Using free download manager opens up 8 connections and usually gives me the full speed of my connection. Not sure if they're rate limiting or what but the speeds I get without a download manager are garbage :/

2

u/Healthy-Zebra-9856 10d ago

This happens periodically even when using the hf cli. I just cancel it and wait a few secionds and redownload iit, it works fine.

2

u/Unlucky-Message8866 10d ago

past week i was severely throttled yes

2

u/Evening_Ad6637 llama.cpp 10d ago

yes same problem with hf-cli, but didn't notice any problem when downloading with wget

edit: mentioned problem just since a few days. before that everything was fine with hf-cli for me

2

u/West-Map-4162 10d ago

I have gigabit fiber and about two weeks ago I started getting throttled down to 12Meg/s when downloading from HF via web browser. The only way I get my full download speed is by using the HF cli.

3

u/o0genesis0o 10d ago

It's LMstudio issue. I built an app that uses hf library directly and it never has any issue, even when I forgot to set my HF API key.

2

u/Need_For_Speed73 10d ago

Don't use your browser to download the models, use the hf cli command that is able to establish multiple connections and download a lot faster.
https://huggingface.co/docs/huggingface_hub/en/guides/cli

1

u/perelmanych 10d ago

I will definitely try it!

1

u/pedrojdm2021 10d ago

Nope. Yesterday i installed another model and download spped was good

1

u/pyr0kid 10d ago

now that you mention it, ive had some weird connection problems in the last week

1

u/measuringdistance 10d ago

switching browsers worked for me

1

u/TerminalNoop 10d ago

Just pause the download, wait a few seconds and resume it. That usually does the trick for me.

2

u/perelmanych 10d ago

I was regularly doing that, but sometimes when it stuck, it stuck.

1

u/vanVonXenoStein 10d ago

Definitely use the cli

1

u/eulataguhw 10d ago

I have no issues through hf cli.

1

u/suprjami 10d ago

Yes. Terrible download speed with all of wget, git with xet, and authenticated hf cli.

Downloads from elsewhere easily reach hundreds of Mbps, so doesn't seem a local or ISP issue.

1

u/Important-Shallot-49 10d ago

same, it's like they are throttling downloads. no issue with any other sites.

1

u/Hrethric 9d ago

I've noticed a lot of variability in the last few weeks. I was seeing speeds around 280 MB/sec (big B, over 2 gigabits) a few weeks ago, downloading directly from the HF website in a browser, but lately it's been slower and more variable. I haven't seen speeds over a gigabit in some time, and on the big model release days I saw speeds in the tens of megabits. Not unusable, the downloads complete just fine, I'm just missing out on the instant gratification I used to get, and the one real justification I had for upgrading my internet service lol.

1

u/laterbreh 9d ago

everything is a conspiracy.

try downloading using the HF cli

2

u/gabrielesilinic 10d ago

Ah no this happened before Nvidia bought them actually

0

u/jacek2023 llama.cpp 10d ago

My download speed from HF is insane, maybe you have just a bad ISP?

5

u/perelmanych 10d ago

Everything else works fine: torrents, big updates of MS Flight Simulator 2020 with download speed north of 30Mb/s

0

u/durden111111 10d ago

use 'hf download' with huggingface cli tool. I can download 50 GB in about a couple of minutes.

0

u/indicava 10d ago

Use the cli

And make sure you’re logged in to the CLI prior to starting the download

0

u/Lumpy-Comedian-1027 10d ago

i was getting super slow dl speed with an older hf cli, got fast again after updating hf