okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

albedocmake: strata_kernels links strata_kernels_cpu (iq_kernels.cu reads the latent colscale table from expert_layout.cpp; strata-q36ref failed to link)a4af4df61

main
21 files

files

METHOD-AND-DISCLOSURES.md21.4 KiB
PROVENANCE.txt2.6 KiB
README.md21.9 KiB
SHA256SUMS.txt2.0 KiB
TRIMMED.md397 B
bench-output-240k.json3.8 KiB
bench-output-ab-default.json3.7 KiB
bench-output-ab-default2.json3.7 KiB
bench-output-ab-default4k.json3.7 KiB
bench-output-ab-fused.json3.7 KiB
bench-output-ab-fused4k.json3.7 KiB
bench-output-ab-plebatch0.json3.7 KiB
bench-output-standard-first-attempt-void.json10.7 KiB
bench-output-standard.json12.7 KiB
benchmark.py19.6 KiB
pilot-0.1.36-measured-runs.md1.3 KiB
pilot-0.1.36-reading-scaling.md1.5 KiB
run-iq2_xs-default.bat340 B
run-iq2_xs-fused.bat416 B
run-iq2_xs-plebatch0.bat419 B
strata-iq2_xs.json1.3 KiB

Community benchmark: Radeon AI PRO R9700 (gfx1201), Windows 11, Ryzen 9 9950X

Measured on 2026-10-03 by HarukiOtaku. Strata 0.1.38 (prebuilt Windows HIP engine), original Flash-Next IQ2_XS, one GPU, context limit 262,144 tokens. Greedy, 256-token cap, reasoning off, three runs per length; prompt and decode figures are the engine's own log values.

Prompt tokensReusedGeneratedRunsPrompt tok/s (median, range)Decode tok/s (median, range)TTFT s (median, range)Total s
4,198 (4,195–4,199)0256 (236–256)3855.8 (820.7 – 863.5)99.8 (95.3 – 101.3)4.95 (4.89 – 5.16)7.4
33,467025631,182.1 (1,181.1 – 1,191.2)97.8 (95.3 – 101.2)28.39 (28.18 – 28.43)30.9
131,3880256 (249–256)31,231.7 (1,225.0 – 1,233.3)89.9 (86.2 – 91.0)106.90 (106.77 – 107.49)109.7
247,9900256 (250–256)31,130.1 (1,127.2 – 1,132.0)87.5 (75.1 – 87.5)219.84 (219.49 – 220.42)222.7

Read the medians with a band. The three reps inside one engine session agree to <1 % at 32K/128K/248K and ~5 % at 4K, but the same configuration measured again in a fresh session moved by up to 11.5 % at 32K (medians 1,182.1 vs 1,060.6) and 14.2 % at 4K (855.8 vs 749.3) — 13.4 % and 18.4 % if individual reps are compared — so treat a median as ±10–15 %, not a fixed figure. Only 4K and 32K have replicate sessions: 131,388 and 247,990 each ran in one session (the only other 128K requests are in the excluded void attempt).

Every run in the tables read its whole prompt (reused = 0) and no stall line appears in the log. Six needle checks were found (6/6) at ~33.5K and ~131.4K prompt tokens, depths 10/50/90 % — one run each, so an outcome rather than a success rate. One earlier attempt produced almost no usable answers (13 of its 15 rows empty) and is reported below as a failure, not as data.

docs/AMD_HIP.md marks long contexts beyond 16K as not validated on RDNA4 and the maintainer's R9700 validation is Linux at 4K/16K; the Windows AMD report I could find (#499, RX 9070 XT — still an open, unmerged PR) measures prompts to 31,059 tokens. The novelty here is Windows + gfx1201 out to 248K, not the hardware.

Worth stating plainly what upstream does and does not claim. docs/AMD_HIP.md documents one validated Windows AMD case — an RX 9070 XT on Windows 11 with an engine compiled on that PC, 32K, 29.2 tok/s decode / ~181 tok/s prefill (0.1.34) — and then says: "The ready-made zip itself has not run a model on a discrete card yet - please report." This run is that report, on a different card (R9700, gfx1201) and through the ready-made zip. It is not project-validated support: docs/AMD_HIP_PERFORMANCE.md excludes "Windows HIP, other AMD architectures" from its claims, and docs/AMD_HIP.md says its RDNA4 table "must not be read as a benchmark of every subsequent rebase" and that "long-context stress, broad answer-quality equivalence, other AMD cards, and mixed-vendor inference are not validated here".

Not a controlled study: one OS session, one machine, one quant; prompts are synthetic code; GPU clocks and power limit are not recorded; the desktop was not isolated.

Hardware and software

Engine state of the measured sessions, condensed from engine-0.1.38.log (verbatim excerpts):

expert cache auto: 25.78 GiB free, 700 MiB reserved (+143 MiB for the draft head) -> 17739 slots
expert cache 18575 slots, 24.95 GiB of VRAM
pre-filled 18575 of 18575 slots from the profile; slot 0 verified
FileExpertSource: RAM budget 16.00 GiB: 6001 of the 8.07 GiB of experts the GPU cache does not hold
the file tier reads unbuffered (5 of 16 probe reads from the file cache; 46.0 GiB available, 36.5 GiB of files)
Windows budgets 31704 of this card's 32624 MiB for this process; free VRAM is counted within that
KV streaming: 32768 of 262144 cells per QSA layer in VRAM, the K/V in 3.09 GiB of pinned RAM
the prompt path borrows 3203 CUDA0 cache slots (4.34 GiB)
PLE on, table 320001536 rows
15 expert-pool workers + the host thread

The previous engine (pilot, 131,072 context) logged large pages refused for 35456548864 B (GetLargePageMinimum=2097152, VirtualAlloc error 1314); using 4 KB pages, kept in pilot-0.1.36-engine-startup.log; "Lock pages in memory" is not enabled, which #42 documents as the expected desktop outcome for error 1314.

Model and configuration

Engine arguments as written in strata-iq2_xs.json (the launchers start serve/server.py, which spawns the engine with these):

--pack  D:\AI\Strata\Strata-main\Strata-data\packs\iq2_xs
--native  D:\AI\Strata\Strata-main\Strata-data\models\IQ2_XS\Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf
--ple-gguf D:\AI\Strata\Strata-main\Strata-data\models\IQ2_XS\Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf
--expert-profile D:\AI\Strata\Strata-main\Strata-main\data\expert-profile.bin
--expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5
--mtp D:\AI\Strata\Strata-main\Strata-data\mtp\rt
--max-context 262144 --kv int8 --kv-resident 32768 --mmap-experts --resident-budget-gib 16
env STRATA_HIPBLASLT_TUNING=...\tools\hip\gfx1201-hipblaslt-100500.txt

Method

Full method detail, the label/session caveats and every disclosure: see METHOD-AND-DISCLOSURES.md.

Results

Per-run JSON: bench-output-standard.json (4K/32K/128K + needles), bench-output-240k.json (248K). "Tabled" = the 36 rows in a measured series across the nine JSON files (18 in the two headline files, 18 in the six A/B legs); the tables use the first 18. The log (engine-0.1.38.log) holds 71 request lines: 36 tabled, 15 rows of the failed attempt below, 18 calibration/warm-up, and 2 others (a 246,933-token request the harness did not produce, and a leftover 0.1.36 pilot line).

The failure: bench-output-standard-first-attempt-void.json was made before the harness disabled reasoning — 13 of its 15 rows returned no answer text (7 speed rows at 256 generated tokens and 6 needle rows at the 32-token cap), all six needles missed, ttft_s is null on 7 of 9 speed rows. It is a failure outside the summary, not a recall or throughput result.

Needle recall:

Prompt tokensDepthResultPrompt tok/sDecode tok/s
33,51210 / 50 / 90 %FOUND / FOUND / FOUND1,178.6 / 1,193.8 / 1,186.8118.1 / 86.1 / 118.9
131,43310 / 50 / 90 %FOUND / FOUND / FOUND1,230.7 / 1,233.8 / 1,229.773.7 / 83.5 / 106.2

Correctness and limitations