physam4d_ckpt / masiv /scripts /sweep_loop.sh
BDXXN's picture
Upload folder using huggingface_hub
dc07ea5 verified
Raw
History Blame Contribute Delete
496 Bytes
#!/bin/bash
# L2 official-blood sweep, dual shard; grid_density=256 (certified: reproduces released data to 0.00-0.02%/particle)
cd /home/qiuyid/neurok/experiments/idea1/design4
S=$1; GPU=$2
for i in $(seq 1 40); do
grep -aq "SWEEP DONE" sweep_l2m0_s$S.log 2>/dev/null && break
PYTHONPATH=/dev/shm/genesis_dataset CUDA_VISIBLE_DEVICES=$GPU $HOME/miniconda3/envs/neurok/bin/python -u gen_masiv_official.py SWEEP 0 $S 30 >> sweep_l2m0_s$S.log 2>&1
sleep 5
done
echo "SWEEP shard$S LOOP DONE"