w32zhong's picture
replace uuidgen with /proc/sys/kernel/random/uuid
56e0739
#!/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-$(cat /proc/sys/kernel/random/uuid)
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