Files
UnbiasedStrata/bench/correctness/check-batch.sh
T
Robert KarlandClaude Fable 5.1 20bb8f79fa bench: per-machine results and logs out of the tree; keep the reusable tools
Upstream's bench/results/ (23 MB, one directory per community machine) and the fork's bench/unbiased/ run
directories (57 MB: step 6 to 9, 13, the 4090 run, the correctness record) are removed. A result from one machine
is a record, not source; the numbers that matter are in README.md "Measured", and the directories stay in history
at 7551f138 (git checkout 7551f138 -- bench/unbiased bench/results). bench/ keeps bench_vs_llama.py with its
corpus, the kernel probes, and bench/correctness/, the step-12 teacher-forced harness moved from
bench/unbiased/correctness/scripts/ without its per-campaign chain-*.sh glue (it writes under ~/us2-results/, not
in the tree). README, UPSTREAM.md, PLAN.md, docs/MODEL-FILES.md and docs/CORRECTNESS-PLAN.md point at the history
commit where they cited the directories.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 18:54:57 -07:00

18 lines
1.2 KiB
Bash
Executable File

#!/bin/bash
# Plan section 4 run order step 6: strata-poly --check-batch 4 on the short set, both Qwen3.6 files. Each short
# prompt gives 4 prompts (the prompt minus its first 0..3 tokens), answered alone and then together; exit 1 on a
# differing token.
cd ~/us2-results/correctness || exit 1
M=/mnt/ds4/unbiased-strata/qwen36
for tag in qwen36-q3km:Qwen3.6-35B-A3B-UD-Q3_K_M.gguf qwen36-iq4xs:Qwen3.6-35B-A3B-UD-IQ4_XS.gguf; do
name=${tag%%:*}; file=${tag#*:}; out=checkbatch/$name; mkdir -p $out
for p in inputs/short/p*.prompt.ids; do
seq=$(basename $p .prompt.ids)
cmd="STRATA_FREEZE_EXPERTS=1 /home/rk/us2-build/build/bin/strata-poly --model $M/$file --max-context 8192 --tail-skip 0 --no-draft --lookup 0 --window 1 --tokens \$(cat $p) --batch 4 --check-batch 4 --max-new 64"
echo "$cmd # > $out/$seq.log" >> $out/command.sh
STRATA_FREEZE_EXPERTS=1 /home/rk/us2-build/build/bin/strata-poly --model $M/$file --max-context 8192 --tail-skip 0 --no-draft --lookup 0 --window 1 --tokens $(cat $p) --batch 4 --check-batch 4 --max-new 64 > $out/$seq.log 2>&1
rc=$?
echo "$name $seq: exit $rc; $(grep "^check-batch" $out/$seq.log | tr "\n" ";")"
done
done