Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

bench: community report, RX 9070 16 GB, IQ3_XXS, engine 0.1.41 (PR #1811)

Daniel Spitzerc50a217a99c8
diff --git a/bench/results/2026-10-10-community-rx-9070/README.md b/bench/results/2026-10-10-community-rx-9070/README.md
new file mode 100644
index 000000000..a9132c38d
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9070/README.md
@@ -0,0 +1,174 @@
+# Community benchmark on AMD Radeon RX 9070 16 GB (gfx1201), Windows 11, Ryzen 7 5800X3D
+
+Measured on 2026-10-10 by [spitzerd](https://github.com/spitzerd). Strata **0.1.41**
+(prebuilt Windows HIP engine), Flash-Next **IQ3_XXS**, one GPU, 131,072-token context;
+three runs each at ~4.2K, ~33.5K and ~130K prompt tokens with a 256-token cap, plus six
+recall checks. Main limitation: one machine, one engine session, a desktop in normal use
+with no clock or power capture.
+
+## Hardware and software
+
+- **GPU:** AMD Radeon RX 9070, 16 GB (gfx1201; engine sees 16,304 MiB, Windows budgets
+ 15,447 MiB to the process), driver 32.0.31041.1004, stock settings, **power limit and
+ clocks not recorded**.
+- **CPU / RAM:** AMD Ryzen 7 5800X3D, 8 cores / 16 threads, **no AVX-512** (the engine
+ logs `this CPU has no AVX-512: the expert kernels run on AVX-2` and used 7 pool workers
+ + the host thread); 63.9 GiB installed RAM, 2x 32 GiB DDR4-3200.
+- **Storage:** Samsung SSD 970 EVO Plus 2 TB (model from Windows; the engine kept it
+ awake with its SSD keepalive and read the expert arena unbuffered).
+- **PCIe:** engine probe `14.1 GB/s host->device (best of 14.1 14.0 14.1 14.1) ->
+ pcie_frac 0.39`; **link generation and width not measured**.
+- **OS:** Windows 11, version 10.0.26200 (build 26200).
+- **Engine:** prebuilt Windows HIP engine **0.1.41** (`engine/BUILD.json`: source
+ prebuilt, backend hip, ROCm 10.2.0a20260930, hipBLASLt 100500, archs include gfx1201,
+ vision none), HIP runtime `engine/amdhip64_7.dll`. Repo at `main`
+ (`fb58e0d`, in sync with origin at run time).
+- **Background:** the desktop was in normal use; no other benchmark or build ran during
+ the measurements, but nothing was isolated or pinned.
+
+## Model and configuration
+
+- `Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS` GGUF shards (the ISTA-DASLab GSQ-RCO family by
+ filename), downloaded 2026-10-09:
+ - `...-00001-of-00002.gguf` 47,039,860,096 B, SHA-256
+ `219ea929900dfa9ef091f3aa473fdba6874b65fcb36526d7d851ac9e95856d15`
+ - `...-00002-of-00002.gguf` 28,800,138,432 B, SHA-256
+ `316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113`
+ - **Repository and revision not recorded** (setup downloaded them; no manifest kept).
+- Pack `Strata-data\packs\iq3_xxs` built by setup (`conversions.json` names the two source
+ shards; no hash for the pack itself). Expert profile `Strata\data\expert-profile.bin`,
+ 24,576 ranked pairs, SHA-256
+ `8f59b4aa8873209dff11c11e37bcda9529a1335b724a1afeea37bf6388975baf`.
+- MTP draft head `Strata-data\mtp\rt` (per-tensor SHA-256 in its `mtp-manifest.json`,
+ built from `Qwen3.8-Flash-Next` safetensors shards; revision not recorded). Served model
+ id `qwen3.8-flash-next-iq3_xxs`.
+- **Context** 131,072 (`--max-context`), **KV** int8 with 32,768 of 131,072 cells per QSA
+ layer resident in VRAM and the K/V in 1.55 GiB of pinned RAM. **Expert cache** auto ->
+ 4,776 PROFILE slots, 7.75 GiB of VRAM. **Prefill** auto (8,192-token prompt chunks; the
+ prompt path borrows 2,564 cache slots / 4.12 GiB). **Speculation** `--spec 4
+ --spec-min-p 0.5` plus the MTP draft layer (835 MiB of VRAM). **Vision** off (this
+ build has none). No calibration, no experimental speed projection, no API key.
+
+Engine arguments as written in [strata-iq3_xxs.json](strata-iq3_xxs.json):
+
+```text
+--pack D:\Dev\Strata-data\packs\iq3_xxs
+--native D:\Dev\Strata-data\models\IQ3_XXS\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf
+--ple-gguf D:\Dev\Strata-data\models\IQ3_XXS\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf
+--expert-profile D:\Dev\Strata\data\expert-profile.bin
+--expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5
+--mtp D:\Dev\Strata-data\mtp\rt
+--max-context 131072 --kv int8 --kv-resident 32768
+env STRATA_HIPBLASLT_TUNING=D:\Dev\Strata\tools\hip\gfx1201-hipblaslt-100500.txt
+```
+
+Server: `.venv\Scripts\python.exe serve\server.py --engine strata --config
+strata-iq3_xxs.json --port 8080`, started for this run and untouched afterwards. The log
+shows `hipBLASLt tuning enabled (32 rows, gfx1201, version 100500)` and the
+`STRATA_HIP_WMMA=1` hint as **not enabled** (it is opt-in because it changes output bits).
+
+## Method
+
+- [benchmark.py](benchmark.py) (standard library only, adapted from
+ [2026-10-03-community-r9700-windows](../2026-10-03-community-r9700-windows/benchmark.py))
+ builds each request from synthetic Python-like filler, sizes it by a calibration request
+ (2.519 chars/token from 8,000 characters), and puts a **fresh nonce in every prompt**, so
+ no run can reuse a cached prefix — the engine log confirms `0 reused` on every measured
+ run. Temperature 0, `reasoning_effort: none`, streaming, output cap 256 tokens (32 for
+ needles).
+- Two invocations ran in **one engine session** (started 2026-10-10 07:54:01): each began
+ with a calibration request and a 2,082-token warm-up, both excluded, as is model loading
+ (the engine was fully loaded before the first request). Runs are sequential; state was
+ not reset between runs, so the expert cache was warm for every tabled run.
+- **Prompt/decode tok/s, token counts and cache states are the engine's log values; TTFT
+ and total latency are client-measured** (HTTP + tokenisation). Every row's log line was
+ paired to its request by prompt-token count (`pairing_ok` true on all 15 measured rows).
+ Client TTFT brackets the engine's read time (e.g. 7,127 ms vs 7,102 ms), so the engine's
+ timings are corroborated as lower bounds. No "generated tokens / total time" figure is
+ used.
+- **Prompt targets are labels.** The calibration under-estimates characters per token at
+ scale (2.519 measured vs 2.454 observed at 128K), so the 4,096 and 32,768 labels come
+ back 2.1-3.6 % larger, and the nominal 128,000 label produced 131,428 prompt tokens —
+ over the 131,072 context — and was **rejected with HTTP 400**. The harness's fit guard
+ then shrank the label to 126,640 (actual 129,970-129,973) and that leg was re-run; the
+ rejected rows are kept as failures in [bench-output.json](bench-output.json), not as
+ data.
+- Recall is this harness's own exact-string check (`VAULT_CODE = "7-BLUE-MAGNET-4417"`
+ inserted at 10/50/90 % of the character position); the repository's
+ [`tools/needle_bench.py`](../../../tools/needle_bench.py) was **not** used.
+- Memory figures below are **startup snapshots** from the engine log; peak usage and
+ paging/OOM counters were not measured.
+
+## Results
+
+Medians and ranges of three runs; prompt/decode from the engine log, TTFT client-side.
+
+| Configuration | Actual prompt tokens | Reused | Generated | Runs | Prompt tok/s median (range) | Decode tok/s median (range) | TTFT s median (range) |
+| --- | ---: | ---: | ---: | ---: | --- | --- | --- |
+| label 4,096 | 4,195 / 4,198 / 4,199 | 0 | 256 each | 3 | **586.2** (584.0-590.7) | **58.7** (57.9-60.5) | 7.208 (7.127-7.225) |
+| label 32,768 | 33,467 each | 0 | 256 each | 3 | **804.5** (803.4-804.8) | **57.9** (55.8-59.8) | 41.669 (41.640-41.716) |
+| label 126,640 (fit from 128,000) | 129,970 / 129,972 / 129,973 | 0 | 256 each | 3 | **832.9** (831.8-844.1) | **57.9** (54.6-61.0) | 156.180 (154.094-156.386) |
+
+Total latency (client, whole request, median of three): 11.47 s (11.41-11.62) at 4.2K,
+46.03 s (45.96-46.23) at 33.5K, 160.56 s (158.76-160.57) at ~130K.
+
+Per-run data: [bench-output.json](bench-output.json) (4K, 32K and the rejected 128K rows)
+and [bench-output-128k.json](bench-output-128k.json) (the fitted ~130K leg). The measured
+engine session, including startup and every timing line:
+[strata-iq3_xxs-session.log](strata-iq3_xxs-session.log).
+
+- **Within-session spread is small at 33.5K (0.2 %) and ~130K (1.5 % prompt, 11 %
+ decode), wider at 4.2K (1.1 % prompt).** One session per length, so this is not a
+ session-to-session band; other reports on other cards found 10-15 % between sessions of
+ the same configuration.
+- **Decode is flat at 57.9-58.7 tok/s across all three lengths** in this session (the
+ ranges overlap: 54.6-61.0). Draft acceptance on the nine speed runs was 62-75 %
+ (`drafts accepted 145-159 of 213-233`); decode expert-cache hit rate 81.9-84.1 %.
+- **Prompt speed rises with length** (586 -> 804 -> 833 tok/s): the fixed per-request cost
+ is amortised, and KV streaming hit VRAM for 99.35-99.36 % (4.2K), 97.03-97.14 % (33.5K)
+ and 94.83-95.39 % (~130K) of block reads.
+- **Failures:** six rows (three speed, three needles at the nominal 128,000 label) were
+ rejected with HTTP 400 `prompt (131428 tokens) + max tokens (256) exceeds the context
+ (131072)` before any processing; they are listed in
+ [bench-output.json](bench-output.json) and excluded from every median above.
+- **Memory (startup snapshot):** expert arena 39.97 GiB loaded at 2.99 GiB/s (Windows
+ refused large pages, `VirtualAlloc error 1314`, 4 KB pages used), expert cache 4,776
+ slots / 7.75 GiB VRAM, MTP draft layer 835 MiB, KV 1.55 GiB pinned RAM, prompt path
+ borrows 4.12 GiB of cache slots; `266 MiB of VRAM free with everything loaded` at serve
+ start. Installed RAM 63.9 GiB; no paging or out-of-memory event was observed. Peak usage
+ not measured.
+
+Needle recall (one run per depth, exact string):
+
+| Prompt tokens | Depth 10 / 50 / 90 % | Prompt tok/s | Decode tok/s (13 tokens out) |
+| ---: | --- | --- | --- |
+| 33,512 | **FOUND / FOUND / FOUND** | 795.4 / 797.6 / 788.0 | 36.5 / 37.7 / 37.0 |
+| 130,018 | **FOUND / FOUND / FOUND** | 832.8 / 835.7 / 831.3 | 29.2 / 29.3 / 48.5 |
+
+## Correctness and limitations
+
+- **Recall: 6/6 found**, one run each — an outcome, not a success rate. No coding,
+ tool-use or answer-quality check was run.
+- **Nearest reports are not like-for-like:** the RX 9070 XT report
+ ([2026-10-02-community-rx9070xt-windows](../2026-10-02-community-rx9070xt-windows/))
+ ran IQ3_S on engine 0.1.35 (370 / 601 tok/s prompt, 45-46 decode at 4K / 32K), and the
+ R9700 report ([2026-10-03-community-r9700-windows](../2026-10-03-community-r9700-windows/))
+ ran IQ2_XS on 0.1.38 with a Ryzen 9 9950X (856 / 1,182 / 1,232 prompt, 90-100 decode).
+ Different quant, engine, CPU and prompts: this run isolates nothing.
+- `docs/AMD_HIP.md`'s RDNA4 validation ran `--max-context 32768` with 4K/16K prompts in a
+ Linux KVM guest; **Windows at 131,072 context with ~130K prompts is outside what that
+ section validated** — this report is evidence for this card and session only.
+- The opt-in `STRATA_HIP_WMMA=1` matrix-core prompt path was **not** tested (the engine's
+ own hint says it reads prompts about 30 % faster on this card with `--kv int8`, at the
+ cost of different output bits), so the prompt figures here are the default path, not a
+ ceiling.
+- The 4.2K runs are three different prompts of the same nominal size (the filler seed
+ increments per rep), so each median mixes prompt-to-prompt variation with run-to-run
+ noise. The switches for byte-identical repeats (`--prompt-cache 0` and friends) were not
+ used.
+- **Not measured:** GPU clocks, power limit and thermals; PCIe generation/width; peak RAM
+ and VRAM per run; paging/OOM counters; contexts above 131,072 (the model's native window
+ is larger on other configs); concurrency and batching; vision; other quantizations; and
+ anything outside this single 2026-10-10 session.
+- **Units:** VRAM/RAM in GiB as Windows and the engine report them, tokens and tok/s as
+ logged, prompt sizes in characters converted by the harness's own calibration.
diff --git a/bench/results/2026-10-10-community-rx-9070/bench-output-128k.json b/bench/results/2026-10-10-community-rx-9070/bench-output-128k.json
new file mode 100644
index 000000000..163a41ddd
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9070/bench-output-128k.json
@@ -0,0 +1,264 @@
+{
+ "started": "2026-10-10 08:02:22",
+ "url": "http://127.0.0.1:8080/v1/chat/completions",
+ "model": "qwen3.8-flash-next-iq3_xxs",
+ "engine_log": "D:/Dev/Strata/strata-iq3_xxs.log",
+ "cap_tokens": 256,
+ "reps": 3,
+ "speed": [
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 154.094,
+ "total_s": 158.761,
+ "answer_len": 1272,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 129970,
+ "completion_tokens": 256,
+ "total_tokens": 130226,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 129970,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 129970,
+ "read_ms": 153976,
+ "read_tok_s": 844.1,
+ "generated_tokens": 256,
+ "gen_ms": 4690,
+ "decode_tok_s": 54.6,
+ "pairing_ok": true,
+ "target": 126640,
+ "rep": 1,
+ "chars": 319210
+ },
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 156.386,
+ "total_s": 160.555,
+ "answer_len": 1208,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 129972,
+ "completion_tokens": 256,
+ "total_tokens": 130228,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 129972,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 129972,
+ "read_ms": 156259,
+ "read_tok_s": 831.8,
+ "generated_tokens": 256,
+ "gen_ms": 4199,
+ "decode_tok_s": 61.0,
+ "pairing_ok": true,
+ "target": 126640,
+ "rep": 2,
+ "chars": 319210
+ },
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 156.18,
+ "total_s": 160.571,
+ "answer_len": 1234,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 129973,
+ "completion_tokens": 256,
+ "total_tokens": 130229,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 129973,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 129973,
+ "read_ms": 156054,
+ "read_tok_s": 832.9,
+ "generated_tokens": 256,
+ "gen_ms": 4423,
+ "decode_tok_s": 57.9,
+ "pairing_ok": true,
+ "target": 126640,
+ "rep": 3,
+ "chars": 319210
+ }
+ ],
+ "needles": [
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 156.268,
+ "total_s": 156.677,
+ "text": "7-BLUE-MAGNET-4417",
+ "answer_len": 18,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "stop",
+ "usage": {
+ "prompt_tokens": 130018,
+ "completion_tokens": 13,
+ "total_tokens": 130031,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 130018,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 130018,
+ "read_ms": 156120,
+ "read_tok_s": 832.8,
+ "generated_tokens": 13,
+ "gen_ms": 445,
+ "decode_tok_s": 29.2,
+ "pairing_ok": true,
+ "target": 126640,
+ "depth": 10,
+ "needle_found": true,
+ "chars": 319348
+ },
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 155.707,
+ "total_s": 156.119,
+ "text": "7-BLUE-MAGNET-4417",
+ "answer_len": 18,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "stop",
+ "usage": {
+ "prompt_tokens": 130018,
+ "completion_tokens": 13,
+ "total_tokens": 130031,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 130018,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 130018,
+ "read_ms": 155580,
+ "read_tok_s": 835.7,
+ "generated_tokens": 13,
+ "gen_ms": 444,
+ "decode_tok_s": 29.3,
+ "pairing_ok": true,
+ "target": 126640,
+ "depth": 50,
+ "needle_found": true,
+ "chars": 319348
+ },
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 156.536,
+ "total_s": 156.779,
+ "text": "7-BLUE-MAGNET-4417",
+ "answer_len": 18,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "stop",
+ "usage": {
+ "prompt_tokens": 130018,
+ "completion_tokens": 13,
+ "total_tokens": 130031,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 130018,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 130018,
+ "read_ms": 156403,
+ "read_tok_s": 831.3,
+ "generated_tokens": 13,
+ "gen_ms": 268,
+ "decode_tok_s": 48.5,
+ "pairing_ok": true,
+ "target": 126640,
+ "depth": 90,
+ "needle_found": true,
+ "chars": 319348
+ }
+ ],
+ "notes": [],
+ "calibration": {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 6.812,
+ "total_s": 8.048,
+ "answer_len": 389,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 3216,
+ "completion_tokens": 64,
+ "total_tokens": 3280,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 3216,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 3216,
+ "read_ms": 6777,
+ "read_tok_s": 474.5,
+ "generated_tokens": 64,
+ "gen_ms": 1265,
+ "decode_tok_s": 50.6,
+ "pairing_ok": true
+ },
+ "chars_per_token": 2.5188916876574305,
+ "warmup": {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 6.246,
+ "total_s": 6.777,
+ "answer_len": 94,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 2082,
+ "completion_tokens": 32,
+ "total_tokens": 2114,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 2082,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 2082,
+ "read_ms": 6212,
+ "read_tok_s": 335.2,
+ "generated_tokens": 32,
+ "gen_ms": 552,
+ "decode_tok_s": 58.0,
+ "pairing_ok": true
+ },
+ "finished": "2026-10-10 08:18:27",
+ "tag": "128k"
+}
\ No newline at end of file
diff --git a/bench/results/2026-10-10-community-rx-9070/bench-output-128k.md b/bench/results/2026-10-10-community-rx-9070/bench-output-128k.md
new file mode 100644
index 000000000..7b5c7f2d7
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9070/bench-output-128k.md
@@ -0,0 +1,19 @@
+# Strata benchmark output
+
+started 2026-10-10 08:02:22, finished 2026-10-10 08:18:27
+server http://127.0.0.1:8080/v1/chat/completions, model id `qwen3.8-flash-next-iq3_xxs`, output cap 256 tokens, 3 reps per length
+
+## Speed
+
+| target | actual prompt tok | reused | new read | prefill tok/s | read s | gen tok | decode tok/s | thinking off | answer len | finish | TTFT s | total s |
+|---|---|---|---|---|---|---|---|---|---|---|---|---|
+| 126640 | 129970 | 0 | 129970 | 844.1 | 154.0 | 256 | 54.6 | True | 1272 | length | 154.094 | 158.761 |
+| 126640 | 129972 | 0 | 129972 | 831.8 | 156.3 | 256 | 61.0 | True | 1208 | length | 156.386 | 160.555 |
+| 126640 | 129973 | 0 | 129973 | 832.9 | 156.1 | 256 | 57.9 | True | 1234 | length | 156.18 | 160.571 |
+
+* 126640 prompt tokens: prefill median 832.9 tok/s (range 831.8-844.1, n=3); decode median 57.9 tok/s (range 54.6-61.0)
+
+Needle checks (exact string recall):
+* 126640 tokens, depth 10%: FOUND (prompt 130018 tok, prefill 832.8 tok/s)
+* 126640 tokens, depth 50%: FOUND (prompt 130018 tok, prefill 835.7 tok/s)
+* 126640 tokens, depth 90%: FOUND (prompt 130018 tok, prefill 831.3 tok/s)
diff --git a/bench/results/2026-10-10-community-rx-9070/bench-output.json b/bench/results/2026-10-10-community-rx-9070/bench-output.json
new file mode 100644
index 000000000..7646dc496
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9070/bench-output.json
@@ -0,0 +1,402 @@
+{
+ "started": "2026-10-10 07:54:42",
+ "url": "http://127.0.0.1:8080/v1/chat/completions",
+ "model": "qwen3.8-flash-next-iq3_xxs",
+ "engine_log": "D:/Dev/Strata/strata-iq3_xxs.log",
+ "cap_tokens": 256,
+ "reps": 3,
+ "speed": [
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 7.127,
+ "total_s": 11.47,
+ "answer_len": 1410,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 4195,
+ "completion_tokens": 256,
+ "total_tokens": 4451,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 4195,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 4195,
+ "read_ms": 7102,
+ "read_tok_s": 590.7,
+ "generated_tokens": 256,
+ "gen_ms": 4361,
+ "decode_tok_s": 58.7,
+ "pairing_ok": true,
+ "target": 4096,
+ "rep": 1,
+ "chars": 10535
+ },
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 7.225,
+ "total_s": 11.618,
+ "answer_len": 1208,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 4198,
+ "completion_tokens": 256,
+ "total_tokens": 4454,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 4198,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 4198,
+ "read_ms": 7188,
+ "read_tok_s": 584.0,
+ "generated_tokens": 256,
+ "gen_ms": 4422,
+ "decode_tok_s": 57.9,
+ "pairing_ok": true,
+ "target": 4096,
+ "rep": 2,
+ "chars": 10535
+ },
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 7.208,
+ "total_s": 11.41,
+ "answer_len": 1265,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 4199,
+ "completion_tokens": 256,
+ "total_tokens": 4455,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 4199,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 4199,
+ "read_ms": 7163,
+ "read_tok_s": 586.2,
+ "generated_tokens": 256,
+ "gen_ms": 4232,
+ "decode_tok_s": 60.5,
+ "pairing_ok": true,
+ "target": 4096,
+ "rep": 3,
+ "chars": 10535
+ },
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 41.64,
+ "total_s": 46.031,
+ "answer_len": 1196,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 33467,
+ "completion_tokens": 256,
+ "total_tokens": 33723,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 33467,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 33467,
+ "read_ms": 41584,
+ "read_tok_s": 804.8,
+ "generated_tokens": 256,
+ "gen_ms": 4421,
+ "decode_tok_s": 57.9,
+ "pairing_ok": true,
+ "target": 32768,
+ "rep": 1,
+ "chars": 82757
+ },
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 41.716,
+ "total_s": 45.964,
+ "answer_len": 1310,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 33467,
+ "completion_tokens": 256,
+ "total_tokens": 33723,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 33467,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 33467,
+ "read_ms": 41659,
+ "read_tok_s": 803.4,
+ "generated_tokens": 256,
+ "gen_ms": 4279,
+ "decode_tok_s": 59.8,
+ "pairing_ok": true,
+ "target": 32768,
+ "rep": 2,
+ "chars": 82757
+ },
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 41.669,
+ "total_s": 46.231,
+ "answer_len": 1286,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 33467,
+ "completion_tokens": 256,
+ "total_tokens": 33723,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 33467,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 33467,
+ "read_ms": 41600,
+ "read_tok_s": 804.5,
+ "generated_tokens": 256,
+ "gen_ms": 4591,
+ "decode_tok_s": 55.8,
+ "pairing_ok": true,
+ "target": 32768,
+ "rep": 3,
+ "chars": 82757
+ },
+ {
+ "ok": false,
+ "error": "HTTP 400: {\"error\": {\"type\": \"invalid_request_error\", \"message\": \"prompt (131428 tokens) + max tokens (256) exceeds the context (131072); requests are never truncated. Send a smaller max_tokens (at most 0 here), or add \\\"fit_max_tokens\\\": true to the model's strata-<model>.json to shorten it to the room left (#545)\"}}",
+ "target": 128000,
+ "rep": 1,
+ "chars": 322636
+ },
+ {
+ "ok": false,
+ "error": "HTTP 400: {\"error\": {\"type\": \"invalid_request_error\", \"message\": \"prompt (131428 tokens) + max tokens (256) exceeds the context (131072); requests are never truncated. Send a smaller max_tokens (at most 0 here), or add \\\"fit_max_tokens\\\": true to the model's strata-<model>.json to shorten it to the room left (#545)\"}}",
+ "target": 128000,
+ "rep": 2,
+ "chars": 322636
+ },
+ {
+ "ok": false,
+ "error": "HTTP 400: {\"error\": {\"type\": \"invalid_request_error\", \"message\": \"prompt (131428 tokens) + max tokens (256) exceeds the context (131072); requests are never truncated. Send a smaller max_tokens (at most 0 here), or add \\\"fit_max_tokens\\\": true to the model's strata-<model>.json to shorten it to the room left (#545)\"}}",
+ "target": 128000,
+ "rep": 3,
+ "chars": 322636
+ }
+ ],
+ "needles": [
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 42.206,
+ "total_s": 42.528,
+ "text": "7-BLUE-MAGNET-4417",
+ "answer_len": 18,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "stop",
+ "usage": {
+ "prompt_tokens": 33512,
+ "completion_tokens": 13,
+ "total_tokens": 33525,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 33512,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 33512,
+ "read_ms": 42132,
+ "read_tok_s": 795.4,
+ "generated_tokens": 13,
+ "gen_ms": 356,
+ "decode_tok_s": 36.5,
+ "pairing_ok": true,
+ "target": 32768,
+ "depth": 10,
+ "needle_found": true,
+ "chars": 82895
+ },
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 42.071,
+ "total_s": 42.388,
+ "text": "7-BLUE-MAGNET-4417",
+ "answer_len": 18,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "stop",
+ "usage": {
+ "prompt_tokens": 33512,
+ "completion_tokens": 13,
+ "total_tokens": 33525,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 33512,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 33512,
+ "read_ms": 42017,
+ "read_tok_s": 797.6,
+ "generated_tokens": 13,
+ "gen_ms": 345,
+ "decode_tok_s": 37.7,
+ "pairing_ok": true,
+ "target": 32768,
+ "depth": 50,
+ "needle_found": true,
+ "chars": 82895
+ },
+ {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 42.584,
+ "total_s": 42.909,
+ "text": "7-BLUE-MAGNET-4417",
+ "answer_len": 18,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "stop",
+ "usage": {
+ "prompt_tokens": 33512,
+ "completion_tokens": 13,
+ "total_tokens": 33525,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 33512,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 33512,
+ "read_ms": 42530,
+ "read_tok_s": 788.0,
+ "generated_tokens": 13,
+ "gen_ms": 351,
+ "decode_tok_s": 37.0,
+ "pairing_ok": true,
+ "target": 32768,
+ "depth": 90,
+ "needle_found": true,
+ "chars": 82895
+ },
+ {
+ "ok": false,
+ "error": "HTTP 400: {\"error\": {\"type\": \"invalid_request_error\", \"message\": \"prompt (131473 tokens) + max tokens (32) exceeds the context (131072); requests are never truncated. Send a smaller max_tokens (at most 0 here), or add \\\"fit_max_tokens\\\": true to the model's strata-<model>.json to shorten it to the room left (#545)\"}}",
+ "target": 128000,
+ "depth": 10,
+ "needle_found": false,
+ "chars": 322774
+ },
+ {
+ "ok": false,
+ "error": "HTTP 400: {\"error\": {\"type\": \"invalid_request_error\", \"message\": \"prompt (131473 tokens) + max tokens (32) exceeds the context (131072); requests are never truncated. Send a smaller max_tokens (at most 0 here), or add \\\"fit_max_tokens\\\": true to the model's strata-<model>.json to shorten it to the room left (#545)\"}}",
+ "target": 128000,
+ "depth": 50,
+ "needle_found": false,
+ "chars": 322774
+ },
+ {
+ "ok": false,
+ "error": "HTTP 400: {\"error\": {\"type\": \"invalid_request_error\", \"message\": \"prompt (131473 tokens) + max tokens (32) exceeds the context (131072); requests are never truncated. Send a smaller max_tokens (at most 0 here), or add \\\"fit_max_tokens\\\": true to the model's strata-<model>.json to shorten it to the room left (#545)\"}}",
+ "target": 128000,
+ "depth": 90,
+ "needle_found": false,
+ "chars": 322774
+ }
+ ],
+ "notes": [],
+ "calibration": {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 6.38,
+ "total_s": 7.788,
+ "answer_len": 389,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 3216,
+ "completion_tokens": 64,
+ "total_tokens": 3280,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 3216,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 3216,
+ "read_ms": 6334,
+ "read_tok_s": 507.8,
+ "generated_tokens": 64,
+ "gen_ms": 1440,
+ "decode_tok_s": 44.4,
+ "pairing_ok": true
+ },
+ "chars_per_token": 2.5188916876574305,
+ "warmup": {
+ "ok": true,
+ "payload_variant": 0,
+ "thinking_off": true,
+ "ttft_s": 6.129,
+ "total_s": 6.728,
+ "answer_len": 94,
+ "reasoning_len": 0,
+ "reasoning_text": "",
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 2082,
+ "completion_tokens": 32,
+ "total_tokens": 2114,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine_prompt_tokens": 2082,
+ "reused_tokens": 0,
+ "new_prompt_tokens": 2082,
+ "read_ms": 6103,
+ "read_tok_s": 341.2,
+ "generated_tokens": 32,
+ "gen_ms": 620,
+ "decode_tok_s": 51.6,
+ "pairing_ok": true
+ },
+ "finished": "2026-10-10 08:00:00",
+ "tag": ""
+}
\ No newline at end of file
diff --git a/bench/results/2026-10-10-community-rx-9070/bench-output.md b/bench/results/2026-10-10-community-rx-9070/bench-output.md
new file mode 100644
index 000000000..c63f6bad1
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9070/bench-output.md
@@ -0,0 +1,29 @@
+# Strata benchmark output
+
+started 2026-10-10 07:54:42, finished 2026-10-10 08:00:00
+server http://127.0.0.1:8080/v1/chat/completions, model id `qwen3.8-flash-next-iq3_xxs`, output cap 256 tokens, 3 reps per length
+
+## Speed
+
+| target | actual prompt tok | reused | new read | prefill tok/s | read s | gen tok | decode tok/s | thinking off | answer len | finish | TTFT s | total s |
+|---|---|---|---|---|---|---|---|---|---|---|---|---|
+| 4096 | 4195 | 0 | 4195 | 590.7 | 7.1 | 256 | 58.7 | True | 1410 | length | 7.127 | 11.47 |
+| 4096 | 4198 | 0 | 4198 | 584.0 | 7.2 | 256 | 57.9 | True | 1208 | length | 7.225 | 11.618 |
+| 4096 | 4199 | 0 | 4199 | 586.2 | 7.2 | 256 | 60.5 | True | 1265 | length | 7.208 | 11.41 |
+| 32768 | 33467 | 0 | 33467 | 804.8 | 41.6 | 256 | 57.9 | True | 1196 | length | 41.64 | 46.031 |
+| 32768 | 33467 | 0 | 33467 | 803.4 | 41.7 | 256 | 59.8 | True | 1310 | length | 41.716 | 45.964 |
+| 32768 | 33467 | 0 | 33467 | 804.5 | 41.6 | 256 | 55.8 | True | 1286 | length | 41.669 | 46.231 |
+| 128000 | FAILED: HTTP 400: {"error": {"type": "invalid_request_error", "messa | | | | | | | | | | | |
+| 128000 | FAILED: HTTP 400: {"error": {"type": "invalid_request_error", "messa | | | | | | | | | | | |
+| 128000 | FAILED: HTTP 400: {"error": {"type": "invalid_request_error", "messa | | | | | | | | | | | |
+
+* 4096 prompt tokens: prefill median 586.2 tok/s (range 584.0-590.7, n=3); decode median 58.7 tok/s (range 57.9-60.5)
+* 32768 prompt tokens: prefill median 804.5 tok/s (range 803.4-804.8, n=3); decode median 57.9 tok/s (range 55.8-59.8)
+
+Needle checks (exact string recall):
+* 32768 tokens, depth 10%: FOUND (prompt 33512 tok, prefill 795.4 tok/s)
+* 32768 tokens, depth 50%: FOUND (prompt 33512 tok, prefill 797.6 tok/s)
+* 32768 tokens, depth 90%: FOUND (prompt 33512 tok, prefill 788.0 tok/s)
+* 128000 tokens, depth 10%: MISSED (prompt None tok, prefill None tok/s)
+* 128000 tokens, depth 50%: MISSED (prompt None tok, prefill None tok/s)
+* 128000 tokens, depth 90%: MISSED (prompt None tok, prefill None tok/s)
diff --git a/bench/results/2026-10-10-community-rx-9070/benchmark.py b/bench/results/2026-10-10-community-rx-9070/benchmark.py
new file mode 100644
index 000000000..d02b7283a
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9070/benchmark.py
@@ -0,0 +1,469 @@
+#!/usr/bin/env python3
+"""
+Strata community benchmark harness — standard library only.
+
+Measures prompt processing (prefill) and decode through the local Strata server,
+mirroring the method used in bench/results/2026-09-30-community-rtx-5090:
+
+ * synthetic Python-like filler of a requested size,
+ * a unique nonce near the start of every request (defeats conversation-prefix
+ reuse so every run processes its whole prompt),
+ * greedy decoding, fixed output cap,
+ * actual token counts taken from the engine's own log line,
+ * client-side time-to-first-token and total latency,
+ * optional needle-in-a-haystack recall checks.
+
+Outputs bench-output.json, bench-output.md and bench-output.txt next to this file.
+
+Usage (run from the folder that has this file):
+ .venv\\Scripts\\python.exe benchmark.py --url http://127.0.0.1:8080/v1/chat/completions \
+ --log D:\\AI\\Strata\\Strata-main\\Strata-main\\strata-iq2_xs.log \
+ --lengths 4096,32768,128000 --reps 3 --needle-lengths 32768,128000 --needle-depths 10,50,90
+"""
+
+from __future__ import annotations
+
+import argparse
+import json
+import os
+import re
+import statistics
+import sys
+import time
+import urllib.error
+import urllib.request
+from pathlib import Path
+
+HERE = Path(__file__).resolve().parent
+NEEDLE = "7-BLUE-MAGNET-4417"
+PROMPT_LINE = re.compile(
+ r"prompt (\d+) tokens = (\d+) reused \+ (\d+) read in (\d+) ms \(([\d.]+) tok/s\), "
+ r"(\d+) generated in (\d+) ms \(([\d.]+) tok/s\)"
+)
+
+
+# ----------------------------------------------------------------------------- prompts
+def code_filler(chars: int, seed: int) -> str:
+ """Deterministic Python-like filler of roughly `chars` characters."""
+ out = []
+ n = 0
+ size = 0
+ while size < chars:
+ n += 1
+ k = (seed + n) % 97 + 3
+ block = (
+ f"def transform_{seed:04d}_{n:05d}(value: int, scale: int = {k}) -> int:\n"
+ f' """Scale a value by {k} and fold it into the working range."""\n'
+ f" folded = (value * scale + {n} * 17) % {1000003 + n}\n"
+ f" if folded % {k} == 0:\n"
+ f" return folded // {k} + {n}\n"
+ f" return folded - {n} * scale\n"
+ f"\n"
+ )
+ out.append(block)
+ size += len(block)
+ return "".join(out)[:chars]
+
+
+def fit_target(target_tokens: int, budget: int, overshoot: float = 1.03) -> int:
+ """Shrink a nominal target so the finished prompt still fits the context.
+
+ The calibration above under-estimates characters per token at large sizes (measured
+ 2.519 vs 2.454 at 128K), so a 128,000-token label came back as 131,428 prompt tokens
+ and the server rejected prompt + max_tokens > 131,072 with HTTP 400. `budget` is the
+ largest prompt token count to aim for; `overshoot` is the observed worst-case factor.
+ """
+ estimated = target_tokens * overshoot + 60
+ if estimated <= budget:
+ return target_tokens
+ fitted = int((budget - 60) / overshoot)
+ print(f"[fit] target {target_tokens} would be about {int(estimated)} tokens with this filler; "
+ f"using {fitted} to stay within {budget}", flush=True)
+ return fitted
+
+
+def build_prompt(target_tokens: int, seed: int, chars_per_token: float, needle_depth: int | None) -> str:
+ """Assemble one benchmark request: instruction + nonce + filler (+ needle)."""
+ filler_chars = max(2000, int(target_tokens * chars_per_token))
+ body = code_filler(filler_chars, seed)
+ nonce = f"{seed:04d}-{int(time.time() * 1000) % 100000:05d}"
+ head = (
+ f"You are reviewing a Python file. The file starts with the marker NONCE {nonce}.\n"
+ f"Explain in three short paragraphs what the functions in this file do.\n\n"
+ f"# NONCE {nonce}\n"
+ )
+ if needle_depth is not None:
+ cut = int(len(body) * needle_depth / 100.0)
+ # move the cut to the next newline so the file stays syntactically plausible
+ cut = body.find("\n", cut)
+ cut = len(body) if cut < 0 else cut
+ body = body[:cut] + f'\nVAULT_CODE = "{NEEDLE}" # keep this exact value\n' + body[cut:]
+ head = (
+ f"You are reviewing a Python file. The file starts with the marker NONCE {nonce}.\n"
+ f"Answer the question about the file at the end, using only what the file says.\n\n"
+ f"# NONCE {nonce}\n"
+ )
+ tail = "\n\nQuestion: what is the exact value assigned to VAULT_CODE in this file? " \
+ "Answer with the value only, nothing else.\n"
+ else:
+ tail = "\n\nAnswer in English, three short paragraphs.\n"
+ return head + body + tail
+
+
+# ----------------------------------------------------------------------------- engine log
+class EngineLog:
+ def __init__(self, path: Path | None):
+ self.path = path
+ self.offset = 0
+ if path and path.exists():
+ self.offset = path.stat().st_size
+
+ def new_lines(self) -> list[str]:
+ if not self.path or not self.path.exists():
+ return []
+ try:
+ with self.path.open("r", encoding="utf-8", errors="replace") as fh:
+ fh.seek(self.offset)
+ data = fh.read()
+ self.offset = fh.tell()
+ except OSError:
+ return []
+ return [ln.strip() for ln in data.replace("\r", "\n").split("\n") if ln.strip()]
+
+ def last_request_stats(self) -> dict | None:
+ for line in reversed(self.new_lines()):
+ m = PROMPT_LINE.search(line)
+ if m:
+ return {
+ "engine_prompt_tokens": int(m.group(1)),
+ "reused_tokens": int(m.group(2)),
+ "new_prompt_tokens": int(m.group(3)),
+ "read_ms": int(m.group(4)),
+ "read_tok_s": float(m.group(5)),
+ "generated_tokens": int(m.group(6)),
+ "gen_ms": int(m.group(7)),
+ "decode_tok_s": float(m.group(8)),
+ }
+ return None
+
+
+# ----------------------------------------------------------------------------- HTTP
+def post_chat(url: str, payload: dict, timeout: int):
+ """POST /v1/chat/completions. Returns (ttft_s, total_s, text, reasoning, usage, finish_reason)."""
+ body = json.dumps(payload).encode()
+ req = urllib.request.Request(url, data=body, headers={"Content-Type": "application/json"})
+ started = time.time()
+ ttft = None
+ text_parts: list[str] = []
+ reasoning_parts: list[str] = []
+ usage = None
+ finish = None
+ with urllib.request.urlopen(req, timeout=timeout) as resp:
+ ctype = resp.headers.get("Content-Type", "")
+ if "text/event-stream" in ctype:
+ for raw in resp:
+ line = raw.decode("utf-8", "replace").strip()
+ if not line.startswith("data:"):
+ continue
+ chunk = line[5:].strip()
+ if chunk in ("", "[DONE]"):
+ continue
+ try:
+ obj = json.loads(chunk)
+ except json.JSONDecodeError:
+ continue
+ if obj.get("usage"):
+ usage = obj["usage"]
+ for choice in obj.get("choices", []):
+ if choice.get("finish_reason"):
+ finish = choice["finish_reason"]
+ delta = choice.get("delta") or {}
+ piece = delta.get("content") or ""
+ think = delta.get("reasoning_content") or delta.get("reasoning") or ""
+ if think:
+ reasoning_parts.append(think)
+ if piece:
+ if ttft is None:
+ ttft = time.time() - started
+ text_parts.append(piece)
+ else:
+ obj = json.loads(resp.read().decode("utf-8", "replace"))
+ usage = obj.get("usage")
+ for choice in obj.get("choices", []):
+ finish = choice.get("finish_reason") or finish
+ msg = choice.get("message") or {}
+ content = msg.get("content") or ""
+ if msg.get("reasoning_content"):
+ reasoning_parts.append(msg["reasoning_content"])
+ if content and ttft is None:
+ ttft = time.time() - started
+ text_parts.append(content)
+ total = time.time() - started
+ return ttft, total, "".join(text_parts), "".join(reasoning_parts), usage, finish
+
+
+def detect_model(url: str) -> str:
+ base = url.split("/v1/")[0]
+ try:
+ with urllib.request.urlopen(base + "/v1/models", timeout=15) as resp:
+ data = json.loads(resp.read().decode())
+ items = data.get("data") or data.get("models") or []
+ if items:
+ return items[0].get("id") or items[0].get("name") or "strata"
+ except Exception:
+ pass
+ return "strata"
+
+
+# ----------------------------------------------------------------------------- measurement
+def one_request(url: str, model: str, prompt: str, cap: int, log: EngineLog, timeout: int) -> dict:
+ base = {
+ "model": model,
+ "messages": [{"role": "user", "content": prompt}],
+ "temperature": 0,
+ "max_tokens": cap,
+ }
+ # "reasoning_effort": "none" -> the engine renders the prompt without thinking
+ # (serve/frontend.py EFFORT map). Without it the model spends the whole output cap
+ # on reasoning_content and message.content stays empty.
+ no_think = dict(base, reasoning_effort="none")
+ variants = [
+ dict(no_think, stream=True, stream_options={"include_usage": True}),
+ dict(no_think, stream=True),
+ dict(no_think, stream=False),
+ dict(base, stream=True, stream_options={"include_usage": True}),
+ dict(base, stream=False),
+ ]
+ row: dict = {"ok": False}
+ last_error = None
+ for idx, payload in enumerate(variants):
+ try:
+ ttft, total, text, reasoning, usage, finish = post_chat(url, payload, timeout)
+ row.update(
+ ok=True,
+ payload_variant=idx,
+ thinking_off="reasoning_effort" in payload,
+ ttft_s=round(ttft, 3) if ttft is not None else None,
+ total_s=round(total, 3),
+ text=text,
+ answer_len=len(text),
+ reasoning_len=len(reasoning),
+ reasoning_text=reasoning[:2000],
+ finish_reason=finish,
+ )
+ if usage:
+ row["usage"] = usage
+ last_error = None
+ break
+ except urllib.error.HTTPError as exc:
+ body = exc.read()[:400].decode("utf-8", "replace")
+ last_error = f"HTTP {exc.code}: {body}"
+ if exc.code not in (400, 404, 415, 422):
+ break
+ except Exception as exc: # noqa: BLE001
+ last_error = f"{type(exc).__name__}: {exc}"
+ break
+ if last_error:
+ row["error"] = last_error
+ stats = log.last_request_stats()
+ if stats:
+ row.update(stats)
+ # Bind the log line to this request: the server reports the same prompt token
+ # count in the response usage. A mismatch means the line belongs to another
+ # request (or none) and the row must not be trusted.
+ server_tokens = (row.get("usage") or {}).get("prompt_tokens")
+ if server_tokens is None:
+ row["pairing_ok"] = None
+ else:
+ row["pairing_ok"] = abs(int(server_tokens) - int(stats["engine_prompt_tokens"])) <= 1
+ if not row["pairing_ok"]:
+ row["pairing_note"] = (f"server reported {server_tokens} prompt tokens, the engine log line "
+ f"has {stats['engine_prompt_tokens']} - the log line may belong to another request")
+ return row
+
+
+def summarise(rows: list[dict]) -> str:
+ cols = ["target", "actual prompt tok", "reused", "new read", "prefill tok/s", "read s",
+ "gen tok", "decode tok/s", "thinking off", "answer len", "finish", "TTFT s", "total s"]
+ lines = ["| " + " | ".join(cols) + " |", "|" + "---|" * len(cols)]
+ for r in rows:
+ if not r.get("ok"):
+ lines.append("| " + " | ".join([str(r.get("target"))] +
+ [f"FAILED: {str(r.get('error'))[:60]}"] +
+ [""] * (len(cols) - 2)) + " |")
+ continue
+ vals = [
+ r.get("target"), r.get("engine_prompt_tokens", "?"), r.get("reused_tokens", "?"),
+ r.get("new_prompt_tokens", "?"), r.get("read_tok_s", "?"),
+ f"{(r.get('read_ms') or 0) / 1000:.1f}",
+ r.get("generated_tokens", "?"), r.get("decode_tok_s", "?"),
+ r.get("thinking_off"), r.get("answer_len"), r.get("finish_reason"),
+ r.get("ttft_s"), r.get("total_s"),
+ ]
+ lines.append("| " + " | ".join(str(v) for v in vals) + " |")
+ groups: dict[int, list[float]] = {}
+ for r in rows:
+ target = r.get("target")
+ if r.get("ok") and r.get("read_tok_s") and target is not None:
+ groups.setdefault(target, []).append(r["read_tok_s"])
+ lines.append("")
+ for target, vals in sorted(groups.items()):
+ dec = [r["decode_tok_s"] for r in rows if r.get("ok") and r.get("target") == target and r.get("decode_tok_s")]
+ lines.append(
+ f"* {target} prompt tokens: prefill median {statistics.median(vals):.1f} tok/s "
+ f"(range {min(vals):.1f}-{max(vals):.1f}, n={len(vals)})"
+ + (f"; decode median {statistics.median(dec):.1f} tok/s "
+ f"(range {min(dec):.1f}-{max(dec):.1f})" if dec else "")
+ )
+ return "\n".join(lines)
+
+
+def main() -> int:
+ ap = argparse.ArgumentParser()
+ ap.add_argument("--url", default="http://127.0.0.1:8080/v1/chat/completions")
+ ap.add_argument("--log", default=r"D:\AI\Strata\Strata-main\Strata-main\strata-iq2_xs.log")
+ ap.add_argument("--lengths", default="4096,32768,128000")
+ ap.add_argument("--reps", type=int, default=3)
+ ap.add_argument("--needle-lengths", default="32768,128000")
+ ap.add_argument("--needle-depths", default="10,50,90")
+ ap.add_argument("--cap", type=int, default=256)
+ ap.add_argument("--max-prompt-tokens", type=int, default=130500,
+ help="nominal targets that would overshoot this many prompt tokens are shrunk")
+ ap.add_argument("--timeout", type=int, default=1800)
+ ap.add_argument("--wait-ready", type=int, default=0,
+ help="poll /v1/models until the engine answers, up to this many seconds")
+ ap.add_argument("--tag", default="", help="suffix for the output files (bench-output-<tag>.json)")
+ ap.add_argument("--skip-needles", action="store_true")
+ ap.add_argument("--model", default=None)
+ args = ap.parse_args()
+
+ log = EngineLog(Path(args.log) if args.log else None)
+ model = args.model or detect_model(args.url)
+ print(f"server : {args.url}")
+ print(f"model id : {model}")
+ print(f"engine : {args.log}")
+ if args.tag:
+ print(f"tag : {args.tag}")
+
+ if args.wait_ready:
+ base = args.url.split("/v1/")[0]
+ ready = False
+ deadline = time.time() + args.wait_ready
+ while time.time() < deadline:
+ try:
+ with urllib.request.urlopen(base + "/v1/models", timeout=10) as resp:
+ if resp.status == 200:
+ ready = True
+ break
+ except Exception:
+ pass
+ print(" waiting for the engine to come up ...", flush=True)
+ time.sleep(5)
+ if not ready:
+ print(f"the engine did not answer within {args.wait_ready} s - stopping.")
+ return 2
+ print("engine is up\n", flush=True)
+
+ results: dict = {
+ "started": time.strftime("%Y-%m-%d %H:%M:%S"),
+ "url": args.url,
+ "model": model,
+ "engine_log": args.log,
+ "cap_tokens": args.cap,
+ "reps": args.reps,
+ "speed": [],
+ "needles": [],
+ "notes": [],
+ }
+
+ # --- calibration: one small request to learn characters-per-token -----------
+ print("\n[calibration] 8,000-char request ...", flush=True)
+ cal_prompt = ("You are reviewing a Python file.\n\n# NONCE 0001\n"
+ + code_filler(8000, 1) + "\n\nAnswer in one short paragraph.\n")
+ cal = one_request(args.url, model, cal_prompt, 64, log, args.timeout)
+ chars = 8000
+ if cal.get("ok") and cal.get("engine_prompt_tokens"):
+ # prompt tokens includes the instruction wrapper (~40 tok)
+ ratio = (cal["engine_prompt_tokens"] - 40) / chars # tokens per character
+ ratio = min(1.5, max(0.15, ratio)) # sane bounds
+ chars_per_token = 1.0 / ratio
+ print(f"[calibration] {cal['engine_prompt_tokens']} prompt tokens for {chars} chars "
+ f"-> {chars_per_token:.3f} chars/token", flush=True)
+ else:
+ chars_per_token = 4.0
+ results["notes"].append("calibration failed; assumed 4.0 chars/token")
+ print(f"[calibration] FAILED ({cal.get('error')}); assuming 4.0 chars/token", flush=True)
+ results["calibration"] = {k: v for k, v in cal.items() if k != "text"}
+ results["chars_per_token"] = chars_per_token
+ print("warming up (one 2,000-token request) ...", flush=True)
+ warm = one_request(args.url, model, build_prompt(2000, 7, chars_per_token, None), 32, log, args.timeout)
+ results["warmup"] = {k: v for k, v in warm.items() if k != "text"}
+
+ # --- speed runs ------------------------------------------------------------
+ seed = 100
+ for target in [int(x) for x in args.lengths.split(",") if x.strip()]:
+ target = fit_target(target, args.max_prompt_tokens)
+ for rep in range(1, args.reps + 1):
+ seed += 1
+ prompt = build_prompt(target, seed, chars_per_token, None)
+ print(f"[speed] target {target} rep {rep}/{args.reps} "
+ f"({len(prompt):,} chars) ...", flush=True)
+ row = one_request(args.url, model, prompt, args.cap, log, args.timeout)
+ row.update(target=target, rep=rep, chars=len(prompt))
+ row.pop("text", None)
+ results["speed"].append(row)
+ if row.get("ok"):
+ print(f" -> prompt {row.get('engine_prompt_tokens')} tok, "
+ f"reused {row.get('reused_tokens')}, prefill {row.get('read_tok_s')} tok/s, "
+ f"decode {row.get('decode_tok_s')} tok/s, TTFT {row.get('ttft_s')} s", flush=True)
+ else:
+ print(f" -> FAILED: {row.get('error')}", flush=True)
+
+ # --- needle checks ---------------------------------------------------------
+ if not args.skip_needles:
+ for target in [int(x) for x in args.needle_lengths.split(",") if x.strip()]:
+ target = fit_target(target, args.max_prompt_tokens)
+ for depth in [int(x) for x in args.needle_depths.split(",") if x.strip()]:
+ seed += 1
+ prompt = build_prompt(target, seed, chars_per_token, depth)
+ print(f"[needle] target {target} depth {depth}% ...", flush=True)
+ row = one_request(args.url, model, prompt, 32, log, args.timeout)
+ found = NEEDLE in ((row.get("text") or "") + (row.get("reasoning_text") or ""))
+ row.update(target=target, depth=depth, needle_found=found, chars=len(prompt))
+ results["needles"].append(row)
+ print(f" -> needle {'FOUND' if found else 'MISSED'}; "
+ f"prompt {row.get('engine_prompt_tokens')} tok, "
+ f"prefill {row.get('read_tok_s')} tok/s", flush=True)
+
+ results["finished"] = time.strftime("%Y-%m-%d %H:%M:%S")
+ results["tag"] = args.tag
+ suffix = f"-{args.tag}" if args.tag else ""
+ out_json = HERE / f"bench-output{suffix}.json"
+ out_json.write_text(json.dumps(results, indent=2), encoding="utf-8")
+
+ table = summarise(results["speed"])
+ needle_lines = ["", "Needle checks (exact string recall):"]
+ for r in results["needles"]:
+ needle_lines.append(
+ f"* {r.get('target')} tokens, depth {r.get('depth')}%: "
+ f"{'FOUND' if r.get('needle_found') else 'MISSED'} "
+ f"(prompt {r.get('engine_prompt_tokens')} tok, prefill {r.get('read_tok_s')} tok/s)"
+ )
+ report = (
+ f"# Strata benchmark output\n\n"
+ f"started {results['started']}, finished {results['finished']}\n"
+ f"server {args.url}, model id `{model}`, output cap {args.cap} tokens, "
+ f"{args.reps} reps per length\n\n## Speed\n\n{table}\n"
+ + ("\n".join(needle_lines) if results["needles"] else "") + "\n"
+ )
+ (HERE / f"bench-output{suffix}.md").write_text(report, encoding="utf-8")
+ (HERE / f"bench-output{suffix}.txt").write_text(report, encoding="utf-8")
+ print("\n" + report)
+ print(f"saved: {out_json}")
+ print(f"saved: {HERE / f'bench-output{suffix}.md'}")
+ print("\nDONE - tell Hermes the run is finished.")
+ return 0
+
+
+if __name__ == "__main__":
+ sys.exit(main())
diff --git a/bench/results/2026-10-10-community-rx-9070/strata-iq3_xxs-session.log b/bench/results/2026-10-10-community-rx-9070/strata-iq3_xxs-session.log
new file mode 100644
index 000000000..68e07b50c
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9070/strata-iq3_xxs-session.log
@@ -0,0 +1,125 @@
+[strata] 2026-10-10 07:54:01 engine started: D:\Dev\Strata\engine\strata.exe --serve --pack D:\Dev\Strata-data\packs\iq3_xxs --native D:\Dev\Strata-data\models\IQ3_XXS\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf D:\Dev\Strata-data\models\IQ3_XXS\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile D:\Dev\Strata\data\expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp D:\Dev\Strata-data\mtp\rt --max-context 131072 --kv int8 --kv-resident 32768
+strata generate: PCIe probe: 14.1 GB/s host->device (best of 14.1 14.0 14.1 14.1) -> pcie_frac 0.39 (default 0.55)
+strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows)
+strata generate: native pack: D:\Dev\Strata-data\packs\iq3_xxs experts (largest blob 2.33 MB), token embedding IQ3_S in mapped host memory (260 MiB, 0.2 s)
+strata generate: 1466 MiB of weights loaded from D:\Dev\Strata-data\packs\iq3_xxs in 0.4 s (302 canonical tensors skipped: served natively)
+strata generate: 300 native projection matrices, 1781.11 MiB of weights, in 2.1 s
+strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off)
+strata generate: profile D:\Dev\Strata\data\expert-profile.bin: 24576 ranked pairs, built for 24576 slots
+strata generate: KV streaming: 32768 of 131072 cells per QSA layer in VRAM, the K/V in 1.55 GiB of pinned RAM
+strata generate: PLE on, table 320001536 rows of D:\Dev\Strata-data\models\IQ3_XXS\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf
+strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.25 s (3099 MiB/s)
+strata generate: experimental native Q5_K head, 437043200 bytes, in 0.4 s
+strata generate: GPU 0: AMD Radeon RX 9070 (gfx1201)
+strata generate: hint: STRATA_HIP_WMMA=1 reads prompts about 30% faster on this card with --kv int8 (prompt attention on the matrix cores); it is off by default because the output bits change (last-place rounding). Nothing was enabled.
+strata generate: HIP runtime D:\Dev\Strata\engine\amdhip64_7.dll
+strata generate: expert arena read unbuffered (0 of 16 probe reads from the file cache; 11.0 GiB available, 43.8 GiB of files)
+strata generate: expert arena: cudaHostRegister PORTABLE ok; large pages refused for 42916118528 B (GetLargePageMinimum=2097152, VirtualAlloc error 1314); using 4 KB pages
+strata generate: loaded 39.97 GiB at 2.99 GiB/s
+strata generate: CPU pool tasks/phase: 24 (automatic), participating threads: 8
+strata generate: 7 pool workers on logical processors 2,4,6,8,10,12,14, the host thread on 0 (draining too) (--host-core first)
+strata: Windows budgets 15447 of this card's 16304 MiB for this process; free VRAM is counted within that (STRATA_WDDM_BUDGET=0: off)
+strata generate: expert cache auto: 9.78 GiB free, 700 MiB reserved (+184 MiB for the draft head) -> 4111 slots
+strata generate: only 0 MiB free once the slots are written (reserve 700 MiB); shrinking the expert cache
+strata generate: only 596 MiB free once the slots are written (reserve 700 MiB); shrinking the expert cache
+strata generate: expert cache 4776 slots, 7.75 GiB of VRAM; policy is
+strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU,
+ so a reply can differ slightly from a run without the cache (same quality:
+ bench/results/2026-09-27-cache-parity).
+ PROFILE, ranked by routing frequency, no eviction.
+strata generate: pre-filled 4776 of 4776 slots from the profile in 1.5 s (5728 MB/s); slot 0 verified
+strata generate: R4 hit path ON - resident experts are computed on the GPU
+strata generate: 7 expert-pool workers + the host thread
+strata generate: session is up (engine 0.1.41)
+strata generate: token graph hit path: 4776 resident experts, decided on the device
+strata serve: prompt chunk auto: 8192 tokens, a 384-slot ring
+strata serve: the prompt path borrows 2564 CUDA0 cache slots (4.12 GiB)
+prefill gemm: hipBLASLt tuning enabled (32 rows, gfx1201, version 100500)
+strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones)
+strata verify: window up to 6 tokens, 70.0 MiB of device buffers
+strata mtp: draft head over 106299 tokens (178.4 MiB)
+strata serve: 266 MiB of VRAM free with everything loaded
+strata serve: that is little room for the verify windows' buffers under WDDM; if the engine exits right after this line, --prefill auto:8192 (a smaller prompt chunk borrows fewer cache slots) or a larger --vram-reserve-mib leaves more
+strata verify: capturing the 6-token window (164 MiB of VRAM free)
+strata verify: captured the 6-token window (upload no error, sync no error)
+strata verify: capturing the 1-token window (164 MiB of VRAM free)
+strata verify: captured the 1-token window (upload no error, sync no error)
+strata verify: capturing the 4-token window (164 MiB of VRAM free)
+strata verify: captured the 4-token window (upload no error, sync no error)
+strata verify: capturing the 2-token window (164 MiB of VRAM free)
+strata verify: captured the 2-token window (upload no error, sync no error)
+strata verify: capturing the 3-token window (164 MiB of VRAM free)
+strata verify: captured the 3-token window (upload no error, sync no error)
+strata serve: prompt 3216 tokens = 0 reused + 3216 read in 6334 ms (507.8 tok/s), 64 generated in 1440 ms (44.4 tok/s), drafts accepted 28 of 52, 1 checkpoints
+strata serve: decode expert cache hit rate: 74.9% (28955 hits / 38651 lookups); 3589 more read by the GPU over PCIe or from another GPU (8.5% of all 42240 routed)
+strata serve: KV streaming: 98.34% of 579192 block reads hit VRAM, 38.8 MiB read from RAM
+strata verify: capturing the 5-token window (164 MiB of VRAM free)
+strata verify: captured the 5-token window (upload no error, sync no error)
+strata serve: prompt 2082 tokens = 0 reused + 2082 read in 6103 ms (341.2 tok/s), 32 generated in 620 ms (51.6 tok/s), drafts accepted 21 of 24, 1 checkpoints
+strata serve: decode expert cache hit rate: 63.9% (9352 hits / 14644 lookups); 2156 more read by the GPU over PCIe or from another GPU (12.8% of all 16800 routed)
+strata serve: KV streaming: 97.49% of 252648 block reads hit VRAM, 25.6 MiB read from RAM
+strata serve: suffix drafts: 4 windows, 5 of 7 drafts accepted
+strata serve: prompt 4195 tokens = 0 reused + 4195 read in 7102 ms (590.7 tok/s), 256 generated in 4361 ms (58.7 tok/s), drafts accepted 150 of 221, 1 checkpoints
+strata serve: decode expert cache hit rate: 81.9% (120551 hits / 147166 lookups); 9794 more read by the GPU over PCIe or from another GPU (6.2% of all 156960 routed)
+strata serve: KV streaming: 99.35% of 2051940 block reads hit VRAM, 53.8 MiB read from RAM
+strata serve: suffix drafts: 1 windows, 1 of 1 drafts accepted
+strata serve: prompt 4198 tokens = 0 reused + 4198 read in 7188 ms (584.0 tok/s), 256 generated in 4422 ms (57.9 tok/s), drafts accepted 155 of 231, 1 checkpoints
+strata serve: decode expert cache hit rate: 82.4% (123829 hits / 150235 lookups); 10085 more read by the GPU over PCIe or from another GPU (6.3% of all 160320 routed)
+strata serve: KV streaming: 99.36% of 2095116 block reads hit VRAM, 53.8 MiB read from RAM
+strata serve: suffix drafts: 4 windows, 7 of 9 drafts accepted
+strata serve: prompt 4199 tokens = 0 reused + 4199 read in 7163 ms (586.2 tok/s), 256 generated in 4232 ms (60.5 tok/s), drafts accepted 149 of 224, 1 checkpoints
+strata serve: decode expert cache hit rate: 84.1% (126347 hits / 150168 lookups); 8712 more read by the GPU over PCIe or from another GPU (5.5% of all 158880 routed)
+strata serve: KV streaming: 99.36% of 2076588 block reads hit VRAM, 53.8 MiB read from RAM
+strata serve: suffix drafts: 2 windows, 4 of 8 drafts accepted
+strata serve: prompt 33467 tokens = 0 reused + 33467 read in 41584 ms (804.8 tok/s), 256 generated in 4421 ms (57.9 tok/s), drafts accepted 149 of 217, 3 checkpoints
+strata serve: decode expert cache hit rate: 82.8% (121132 hits / 146328 lookups); 9192 more read by the GPU over PCIe or from another GPU (5.9% of all 155520 routed)
+strata serve: KV streaming: 97.03% of 2033484 block reads hit VRAM, 243.6 MiB read from RAM
+strata serve: prompt 33467 tokens = 0 reused + 33467 read in 41659 ms (803.4 tok/s), 256 generated in 4279 ms (59.8 tok/s), drafts accepted 153 of 225, 3 checkpoints
+strata serve: decode expert cache hit rate: 83.5% (124950 hits / 149565 lookups); 8835 more read by the GPU over PCIe or from another GPU (5.6% of all 158400 routed)
+strata serve: KV streaming: 97.12% of 2070432 block reads hit VRAM, 240.3 MiB read from RAM
+strata serve: suffix drafts: 1 windows, 1 of 2 drafts accepted
+strata serve: prompt 33467 tokens = 0 reused + 33467 read in 41600 ms (804.5 tok/s), 256 generated in 4591 ms (55.8 tok/s), drafts accepted 145 of 233, 3 checkpoints
+strata serve: decode expert cache hit rate: 83.4% (129986 hits / 155865 lookups); 9255 more read by the GPU over PCIe or from another GPU (5.6% of all 165120 routed)
+strata serve: KV streaming: 97.14% of 2156736 block reads hit VRAM, 248.2 MiB read from RAM
+strata serve: prompt 33512 tokens = 0 reused + 33512 read in 42132 ms (795.4 tok/s), 13 generated in 356 ms (36.5 tok/s), drafts accepted 8 of 10, 3 checkpoints
+strata serve: decode expert cache hit rate: 24.0% (1311 hits / 5458 lookups); 1742 more read by the GPU over PCIe or from another GPU (24.2% of all 7200 routed)
+strata serve: KV streaming: 83.66% of 129408 block reads hit VRAM, 85.2 MiB read from RAM
+strata serve: suffix drafts: 3 windows, 5 of 7 drafts accepted
+strata serve: prompt 33512 tokens = 0 reused + 33512 read in 42017 ms (797.6 tok/s), 13 generated in 345 ms (37.7 tok/s), drafts accepted 8 of 9, 3 checkpoints
+strata serve: decode expert cache hit rate: 34.7% (1840 hits / 5301 lookups); 1419 more read by the GPU over PCIe or from another GPU (21.1% of all 6720 routed)
+strata serve: KV streaming: 83.13% of 123240 block reads hit VRAM, 83.8 MiB read from RAM
+strata serve: suffix drafts: 3 windows, 5 of 6 drafts accepted
+strata serve: prompt 33512 tokens = 0 reused + 33512 read in 42530 ms (788.0 tok/s), 13 generated in 351 ms (37.0 tok/s), drafts accepted 11 of 11, 3 checkpoints
+strata serve: decode expert cache hit rate: 45.0% (2807 hits / 6235 lookups); 1445 more read by the GPU over PCIe or from another GPU (18.8% of all 7680 routed)
+strata serve: KV streaming: 85.19% of 135564 block reads hit VRAM, 80.9 MiB read from RAM
+strata serve: suffix drafts: 2 windows, 5 of 5 drafts accepted
+strata serve: prompt 3216 tokens = 0 reused + 3216 read in 6777 ms (474.5 tok/s), 64 generated in 1265 ms (50.6 tok/s), drafts accepted 28 of 52, 1 checkpoints
+strata serve: decode expert cache hit rate: 84.3% (33894 hits / 40197 lookups); 2043 more read by the GPU over PCIe or from another GPU (4.8% of all 42240 routed)
+strata serve: KV streaming: 98.34% of 579192 block reads hit VRAM, 38.8 MiB read from RAM
+strata serve: prompt 2082 tokens = 0 reused + 2082 read in 6212 ms (335.2 tok/s), 32 generated in 552 ms (58.0 tok/s), drafts accepted 23 of 23, 1 checkpoints
+strata serve: decode expert cache hit rate: 67.3% (9359 hits / 13908 lookups); 1932 more read by the GPU over PCIe or from another GPU (12.2% of all 15840 routed)
+strata serve: KV streaming: 97.36% of 240324 block reads hit VRAM, 25.6 MiB read from RAM
+strata serve: suffix drafts: 3 windows, 7 of 7 drafts accepted
+strata serve: prompt 129970 tokens = 0 reused + 129970 read in 153976 ms (844.1 tok/s), 256 generated in 4690 ms (54.6 tok/s), drafts accepted 151 of 233, 6 checkpoints
+strata serve: decode expert cache hit rate: 83.2% (127239 hits / 152922 lookups); 9318 more read by the GPU over PCIe or from another GPU (5.7% of all 162240 routed)
+strata serve: KV streaming: 95.39% of 2119692 block reads hit VRAM, 393.9 MiB read from RAM
+strata serve: suffix drafts: 1 windows, 1 of 5 drafts accepted
+strata serve: prompt 129972 tokens = 0 reused + 129972 read in 156259 ms (831.8 tok/s), 256 generated in 4199 ms (61.0 tok/s), drafts accepted 159 of 213, 6 checkpoints
+strata serve: decode expert cache hit rate: 83.5% (117598 hits / 140893 lookups); 8387 more read by the GPU over PCIe or from another GPU (5.6% of all 149280 routed)
+strata serve: KV streaming: 94.83% of 1953348 block reads hit VRAM, 406.5 MiB read from RAM
+strata serve: suffix drafts: 2 windows, 3 of 5 drafts accepted
+strata serve: prompt 129973 tokens = 0 reused + 129973 read in 156054 ms (832.9 tok/s), 256 generated in 4423 ms (57.9 tok/s), drafts accepted 150 of 217, 6 checkpoints
+strata serve: decode expert cache hit rate: 83.8% (122884 hits / 146708 lookups); 8332 more read by the GPU over PCIe or from another GPU (5.4% of all 155040 routed)
+strata serve: KV streaming: 95.10% of 2027244 block reads hit VRAM, 400.4 MiB read from RAM
+strata serve: prompt 130018 tokens = 0 reused + 130018 read in 156120 ms (832.8 tok/s), 13 generated in 445 ms (29.2 tok/s), drafts accepted 10 of 13, 6 checkpoints
+strata serve: decode expert cache hit rate: 30.0% (2142 hits / 7149 lookups); 1971 more read by the GPU over PCIe or from another GPU (21.6% of all 9120 routed)
+strata serve: KV streaming: 82.13% of 154056 block reads hit VRAM, 110.9 MiB read from RAM
+strata serve: suffix drafts: 1 windows, 2 of 2 drafts accepted
+strata serve: prompt 130018 tokens = 0 reused + 130018 read in 155580 ms (835.7 tok/s), 13 generated in 444 ms (29.3 tok/s), drafts accepted 7 of 14, 6 checkpoints
+strata serve: decode expert cache hit rate: 41.4% (3159 hits / 7633 lookups); 1967 more read by the GPU over PCIe or from another GPU (20.5% of all 9600 routed)
+strata serve: KV streaming: 82.88% of 160212 block reads hit VRAM, 110.5 MiB read from RAM
+strata serve: suffix drafts: 3 windows, 5 of 8 drafts accepted
+strata serve: prompt 130018 tokens = 0 reused + 130018 read in 156403 ms (831.3 tok/s), 13 generated in 268 ms (48.5 tok/s), drafts accepted 9 of 9, 6 checkpoints
+strata serve: decode expert cache hit rate: 51.0% (2614 hits / 5122 lookups); 1118 more read by the GPU over PCIe or from another GPU (17.9% of all 6240 routed)
+strata serve: KV streaming: 80.55% of 117084 block reads hit VRAM, 91.7 MiB read from RAM
+strata serve: suffix drafts: 2 windows, 6 of 6 drafts accepted
diff --git a/bench/results/2026-10-10-community-rx-9070/strata-iq3_xxs.json b/bench/results/2026-10-10-community-rx-9070/strata-iq3_xxs.json
new file mode 100644
index 000000000..ee01ebcff
--- /dev/null
+++ b/bench/results/2026-10-10-community-rx-9070/strata-iq3_xxs.json
@@ -0,0 +1,41 @@
+{
+ "exe": "D:\\Dev\\Strata\\engine\\strata.exe",
+ "args": [
+ "--pack",
+ "D:\\Dev\\Strata-data\\packs\\iq3_xxs",
+ "--native",
+ "D:\\Dev\\Strata-data\\models\\IQ3_XXS\\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf",
+ "--ple-gguf",
+ "D:\\Dev\\Strata-data\\models\\IQ3_XXS\\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf",
+ "--expert-profile",
+ "D:\\Dev\\Strata\\data\\expert-profile.bin",
+ "--expert-cache",
+ "auto",
+ "--prefill",
+ "auto",
+ "--spec",
+ "4",
+ "--spec-min-p",
+ "0.5",
+ "--mtp",
+ "D:\\Dev\\Strata-data\\mtp\\rt",
+ "--max-context",
+ "131072",
+ "--kv",
+ "int8",
+ "--kv-resident",
+ "32768"
+ ],
+ "cwd": "D:\\Dev\\Strata",
+ "tokenizer": "D:\\Dev\\Strata-data\\packs\\iq3_xxs\\tokenizer",
+ "model_name": "qwen3.8-flash-next-iq3_xxs",
+ "log": "D:\\Dev\\Strata\\strata-iq3_xxs.log",
+ "lib_dirs": [
+ "D:\\Dev\\Strata\\engine\\rocm\\bin"
+ ],
+ "port": 8080,
+ "backend": "hip",
+ "env": {
+ "STRATA_HIPBLASLT_TUNING": "D:\\Dev\\Strata\\tools\\hip\\gfx1201-hipblaslt-100500.txt"
+ }
+}
\ No newline at end of file