Download invhead/queue2.sh from Infatoshi/mcsr-speedrun-artifacts: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/datasets/Infatoshi/mcsr-speedrun-artifacts/resolve/main/invhead/queue2.sh
- Command line
-
hf download hf://datasets/Infatoshi/mcsr-speedrun-artifacts/invhead/queue2.sh
-
curl -L -o queue2.sh https://huggingface.co/datasets/Infatoshi/mcsr-speedrun-artifacts/resolve/main/invhead/queue2.sh
1.19 kB
| # lane/invact step 4: DAgger runs and the zero-shot evaluations the OOM kill cut (two processes at a time: the lane's 16 GB) | |
| cd $HOME/dev/mcsr-speedrun | |
| export NETHERITE=$HOME/dev/nv2-lanes/invact CUDA_VISIBLE_DEVICES=2 | |
| P="taskset -c 32-63,96-127 .venv/bin/python" | |
| I=data/invhead | |
| cat > $I/queue2.jobs <<JOBS | |
| $P scripts/invhead_dagger.py --init $I/vpt-ev.pt --out $I/dagger-vpt.pt > $I/dagger-vpt.log 2>&1 | |
| $P scripts/invhead_dagger.py --out $I/dagger-scratch.pt > $I/dagger-scratch.log 2>&1 | |
| $P scripts/invhead_dagger.py --init $I/vpt-ev.pt --train-scen table,pick,loot --out $I/dagger-vpt-nofurn.pt > $I/dagger-vpt-nofurn.log 2>&1 | |
| $P scripts/invact_eval.py --n 16 --scen table,pick,furnace,loot --drivers head --head $I/vpt-ev.pt --no-items --out $I/eval1/all-vptev.json > $I/eval1/all-vptev.log 2>&1 | |
| $P scripts/invact_eval.py --n 16 --scen table,pick,furnace,loot --drivers head --head $I/vpt.pt --no-items --out $I/eval1/all-vpt.json > $I/eval1/all-vpt.log 2>&1 | |
| $P scripts/invact_eval.py --n 16 --scen loot --drivers head --head $I/random.pt --out $I/eval1/loot-random.json > $I/eval1/loot-random.log 2>&1 | |
| JOBS | |
| xargs -P 2 -I{} -d '\n' bash -c '{}' < $I/queue2.jobs | |
| echo QUEUE2 DONE | |