Upload run_resume.sh with huggingface_hub
Browse files- run_resume.sh +5 -0
run_resume.sh
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cd ~
|
| 2 |
+
for g in 0 1 2 3; do cp ~/wm_groups/g$g/wm.pt ~/wm_groups/g$g/wm_round1.pt; cp ~/wm_groups/g$g/gen10.mp4 ~/wm_groups/g$g/gen10_round1.mp4;
|
| 3 |
+
TPU_CHIPS_PER_PROCESS_BOUNDS=1,1,1 TPU_PROCESS_BOUNDS=1,1,1 TPU_VISIBLE_CHIPS=$g TPU_PROCESS_PORT=$((8476+g)) CLOUD_TPU_TASK_ID=0 PJRT_DEVICE=TPU GROUP=$g MAX_MIN=8 RESUME=1 nohup ~/xla_env/bin/python ~/wm_groups/train_group.py > ~/wm_groups/stdout2_g$g.txt 2>&1 &
|
| 4 |
+
done
|
| 5 |
+
wait; echo ALL_RESUME_DONE > ~/wm_groups/resume_done.txt
|