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
2 folders14 files

files

raw/
raw-0.1.39/
README.md13.9 KiB
TRIMMED.md630 B
artifact-sha256-long-context.txt1.6 KiB
artifact-sha256.txt1.8 KiB
bench-0.1.39.py12.4 KiB
bench.py12.4 KiB
long-context.md8.2 KiB
needles-A-96k-128k.json1008 B
needles-B-192k-512k.json591 B
needles.json1008 B
results-0.1.39.json8.2 KiB
results.json11.7 KiB
retry-512k.py2.6 KiB
strata-config.json922 B

Community benchmark: 2× RTX 3060 12 GB (Xeon E5-2678 v3), Qwen3.8-Flash-Next IQ3_S

Measured on 2026-10-04 by zimuhuan-code, on a headless Linux server. This tests Strata 0.1.37 with Qwen3.8-Flash-Next GSQ-RCO IQ3_S, two RTX 3060s with layer split, and a 524,288-token context. It is the formal write-up of the numbers first posted in #602, now with per-run data, time-to-first-token, memory observations and artifact hashes.

Main limitation, stated up front: the prompts are synthetic (one fixed English filler paragraph repeated to length, with a unique leading tag per run), not a real workload, and only one quantisation is re-measured here. The Q2_0 comparison from #602 is included as a historical single run — its weights and pack are no longer on disk and were not re-run.

Median over three runs per size, greedy, 256-token output cap, no prompt-prefix reuse (cache_n = 0 on every run):

Prompt size (actual tokens)Prompt tok/s (median, range)Decode tok/s (median, range)TTFT s (streaming)Wall s (median)
3,197603.0 (601.2–604.8)43.6 (42.2–44.0)5.410.4
24,7981,156.3 (1,154.4–1,159.3)42.5 (41.4–43.1)21.825.4
98,5991,323.3 (1,321.0–1,324.7)40.0 (37.1–40.6)75.579.6

Prompt throughput rises with prompt length here (603 → 1,323 tok/s): at a few thousand tokens the per-request fixed cost dominates, and it is amortised as the prompt grows. The "prefill 38–43 tok/s" figure in #602 came from ~50–200-token prompts in a five-prompt mix and is not comparable with the numbers above.

Hardware and software

Model and configuration

Exact launch configuration (paths shortened; the full file is strata-config.json):

serve/server.py --engine strata --config <config>.json --port 8081

args:
  --pack <data>/packs/iq3_s
  --native <data>/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf
  --ple-gguf <data>/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
  --expert-profile <work>/data/expert-profile.bin
  --expert-cache auto --prefill auto
  --spec 4 --spec-min-p 0.5 --mtp <data>/mtp/rt
  --max-context 524288 --rope-scaling yarn --rope-scale 2
  --kv int8 --kv-resident 32768

Method

Results

See results.json for every run (including the complete engine timings block and per-run GPU/RAM observations), raw/ for the unmodified API responses, and samples.jsonl for the 2-second memory samples.

ConfigurationActual prompt tokensReused tokensGenerated tokensRunsPrompt tok/s (median, range)Decode tok/s (median, range)TTFT seconds (median)Total latency s (median, range)
IQ3_S, 524,288 ctx, greedy, 256 cap3,1970160–2203603.0 (601.2–604.8)43.6 (42.2–44.0)5.410.4 (9.0–10.4)
IQ3_S, 524,288 ctx, greedy, 256 cap24,7980150–17431,156.3 (1,154.4–1,159.3)42.5 (41.4–43.1)21.825.4 (25.2–25.7)
IQ3_S, 524,288 ctx, greedy, 256 cap98,5990152–18531,323.3 (1,321.0–1,324.7)40.0 (37.1–40.6)75.579.6 (78.8–80.2)

Correctness and limitations

Recall check — repository script tools/needle_bench.py, in the same configuration, after the speed runs (so: warm expert cache, and prompt prefixes here are reused between depths, which is why the timings are not part of the speed table):

LengthDepthResultPrompt tokensElapsed
32k10 % / 50 % / 90 %FOUND / FOUND / FOUND31,556 / 31,556 / 31,55728 s / 27 s / 27 s
128k10 % / 50 % / 90 %FOUND / FOUND / FOUND122,133 / 122,131 / 122,13193 s / 94 s / 59 s

That is 6 of 6 found. Raw output: needles.json. The third 128k case is faster because the prompt prefix was already cached.

Limitations