# Push\_to\_hub Status

**URL:** <https://discuss.huggingface.co/t/push-to-hub-status/28408>\
**Category:** Beginners\
**Created:** [December 25, 2022, 2:35pm UTC](https://discuss.huggingface.co/t/push-to-hub-status/28408 "2022-12-25T14:35:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ml-ds-0100](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@ml-ds-0100](https://discuss.huggingface.co/u/ml-ds-0100)\
**Post date:** [December 25, 2022, 2:35pm UTC](https://discuss.huggingface.co/t/push-to-hub-status/28408/1 "2022-12-25T14:35:10Z")

</div>

Hello All,

I’m new to HF and am wondering about the push\_to\_hub function. I just trained a model for over 5 hours in Colab and saved the checkpoints on my google drive. I’m now running the push\_to\_hub function and getting the output below.

Several commits (3) will be pushed upstream.  
WARNING:huggingface\_hub.repository:Several commits (3) will be pushed upstream.  
The progress bars may be unreliable.  
WARNING:huggingface\_hub.repository:The progress bars may be unreliable.

This has been running for over 4 hours and I’m not seeing anything on the Hub except the initial commit. Is this typical? I’m wondering if I should keep it running for several more hours or if the process is actually stuck somewhere. There is no progress bar or anything to give a status.

Thanks you!

---

<div class="post-metadata">

**Author:** ![duongkstn](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/duongkstn/32/13213_2.png) [@duongkstn](https://discuss.huggingface.co/u/duongkstn)\
**Post date:** [December 26, 2022, 10:04am UTC](https://discuss.huggingface.co/t/push-to-hub-status/28408/2 "2022-12-26T10:04:42Z")

</div>

Hi, I met the same error as you (I ran training and push model to hub in Google Colab)

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/2X/0/0878fc8704ad332316c5f2295fb2520e65f72e1b.png)

I solved the problem (after many few hours):  
I think that huggingface’s API got some bugs here, so my advice is as follows:

- I run like above, it keeps hanging (sure)
- I stop it, download folder `hub/dqn-SpaceInvadersNoFrameskip-v4` to my local machine’s folder (edited)
- because `hub/dqn-SpaceInvadersNoFrameskip-v4` is a git repo now, so I can push to huggingface Hub by hand
- my terminal commands to push:

- `git lfs fetch --all`
- `git lfs push origin main`
- `git push origin main`

I am learning deep-rl course of huggingface, so the folder is `hub/dqn-SpaceInvadersNoFrameskip-v4`, you should find out what is your folder. Hope this helps 😉

---

<div class="post-metadata">

**Author:** ![ml-ds-0100](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@ml-ds-0100](https://discuss.huggingface.co/u/ml-ds-0100)\
**Post date:** [December 26, 2022, 8:24pm UTC](https://discuss.huggingface.co/t/push-to-hub-status/28408/3 "2022-12-26T20:24:29Z")

</div>

Okay great. Sounds like a good solution. I’ll give it a try.
