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
14 files

files

BUILD.json188 B
README.md8.9 KiB
TRIMMED.md352 B
benchmark.py10.0 KiB
coding-check.json2.2 KiB
coding_check.py2.8 KiB
final-status.json1.2 KiB
initial-status.json1.1 KiB
memory-summary.json430 B
monitor.py788 B
needles.json1007 B
results.json22.1 KiB
strata-q2_0.json1.3 KiB
summary.json3.0 KiB

Community benchmark: RTX 5090 Laptop GPU (24 GB), Ryzen 9 9955HX3D

Measured on 2026-10-06 by wolffahrer on a Windows 11 gaming laptop (Schenker XMG NEO 16, A25). This tests Strata 0.1.40.1 (engine 0.1.40) with Flash-Next Q2_0, one mobile GPU, and a 131,072-token context limit. It reuses the workload of the 2026-09-30 desktop RTX 5090 report (same synthetic prompts, prompt lengths, greedy decoding, reasoning off, 256-token output cap) so the two can be read side by side. It is not a controlled comparison: quantization, engine version, OS, VRAM, power limit and PCIe link all differ (see below).

Median decode throughput was 136.9 tok/s at 4,096 prompt tokens, 137.7 tok/s at 32,768, and 134.6 tok/s at 128,000. Median prompt throughput was 1,952.5, 2,877.8 and 2,764.1 tok/s. All nine speed requests succeeded with zero reused tokens. These are synthetic code-explanation requests; they do not establish general answer quality.

Hardware and software

Model and configuration

The complete configuration (local paths replaced by placeholders) is strata-q2_0.json; startup choices and every request's timing and draft statistics are in engine.log.

.venv\Scripts\python.exe serve\server.py --engine strata --config strata-q2_0.json --port 18096

Method

benchmark.py is the desktop report's script with three changes: it runs with Strata's own Windows venv, a failed or cancelled request is recorded with its error and excluded from the statistics instead of stopping the suite, and peak host RAM (total minus available, system-wide) and GPU memory are sampled every 0.5 s during each request. Prompts, nonces, token targets and the token-count check against the server are unchanged.

.venv\Scripts\python.exe benchmark.py --root <strata> --pack <strata-data>\packs\q2_0 --url http://127.0.0.1:18096 --out results
.venv\Scripts\python.exe tools\needle_bench.py --url http://127.0.0.1:18096 --lengths 32k,128k --depths 10,50,90 --out needles.json
.venv\Scripts\python.exe coding_check.py --url http://127.0.0.1:18096 --out coding-check.json

One short warm-up request was excluded. Three runs at each length ran serially in increasing-length order on the same loaded engine. All nine speed requests processed their entire prompt (zero reused tokens). The expert cache was filled at startup and kept between requests; no restart or page-cache reset separated them. Loading time is excluded (the server was healthy 15.1 s after start). Throughput comes only from the engine's timing values: prompt tok/s = freshly read tokens / prompt_ms, decode tok/s = engine_generated / decode_ms. TTFT is the client's streaming time to the first non-empty text delta (answer text, reasoning off); total is until stream end. Both include HTTP over loopback and frontend tokenization.

Results

Median [minimum–maximum] of three runs. Every request generated 256 tokens and stopped at the output limit; no failed or cancelled requests.

Prompt tokensReusedPrompt tok/sDecode tok/sTTFT secondsTotal seconds
4,09601,952.5 [1,746.8–1,955.5]136.9 [125.0–137.4]2.124 [2.117–2.376]3.977 [3.977–4.430]
32,76802,877.8 [2,867.3–2,900.1]137.7 [134.2–140.0]11.458 [11.367–11.509]13.352 [13.184–13.357]
128,00002,764.1 [2,755.1–2,797.3]134.6 [122.1–141.9]46.498 [45.973–46.666]48.289 [47.863–48.751]

Raw per-run records: results.json (engine timings, draft statistics, output text, request hashes, per-request memory peaks). Aggregates: summary.json. Decode expert-cache hit rates were 90.2–98.5% for the nine requests (the first 4K run, which also has the lowest decode speed, is retained in the range).

Side by side with the desktop report (not a controlled comparison): decode reached 76% (4K), 78% (32K) and 82% (128K) of the desktop's medians (179.4 / 175.7 / 165.0 tok/s); prompt throughput reached 46%, 52% and 48% (4,269.8 / 5,543.2 / 5,778.7 tok/s). Plausible contributors, none isolated here: 175 W vs 575 W power limit, PCIe Gen 4 x8 vs Gen 5 x16, 24 vs 32 GB VRAM (15.1 vs 23.4 GiB expert cache), Q2_0 vs IQ2_XS, Windows vs Linux, engine 0.1.40 vs 0.1.29, --spec-min-p 0.7 vs 0.5.

Memory, from monitor.py sampling once per second from before model load until the end of the checks (telemetry.jsonl, 369 samples over 397.5 s, summary in memory-summary.json):

Correctness and limitations

The author documents local AI on consumer hardware (in German) on the KI SOUVERÄN channels: YouTube and Telegram.