Skip to content

Commit

Permalink
Fix the training script for syncing lastest ckpt (lm-sys#120)
Browse files Browse the repository at this point in the history
* Add announcement to readme

* typo

* fix-ckpt-sync
  • Loading branch information
Michaelvll authored Apr 1, 2023
1 parent b2ba4e6 commit 9e78644
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/sync_local_checkpoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,5 @@ while true; do
fi
fi

# Sync any files not in the checkpoint-* folders
gsutil -m rsync -r -x 'checkpoint-*' ${local_path}/ ${remote_path}/
sleep 600
done
3 changes: 3 additions & 0 deletions scripts/train-vicuna.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ run: |
--gradient_checkpointing True \
--lazy_preprocess True
# Sync any files not in the checkpoint-* folders
gsutil -m rsync -r -x 'checkpoint-*' $LOCAL_CKPT_PATH/ $CKPT_PATH/
envs:
MODEL_SIZE: 13
Expand Down

0 comments on commit 9e78644

Please sign in to comment.