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
1 folder3 files

files

data/
README.md13.6 KiB
strata-bench.py8.6 KiB
strata-recall.py1.4 KiB

Community benchmark on AMD Radeon RX 6800M (gfx1031)

Measured on 2026-10-06 by Hugua700. This is the low end of what runs Strata: one mobile RDNA2 card (12 GB) with 32 GB of system RAM, on Windows, using a self-built HIP engine (the ready-made Windows HIP zip has no gfx1031 code). Three prompt sizes at two engine settings, three runs each, plus six recall checks.

The numbers are far below the published ones and that is the point of this report: on this machine prefill is 50–114 tok/s and decode is 9–27 tok/s, against 2,650 / 76 tok/s for Q2_0 on the cards in docs/MODELS.md. Two reasons, both visible in the engine's own startup lines: the experts do not fit in RAM and are streamed from the GGUF, and the CPU has no AVX-512 so the expert kernels run AVX-2.

Main limitation: it is not a 4K/32K/128K sweep. The server was configured for a 65,536-token context but the longest prompt measured here is 8,727 tokens. The machine also has a known power-delivery fault (four spontaneous power-offs on 2026-10-03/05/06 under sustained load), so the run was deliberately split into short segments rather than one long sweep.

Hardware and software

Model and configuration

strata.exe --serve --pack F:\Strata-data\packs\sc117-q2_0 ^
  --native F:\Strata-data\models\sc117-q2_0\Qwen3.8-Flash-Next-GSQ-RCO-abliterated-Q2_0-00001-of-00002.gguf ^
  --ple-gguf F:\Strata-data\models\sc117-q2_0\Qwen3.8-Flash-Next-GSQ-RCO-abliterated-Q2_0-00002-of-00002.gguf ^
  --expert-profile F:\Strata\data\expert-profile.bin --expert-cache auto --prefill auto ^
  --spec 4 --spec-min-p 0.5 --mtp F:\Strata-data\mtp\rt ^
  --max-context 65536 --kv int8 --kv-resident 32768 --resident-experts --vision

data/server-config.json is the exact server config, data/engine-startup-default.txt and data/engine-startup-f16.txt are the engine's own startup lines for the two settings.

Method

Requests went through /v1/chat/completions, one at a time. Speed numbers are the server's own timings object (prompt_per_second, predicted_per_second, prompt_ms as TTFT), the same source the existing reports use; strata-bench.py records the whole object per run. Model loading is not included in any timing.

Results

Server setting: default = the launch command above; f16 = the same with STRATA_HIP_PROMPT_F16=1 in the environment (the engine suggests it on gfx1031: "reads long prompts about 2x faster here").

ConfigurationActual prompt tokensReused tokensGenerated tokensRunsPrompt tok/s median and rangeDecode tok/s median and rangeTTFT seconds median and range
default, short5560256350.4 (37.5–57.8)19.3 (16.5–22.8)11.0 (9.6–14.8)
default, ~2K2,3090256359.6 (53.3–61.7)9.1 (8.6–13.7)38.7 (37.4–43.3)
default, ~8K8,7260256392.2 (89.7–95.6)14.7 (14.1–14.7)94.6 (91.3–97.2)
f16, short5580256364.9 (38.9–66.0)26.5 (24.1–26.7)8.6 (8.5–14.3)
f16, ~2K2,3110256363.0 (52.5–64.3)14.5 (13.2–14.9)36.7 (35.9–44.1)
f16, ~8K8,72702563113.5 (105.9–120.2)14.1 (13.8–14.3)76.9 (72.6–82.4)

Per-run data: data/strata-bench-default.json, data/strata-bench-default8k.json, data/strata-bench-f16.json (every run's full timings object, wall time and answer head), data/strata-bench-recall.json.

Prefill improves with prompt length, decode does not. Prompt speed rises 50 → 60 → 92 tok/s as the prompt grows: the fixed per-request cost is amortized. Decode is 9–27 tok/s and does not follow a clean trend — it was 9.1 tok/s at 2K and 14.7 tok/s at 8K in the default runs, which is the opposite of the usual expectation; the spread is larger than the effect, so treat decode as "about 10–25 tok/s on this machine" rather than reading the ordering.

⭐ STRATA_HIP_PROMPT_F16=1: +6 % to +29 % here, against +69 % to +101 % on gfx1030

Prompt tokensdefault prompt tok/sf16 prompt tok/schange
55650.464.9+29 %
2,30959.663.0+6 %
8,72692.2113.5+23 %

TTFT falls by the same factor (94.6 → 76.9 s at 8K). This is the same switch as bench/results/2026-10-04-rdna2-fp16-prompt (RX 6900 XT, gfx1030), and the two results do not agree — that is the interesting part:

Rig9–9.5K prompt, old path → FP16
2x RX 6900 XT 16 GB, 128 GB RAM, IQ3_S fits in RAM439 → 744 tok/s (+69 %)
RX 6800M 12 GB, 32 GB RAM, Q2_0 does not fit (16.77 GiB resident, the rest streamed)92 → 114 tok/s (+23 %)

The likely reason: on this machine prefill is not bound by the prompt GEMM. The experts do not fit in RAM, so a long prompt also drives a lot of expert streaming from the GGUF and AVX-2 CPU kernels, and that floor sits underneath the GEMM win. The engine's per-request line shows the file tier working during the 8K runs (files 91798 blobs 106863.7 MB read), and prompt speed here is 5–8x below the gfx1030 rig even before the switch. Consistent conclusion across both reports: the switch is worth enabling on gfx103x, but its size depends on what else is bound.

Decode deltas here are noise, not an effect. The table above shows decode moving 19.3 → 26.5 tok/s at short and 9.1 → 14.5 at 2K, then not at all at 8K (14.7 → 14.1). The gfx1030 report measured decode as unchanged, with the explanation that decode does not use these GEMMs at all — so the movement here is run-to-run spread, and this report does not claim a decode gain. The decode column should be read as "about 10–25 tok/s on this machine".

A caveat, stated plainly: the flag is documented as "not bit-identical to the default". The recall checks below were run in the default setting only, so the f16 rows above have no correctness check behind them — they are speed measurements of a configuration that is known to round differently. Anyone turning it on should re-run their own accuracy checks.

Correctness and limitations

Recall — 6/6 correct (default setting, needle XYLOPHONE-7742):

ContextDepthPrompt tokensFound
~2K25 % / 50 % / 75 %2,311 / 2,311 / 2,310yes, yes, yes
~8K25 % / 50 % / 75 %8,727 / 8,727 / 8,726yes, yes, yes

All six answers were exactly XYLOPHONE-7742. The three ~2K checks were the first requests after an engine restart and show the cold-cache effect (11.3 / 14.1 / 33.5 prompt tok/s), which is why the warm-up exists in the speed runs.

Other checks, not part of the table: the same build serves /v1/chat/completions with tools and returns proper tool_calls; the CPU image encoder reads a test image correctly; /health reports max_context 65536, images: true.

Limitations

Two notes for other low-RAM AMD users, both found while setting this up:

  1. Quantization availability. The abliterated repository above has no IQ1_M; its ladder starts at Q2_0 / IQ2_XS. On a 32 GB machine that moves the model out of the "fits" column — START-HERE.bat --check correctly reports Q2_0 needs ~48 GB RAM: does not fit, and the engine falls back to the partial resident set quoted above. It works, it is just slower than the Coder IQ1_M it replaced. Pick the quant knowing this.
  2. --expert-profile follows the model family, not the base model. The Coder variant has 256 experts per layer and the plain one 512, so reusing a profile gives a hard stop: read_expert_profile: …expert-profile-coder.bin is 48x256 but this model is 48x512 - it is a profile for a different artifact. The message is clear; the point is only that data/expert-profile.bin (512) and data/expert-profile-coder.bin (256) are not interchangeable when switching fine-tunes.