File size: 289 Bytes
42031f1 de23960 42031f1 5bbd6ff 42031f1 5bbd6ff 3919a32 5bbd6ff |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#!/bin/bash
set -ex
git lfs install
find ckpt -type f | xargs -I{} cp {} .
git lfs track *.bin
git lfs track events.out.*
tmp_branch=hgf-`uuidgen`
git checkout -b $tmp_branch
git add .
git commit -am 'update model'
git push -f hgf $tmp_branch:main
git checkout -
git branch -D $tmp_branch
|