38 Commits
Author SHA1 Message Date
lotherk a4c4871514 README: container section, the fork's own clone URL, the repository home
- 'Container': the Dockerfile's sm_61 build, every engine beside the front end,
  CUDA_ARCHS, the /health healthcheck with its 30-minute start period, and a
  docker run line with the '--' separator the parser requires
  (frontend/main.cpp:91-120).  examples/compose/p40.yml is named with its
  defect: engine options without '--' (t0578).
- The two clone commands pointed at upstream (robertkarl/UnbiasedStrata); this
  fork is what the rest of the README describes, so they name
  git.kropa.tech/hiddenbox/UnbiasedStrata.
- Code line: kropa is home, upstream/origin are the other two remotes.
2026-11-19 10:12:58 +00:00
lotherk 4c64d1e33a Build: PASCAL=1 for the experimental sm_61/sm_60 (GTX 10-series, P40) build
Compiles CMAKE_CUDA_ARCHITECTURES=61 and passes -DSTRATA_EXPERIMENTAL_SM60=ON,
with an early error when nvcc is 13+ (which dropped sm_60/sm_70). Default
build is unchanged.

(cherry picked from commit 6afd3ff4d8)
2026-11-04 22:02:22 +00:00
Robert KarlandClaude Fable 5.1 152c5af6af DeepSeek-V4.1: first light on the A6000 VM, the ISTA template with the 1017 tag spelling
docs/DEEPSEEK41.md records the engine-only benchmarks (the CPU lane is the
critical path on a Ryzen 1700; the opt-in zero-copy store moves two thirds
of it onto the card: 2.0 -> 3.3 tok/s alone, 4.5 to 6.9 through the front
end) and the template finding: the ISTA GGUF's template spells the DSML
tags the pre-1017 way, the official and Unsloth templates need a dict()
the pinned minja lacks, so data/dsv41/chat_template-ista-1017.jinja is
the GGUF's template with the five tags written out. README run line
updated to match.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-23 21:42:56 -07:00
Robert KarlandClaude Fable 5.1 979e16ba64 DeepSeek-V4.1: UPSTREAM.md, docs/DEEPSEEK41.md and README for the imported engine
UPSTREAM.md gets the two new source rows and a section on what was taken
from Strata v0.2.4 and what was not; docs/DEEPSEEK41.md is rewritten for
this fork (files, pack recipe, run line, what is and is not there) in
place of upstream's installer-centred text; the README lists the third
engine and its run line.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-23 20:39:03 -07:00
Robert Karl a4ad0a4650 README: CliffsNotes box setup — Proxmox clone, apt deps, sm_61 and sm_89 builds, watch-outs 2026-10-23 14:41:21 -07:00
Robert KarlandClaude Fable 5.1 2049dd2a29 docs: memory layout (GPU / pinned RAM / SSD), the three expert modes, the page-cache trap; the drawing
Measured 2026-10-20 on a 16 GB VRAM frame (Coder IQ1_M, RTX 3090; IQ2_XS, RTX 4090 in a 32 GiB VM):
arena vs --resident-experts vs --mmap-experts, --ple-io direct vs mmap, and why a RAM number read as
RSS alone lies when the n-gram table is mapped. README links the page and the pre-built MTP directory
at huggingface.co/robertkarl/UnbiasedStrataPacks.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-20 13:26:48 -07:00
Robert KarlandClaude Fable 5.1 ce6c2f7334 README: Flash-Next pictures need --mmproj on the front end and --vision on the engine
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-20 10:08:58 -07:00
Robert Karl 4ed09cf673 Edit readme to be human-generated 2026-10-19 22:22:31 -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 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 Karl 2a29acb411 Revert "gitmodules: ignore = dirty for third_party/llama.cpp, whose working tree carries patches/ after every configure"
This reverts commit a69013a97c.
2026-10-19 18:40:21 -07:00
Robert KarlandClaude Fable 5.1 a69013a97c gitmodules: ignore = dirty for third_party/llama.cpp, whose working tree carries patches/ after every configure
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 18:38:45 -07:00
Robert KarlandClaude Fable 5.1 e34073e170 make test: engine_test is built into build-frontend/bin; README: offline clone, dirty submodule after configure, fresh-clone timings on the A6000 VM
A fresh clone on the VM (2026-10-19) built in 20.6 min with the README's commands as written, but `make test` failed with
'build-frontend/engine_test: No such file or directory': the frontend target sets CMAKE_RUNTIME_OUTPUT_DIRECTORY to
build-frontend/bin and the test target looked one level up. It passed on the Mac only because a stale build-frontend/
there still had the old binary at the root.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 15:44:09 -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 f499b8cf37 correctness tooling for DeepSeek V4 Flash and GLM 5.3 Flash: @FILE id lists, per-model script roots, pi context note
- src/poly/main.cpp: --tokens/--eos-ids/--follow take @FILE (a 31K-id list is over Linux's 128 KiB argument limit);
  tools/qwen35/q36_llama_dump.cpp: the same for --tokens/--force. Test-only; documented in UPSTREAM.md.
- bench/unbiased/correctness/scripts: US2_CORR_ROOT / US2_DUMP / US2_POLY / US2_VOCAB overrides so the step-12 scripts
  run for another model, tokenizer and reference build; ids passed as @FILE; stderr decoded with errors='replace'
  (DeepSeek's vocabulary pieces are not all UTF-8); make-inputs-model.py (inputs through the fork front end's
  /apply-template + /tokenize); pull-record-2026-10-19.sh.
- README: pi's compaction defaults need a window well above 32K (USTRAT-8).

Runs on the 2x B200 pod in progress; record follows.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 00:00:49 -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 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 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 Karl 0197ae86eb Import PolyStrata v0.1.45-poly.1 (d0cd84dc) unmodified
The upstream release tree, every tracked file byte for byte, from
https://github.com/VecSzn/PolyStrata at tag v0.1.45-poly.1, commit
d0cd84dc6bd009d1d9e2191e4e28cc76b80f1ee3. Nothing added, removed or edited;
git diff against this commit is the whole story of the fork.

Verified: the commit's tree hash equals the upstream commit's tree hash.
2026-10-17 19:34:32 -07:00
Robert Karl d1022a66f0 Empty the tree: UnbiasedStrata 2 starts over from PolyStrata
Every tracked file, .gitignore, .gitmodules and both submodules (llama.cpp at
3cf03257, llama-muse at 335916a) are removed so the next commit can import
PolyStrata v0.1.45-poly.1 unmodified and be the diff baseline of the fork.
UnbiasedStrata 1 remains at tags unbiasedstrata-1 (main, b124b59) and
unbiasedstrata-1-muse-spark-native (4c824e6).

Verified: git ls-files is empty; the working directory holds only .git.
2026-10-17 19:34:05 -07:00
Robert KarlandClaude Opus 5.5 b124b59ce4 Front end: the vision projector's width is checked against the model's, so Qwen3.6-35B-A3B takes images (CPU encoder)
Checked on the GTX 1080 Ti with Q4_K_XL at 262,144 context: six of six facts read from a 1920x1080 screenshot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-13 13:26:18 -07:00
Robert KarlandClaude Opus 5.5 d00d383340 README: --pcie-frac 1.0 repeats a request only below 16 misses per layer and window
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-13 06:22:46 -07:00
Robert KarlandClaude Opus 5.5 542b53b52d README: the 1080 Ti against llama.cpp on the same 52 GB host
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-13 05:10:11 -07:00
Robert KarlandClaude Opus 5.5 06c5a8eccc README: why Qwen3.6 greedy replies differ between runs, and the flags that make them repeat
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-13 03:27:09 -07:00
Robert KarlandClaude Opus 5.5 11496aae7d README: Qwen3.6 serving checks after the streaming fix; why the prompt cache skips the previous reply
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-13 02:35:59 -07:00
Robert KarlandClaude Opus 5.5 f3e0787320 README: the Qwen3.6 ladder on both cards against llama.cpp; the plain Q4_K_XL file's SHA-256
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-13 02:10:38 -07:00
Robert KarlandClaude Fable 5.1 f778c13ec5 README: RAM is a requirement; the file tier is a fallback, not a supported configuration
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-12 23:24:43 -07:00
Robert KarlandClaude Fable 5.1 7f00b1e52a README: RAM per rung is part of the hierarchy; the measured disk-bound case named
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-12 23:24:10 -07:00
Robert KarlandClaude Fable 5.1 69c2f05c8d README, UPSTREAM: Qwen3.6-35B-A3B as the second supported model; the sizing rule; the fat binary default
The README names both models and their hardware, the build's new
CUDA_ARCHS default, the Qwen3.6 serve command and engine flags, the files
with sizes and checksums (the plain Q4_K_XL file's hash is still to be
taken: QWEN36_Q4_PLAIN_SHA), the sizing rule in words with the planner's
figures per budget, what was checked on the 4090 and on the 1080 Ti, and
the known problems.  UPSTREAM.md gets the pack and draft-pack commands
and every prepared file's SHA-256; the patch note says it is applied at
configure time.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-12 19:56:55 -07:00
Robert KarlandClaude Fable 5.1 46c46ecfc1 Front end: image input through the model's vision encoder; engine child supervision; tests
Images: --mmproj PATH loads the Qwen3.8 Flash-Next projector through llama.cpp's mtmd
library and encodes image_url parts on the CPU (frontend/vision.hpp). The embeddings go to
the engine as a GENI request, its existing vision path, with the prompt's <|image_pad|>
runs standing in for each image. --vision-tokens caps the tokens per image. GET /v1/models
lists "image" under input_modalities when the encoder is loaded. Checked on an RTX 4090:
screenshots, photos, several images in one message, and pi's file attachments and
clipboard paste.

Engine process: the engine is started and watched from frontend/engine.hpp; when it exits
or its stall watchdog fires, the front end exits too, for a supervisor to restart. Stall
reports add the current stage and thread wait channels. Reasoning streams; content and
tool calls are sent once the whole message is parsed, so partial JSON never changes
arguments already sent.

Tests: make test-frontend (child exit, protocol, backpressure; no model needed) and
make test-chat-parser MODEL=<gguf> (template and tool-call parsing against the real GGUF).

The image path and the supervision were written by a Codex session; this commit finishes,
documents and checks them.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 15:54:53 -07:00
Robert KarlandClaude Fable 5.1 66e03ed875 README and UPSTREAM: measured speeds against upstream, loader changes, artifact checksums
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-05 21:17:37 -07:00
Robert KarlandClaude Fable 5.1 d0a44ea7e7 README and UPSTREAM: current status, known volume problem, artifact commands
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 15:14:53 -07:00
Robert KarlandClaude Fable 5.1 d2e2217663 Front end: refuse multi-GPU, vision and batch options; README: usage and status
The first end-to-end run answered streaming and non-streaming chat
requests correctly on an RTX 3090 pod. It ran in a slow fallback mode
because of that pod's network volume, so no speed is claimed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 15:01:14 -07:00
Robert KarlandClaude Fable 5.1 34d061c4a9 README: record the first build check
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 13:02:58 -07:00
Robert KarlandClaude Fable 5.1 1b59e5e106 Build from a pinned llama.cpp submodule; add Makefile and README
ggml now comes from third_party/llama.cpp (commit 3cf03257, the one upstream
pins) instead of a clone made during the build. 'make build' configures and
builds the engine for RTX 30/40/50 cards with an AVX2 CPU baseline.

Not yet verified on a CUDA machine.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 12:57:44 -07:00
Robert KarlandClaude Fable 5.1 8894a81288 Remove installer, Python, non-target platforms, benchmarks and marketing
Removed: the Python installer and launchers (setup.py, *.bat, *.sh), the
Python server and web app (serve/), the Python tools (tools/), the Intel
SYCL port (sycl/), Docker files, benchmark results (bench/), the test suite
(tests/, which upstream's own published source also leaves out),
translations, and all docs except DETAILS.md and the paper, kept under
docs/upstream/ as reference.

The engine (src/, include/, CMakeLists.txt) is untouched.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 12:56:12 -07:00
Robert KarlandClaude Fable 5.1 12a7825605 Import Strata at 6f32ec0 (upstream snapshot, unmodified)
Source: https://github.com/Niko1221/Strata, commit 6f32ec070f23ced9f50e704d854d775da52591ab
(engine 0.1.39, MIT). Every file is as upstream published it; later commits
show exactly what this fork changes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 12:55:44 -07:00