Closes #15. tools/vm/serve-{glm,qfn}-a6000.sh were the launch lines of one machine (its NVMe paths, ports, tmux habits); they go. The bench/correctness runners (parity-run.sh, check-batch.sh, make-inputs.py, strata-run.py) stay, since they are the procedure CORRECTNESS-PLAN.md describes, but read US2_MODELS (required), US2_BUILD (default: this repository) and US2_RESULTS (default ~/us2-results/correctness) instead of /mnt/ds4 and ~/us2-build. docs/MODEL-FILES.md names no machine's paths any more; the REAP50 row gives the serve command itself. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
22 lines
1.6 KiB
Bash
Executable File
22 lines
1.6 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.
|
|
# Paths (the defaults are the homelab VM's; set them for another machine): US2_MODELS, the directory holding
|
|
# qwen36/<file>.gguf (required); US2_BUILD, the UnbiasedStrata tree with build/bin (default: this script's
|
|
# repository); US2_RESULTS, where results go (default ~/us2-results/correctness).
|
|
B=${US2_BUILD:-$(cd "$(dirname "$0")/../.." && pwd)}/build/bin
|
|
M=${US2_MODELS:?set US2_MODELS to the directory holding qwen36/}/qwen36
|
|
mkdir -p "${US2_RESULTS:-$HOME/us2-results/correctness}" && cd "${US2_RESULTS:-$HOME/us2-results/correctness}" || exit 1
|
|
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 $B/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 $B/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
|