git LFS 不允许我上传我跟踪的文件

时间:2021-05-22 20:35:40

标签: git git-lfs

我有一个模型权重文件,我想上传到我的 git 存储库, 这被称为“group1-shard1of1.bin”, 所以我试过这个:

B7-C02WW0Q4JG5J:telemoji Alexuser$ git lfs track "*.bin"
Tracking "*.bin"
B7-C02WW0Q4JG5J:telemoji Alexuser$ git add .gitattributes
B7-C02WW0Q4JG5J:telemoji Alexuser$ git add .
B7-C02WW0Q4JG5J:telemoji Alexuser$ git commit -m "added new model"
[main c42ea33] added new model
 1 file changed, 1 insertion(+)
 create mode 100644 .gitattributes
B7-C02WW0Q4JG5J:telemoji Alexuser$ git push
Enumerating objects: 22, done.
Counting objects: 100% (22/22), done.
Delta compression using up to 12 threads
Compressing objects: 100% (12/12), done.
Writing objects: 100% (13/13), 118.04 MiB | 1.38 MiB/s, done.
Total 13 (delta 7), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (7/7), completed with 6 local objects.
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 654719131573e63aba3cdddb3ffeb213fb606eaa4b67086d33cec552432928ad
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File client/public/85p/group1-shard1of1.bin is 127.01 MB; this exceeds GitHub's file size limit of 100.00 MB

我也试过 git lfs track "group1-shard1of1.bin"

但仍然是相同的输出,有人知道我做错了什么吗?

0 个答案:

没有答案