BluScriptCP / scripts /eval_chain.sh
unparallelled's picture
Upload scripts/eval_chain.sh with huggingface_hub
5100ef2 verified
Raw History Blame Contribute Delete
771 Bytes
#!/usr/bin/env bash
# Serial chain -- the three queued scripts each claimed all 4 GPUs and would have
# collided. Order is by decisiveness, cheapest first.
set -uo pipefail; cd "$(dirname "$0")"
M=eval_chain.log
say(){ echo "[$(date -u +%H:%M:%S)] $*" | tee -a "$M" >&2; }
wait_free(){ while ps -eo args | grep -qE '^[^ ]*build/bluscriptCP_exec'; do sleep 60; done; }
say "waiting for the running 131k / gpu3 jobs to finish"
wait_free
say "--- 1/3 scale=1 positional-competence test (decisive) ---"
./eval_scale1.sh >> eval_scale1.boot 2>&1; wait_free
say "--- 2/3 native x32 fill-in 8,192 + 16,360 ---"
./eval_native.sh >> eval_native.boot 2>&1; wait_free
say "--- 3/3 x64 config (non-standard, lowest priority) ---"
./eval_x64.sh >> eval_x64.boot 2>&1
say "CHAIN DONE"