18 Commits
Author SHA1 Message Date
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 7551f13877 llama.cpp as a fork: submodule -> robertkarl/llama.cpp branch UnbiasedStrata (3cf03257 + the two parser commits); no configure-time patching
The two tool-call parser changes that CMake applied to the submodule's working tree at every configure are now
commits 9547d8d and a6de9af on the fork's branch, and the submodule pins that branch's tip. The pinned commit alone
names the sources compiled, the submodule is clean after a build, and a bump of the pin that breaks the parser
changes fails in git, not in configure. patches/ and the CMake loop are removed; README, UPSTREAM.md, PLAN.md and
docs/CORRECTNESS-PLAN.md say where the changes live now. make test passes on the CUDA-free front-end build.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 18:46:04 -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 a9dd402f15 PLAN: step 18, multi-GPU (layer split): what upstream has, what the setup/serve removal dropped, the work
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 10:18:41 -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 ea34d7016a step 13 scope cut (sampled path + pi coding task per model family; DeepSeek V4 Flash and GLM on the 2x B200 pod); tools/pod/bringup.sh
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-18 18:44:21 -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 adab1179f5 Step 9: attribution of the fork-vs-upstream differences to the engine builds, not the front end
With upstream's engine binaries behind the fork front end, prefill is equal within
1 % and decode within the run-to-run range on both models. Table and reading in the
step-9 README; PLAN section 11 updated.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-18 00:16:54 -07:00
Robert KarlandClaude Fable 5.1 20ece30f54 PLAN: steps 14-17, the ship bar (performance parity, accuracy vs llama.cpp with a measured noise floor, front-end equivalence, release gate; decided 2026-10-18)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-18 00:11:07 -07:00
Robert KarlandClaude Fable 5.1 f5b9d32f8e Step 10: README rewritten for the fork; UPSTREAM.md records the front end's behaviour
README.md: what the fork is, the two engines with measured versus present models,
the exact build lines and make variables, the run line per measured model with
every flag upstream's installer would have chosen for a 24 GB card and what each
flag does per upstream's docs, the Flash-Next pack chain, the measured table
(step 9 upstream-vs-fork and the step 6 short-prompt ranges, nothing without a
row), known limits, the removal rule, credits. 917 lines of upstream's README
become 180.

UPSTREAM.md: a section for the front end's behaviour where it differs from
llama-server or upstream's server (/health fields, usage chunk, one slot, no
constrained decoding, --mmproj refused, SIGTERM exit status, min_p default);
the engine-source section states the empty diff since import.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-18 00:02:28 -07:00
Robert KarlandClaude Fable 5.1 043431f59d Step 9 row 3: pi wall time on the fixed coding task, upstream vs fork, Flash-Next on the pod
Three pi runs a side through an SSH tunnel; all six complete the task. Wall time
per generated token within noise (fork 76.6 vs upstream 72.1 tok/s median); raw
wall medians 44.7 vs 36.3 s follow the sampled trajectories' lengths. Records,
server logs, the runner and the per-run totals under row3/. PLAN section 11 and
the step table updated: step 9 measured, one Qwen3.6 prefill cell left to explain.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-17 23:57:08 -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 210e936a91 PLAN: step 13 uses 'write a minesweeper clone in html/js/css' as its sampled program prompt (decided 2026-10-17)
The page the model writes is opened in a headless browser and must render without a console error with a clickable
grid; how much further the judging goes is an open question of the step.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-17 22:56:11 -07:00
Robert KarlandClaude Fable 5.1 6ed5ca2210 PLAN: step 13 stub, a per-file model acceptance suite (load, sampled program, speed in range; decided 2026-10-17)
For every model file in docs/MODEL-FILES.md and every model upstream supports once its file is on a box that can hold
it: load through the front end, ask for a small program sampled at 0.6 and 1.0 and run it, compare decode and prompt
tok/s with an expected range per model and card. Open questions are listed in the step; it is a stub to be planned.
Noted as the minimum sanity bar beside step 12, which is the correctness check proper.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-17 22:55:58 -07:00
Robert KarlandClaude Fable 5.1 ef6b5d06aa PLAN: step 12, run the correctness checks step 11 proposes (decided 2026-10-17)
The parity programs and the teacher-forced greedy id comparison against llama.cpp that step 11 names and the user
signs off are run in step 12, with commands and raw outputs under bench/unbiased/correctness/. A divergence is a bug
to find before any README claim beyond equality with upstream PolyStrata; docs/MODEL-FILES.md records the result per
file. The notes copy in unbiasedstrata2/ is updated too.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-17 22:51:47 -07:00
Robert KarlandClaude Fable 5.1 a210c718e7 PLAN: step 11, a correctness plan against llama.cpp for the kernels in use (planning only, decided 2026-10-17)
Added to the steps table of section 9 and explained after it: an agent writes docs/CORRECTNESS-PLAN.md naming the
checks (upstream's parity programs, a teacher-forced greedy id comparison against llama.cpp at the pinned commit for
Flash-Next and Qwen3.6), what each compares against, its pass criterion and its cost; nothing runs and no code changes
in that step. Recorded because the plan so far inherits the engines' correctness from upstream, and the step-6 gate as
run compared text and completion-token counts rather than ids. The notes copy in unbiasedstrata2/ is updated too.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-17 22:49:57 -07:00
Robert Karl 7e683af1bb Build: llama.cpp as a shallow submodule at 3cf03257; patches at configure; Makefile
ggml now comes from third_party/llama.cpp, the commit upstream pins, instead of
a FetchContent clone at configure time; the configure stops with the submodule
command if the checkout is missing. patches/*.patch are applied to the submodule
at configure time, idempotently (checked in reverse first); the one patch is the
Qwen3-Coder any-argument-order parser fix carried from UnbiasedStrata 1. A second
add_subdirectory builds llama.cpp's llama, common, cpp-httplib and mtmd for the
coming C++ front end with every download switch off. Makefile: make build
configures once and builds strata, strata-poly, strata_kq, llama-common and
mtmd into build/bin for CUDA archs 61;75;86;89 (SM60 flag added for 61), finds
nvcc on PATH or in /usr/local/cuda/bin, and probes for the newest GCC nvcc
accepts, passing it as the C, C++ and CUDA host compiler so one libstdc++ is
linked (a GCC 14 / GCC 13 mix failed to link strata on __cxa_call_terminate).
PLAN.md and UPSTREAM.md added.

Verified: a fresh clone and 'git submodule update --init' on a networked box
checks out the shallow pin in 37 s. On VM 220 (Debian 13, GCC 13/14, CUDA 12.4,
no outbound internet) 'unshare -rn make build JOBS=6' inside a network namespace
with no interfaces built strata, strata-poly and libstrata_kq.so for 61;75;86;89
in 24 min with zero network errors in the log; strata --version prints 0.1.45.
2026-10-17 20:37:04 -07:00