14 Commits
Author SHA1 Message Date
Robert KarlandClaude Fable 5.1 11b04edbb6 Drop the homelab's VM launch scripts; the correctness runners take their paths from the environment
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>
2026-10-20 11:09:58 -07:00
Robert KarlandClaude Fable 5.1 03b4fe2f71 GLM REAP50 on the A6000: degenerate repetition in a pi agent turn (USTRAT-13), model-files row
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 22:15:18 -07:00
Robert KarlandClaude Fable 5.1 fc07f1b361 GLM 5.3 Flash REAP50 Q3_K_M on the A6000 VM: model-files row, serve script (tools/vm/)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 21:47:39 -07:00
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
Robert KarlandClaude Fable 5.1 7bd364e538 GLM 3.0bit: the file carries no draft block (header checked); the pod's draft arm was lookup-only, MODEL-FILES row and correctness finding corrected
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 18:25:07 -07:00
Robert KarlandClaude Fable 5.1 afd48dd4f0 correctness: DeepSeek V4 Flash UD-IQ2_XXS and GLM 5.3 Flash 3.0bit against llama.cpp (2x RTX PRO 6000 pod, 2026-10-19)
Record section 8: T2 holds on every set and arm (DeepSeek 0.69-1.06x, GLM 0.89-1.13x the CPU-vs-GPU floor); T1 flips at
3 and 5 margin positions where both llama.cpp runs agree (USTRAT-10); the GLM draft arm is not bitwise the base arm
because the draft block's VRAM moves 52 experts to the CPU (USTRAT-9); llama.cpp master's CPU run drifts from the
pinned reference by as much as the engine does (USTRAT-11). GLM reference = master 99db719b (pinned lacks glm5-next).
Inputs, top-20 reference extracts, engine outputs, scores, logs and the pod scripts as run; MODEL-FILES rows filled;
PLAN step 12 addendum; README sentence.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 11:27:28 -07:00
Robert KarlandClaude Fable 5.1 9dc88e7027 step 13 closed: model acceptance record, PLAN.md row 13, README and MODEL-FILES results
bench/unbiased/2026-10-19-step13-acceptance/: results (per-run table, tally, reading of the non-passes), API-only
acceptance on five served models (A6000 Qwen3.6 IQ4_XS; RTX 3090 Flash-Next IQ3_XXS at 24 and 15 pool workers and
Qwen3.6 Q3_K_M; B200 DeepSeek V4 Flash and GLM 5.3 Flash), findings 1-8, server lines and engine info.

Outcome: every model completes md-toc, kvstore, bugfix and Minesweeper (and Minesweeper at temperature 1.0, except the
A6000 IQ4_XS page with a ReferenceError of its own) through the fork's server; DeepSeek and GLM after this step's two
fixes. API checks within 15 % of step 9 on the 3090 (Flash-Next only at --pool-workers 15, now the pod's start line);
first B200 figures recorded.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-18 20:03:50 -07:00
Robert KarlandClaude Fable 5.1 3a37ac6315 step 13: tool-call arguments in any order (llama.cpp patch), harness watchdog and HTTP-served judge, DeepSeek/GLM rows, record draft
patches/llama.cpp-any-argument-order.patch (common/chat-auto-parser-generator.cpp, common/parsers/deepseek.cpp):
the generated tool-call grammars accept required arguments in any order. Upstream takes them in schema order,
which holds when its own sampler is grammar-constrained; this engine samples unconstrained, and DeepSeek V4
Flash and GLM 5.3 Flash both wrote content before path for pi's write tool, so finished calls came back as
parse errors (USTRAT-7). Same fix the fork already carries for the Qwen3-Coder parser. GLM's md-toc run passes
with it; DeepSeek rerun in progress.

tools/acceptance: 300 s per-tool-call watchdog inside the container; the minesweeper judge serves the work tree
over HTTP (the headless browser refuses file: URLs) and counts errors correctly; rejudge.sh, summarize.py;
pi max output 24576 tokens. tools/pod/bringup.sh copies data/expert-profile.bin into the Flash-Next pack (the
engine exits without it). docs/MODEL-FILES.md: DeepSeek V4 Flash UD-IQ2_XXS and GLM 5.3 Flash 3.0bit rows
with hashes and first-start results on the 2x B200 pod. bench/unbiased/2026-10-19-step13-acceptance/: record
in progress (server lines, engine info, findings; result tables to follow).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-18 19:46:54 -07:00
Robert KarlandClaude Fable 5.1 1df145a215 step 12: correctness checks done; configuration A (Flash-Next) results, findings 4-6, the per-file column
Configuration A on the A6000 VM: llama.cpp 3cf03257 reference as a partial offload (28 of 48 layers) and a CPU run;
strata arms fp16, t4 (4-token windows), int8, int8str (streamed KV), pf512 (512-token prompt chunks), pin (every
expert on the card), cpu (fixed smaller cache, every miss on the CPU pool), pcie, and T0 repeats. T2 passes every set
in every arm (0.67-0.94x the reference's own CPU-vs-GPU spread); T1 fails at 0-4 of ~2,880 margin positions per arm,
six near-tie positions, none in every arm. check-batch 4 passes on both Qwen3.6 files.

Findings 4-6: strata's bits depend on the free VRAM at start (--expert-cache auto; CPU-computed misses round
differently) unless the expert cache is pinned, under which repeats, window sizes, KV streaming and the CPU tier are
bitwise reproducible; six Flash-Next T1 flips; the PCIe-fetched expert differs from the cached one on 18 rows of one
sequence. Tickets USTRAT-1 to 5.

Also: scripts as run (two-request scheme for long sequences, realign, the pinned and CPU-tier arms, check-batch,
chains), logs, scores, reference top-20 and sha256; STRATA_DUMP_THREADS in the dump tool (thread count moves no
bits, probes/cpu-threads); docs/MODEL-FILES.md gets the correctness column and the LFS-pointer note; README.md and
UPSTREAM.md state the results and the two upstream claims that did not hold; PLAN.md row 12 done.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-18 18:26:27 -07:00
Robert KarlandClaude Fable 5.1 02875ab078 step 8 done: a screenshot through pi to Qwen3.6 on the A6000 VM; mmproj row; README, UPSTREAM, PLAN
bench/unbiased/2026-10-18-a6000-qwen36-iq4xs-images-step8/: four runs (API uncapped
2040 rows 146 s, API with --mmproj-gpu which ran on the CPU, API at the 300-row
default 15 s, and through pi 0.85.1 with @facts.png), six of six facts each time;
projector width checked at start. docs/MODEL-FILES.md gains the mmproj-F16 row.
README: run line with --mmproj, the limits (CPU encoder, quadratic in rows).
UPSTREAM.md: the --mmproj bullet replaced by what the front end does. PLAN row 8.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-18 00:54:42 -07:00
Robert KarlandClaude Fable 5.1 3c06abe654 Step 9 rows 1-2: upstream v0.1.45-poly.1 vs fork on the RTX 3090 pod
bench/unbiased/2026-10-17-3090pod-step9/: four arms (upstream and fork, Flash-Next
IQ3_XXS and Qwen3.6 UD-Q3_K_M), upstream's tools/strata_bench.py --runs 3 --long plus
the three-document sustained supplement, raw client output, server logs, provenance
(engine sha256, fork commit), the runner, the launch logs, and a README with the
comparison tables and the two client-compatibility gaps found on the way.

Flash-Next: fork faster on every workload (chat 103.1 vs 87.1 tok/s, sustained
119.1 vs 105.1, prefill 2065/2531/2616 vs 1924/2342/2393). Qwen3.6: decode within
the run-to-run range; 4K prefill 4.7 % faster; 16K prefill 2.3 % slower with
non-overlapping ranges, recorded as a finding to explain. Engines were built
separately in each tree, so a build difference is not excluded.

PLAN.md section 11 and the step table, docs/MODEL-FILES.md statuses updated.
Row 3 (pi wall time) pending.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-17 23:41:13 -07:00
Robert KarlandClaude Fable 5.1 2f9004ba5c Step 7: the request shapes a coding agent sends, and pi's task, on both engines; Qwen3.6 UD-Q3_K_M on the A6000
frontend/tests/shapes-real-engine.sh runs seven request shapes against a live server (PLAN.md section 9, step 7): no
max_tokens; max_tokens 32768; a prior assistant message with reasoning_content and tool_calls followed by a tool
result; two tool calls asked for in one turn; a call with its optional arguments before the required one; a client
that disconnects two seconds into a stream, then a clean request; an 18k-token prompt streamed, timing the first byte
and counting SSE pings. Records: bench/unbiased/2026-10-17-{a6000-qwen36-ud-iq4xs-mtp,3090pod-flash-next-iq3xxs}-step7-
shapes/ and -step7-pi/, plus the A6000's Qwen3.6 UD-Q3_K_M smoke (…-a6000-qwen36-ud-q3km-mtp-step6/). docs/MODEL-FILES.md
describes the checks and the SSE ping default.

Verified 2026-10-17:
- Qwen3.6 UD-IQ4_XS on the A6000 and Flash-Next IQ3_XXS on the 3090 pod answer all seven shapes. Without max_tokens the
  front end fills the context (n_predict 32,747); max_tokens 32,768 beyond the context is clamped, not refused; the
  reasoning_content history is accepted and answered from the tool result; the optional-arguments-first call parses
  ("limit", "offset", then "path"); the disconnected stream is cancelled at the engine (finish=cancel after 387 and 172
  tokens) and the next request answers in 0.09 s and 0.24 s; the 18,589-token prompt streams its first byte after 5.2 s
  (Qwen3.6, A6000) and 8.0 s (Flash-Next, pod). Qwen3.6 issued the two parallel calls asked for; Flash-Next chose one
  bash call instead, which is the model's choice, not a parsing fault. No ping was seen because the pinned server pings
  after 30 s of silence (--sse-ping-interval); the run lines will set it lower for long prompts.
- pi 0.85.1 against Flash-Next on the pod completed the same multi-step task as against Qwen3.6: read, --json flag, 7
  unittest tests, all passing, one commit (it also noticed and untracked __pycache__). 17 requests, 16 finish=stop and
  the one cancel from the shapes run, prompts up to 4,644 tokens, max_tokens 32,768 passed through, no parse failure.
- Qwen3.6 UD-Q3_K_M (8966dd0c...) on the A6000: all six smoke checks, 214 to 235 tokens/s decode on short prompts.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-17 22:28:14 -07:00
Robert KarlandClaude Fable 5.1 633dbabd90 Step 6 and 7 records: Qwen3.6 UD-Q3_K_M and UD-IQ4_XS on the 3090 pod; pi's multi-step task against Qwen3.6
bench/unbiased/2026-10-17-3090pod-qwen36-ud-{q3km,iq4xs}-mtp-step6/: launch scripts (strata-poly with upstream
setup.py's flags for the qwen36 family), the model files' SHA-256 (8966dd0c... and df27a780..., both from
unsloth/Qwen3.6-35B-A3B-MTP-GGUF at 5bc3e238, equal to the Hugging Face LFS object ids), the engine's info lines and
the raw smoke responses. bench/unbiased/2026-10-17-a6000-qwen36-ud-iq4xs-mtp-step7-pi/: pi's transcript, the diff it
committed in the scratch project, the provider entry it ran with, and the server-side summary of the session.

Verified 2026-10-17 on the RTX 3090 pod, through the front end: both files serve all six smoke checks. UD-Q3_K_M:
211 to 227 tokens/s decode on short prompts, 105 of 120 drafts accepted on the thinking request; UD-IQ4_XS: 205 to
245 tokens/s, 273 of 295. The greedy answer is the same as Flash-Next's and the A6000's. The pi session on the A6000
(13 requests, prompts growing from 453 to 5,520 tokens, max_tokens 23,181 to 28,229, no min_p) had 13 DONE lines, 12
finish=stop and 1 finish=length, no tool-call parse failure and no error or warning other than the expected
"a grammar was requested; this engine does not constrain sampling, parsing only".

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-17 22:24:25 -07:00
Robert KarlandClaude Fable 5.1 ef1ee031c7 Step 6: first end-to-end chats through the front end on both engines, equal to upstream; the model-file table
Records under bench/unbiased/, one directory per box and model: the exact launch script, the fork commit, the engine's
info lines and the raw responses of frontend/tests/smoke-real-engine.sh (health, /v1/models, a greedy chat without
thinking, a sampled chat with thinking, a stream, a tool call). docs/MODEL-FILES.md tracks every model file tried, by
source repository, size and SHA-256, with its status; the same quantization from two Unsloth repositories is two rows,
because only the Qwen3.6-35B-A3B-MTP-GGUF files carry the draft block. Upstream's docs/MODELS.md is unchanged.

Verified 2026-10-17:
- Flash-Next GSQ-RCO IQ3_XXS on `strata`, with the pack, the expert profile, spec 4 and MTP exactly as upstream
  PolyStrata v0.1.45-poly.1 ran it on the RTX 3090 pod on 2026-10-17: the front end serves all six checks on the pod
  and on the A6000 VM. The greedy answer ("101\n103\n107", 12 completion tokens) is the same on both boxes and the same
  as upstream PolyStrata's Python server on the same engine binary and files on the pod (upstream-compare/), which is
  the step-6 gate of PLAN.md section 9.
- Qwen3.6-35B-A3B UD-IQ4_XS (MTP repository, SHA-256 df27a780...) on `strata-poly` with upstream setup.py's flags for
  the family: all six checks on the A6000, 207 to 215 tokens/s decode on short prompts, 83% of drafts accepted. The
  stream check ended by max_tokens with thinking on, as expected for a 200-token cap.
- Through an SSH tunnel, pi 0.85.1 with an openai-completions provider pointed at the Qwen3.6 server completed a
  multi-step task in one run: read two files, added a --json flag, wrote 11 unittest tests, ran them, fixed nothing,
  committed. pi sent no max_tokens cap below 28,229 and no min_p; the front end passed both through.
- The pod's /workspace is a geesefs FUSE volume that stalls to a few MB/s when the engine fills its expert cache from
  it while anything writes; the engine then never becomes ready. bench/unbiased/*3090pod*/stage.sh stages the files
  on the container disk (hashes of pack and MTP checked against the pod's artifacts.sha256, shard sizes equal).

Not yet: a speed comparison (the pod's fork decode on the two short smoke prompts was 64 tok/s against upstream's
112 tok/s sustained benchmark; step 9 measures both the same way), Qwen3.6 UD-Q3_K_M (downloaded and hashed, not run).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-17 22:22:10 -07:00