References materials

instructions

  • When git add file large than 100MB, the error message will pop up.
  • first, revoke the last commit, git reset soft HEAD~1
  • second, use git lfs
      git lfs track "file"
      git add .gitattributes
      git commit -m "submit file"
      git push -u origin master 
    
  • third, add the large file
      git add file
      git commit -m "add file"
      git push -u origin master
    

<
Previous Post
Notes for Huggingface efficient training on a single GPU
>
Next Post
Torchserve