Protocol v2 extends locked v1 after Qwen and Llama were stopped: the API cell is filled by DeepSeek-V4.1-Flash on the full T4/C4 and T2 matrix (three repetitions, token cap, checkpoints keyed to the protocol hash), and Sonnet and Haiku answer a fixed auxiliary sample as session subagents. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
1.8 KiB
Bash
Executable File
31 lines
1.8 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# One-screen status of the M3-M4 runs. Live view: watch -n 30 bash scripts/m34_status.sh
|
|
cd "$(dirname "$0")/.."
|
|
PY="${PY:-.venv/bin/python}"
|
|
echo "== processes =="
|
|
ps -eo pid,etime,args | grep -E "[1]1_m34_classify|[1]5_m34_v2|[1]6_m34|[r]un_m34_v2" | cut -c1-120 || true
|
|
echo; echo "== VAI v2 (T4/C4 + T2, 3 repetitions) =="
|
|
"$PY" - <<'P'
|
|
import glob, sqlite3
|
|
def ro(p): return sqlite3.connect(f"file:{p}?mode=ro", uri=True)
|
|
need = {"qa": 3 * 16317, "t2": 3 * 23447}
|
|
for kind, pat, sql in (("qa", "outputs/m34/v2/qa/*/rep*.sqlite", "select count(*) from predictions"),
|
|
("t2", "outputs/m34/v2/t2_llm/*/rep*.sqlite", "select count(*) from predictions")):
|
|
done = 0
|
|
for p in sorted(glob.glob(pat)):
|
|
c = ro(p); n = c.execute(sql).fetchone()[0]; done += n
|
|
calls, ok, tok = c.execute("select count(*), sum(ok), sum(input_tokens+output_tokens) from calls").fetchone()
|
|
print(f" {kind} {p.split('/')[-1]}: {n} items, {calls} calls ({calls-ok} failed attempts), {tok or 0:,} tokens")
|
|
print(f" {kind} total {done}/{need[kind]} ({done/need[kind]:.1%})")
|
|
P
|
|
echo; echo "== Sonnet / Haiku session sample =="
|
|
[[ -f outputs/m34/v2/session/manifest.json ]] && "$PY" scripts/16_m34_session.py status 2>/dev/null || echo " not prepared"
|
|
echo; echo "== v1 checkpoints (stopped Qwen/Llama, kept) =="
|
|
"$PY" - <<'P'
|
|
import sqlite3
|
|
def ro(p): return sqlite3.connect(f"file:{p}?mode=ro", uri=True)
|
|
print(" Qwen T4/C4:", ro("outputs/m34/qa/qwen.sqlite").execute("select count(*) from predictions").fetchone()[0], "of 48951 (stopped)")
|
|
print(" Qwen T2 :", ro("outputs/m34/t2_llm/qwen.sqlite").execute("select seed, count(*) from predictions group by 1").fetchall(), "of 23447 per seed (stopped)")
|
|
P
|
|
echo; echo "== latest runs =="; "$PY" -m volve_dia.runlog ls -k 5 2>/dev/null | tail -n 8
|