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