# Can't upload my model, stuck on "hashing"

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%3E%5C
**Category:** Beginners\
**Created:** [September 13, 2024, 3:28am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539 "2024-09-13T03:28:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhoenixStormJr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/phoenixstormjr/32/31552_2.png) [@PhoenixStormJr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPhoenixStormJr)%5C
**Post date:** [September 13, 2024, 3:28am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F1 "2024-09-13T03:28:43Z")

</div>

The title says pretty much everything. I was able to upload with a Google Colab hack, but normally, I can’t. I attached the files down below. Can anyone figure out what the deal is?

I “fixed” the problem by uploading them with google colab, but I don’t like this solution. Why won’t it upload normally? Here is the colab link:

> **[Google Colab](https://colab.research.google.com/github/PhoenixStormJr/Upload-File-To-Huggingface-With-Google-Colab/blob/main/Upload_File_To_Huggingface.ipynb)**

Here is the screenshot showing the huggingface refusing to hash:

And here are the files that wouldn’t hash:

> **[PhoenixStormJr/Megaman-NT-Warrior-Aki-RVC at main](https://huggingface.co/PhoenixStormJr/Megaman-NT-Warrior-Aki-RVC/tree/main)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

What’s going on?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 13, 2024, 3:52am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F2 "2024-09-13T03:52:10Z")

</div>

I was able to upload the file normally with Firfox, am I uploading the wrong file? Is there some kind of weird environment-dependent error?

> **[John6666/uploadtest · Hugging Face](https://huggingface.co/John6666/uploadtest)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

---

<div class="post-metadata">

**Author:** ![PhoenixStormJr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/phoenixstormjr/32/31552_2.png) [@PhoenixStormJr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPhoenixStormJr)%5C
**Post date:** [September 13, 2024, 3:53am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F3 "2024-09-13T03:53:58Z")

</div>

I tried uploading with a windows virtual machine as well, and with Linux. It used to work but no longer works. This leads me to think there’s a problem on my local computer. However, uploading to google drive works just fine. Any ideas what could be wrong with my computer? I’ve tried google chrome, firefox, chromium, and microsoft edge browsers.

You uploaded the right files. I just don’t get it. It must be a local problem.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 13, 2024, 3:58am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F4 "2024-09-13T03:58:46Z")

</div>

In that case, it’s not your computer, it’s your ISP, or something between the CDN (I don’t know which one) that HF uses and the ISP, or something in that area.  
But since we can have a conversation on the HF forum like this, I don’t see how a normal tracert would be able to determine the cause…  
Another possibility is that HF’s file system is malfunctioning in some way.

The fact that it’s reproducible is tricky. It’s not a temporary server error.😓

---

<div class="post-metadata">

**Author:** ![PhoenixStormJr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/phoenixstormjr/32/31552_2.png) [@PhoenixStormJr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPhoenixStormJr)%5C
**Post date:** [September 13, 2024, 4:03am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F5 "2024-09-13T04:03:16Z")

</div>

… 😰 uuuh… I don’t think I understood… I mean, I am a beginner and stuff. Basically, I’m getting that I can’t fix it UNLESS I use Google Colab, right?

(I know what an ISP is, like AT&T, but not a CDN)

(So… you’re saying my PC is good then, right? It’s a network problem?)

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 13, 2024, 4:11am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F6 "2024-09-13T04:11:03Z")

</div>

No, I’m an amateur at networking too!  
Using Colab to get around it is half right as long as it works, but **something is definitely wrong on the HF side or your side or both**.  
If I could isolate the problem a bit more, I could send a mentions to the HF staff to let them know, but since I can’t reproduce the problem (if the above can be uploaded, that’s OK, right?) **You’re the only one who can verify** …

If it’s the same with Linux, it’s hard to imagine, for example, that your PC has been hit by a virus. If your router was attacked by a virus, it might be possible, but I have no experience.  
If your hard disk is corrupted, Colab must not be able to help you.  
If the problem is upstream of that, you can use a VPN to bypass it, or something like that. (If you can use Colab to get around this, maybe VPN method will work?)

---

<div class="post-metadata">

**Author:** ![PhoenixStormJr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/phoenixstormjr/32/31552_2.png) [@PhoenixStormJr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPhoenixStormJr)%5C
**Post date:** [September 13, 2024, 4:17am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F7 "2024-09-13T04:17:09Z")

</div>

Thanks for your help anyway. I’ll just keep this open and wait to see if anyone else gets this issue. I appreciate your help. 😀

(As for anyone else, who may be experiencing this issue, please comment! I know if it happened to me, it had to of happened to someone else.)

---

<div class="post-metadata">

**Author:** ![PhoenixStormJr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/phoenixstormjr/32/31552_2.png) [@PhoenixStormJr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPhoenixStormJr)%5C
**Post date:** [September 13, 2024, 4:19am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F8 "2024-09-13T04:19:24Z")

</div>

So, I tested on my ANDROID Phone, and THAT worked! So I know it’s a problem with my computer specifically. It has to be.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 13, 2024, 4:19am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F9 "2024-09-13T04:19:57Z")

</div>

> I know if it happened to me, it had to of happened to someone else.

Exactly.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 13, 2024, 4:22am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F10 "2024-09-13T04:22:56Z")

</div>

> So I know it’s a problem with my computer specifically. It has to be.

Good! (Not good)  
I wonder what the problem is… is the LAN port broken? Is the cable torn? If you **didn’t connect your Android to Wi-Fi** and it worked, maybe your ISP is denying access to HF file server?

---

<div class="post-metadata">

**Author:** ![PhoenixStormJr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/phoenixstormjr/32/31552_2.png) [@PhoenixStormJr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPhoenixStormJr)%5C
**Post date:** [September 13, 2024, 4:24am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F11 "2024-09-13T04:24:38Z")

</div>

I have access to every single website on my computer and android. The only difference is huggingface. Both android and my computer are connected to the same wifi network. It’s weird, everything else in my PC is working just great, including online games. Therefore, I know it’s not my ISP.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 13, 2024, 4:30am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F12 "2024-09-13T04:30:35Z")

</div>

Surely that would mean a PC problem, but what in the world are the possibilities…?  
If it’s a hardware problem, online games won’t work, and if it’s a software problem, why not even in a Linux environment?  
I get it, but there’s more I don’t understand. Well, have you almost succeeded in isolating the problem?

---

<div class="post-metadata">

**Author:** ![PhoenixStormJr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/phoenixstormjr/32/31552_2.png) [@PhoenixStormJr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPhoenixStormJr)%5C
**Post date:** [September 13, 2024, 4:40am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F13 "2024-09-13T04:40:54Z")

</div>

Nope. No idea what now. I just know it’s my own PC that’s the issue. That’s all I know. But it’s not a browser issue since other browsers don’t work either!

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 13, 2024, 6:31am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F14 "2024-09-13T06:31:17Z")

</div>

I was thinking vaguely about it while working on my own, but I couldn’t come up with anything!

If the PC is also connected via Wi-Fi, the only thing I can think of is that maybe the PC has some special designation in the router settings (you need it sometimes for internet games or something), or maybe the PC’s Wi-Fi adapter is in bad shape or has a bad setting. It’s not impossible, since **smartphones are often a newer generation and more powerful when it comes to Wi-Fi**.  
The easy way to test if this is the cause is to **plug the LAN cable from the router directly into the PC** , but that’s a pain if you don’t have a cable at home.

---

<div class="post-metadata">

**Author:** ![PhoenixStormJr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/phoenixstormjr/32/31552_2.png) [@PhoenixStormJr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPhoenixStormJr)%5C
**Post date:** [September 29, 2024, 10:46pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F15 "2024-09-29T22:46:39Z")

</div>

Thanks for the advice, but unfortunately it still didn’t work. I plugged in my ethernet cable, and tried uploading, same problem.

I think there’s a security issue on Huggingface’s side. Because I can upload to ANY other website just fine. Even my college

I made this repository until Huggingface manages to fix the problem:

> **[GitHub - PhoenixStormJr/Upload-File-To-Huggingface-With-Google-Colab:...](https://github.com/PhoenixStormJr/Upload-File-To-Huggingface-With-Google-Colab/tree/main)**
>
> main

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 29, 2024, 11:38pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F16 "2024-09-29T23:38:09Z")

</div>

> I think there’s a security issue on Huggingface’s side

That’s what I thought, too, but then how does HF pinpoint the restriction to **just your PC** , even if it’s not intentional?

First of all, if they’re regulating by account, it shouldn’t even be via Colab.  
If they’re regulating by IP, then it wouldn’t work via Android Wi-Fi either.  
Even the MAC address of the PC changed when you plugged in the ethernet cable, so it’s a bit odd to make this a combined problem with your router. Your router must think your PC is a different person than it was before.

UA may be there because the whole browser industry has changed recently so that it doesn’t change when you change browsers. It does indeed change between Android and PC. But I’ve never heard of pristine IP + UA restrictions in HF.

There was a problem with frequent 500 errors on HF, but it was resolved by the HF staff, so this is probably not the cause of the current problem either.

@not-lain @nielsr Do you know anything about it?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [October 1, 2024, 8:57am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F17 "2024-10-01T08:57:34Z")

</div>

If it’s just one person, you can put it away as a coincidence, but when it’s multiple people, it’s a little suspect. Is it really a problem with the user’s connection?

> **[SG161222/RealFlux\_1.0b\_Dev · Hugging Face](https://huggingface.co/SG161222/RealFlux_1.0b_Dev)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

> I encountered a problem with uploading the model to HF (my internet connection has been unstable lately). Once I resolve it, the model will be available on HF.

---

<div class="post-metadata">

**Author:** ![PhoenixStormJr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/phoenixstormjr/32/31552_2.png) [@PhoenixStormJr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPhoenixStormJr)%5C
**Post date:** [May 20, 2025, 8:49pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F18 "2025-05-20T20:49:22Z")

</div>

FINAL UPDATE…

I tested something more in depth. The problem is, I can’t upload files LARGER than 10 Megabytes!

I used THIS python script to create dummy files:

# Create a file of 0.5 MB filled with the character ‘0’

import os  
os.chdir(os.path.dirname(os.path.abspath( **file** )))

#zeros = 524259 # 900 MB  
#zeros = 524317 # also 900 MB  
comment=“”"  
x = 1800  
file\_size = zeros \* x  
file\_name = 0.5 \* x  
with open(f"{str(file\_name)} mb.txt", “w”) as f:  
f.write(“0” \* file\_size)  
x = x + 1  
“”"  
#print(f"zeros = {round((524259+524317)/2)}")

zeros = 524288  
x = 1  
while(x \< 201):  
file\_size = zeros \* x  
file\_name = 0.5 \* x  
with open(f"{str(file\_name)} mb.txt", “w”) as f:  
f.write(“0” \* file\_size)  
x = x + 1

print(“Files created: (size) mb.txt (0.5 MB of zeros incrementals)”)

the 10.5 MB file BROKE it, but the 10 MB file WORKED!

THAT MEANS THE PROBLEM IS DIRECTLY ON THEIR END, SOME PIECE OF CODE SAYS:

if(filesize \> 10 MB):  
do something  
else:  
do something different

It’s NOT my computer, it’s some glitch in THEIR system. something above 10 MB breaks it for some reason!

Oh well, I use git on Google Colab anyway. No big deal I guess…

My proof:

> **[PhoenixStormJr/test-upload-length at main](https://huggingface.co/PhoenixStormJr/test-upload-length/tree/main)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

I also found documentation here:

> **[Hub repository size limitations - Upload files to the Hub](https://huggingface.co/docs/huggingface_hub/v0.17.1/en/guides/upload#hub-repository-size-limitations)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

Git LFS automatically handles files larger than 10MB. But for very large files (\>5GB), you need to install a custom transfer agent for Git LFS:

Copied

huggingface-cli lfs-enable-largefiles

You should install this for each repository that has a very large file. Once installed, you’ll be able to push files larger than 5GB.

### commit context manager

The `commit` context manager handles four of the most common Git commands: pull, add, commit, and push. `git-lfs` automatically tracks any file larger than 10MB. In the following example, the `commit` context manager:

That SPECIFIC number is mentioned here.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [May 21, 2025, 5:17am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F19 "2025-05-21T05:17:32Z")

</div>

Hmm… It seems to be a bug on the Hub side related to LFS…😰

In a Windows environment, the explanation is simple: you need to install LFS **and git itself** using the installer, but I don’t think that’s the case here.

> **[Git Large File Storage](https://git-lfs.com/)**
>
> Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

> **[Git - Downloading Package](https://git-scm.com/downloads/win)**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/hellohellohello/original/2X/d/de4155eb4aa4108ecb32a1389d7cc37ae69f88b7.png) [@system](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsystem)%5C
**Post date:** [May 23, 2025, 12:14am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-upload-my-model-stuck-on-hashing%2F106539%2F20 "2025-05-23T00:14:02Z")

</div>

Closed on May 23, 2025, 12:14am UTC

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
