File size: 525 Bytes
577c349
 
 
 
 
1
2
3
4
5
6
cd ~
for g in 0 1 2 3; do cp ~/wm_groups/v2/g$g/wm.pt ~/wm_groups/v2/g$g/wm_prev.pt; cp ~/wm_groups/v2/g$g/wm.pt ~/wm_groups/v2/g$g/wm_r1.pt; cp ~/wm_groups/v2/g$g/gen10.mp4 ~/wm_groups/v2/g$g/gen10_r1.mp4;
  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=13 RESUME=1 nohup ~/xla_env/bin/python ~/wm_groups/train_group2.py > ~/wm_groups/v2/stdout_g$g.txt 2>&1 &
done
wait; echo DONE > ~/wm_groups/v2/done.txt