How to upload large files (size) to your submission


We limit the individual file size to 50M in Gitlab repositories. In case, you are trying to upload a larger file like trained models, etc the git push will fail with following error:

remote: fatal: pack exceeds maximum allowed size
error: remote unpack failed: index-pack abnormal exit

If this is the case, you will have to use git-lfs for larger files. We recommend using git-lfs-migrate to migrate existing larger files into git-lfs.


  1. Tutorial on why and how to use git-lfs
  2. How to migrate existing large files to git-lfs using git-lfs-migrate

Quick Commands:

❯ git lfs install
Updated git hooks.
Git LFS initialized.
❯ git lfs track "*.mymodel"
Tracking "*.mymodel"
❯ git add .gitattributes
❯ git add some.mymodel
❯ git commit [...]
❯ git push origin master
1 Like