physam4d_ckpt / masiv /scripts /chain_gpu6.sh
BDXXN's picture
Upload folder using huggingface_hub
dc07ea5 verified
Raw
History Blame Contribute Delete
699 Bytes
#!/bin/bash
cd /home/qiuyid/neurok/experiments/idea1/design4
PY=$HOME/miniconda3/envs/neurok/bin/python
PYTHONPATH=/dev/shm/genesis_dataset CUDA_VISIBLE_DEVICES=6 $PY -u gen_masiv_official.py SWEEP 0 2 30 >> sweep_l2m0_s2.log 2>&1 &
SW=$!
until [ -f /dev/shm/masiv_np/.ac_converted ]; do sleep 30; done
kill $SW 2>/dev/null; sleep 3
echo "[gpu6] shard2 preempted -> apple CERT"
PYTHONPATH=/dev/shm/genesis_dataset CUDA_VISIBLE_DEVICES=6 $PY -u gen_masiv_official.py CERT 2 0 > cert_apple.log 2>&1
grep -a "per-particle" cert_apple.log
echo "[gpu6] apple chart"
CUDA_VISIBLE_DEVICES=6 $PY -u train_masiv_ad.py M2 > chart_M2.log 2>&1
echo "[gpu6] DONE: $(grep -a 'BEST probe' chart_M2.log | tail -1)"