274 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 5cd37fa703 poly: hold the attention caches' growth back from the expert cache (kv_unmapped)
The expert cache was sized from the VRAM free at load, but the attention
caches map their rows later, as the conversation grows (cover()).  A card
filled with experts then cut the cache on every prompt, and once it was at
zero a long prompt died with "no VRAM for the attention cache (2 MiB more)"
(GTX 1060 6 GB, Qwen3.6-35B-A3B, --max-context 131072, --kv q8_0).

kv_unmapped() is what the chunked caches will still map to reach
--max-context; fill_expert_cache(), mind_card_vram() and held_is_budget()
leave it to the rows.  If it does not fit, every expert runs on the CPU and
the message says what makes room.  docs/VRAM_BUDGET.md has the analysis.

Not yet verified: docs/VRAM_BUDGET.md says "compile verification running"
-- build and run it before relying on it.
2026-11-19 09:56:23 +00:00
lotherk 7813dc8b53 Dockerfile: build from source and install every engine beside the front end
The source build runs on hosts without a CUDA toolkit (kontron, kompute),
but it installed only unbiased-strata. The front end resolves a bare
--engine name beside its own binary, so the container fell back to strata
and died with 'unknown argument: strata-poly' in a restart loop. Copy all
four binaries plus libstrata_kq.so into one directory.

Also bump third_party/llama.cpp to 44072a19f: DeepSeek V4.1 chat template
and DSML parsing, the qwen3-coder tool-call parser fixes (stray close tags,
blank lines, stuttered closes, any argument order) and the shrinking
partial parse.
2026-11-17 17:39:10 +00:00
lotherk 3de4779696 Sampler: declare the DRY fields in SamplerParams
The DRY kernel and sampler_parity.cpp already referenced dry_multiplier,
dry_base, dry_allowed_length and dry_penalty_last_n, but the struct never
declared them - the tree did not build. Adds the fields plus the
kDryWindowCap / DryBreakers / dry_enabled helpers they need.
2026-11-17 17:35:37 +00:00
lotherk cb1861e0a5 Merge remote-tracking branch 'upstream/main' 2026-11-17 09:03:29 +00:00
lotherk a0c6750245 submodule: update llama.cpp to latest upstream 2026-11-17 08:50:37 +00:00
lotherk f05c3e29fe Merge upstream/main: DeepSeek-V4.1, Metal/SYCL backends, Qwen3.6-35B-A3B, DRY penalty, and 296 upstream commits
All conflicts resolved as upstream (theirs) per user request.
Everything upstream is now in.
2026-11-16 19:13:48 +00:00
Robert KarlandClaude Fable 5.1 ff19037a1c [2/2] 35b-a3b perf -- consolidate mmq launches (#29)
* strata-poly: --mmq-tab, a layer's cached experts in pointer-table launches of 16 wherever their slots lie

Once follow() has traded slots, a layer's cached experts lie in many short runs and a decode window's
experts with rows went one MMQ launch each (205K launches in a 512-token decode on the 1060).  The
pointer-table MMQ the prompt path already has (src/prefill/moe_mmq_tab.cuh) takes up to 16 matrices by
address; Mmq::mul_tab wraps it for strata-poly and moe_rows() takes it for a class when that is fewer
launches than its runs.  Built under STRATA_POLY_MMQ_TAB (off by default, like STRATA_MMQ_TAB; same
fingerprint of mmq.cuh, now a CMake function both options use).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit 1a3b9a42f39132f6b02e0c8f9082a39ef9b898c2)

* strata-poly: make pointer-table MMQ opt-in at runtime

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-05 16:39:38 -08:00
Robert KarlandClaude Fable 5.1 1fe9bec4cd [1/2] 35b-a3b perf -- auto CPU/GPU split on expert cache misses (#27)
* strata-poly: hybrid expert streaming while an answer is written (--stage-rows, --stage-overlap)

An answer's decode windows can take the prompt path's hybrid handling of the experts outside VRAM
(--stage-rows 1): the misses go through the pinned staging buffer to the card and run there by MMQ,
an adaptive --cpu-share of them computed on the CPU meanwhile, instead of every miss on the CPU.
--stage-overlap (default on) copies a single staging round on the upload stream, under the cached
experts' kernels. STRATA_WORKER_SPINS=N shortens the workers' spin before they sleep;
STRATA_BLOCKING_SYNC=1 has the waiting thread sleep on the card (set before the single-card path).

On a GTX 1060 6 GB laptop (Qwen3.6-35B-A3B UD-IQ3_XXS, 128K q8_0 KV, 4K prompt, 512-token decode,
nvprof): 20.6 -> 26.5-29.3 tok/s, CPU 6.2 -> 2.5-3.6 cores, CPU throttle events 2389 -> 484, PCIe
0.3-0.7 GB/s at decode, GPU 82-85% busy.

Fixes the streamed path needed: a streamed window never takes the halves pipelining (it corrupted
output); it feeds recent_ so the cache keeps trading for the answer's experts; the pinned copies go
to a few stager threads so the expert workers sleep.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* strata-poly: a streamed window applies --tail-skip as moe() did

With --stage-rows under 32 an answer's windows take moe_rows(), which computed every routed expert: the
tail-rank skip lived only in moe(), so lowering --stage-rows silently turned --tail-skip off while the startup
line still claimed it.  moe_rows() now leaves out an expert outside VRAM that every token of the window ranks
at tail_skip or later, counts it in tail_experts, and zeroes its rows' places.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* strata-poly: an answer's streamed misses count as misses in the stats

A window through moe_rows() counted its cached rows as gpu_experts and nothing for the rows staged to the
card, and the front end's DONE line and the run summary take hits over gpu_experts + cpu_experts: a window of
two hits and six streamed misses reported 100% from VRAM.  Stats::staged_experts holds them and both totals
include it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* strata-poly: the MMQ path is set up from --stage-rows rows, not 32

alloc() gave a layer its MMQ tiles only when a call could hold kStageRows rows, so --prompt-batch 16
--stage-rows 1 (or a context that small) accepted both flags and streamed nothing: mmq_ was never made and
batched() was always false.  The buffers are sized from rows_ either way.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* strata-poly: STRATA_BLOCKING_SYNC leaves the caller's device selected

The flag loop ended on the last card it visited, so an unsplit engine opened from device 1 with the variable
set loaded on device 0.  The device that was current is restored after the loop.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* strata-poly: make staging overlap opt-in

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-05 16:37:45 -08:00
lotherk db1cf9ef40 docs: add Frontend-CLI migration deliverable document
- New compose commands for p40-0 and p40-1
- Engine mapping (strata-poly vs strata)
- VRAM estimates per card
- Rollback procedures
- Open questions (build failure, no timing data, etc.)
2026-11-05 17:19:33 +00:00
lotherk c9a49cd0b8 Dockerfile: switch from source-build to COPY pre-built binaries
- Remove multi-stage build (strata_kq fails to compile in container)
- COPY unbiased-strata, strata, strata-poly, libstrata_kq.so from build/bin/
- Reduces build time from ~90s to ~5s
- Runtime image only has ca-certificates + curl (healthcheck)
2026-11-05 17:08:41 +00:00
lotherk 56b6a73054 Dockerfile: copy strata + strata-poly engines for --engine support
- Add strata binary (GSQ-RCO pack/MTP models like Qwen3.8)
- Add strata-poly binary (standard GGUF models like Qwen3.6)
- Add libstrata_kq.so shared library
- ldconfig after library install
2026-11-05 16:47:44 +00:00
lotherk e965472b7c docs: update report with build results — gate GREEN 2026-11-05 13:44:41 +00:00
lotherk 606d1eb4ad llama.cpp: rebase UnbiasedStrata onto upstream master for flint support
Our 6 fork commits rebased onto ggml-org master (FlintForCausalLM, a37cc4610):
  73eb3f01c tool-call grammar accepts arguments in any order
  f917864e8 server: hold a shrinking partial tool-call parse (no 500 mid-stream)
  9f39470f1 qwen3-coder: skip a stuttered </parameter>
  809aa3ef4 qwen3-coder: skip blank lines before </function>; final parse keeps streamed calls
  9c1917f99 qwen3-coder: skip any stray close tag between arguments
  (DeepSeek-V4.1 DSML commit dropped - upstream has it already)

Conflicts resolved by hand: server-task.cpp keeps our parse guard adapted to chat_session.feed/finish
and added.text; qwen3-coder.cpp keeps our permute-all-arguments rule plus the stutter skip;
deepseek.cpp/chat.cpp follow the upstream signature (lambda needs tool_index).

Branches: submodule UnbiasedStrata-flint @ 9c1917f99, upstream/master + 5 commits.
Build: llama.cpp/build-cuda (CUDA sm_61) -> build-cuda/bin/llama-server; loads flint on the P40 and
decodes at 43-46 tok/s (17.5 GB in VRAM).
2026-11-05 07:37:45 +00:00
lotherk 847aa7da5f build: pick the oldest tensor-core arch (sm_70) for strata-dsv41; configure green at CUDA_ARCHS=61 2026-11-05 05:59:03 +00:00
lotherk 910648f2bf build: fix the sm_70 pick (no CMake IN operator) for the tensor-core engine 2026-11-05 05:02:04 +00:00
lotherk 827b5cbf0b build: strata-dsv41 needs tensor cores (sm_70+); keep Pascal archs for strata/strata-poly 2026-11-05 04:06:54 +00:00
lotherk 5c83c832a0 docs: update report — rebase onto upstream 22abfdb, sm_61 build state, dropped features 2026-11-05 01:35:09 +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
lotherk 6ae71dce2a Container: build the unittest image in a Dockerfile; add a P40 compose example
Multi-stage Dockerfile: build (nvidia/cuda 12.8.1 devel, PASCAL=1) then a
runtime stage (nvidia/cuda 12.8.1 runtime), one binary (build/unbiased-strata),
a /health check. examples/compose/p40.yml shows a one-card Tesla P40 service
with the model, pack and MTP mounted read-only.

(cherry picked from commit 570b5eb6c4)
2026-11-04 21:58:25 +00:00
Robert KarlandClaude Fable 5.1 22abfdb87f DeepSeek-V4.1 docs: prompt-depth table and the IQ1_M set on the A6000 VM
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-23 23:17:34 -07: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 d03a92f17f DEEPSEEK41.md: the VM's core and RAM figures
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-23 20:42:51 -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 KarlandClaude Fable 5.1 23cd3b1a40 llama.cpp submodule: DeepSeek V4.1 chat template and DSML parser (PR 30817 hunks)
third_party/llama.cpp -> branch deepseek41-parser, one commit on 385445f.  See UPSTREAM.md (to follow).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-23 20:22:29 -07:00
Robert KarlandClaude Fable 5.1 bd2dbb92f1 Import Strata v0.2.4's DeepSeek-V4.1 engine (strata-dsv41) and the CPU kernels it needs
From Niko1221/Strata tag v0.2.4 (commit 96ca4383, 2026-10-24), unmodified: src/dsv41/ (the engine and its vendored
EXL3 / sampler / window kernels), include/strata/dsv41/, tests/dsv41/, tools/dsv41/{pack_gguf,smoke,tune}.py,
data/dsv41/ (the shipped hot-expert profiles), tools/trellis/tqenc.{cpp,hpp} (the tests' encoder),
third_party/project-maya/ (the MIT notice: the engine is a port of Project Maya's maya-ds4),
third_party/ggml/ggml-common-tq.h, docs/DEEPSEEK41.md (upstream's text, to be rewritten for this fork).

src/kernels/cpu: upstream's iq_avx2.{cpp,hpp}, iq_avx2_rows.inl, iq_avx512.{cpp,hpp} replace this fork's
(v0.1.45-poly.1) copies - they add the engine's CPU lane rows iq256x_rows / iq512x_rows and leave the main engine's
iq256_* / iq512_* as they were (upstream's statement; iq_avx2_parity is the check) - and the trellis CPU lane
tq_cpu.{hpp,cpp}, tq_avx2.cpp, tq_avx512.cpp, tq_states.hpp, tq_computed.hpp is new.  expert_layout.hpp stays at
layout version 4 (upstream's 5 adds Hadamard-folded packs this fork has no use for yet).

CMakeLists.txt: upstream's strata-dsv41 block, with ggml.h / ggml-cpu.h coming through strata_kernels_cpu's ggml-cpu
link from the submodule (no FetchContent), the tq sources and flags in strata_kernels_cpu, and iq_avx512.cpp built
with -mavx512vpopcntdq -mbmi2 as upstream does (iq512x_rows uses them).  Makefile: STRATA_BUILD_DSV41=ON and
strata-dsv41 among the targets `make build` produces.

Target: ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF (IQ1_M / IQ2_XXS + the IQ4_NL Engram) on the A6000 VM.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-23 20:14:35 -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 325594d806 tool call healing (#17) (#18)
* frontend: llama.cpp parser-hold-delta (no 500 on a shrinking partial tool-call parse; raw text logged), issue #17

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* frontend: skip a stuttered </parameter> in Qwen3-Coder calls; never 500 on a shrinking partial parse (issue #17)

llama.cpp submodule parser-hold-delta 638a7e2 (two commits on a6de9af); UPSTREAM.md lists them.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* frontend: skip blank lines before </function>; the final parse keeps streamed tool calls (issue #17)

llama.cpp submodule 4174b21: the Coder IQ1_M shard also leaves a blank line between the last
</parameter> and </function>; the hold-delta guard kept that stream alive but the final parse
threw in the diff check and the request still ended in a 500 (memcached-bisect-deep, 2026-10-21).
The grammar skips blank lines before the close tags, and a final parse that loses a streamed
call keeps the streamed calls instead of throwing. UPSTREAM.md lists it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* frontend: skip any stray close tag between Qwen3-Coder arguments (issue #17)

llama.cpp submodule: the third shape of the Coder IQ1_M slip (prime-frontend, 2026-10-21) wrote
</content> and </invoke> after the real </parameter>. One rule now covers the stutter, the blank
line and foreign close tags. UPSTREAM.md lists it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-21 09:47:23 -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 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 698b02e1a2 frontend: a picture encoded once is a picture encoded once (USTRAT-15)
A chat client resends the whole conversation every turn, pictures included, and the vision encoder is the slow part
of a request: 6 s a screenshot on 16 CPU threads, 18 s on 6, every turn, while the engine reuses the prompt's KV
prefix in a fraction of a second. Upstream's Python server kept the encoder's output per picture in an LRU of 64
files keyed by the SHA-256 of the picture's bytes (serve/server.py, class Vision); this is that cache for the C++
front end, in memory.

frontend/picture_cache.hpp (header-only, no llama.cpp): PictureCache keeps PictureRows (the projector's output,
n_tok rows of the embedding width) under mtmd's chunk id, which is the SHA-256 of the bitmap's bytes. Shared
pointers, so a request keeps the rows it is writing when the cache lets go of them; two limits, entries and bytes,
the newest entry always kept. engine_key() turns the id into the 64-bit key the engine's conversation cache takes
(img_keys= on the GENI line, #2228), so a picture encoded again with other bits still matches its KV prefix.

encode_pictures is now six short functions: open the file, fill it, find the chunk, its id, its rows (cache or
encoder), its grid, write the record. --picture-cache N (default 64, 1 GiB) sets the size; 0 turns it off.

frontend/tests/picture_cache_test.cpp: hit/miss and counters, LRU order and the entry limit, the byte limit and the
oversize newest entry, a held entry outliving its eviction and a key replaced, off and an empty key, the engine
keys, eight threads at once. In make test.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-20 10:33:30 -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 KarlandClaude Fable 5.1 0d197fbecd tools/vm: the A6000 QFN script serves pictures (--mmproj, --vision) and takes the front end from build-frontend
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 23:41:16 -07:00
Robert KarlandClaude Fable 5.1 b4e28c767a e2e: the literal oracle splits only the literals themselves, as tokenize_plain does
An ordinary one-token text such as "<th" is not split by the server (its attribute is not CONTROL or USER_DEFINED);
the oracle split it and was one token off against the Flash-Next vocabulary.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 23:40:54 -07:00
Robert KarlandClaude Fable 5.1 cd3be94f42 frontend: a control token's text inside a message is text (USTRAT-14)
The rendered prompt was tokenized whole with specials parsed, so "<|image_pad|>" in a
document an agent read became the image pad token and the engine refused the request
("the prompt has more images than the embeddings file"); "<|im_end|>" in a tool
result ended a turn. Upstream's Python server marked these literals before the template
rendered (#537, #554); the C++ front end lost that with the server's removal.

frontend/literals.hpp: the texts of the vocabulary's control tokens and marker-like
added tokens (<think>, <tool_call>, [gMASK]) are swapped for private-use marks in the
messages and tools before oaicompat_chat_params_parse renders the template, swapped
back after, and the spans they covered are tokenized as text: parse_special off, and an
added token the tokenizer matches regardless is split until none is left. Media parts
are not scanned. An assistant message keeps a leading whole <think>...</think> block
as the model's markers (clients that send reasoning inline), as upstream did. A mark
that a template's tojson(ensure_ascii=True) escaped as a surrogate pair is read too.
A request without literals renders and tokenizes exactly as before.

mtmd's logger wrote every level to stderr, its debug line add_text() among them: the
whole rendered prompt once per request into the journal. It now goes through the
common log, where debug lines need the server's verbosity raised.

Tests: frontend/tests/literals_test.cpp (no model; nlohmann json, the interface
common_json copies) in make test; e2e.sh runs a third fake-engine server with upstream's
Qwen3 template (frontend/tests/data/qwen3-chat-template.jinja) and checks
usage.prompt_tokens against the prompt tokenized by hand with the literals as text, for
user content, a tool description and an assistant history message.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 23:35:32 -07:00
Robert Karl 1fa9006b40 Merge pull request #12 from robertkarl/unbiasedstrata2
UnbiasedStrata 2: replace main with the unbiasedstrata2 branch
2026-10-19 22:24:50 -07:00
Robert Karl 610c85b345 bench readme also 2026-10-19 22:22: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 48efae213c tools/vm serve-glm-a6000.sh: 3.0bit case on the NVMe with its fetched draft block; REAP50 path on the HDD disk
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 22:21:40 -07:00
Robert KarlandClaude Fable 5.1 93ed67072f tools/vm: Flash-Next IQ3_XXS serve script for the A6000 VM (fresh tree build, step-6 flags)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 22:15:42 -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 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 96b35accfe bench: the fork on the homelab RTX 4090, Flash-Next GSQ-RCO IQ3_XXS at 128K context with q4_0 KV all resident (2026-10-19)
Fork only, built fresh on the box at a0443466 (make build CUDA_ARCHS=89), upstream's strata_bench.py --runs 3 --long
plus the sustained supplement, the record layout of bench/unbiased/2026-10-17-3090pod-step9/. 54 requests, all
successful. Two start-only probes chose --kv-resident 131072 (every q4_0 cell in VRAM, 10,162 expert slots) over 32768
(10,545 slots). Chat decode 98.5 tok/s, sustained 123.0, agent turns 120.0; prefill 1547 / 2992 / 3075 tok/s at 4K /
16K / 32K; draft acceptance 65.2 %. Open finding: short-prompt reading is 25-45 % below the 3090 pod while 16K and 32K
reading is 18 % above it; a --pool-workers 8 arm is the first test. The server, probe and driver logs are added with -f
(the *.log ignore is for build trees; the README cites these).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 18:30:58 -07:00
Robert KarlandClaude Fable 5.1 39d6b34fe4 gitignore: .DS_Store
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 18:30:58 -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 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