Feature request: match GitHub file size limits

trusktr
Mon, 16 Dec 2024 04:19:23 +0000

Trying to use Git LFS because HuggingFace’s file size limit is smaller than GitHub’s makes it really cumbersome to migrate a repo from GitHub to HuggingFace.

I spent hours today creating my first HuggingFace account and trying to push my first repo, but no luck yet:

Added my SSH key, cannot push to Spaces repo Spaces

Hello, this is my first time using HuggingFace (I’ve been using GitHub for a long time), and I’m super excited to push code repos with live examples! I added my SSH key in settings, but it will not let me push to my new Spaces repo. Here’s my new account: trusktr (Joe Pea) I can verify that SSH works, like so: $ ssh git@hf.co PTY allocation request failed on channel 0 Hi anonymous, welcome to Hugging Face. Connection to hf.co closed. (It says “anonymous”, does that indicate an problem insid…

Git lfs enabled but git push throwing error file larger then 10MB 🤗Hub

I’m having the same issue. ❯ git lfs install --force Updated Git hooks. Git LFS initialized. ❯ git push --recurse-submodules=no hf main -f Enumerating objects: 18207, done. Counting objects: 100% (18207/18207), done. Delta compression using up to 8 threads Compressing objects: 100% (5958/5958), done. Writing objects: 100% (18207/18207), 72.05 MiB | 412.15 MiB/s, done. Total 18207 (delta 13634), reused 16293 (delta 11969), pack-reused 0 remote: Resolving deltas: 100% (13634/13634), done. remote…

I think that, if the file size limits can be increased to match those of GitHub, it will enable many people on GitHub to transfer to HuggingFace without any issues (without needing Git LFS) which could be a really good strategic move for HuggingFace.

For now, as awesome as HuggingFace is looking, I may have to stay on GitHub because it seems like migrating to Git LFS is a big pain. I would love to be able to come back to this later and simply git push my GitHub repo and it works, without the LFS hassle.

Read full topic