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, RTX PRO 6000, Q4 / Q8 (MTP and ngram runs) (PR #1137)
CC-David-CC8ca475c22320
diff --git a/bench/results/2026-10-06-community-rtxpro-v0140/README.md b/bench/results/2026-10-06-community-rtxpro-v0140/README.mdnew file mode 100644index 000000000..5d233ef13--- /dev/null+++ b/bench/results/2026-10-06-community-rtxpro-v0140/README.md@@ -0,0 +1,184 @@+# Community results: Strata 0.1.39 versus 0.1.40 on RTX PRO 6000++Measured on **2026-10-06** with unmodified release engines, Unsloth Flash-Next+**UD-Q4_K_XL / Q8_0**, FP16 KV, **8,192 actual input tokens + 512 output tokens**,+and one request at a time. This contribution adds documentation and measurement+artifacts to the exact v0.1.40 source tree.++## Native 0.1.40: ngram follow-up++++The same 8K coding prompt and 512-output cap were run with ngram-only and with+MTP plus ngram. No engine changes were made.++| Model / path | Decode tok/s | Prefill s | Whole request s | Effective tok/s |+|---|---:|---:|---:|---:|+| Q4_K_XL, no speculation | 129.9 | 3.115 | 7.057 | 72.6 |+| Q4_K_XL, MTP T4 | 257.6 | 3.035 | 5.024 | 101.9 |+| Q4_K_XL, ngram only | 133.8 | 2.990 | 6.817 | 75.1 |+| Q4_K_XL, MTP + ngram | 255.4 | 3.017 | 5.023 | 102.0 |+| Q8_0, no speculation | 82.6 | 12.790 | 18.989 | 27.0 |+| Q8_0, MTP T4 | 140.2 | 12.812 | 16.465 | 31.1 |+| Q8_0, ngram only | 81.6 | 12.782 | 19.056 | 26.9 |+| Q8_0, MTP + ngram | 133.8 | 12.761 | 16.589 | 30.9 |++Ngram-only removes `--mtp`, enables `--suffix-draft 3`, and allows the verifier+up to T8 (`--spec 8`). Combined mode keeps MTP capped at T4 and enables+`--suffix-draft 3 --lookup-chain 4 --lookup-chain-min 3`: lookup can replace a+window or append up to four drafts. This tests one recorded configuration,+not a threshold sweep or a claim about every ngram workload.++| Model / path | Suffix drafts accepted / offered | Chained drafts accepted / offered | Exact tokens versus corresponding non-ngram path |+|---|---:|---:|---|+| Q4, ngram only | 33 / 109 | Not enabled | All 512 identical |+| Q4, MTP + ngram | 3 / 14 | 4 / 8 | All 512 identical |+| Q8, ngram only | 6 / 36 | Not enabled | First difference at output token 4 |+| Q8, MTP + ngram | 22 / 27 | 0 / 3 | First difference at output token 4 |++All four follow-ups completed and passed the small function check. Input hashes+matched the corresponding baseline. Counts above are for the timed request,+excluding warm-up. Q4 ngram-only decode was 3.0% faster than plain decode;+combined Q4 decode was 0.8% slower than MTP, with essentially unchanged total+request time. Q8 was 1.2% slower with ngram-only and 4.6% slower with the combined+configuration. Q8 committed output streams differed, so these are different+trajectories at fixed token counts, not exact-work speedup comparisons. The+cause of that difference has not been isolated. This coding-generation prompt+is not a code-edit/copy workload designed to favor prompt lookup.++## Initial release comparison++++**Q4 MTP decode increased from 244.2 to 257.6 tok/s (+5.5%). Q4 without MTP+increased from 118.5 to 129.9 tok/s (+9.6%).** Both Q4 comparison pairs produced+identical 512-token outputs. These are single observations, not confidence-bounded+speedup estimates.++**Q8 is a support result:** stock v0.1.39 rejected its Q8 PLE table at startup;+v0.1.40 loaded it and completed both modes. There is no stock v0.1.39 Q8 speed+number and no patched-engine substitute in this comparison.++## Results++| Model / mode | Release | Decode tok/s | Prefill s | Whole request s | Effective tok/s |+|---|---|---:|---:|---:|---:|+| Q4_K_XL, MTP T4 | 0.1.39 | 244.2 | 3.023 | 5.121 | 100.0 |+| Q4_K_XL, MTP T4 | 0.1.40 | **257.6** | 3.035 | **5.024** | **101.9** |+| Q4_K_XL, no MTP | 0.1.39 | 118.5 | 3.017 | 7.340 | 69.8 |+| Q4_K_XL, no MTP | 0.1.40 | **129.9** | 3.115 | **7.057** | **72.6** |+| Q8_0, MTP T4 | 0.1.39 | Unsupported Q8 PLE | — | — | — |+| Q8_0, MTP T4 | 0.1.40 | **140.2** | 12.812 | 16.465 | 31.1 |+| Q8_0, no MTP | 0.1.39 | Unsupported Q8 PLE | — | — | — |+| Q8_0, no MTP | 0.1.40 | **82.6** | 12.790 | 18.989 | 27.0 |++Decode is committed output count / engine decode time. Effective throughput is+output count / (engine prefill + decode time). Whole request is client wall time;+it excludes model loading. All six supported cases freshly read 8,192 input+tokens, reused zero prompt tokens, and reached the 512-output cap.++Stock v0.1.39's two Q8 startup checks returned:++```text+per_layer_token_embd.weight is Q8_0, not IQ4_NL, Q5_0 or FP8 (I8)+```++## Hardware and software++- NVIDIA RTX PRO 6000 Blackwell **Workstation Edition**, 96 GB, 400 W power limit.+- AMD Ryzen 9 7950X, 16 cores / 32 threads; 128 GB installed RAM.+- WD_BLACK SN8100 2 TB NVMe. PCIe maximum Gen4 x16; startup H2D probes were about+ 28.9 GB/s. Idle link queries downshifted to Gen1 x16.+- Ubuntu 24.04.5 LTS; NVIDIA driver 595.91.07; CUDA 13.2.86.+- v0.1.39: `a1641e9f77aacad4d201b53c8a7ae8fa21059ebb`.+- v0.1.40: `1cbcacbcae2953f3be9edc46369f0c875bc6ab8b`.+- Both source worktrees were clean. Both builds used Release, CUDA architecture+ 120, native experts enabled, tests disabled, and GGML+ `3cf03257f219afbe7334045ff7c6a06ac68c627d` as pinned by these releases.++## Placement and request settings++The models are from [unsloth/Qwen3.8-Flash-Next-GGUF](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF):+four `Qwen3.8-Flash-Next-UD-Q4_K_XL-*.gguf` shards or six+`Qwen3.8-Flash-Next-Q8_0-*.gguf` shards. Existing compatibility packs were reused:+small unsupported projections were converted to BF16. Their hashes and the+expert-profile hash are recorded in [measurements.json](measurements.json).+The native model files and each quant's pack were unchanged across versions.+This is not a test of freshly generated installer presets. Model repository+revision and whole-GGUF hashes were not captured for this screen.++| Setting | Q4_K_XL | Q8_0 |+|---|---|---|+| GPU expert slots | All 24,576 | 15,472 |+| GPU expert cache | 71.73 GiB | 75.25 GiB |+| Expert complement | None | About 44.28 GiB in RAM; 56 GiB budget |+| PLE placement | RAM | RAM, about 50.66 GiB |+| Adaptation | Disabled | Every 4 steps, 96 swaps, decay 0.7 |+| New release adaptation flags | Not used | `--adapt-async 1`, `STRATA_EXCHANGE_ROTATE=1` |++Both modes allocated **16,384 tokens**, used FP16 KV, temperature 0, thinking off,+prefill chunk 1,024, a 2,048 MiB VRAM reserve, and the same expert profile. Prompt+and conversation caches were disabled. Ngram/suffix drafting was off in the initial release-comparison cases. MTP used+the same draft runtime, threshold 0.5, and maximum T4; the non-MTP runs used T1+and offered zero draft tokens. EOS was overridden to force the output cap.+This is a whole-release comparison with recorded configuration, not an isolated+test of PLE, adaptation, or any particular kernel.++## Function and token checks++Each supported case first generated a small `triangular(n)` Python function.+It passed checks for `n = 0, 1, 2, 10, 100, 10000`. This also warmed the engine+before the timed request. The timed prompt requested a priority task queue and+tests, padded with ordinary maintenance notes to exactly 8,192 tokens.++- All **six supported cases** passed the function check and exact input/output+ count checks; Q8 on 0.1.39 failed before generation.+- Both Q4 pairs had identical input hashes and all 512 output token IDs matched.+- Q4 MTP accepted 346 / 424 offered drafts in each release. Non-MTP offered zero.+- Q8 on 0.1.40 accepted 358 / 414 drafts in MTP mode; non-MTP offered zero.+- The long generated module was not executed or scored. These checks do not+ establish model intelligence, long-context correctness, or general numerical+ equivalence. An EOS-forced stream is not representative of normal stopping.++## Reproduction and data++[results.csv](results.csv) contains the chart data.+[measurements.json](measurements.json) includes timings, committed token IDs,+binary hashes, launch arguments, relevant environment, and startup errors.+[plot.py](plot.py) regenerates the PNG and SVG with `python plot.py`+(requires matplotlib). [plot-ngram.py](plot-ngram.py) regenerates the ngram chart with+`python plot-ngram.py`. Large historical experiments and model files are not+included in this documentation contribution.++Build each exact tag separately using:++```sh+cmake -S SOURCE -B BUILD -G Ninja -DCMAKE_BUILD_TYPE=Release \+ -DSTRATA_ENABLE_CUDA=ON -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc \+ -DCMAKE_CUDA_ARCHITECTURES=120 -DSTRATA_NATIVE_EXPERTS=ON \+ -DSTRATA_BUILD_TESTS=OFF -DSTRATA_GGML_DIR=/path/to/ggml-3cf03257+cmake --build BUILD --parallel 8 --target strata+```++The request harness used one frozen tokenizer/template and native-protocol+Python client for both binaries, from fork commit+[`70ed61f`](https://github.com/CC-David-CC/Strata-a5500/tree/70ed61f158f0ef6364557cc1ba8d1ab03178d2f1).+That client revision is not an engine comparator. HTTP serving was not tested.++To repeat the workload, copy [plan.example.json](plan.example.json) to+`plan.json`, edit the binary, model, pack, client, Python, profile and draft paths,+and run `python replay.py CASE_LABEL`. Labels are in the plan. `$HOME` paths are+expanded. Use a free GPU and sufficient locked-memory limits for `--ple-io ram`.+Each case creates a fresh result directory and refuses to overwrite one.+Q8 cases for the stock 0.1.39 binary are expected to fail at PLE loading.++## Limits of this screen++One observation per case, no repetitions or uncertainty estimate. The release+0.1.40 cases ran first; stock 0.1.39 ran later, in Q8 MTP, Q8 non-MTP, Q4 MTP,+Q4 non-MTP order. Startup page-cache state, clocks and thermals were not matched.+Loading time is excluded and no startup-speedup claim is made. There were no+other compute jobs on the GPU. The GPU was idle after testing. Higher contexts,+concurrency, quality benchmarks and sanitizer coverage are outside this screen.+The four ngram follow-ups ran afterward, in Q4 ngram, Q4 combined, Q8 ngram,+Q8 combined order, each with a fresh process and its own function-check warm-up.diff --git a/bench/results/2026-10-06-community-rtxpro-v0140/TRIMMED.md b/bench/results/2026-10-06-community-rtxpro-v0140/TRIMMED.mdnew file mode 100644index 000000000..542622176--- /dev/null+++ b/bench/results/2026-10-06-community-rtxpro-v0140/TRIMMED.md@@ -0,0 +1,13 @@+# Trimmed files++Ported from PR #1137 for 0.1.40.2. Raw dumps, logs and binaries were left out to keep the repository small;+the README, summaries, configs and per-run results are unchanged. The files below were in the original PR.++4 files, 0.6 MB:++| file | bytes | why |+|---|---:|---|+| `measurements.json` | 72,217 | over the folder's size budget |+| `ngram.png` | 295,322 | large raw dump |+| `ngram.svg` | 31,924 | over the folder's size budget |+| `overview.png` | 245,170 | large raw dump |diff --git a/bench/results/2026-10-06-community-rtxpro-v0140/overview.svg b/bench/results/2026-10-06-community-rtxpro-v0140/overview.svgnew file mode 100644index 000000000..1eecf5579--- /dev/null+++ b/bench/results/2026-10-06-community-rtxpro-v0140/overview.svg@@ -0,0 +1,448 @@+<?xml version="1.0" encoding="utf-8" standalone="no"?>+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">+<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="1008pt" height="604.8pt" viewBox="0 0 1008 604.8" xmlns="http://www.w3.org/2000/svg" version="1.1">+ <metadata>+ <rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">+ <cc:Work>+ <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>+ <dc:format>image/svg+xml</dc:format>+ <dc:creator>+ <cc:Agent>+ <dc:title>Matplotlib v3.11.2, https://matplotlib.org/</dc:title>+ </cc:Agent>+ </dc:creator>+ </cc:Work>+ </rdf:RDF>+ </metadata>+ <defs>+ <style type="text/css">*{stroke-linejoin: round; stroke-linecap: butt}</style>+ </defs>+ <g id="figure_1">+ <g id="patch_1">+ <path d="M 0 604.8+L 1008 604.8+L 1008 0+L 0 0+z+" style="fill: #f7f9fc"/>+ </g>+ <g id="axes_1">+ <g id="patch_2">+ <path d="M 216.72 480.816+L 548.871542 480.816+L 548.871542 187.488+L 216.72 187.488+z+" style="fill: #ffffff"/>+ </g>+ <g id="matplotlib.axis_1">+ <g id="xtick_1">+ <g id="line2d_1">+ <path d="M 216.72 480.816+L 216.72 187.488+" clip-path="url(#pc81c4c17ac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_2"/>+ <g id="text_1">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="216.72" y="499.173422" transform="rotate(-0 216.72 499.173422)">0</text>+ </g>+ </g>+ <g id="xtick_2">+ <g id="line2d_3">+ <path d="M 270.292829 480.816+L 270.292829 187.488+" clip-path="url(#pc81c4c17ac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_4"/>+ <g id="text_2">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="270.292829" y="499.173422" transform="rotate(-0 270.292829 499.173422)">50</text>+ </g>+ </g>+ <g id="xtick_3">+ <g id="line2d_5">+ <path d="M 323.865659 480.816+L 323.865659 187.488+" clip-path="url(#pc81c4c17ac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_6"/>+ <g id="text_3">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="323.865659" y="499.173422" transform="rotate(-0 323.865659 499.173422)">100</text>+ </g>+ </g>+ <g id="xtick_4">+ <g id="line2d_7">+ <path d="M 377.438488 480.816+L 377.438488 187.488+" clip-path="url(#pc81c4c17ac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_8"/>+ <g id="text_4">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="377.438488" y="499.173422" transform="rotate(-0 377.438488 499.173422)">150</text>+ </g>+ </g>+ <g id="xtick_5">+ <g id="line2d_9">+ <path d="M 431.011317 480.816+L 431.011317 187.488+" clip-path="url(#pc81c4c17ac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_10"/>+ <g id="text_5">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="431.011317" y="499.173422" transform="rotate(-0 431.011317 499.173422)">200</text>+ </g>+ </g>+ <g id="xtick_6">+ <g id="line2d_11">+ <path d="M 484.584147 480.816+L 484.584147 187.488+" clip-path="url(#pc81c4c17ac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_12"/>+ <g id="text_6">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="484.584147" y="499.173422" transform="rotate(-0 484.584147 499.173422)">250</text>+ </g>+ </g>+ <g id="xtick_7">+ <g id="line2d_13">+ <path d="M 538.156976 480.816+L 538.156976 187.488+" clip-path="url(#pc81c4c17ac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_14"/>+ <g id="text_7">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="538.156976" y="499.173422" transform="rotate(-0 538.156976 499.173422)">300</text>+ </g>+ </g>+ <g id="text_8">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="382.795771" y="519.414438" transform="rotate(-0 382.795771 519.414438)">Output tokens / second</text>+ </g>+ </g>+ <g id="matplotlib.axis_2">+ <g id="ytick_1">+ <g id="line2d_15"/>+ <g id="text_9">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #162c43" x="206.72" y="233.570711" transform="rotate(-0 206.72 233.570711)">Q4_K_XL / MTP T4</text>+ </g>+ </g>+ <g id="ytick_2">+ <g id="line2d_16"/>+ <g id="text_10">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #162c43" x="206.72" y="303.410711" transform="rotate(-0 206.72 303.410711)">Q4_K_XL / no MTP</text>+ </g>+ </g>+ <g id="ytick_3">+ <g id="line2d_17"/>+ <g id="text_11">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #162c43" x="206.72" y="373.250711" transform="rotate(-0 206.72 373.250711)">Q8_0 / MTP T4</text>+ </g>+ </g>+ <g id="ytick_4">+ <g id="line2d_18"/>+ <g id="text_12">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #162c43" x="206.72" y="443.090711" transform="rotate(-0 206.72 443.090711)">Q8_0 / no MTP</text>+ </g>+ </g>+ </g>+ <g id="patch_3">+ <path d="M 216.72 205.6464+L 478.399914 205.6464+L 478.399914 226.5984+L 216.72 226.5984+z+" clip-path="url(#pc81c4c17ac)" style="fill: #9caabe"/>+ </g>+ <g id="text_13">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="484.378642" y="218.720056" transform="rotate(-0 484.378642 218.720056)">244.2</text>+ </g>+ <g id="patch_4">+ <path d="M 216.72 232.1856+L 492.710226 232.1856+L 492.710226 253.1376+L 216.72 253.1376+z+" clip-path="url(#pc81c4c17ac)" style="fill: #087f8c"/>+ </g>+ <g id="text_14">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="498.688954" y="245.259256" transform="rotate(-0 498.688954 245.259256)">257.6</text>+ </g>+ <g id="patch_5">+ <path d="M 216.72 275.4864+L 343.675121 275.4864+L 343.675121 296.4384+L 216.72 296.4384+z+" clip-path="url(#pc81c4c17ac)" style="fill: #9caabe"/>+ </g>+ <g id="text_15">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="349.653849" y="288.560056" transform="rotate(-0 349.653849 288.560056)">118.5</text>+ </g>+ <g id="patch_6">+ <path d="M 216.72 302.0256+L 355.92317 302.0256+L 355.92317 322.9776+L 216.72 322.9776+z+" clip-path="url(#pc81c4c17ac)" style="fill: #087f8c"/>+ </g>+ <g id="text_16">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="361.901898" y="315.099256" transform="rotate(-0 361.901898 315.099256)">129.9</text>+ </g>+ <g id="text_17">+ <text style="font-style: italic; font-size: 9.5px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #506176" x="222.698728" y="358.270545" transform="rotate(-0 222.698728 358.270545)">Unsupported Q8 PLE</text>+ </g>+ <g id="patch_7">+ <path d="M 216.72 371.8656+L 366.980421 371.8656+L 366.980421 392.8176+L 216.72 392.8176+z+" clip-path="url(#pc81c4c17ac)" style="fill: #087f8c"/>+ </g>+ <g id="text_18">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="372.959149" y="384.939256" transform="rotate(-0 372.959149 384.939256)">140.2</text>+ </g>+ <g id="text_19">+ <text style="font-style: italic; font-size: 9.5px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #506176" x="222.698728" y="428.110545" transform="rotate(-0 222.698728 428.110545)">Unsupported Q8 PLE</text>+ </g>+ <g id="patch_8">+ <path d="M 216.72 441.7056+L 305.232984 441.7056+L 305.232984 462.6576+L 216.72 462.6576+z+" clip-path="url(#pc81c4c17ac)" style="fill: #087f8c"/>+ </g>+ <g id="text_20">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="311.211712" y="454.779256" transform="rotate(-0 311.211712 454.779256)">82.6</text>+ </g>+ <g id="text_21">+ <text style="font-weight: 700; font-size: 13px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="216.72" y="169.488" transform="rotate(-0 216.72 169.488)">Streaming decode · higher is faster</text>+ </g>+ </g>+ <g id="axes_2">+ <g id="patch_9">+ <path d="M 638.552458 480.816+L 970.704 480.816+L 970.704 187.488+L 638.552458 187.488+z+" style="fill: #ffffff"/>+ </g>+ <g id="matplotlib.axis_3">+ <g id="xtick_8">+ <g id="line2d_19">+ <path d="M 638.552458 480.816+L 638.552458 187.488+" clip-path="url(#p0170758cac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_20"/>+ <g id="text_22">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="638.552458" y="499.173422" transform="rotate(-0 638.552458 499.173422)">0</text>+ </g>+ </g>+ <g id="xtick_9">+ <g id="line2d_21">+ <path d="M 710.759315 480.816+L 710.759315 187.488+" clip-path="url(#p0170758cac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_22"/>+ <g id="text_23">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="710.759315" y="499.173422" transform="rotate(-0 710.759315 499.173422)">5</text>+ </g>+ </g>+ <g id="xtick_10">+ <g id="line2d_23">+ <path d="M 782.966172 480.816+L 782.966172 187.488+" clip-path="url(#p0170758cac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_24"/>+ <g id="text_24">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="782.966172" y="499.173422" transform="rotate(-0 782.966172 499.173422)">10</text>+ </g>+ </g>+ <g id="xtick_11">+ <g id="line2d_25">+ <path d="M 855.173029 480.816+L 855.173029 187.488+" clip-path="url(#p0170758cac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_26"/>+ <g id="text_25">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="855.173029" y="499.173422" transform="rotate(-0 855.173029 499.173422)">15</text>+ </g>+ </g>+ <g id="xtick_12">+ <g id="line2d_27">+ <path d="M 927.379886 480.816+L 927.379886 187.488+" clip-path="url(#p0170758cac)" style="fill: none; stroke: #e4eaf0; stroke-width: 0.8; stroke-linecap: square"/>+ </g>+ <g id="line2d_28"/>+ <g id="text_26">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="927.379886" y="499.173422" transform="rotate(-0 927.379886 499.173422)">20</text>+ </g>+ </g>+ <g id="text_27">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #506176" x="804.628229" y="519.414438" transform="rotate(-0 804.628229 519.414438)">Seconds, including prefill</text>+ </g>+ </g>+ <g id="matplotlib.axis_4">+ <g id="ytick_5">+ <g id="line2d_29"/>+ </g>+ <g id="ytick_6">+ <g id="line2d_30"/>+ </g>+ <g id="ytick_7">+ <g id="line2d_31"/>+ </g>+ <g id="ytick_8">+ <g id="line2d_32"/>+ </g>+ </g>+ <g id="patch_10">+ <path d="M 638.552458 205.6464+L 712.506454 205.6464+L 712.506454 226.5984+L 638.552458 226.5984+z+" clip-path="url(#p0170758cac)" style="fill: #9caabe"/>+ </g>+ <g id="text_28">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="718.485182" y="218.720056" transform="rotate(-0 718.485182 218.720056)">5.12</text>+ </g>+ <g id="patch_11">+ <path d="M 638.552458 232.1856+L 711.103652 232.1856+L 711.103652 253.1376+L 638.552458 253.1376+z+" clip-path="url(#p0170758cac)" style="fill: #087f8c"/>+ </g>+ <g id="text_29">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="717.08238" y="245.259256" transform="rotate(-0 717.08238 245.259256)">5.02</text>+ </g>+ <g id="patch_12">+ <path d="M 638.552458 275.4864+L 744.54647 275.4864+L 744.54647 296.4384+L 638.552458 296.4384+z+" clip-path="url(#p0170758cac)" style="fill: #9caabe"/>+ </g>+ <g id="text_30">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="750.525198" y="288.560056" transform="rotate(-0 750.525198 288.560056)">7.34</text>+ </g>+ <g id="patch_13">+ <path d="M 638.552458 302.0256+L 740.462742 302.0256+L 740.462742 322.9776+L 638.552458 322.9776+z+" clip-path="url(#p0170758cac)" style="fill: #087f8c"/>+ </g>+ <g id="text_31">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="746.44147" y="315.099256" transform="rotate(-0 746.44147 315.099256)">7.06</text>+ </g>+ <g id="text_32">+ <text style="font-style: italic; font-size: 9.5px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #506176" x="644.531186" y="358.270545" transform="rotate(-0 644.531186 358.270545)">Unsupported Q8 PLE</text>+ </g>+ <g id="patch_14">+ <path d="M 638.552458 371.8656+L 876.327451 371.8656+L 876.327451 392.8176+L 638.552458 392.8176+z+" clip-path="url(#p0170758cac)" style="fill: #087f8c"/>+ </g>+ <g id="text_33">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="882.306179" y="384.939256" transform="rotate(-0 882.306179 384.939256)">16.46</text>+ </g>+ <g id="text_34">+ <text style="font-style: italic; font-size: 9.5px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #506176" x="644.531186" y="428.110545" transform="rotate(-0 644.531186 428.110545)">Unsupported Q8 PLE</text>+ </g>+ <g id="patch_15">+ <path d="M 638.552458 441.7056+L 912.776752 441.7056+L 912.776752 462.6576+L 638.552458 462.6576+z+" clip-path="url(#p0170758cac)" style="fill: #087f8c"/>+ </g>+ <g id="text_35">+ <text style="font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="918.75548" y="454.779256" transform="rotate(-0 918.75548 454.779256)">18.99</text>+ </g>+ <g id="text_36">+ <text style="font-weight: 700; font-size: 13px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="638.552458" y="169.488" transform="rotate(-0 638.552458 169.488)">Whole request · lower is faster</text>+ </g>+ </g>+ <g id="text_37">+ <text style="font-weight: 700; font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #087f8c" x="40.32" y="26.6112" transform="rotate(-0 40.32 26.6112)">COMMUNITY MEASUREMENTS / UNMODIFIED RELEASE ENGINES</text>+ </g>+ <g id="text_38">+ <text style="font-weight: 700; font-size: 29px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="40.32" y="57.456" transform="rotate(-0 40.32 57.456)">Strata 0.1.39 → 0.1.40</text>+ </g>+ <g id="text_39">+ <text style="font-size: 13px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #506176" x="40.32" y="80.4384" transform="rotate(-0 40.32 80.4384)">Q4 and Q8 on RTX PRO 6000 Blackwell · 8K input + 512 output · FP16 KV</text>+ </g>+ <g id="text_40">+ <text style="font-weight: 700; font-size: 20px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="40.32" y="115.5168" transform="rotate(-0 40.32 115.5168)">Q8 now loads natively</text>+ </g>+ <g id="text_41">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #506176" x="40.32" y="133.056" transform="rotate(-0 40.32 133.056)">Stock 0.1.39 rejects its Q8 PLE table; no patched baseline is plotted.</text>+ </g>+ <g id="text_42">+ <text style="font-weight: 700; font-size: 20px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #087f8c" x="645.12" y="115.5168" transform="rotate(-0 645.12 115.5168)">Q4 decode improves</text>+ </g>+ <g id="text_43">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #506176" x="645.12" y="133.056" transform="rotate(-0 645.12 133.056)">+5.5% MTP · +9.6% no MTP (single runs)</text>+ </g>+ <g id="text_44">+ <text style="font-weight: 700; font-size: 10px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="40.32" y="529.8048" transform="rotate(-0 40.32 529.8048)">RTX PRO 6000 Blackwell Workstation 96 GB / 400 W · Ryzen 9 7950X · 128 GB RAM</text>+ </g>+ <g id="text_45">+ <text style="font-size: 9.5px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #506176" x="40.32" y="549.1584" transform="rotate(-0 40.32 549.1584)">Single observation per configuration; model loading excluded. Existing compatibility packs used by both engines.</text>+ </g>+ <g id="text_46">+ <text style="font-size: 9.5px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #506176" x="40.32" y="567.9072" transform="rotate(-0 40.32 567.9072)">16,384-token allocation · one request · temperature 0 · ngram off · each timed request reads all 8,192 input tokens.</text>+ </g>+ <g id="text_47">+ <text style="font-size: 9.5px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #506176" x="40.32" y="586.656" transform="rotate(-0 40.32 586.656)">Release comparison, not a PLE-only ablation or an intelligence benchmark. Token checks and limitations are in the report.</text>+ </g>+ <g id="legend_1">+ <g id="patch_16">+ <path d="M 801.265 38.821481+L 823.265 38.821481+L 823.265 31.121481+L 801.265 31.121481+z+" style="fill: #9caabe; stroke: #9caabe; stroke-linejoin: miter"/>+ </g>+ <g id="text_48">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="832.065" y="38.821481" transform="rotate(-0 832.065 38.821481)">v0.1.39</text>+ </g>+ <g id="patch_17">+ <path d="M 895.5625 38.821481+L 917.5625 38.821481+L 917.5625 31.121481+L 895.5625 31.121481+z+" style="fill: #087f8c; stroke: #087f8c; stroke-linejoin: miter"/>+ </g>+ <g id="text_49">+ <text style="font-size: 11px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #162c43" x="926.3625" y="38.821481" transform="rotate(-0 926.3625 38.821481)">v0.1.40</text>+ </g>+ </g>+ </g>+ <defs>+ <clipPath id="pc81c4c17ac">+ <rect x="216.72" y="187.488" width="332.151542" height="293.328"/>+ </clipPath>+ <clipPath id="p0170758cac">+ <rect x="638.552458" y="187.488" width="332.151542" height="293.328"/>+ </clipPath>+ </defs>+</svg>diff --git a/bench/results/2026-10-06-community-rtxpro-v0140/plan.example.json b/bench/results/2026-10-06-community-rtxpro-v0140/plan.example.jsonnew file mode 100644index 000000000..64c7d26c3--- /dev/null+++ b/bench/results/2026-10-06-community-rtxpro-v0140/plan.example.json@@ -0,0 +1,187 @@+{+ "release_commit": "1cbcacbcae2953f3be9edc46369f0c875bc6ab8b",+ "python": "$HOME/src/Strata/.venv/bin/python",+ "client_source": "$HOME/fleet-downloads/q8-pdl-branches-20261005/source",+ "engines": {+ "stock": "$HOME/strata-release-builds/v0.1.39/build/strata",+ "release": "$HOME/strata-release-builds/v0.1.40/build/strata"+ },+ "models": {+ "q4": {+ "native": "$HOME/models/qwen38-flash-next-unsloth-gguf/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf",+ "pack": "$HOME/fleet-downloads/q4-strata-0134-llm60/pack-ud-q4-k-xl",+ "args": [+ "--pack",+ "$HOME/fleet-downloads/q4-strata-0134-llm60/pack-ud-q4-k-xl",+ "--native",+ "$HOME/models/qwen38-flash-next-unsloth-gguf/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf",+ "--mmap-experts",+ "--expert-cache",+ "24576",+ "--expert-profile",+ "$HOME/fleet-downloads/q8-pdl-branches-20261005/source/data/expert-profile.bin",+ "--adapt-every",+ "0",+ "--pcie-frac",+ "-1",+ "--spec",+ "8",+ "--mtp",+ "$HOME/Strata-data/mtp/rt",+ "--suffix-draft",+ "0",+ "--kv",+ "fp16",+ "--prompt-cache",+ "0",+ "--conversation-cache-mib",+ "0",+ "--prefill",+ "1024",+ "--no-prefill-borrow",+ "--vram-reserve-mib",+ "2048",+ "--ple-io",+ "ram",+ "--ple-row-cache",+ "1048576",+ "--eos-ids",+ "2147483647",+ "--stats",+ "--spec-min-p",+ "0.5"+ ]+ },+ "q8": {+ "native": "$HOME/models/qwen38-flash-next-unsloth-gguf/Q8_0/Qwen3.8-Flash-Next-Q8_0-00001-of-00006.gguf",+ "pack": "$HOME/fleet-downloads/q8-ple-prototype-2be5cf1/pack-q8",+ "args": [+ "--pack",+ "$HOME/fleet-downloads/q8-ple-prototype-2be5cf1/pack-q8",+ "--native",+ "$HOME/models/qwen38-flash-next-unsloth-gguf/Q8_0/Qwen3.8-Flash-Next-Q8_0-00001-of-00006.gguf",+ "--expert-cache",+ "15472",+ "--expert-profile",+ "$HOME/fleet-downloads/q8-pdl-branches-20261005/source/data/expert-profile.bin",+ "--adapt-every",+ "4",+ "--adapt-swaps",+ "96",+ "--adapt-decay",+ "0.7",+ "--pcie-frac",+ "-1",+ "--spec",+ "8",+ "--mtp",+ "$HOME/Strata-data/mtp/rt",+ "--suffix-draft",+ "0",+ "--kv",+ "fp16",+ "--prompt-cache",+ "0",+ "--conversation-cache-mib",+ "0",+ "--prefill",+ "1024",+ "--no-prefill-borrow",+ "--vram-reserve-mib",+ "2048",+ "--ple-io",+ "ram",+ "--ple-row-cache",+ "1048576",+ "--eos-ids",+ "2147483647",+ "--stats",+ "--spec-min-p",+ "0.5"+ ]+ }+ },+ "task": "Write a complete Python module implementing a thread-safe priority task queue with cancellation, timeouts and deterministic tests using unittest. Include the full code and tests. Do not discuss the archived notes.",+ "cases": [+ {+ "label": "q4-mtp-stock",+ "model": "q4",+ "build": "stock",+ "mtp_t": 4+ },+ {+ "label": "q4-mtp-release",+ "model": "q4",+ "build": "release",+ "mtp_t": 4+ },+ {+ "label": "q4-nomtp-stock",+ "model": "q4",+ "build": "stock",+ "mtp_t": 1+ },+ {+ "label": "q4-nomtp-release",+ "model": "q4",+ "build": "release",+ "mtp_t": 1+ },+ {+ "label": "q8-mtp-stock",+ "model": "q8",+ "build": "stock",+ "mtp_t": 4+ },+ {+ "label": "q8-mtp-release",+ "model": "q8",+ "build": "release",+ "mtp_t": 4+ },+ {+ "label": "q8-nomtp-stock",+ "model": "q8",+ "build": "stock",+ "mtp_t": 1+ },+ {+ "label": "q8-nomtp-release",+ "model": "q8",+ "build": "release",+ "mtp_t": 1+ },+ {+ "label": "q4-ngram-release",+ "model": "q4",+ "build": "release",+ "mtp_t": 1,+ "ngram": true,+ "lookup_chain": 0+ },+ {+ "label": "q4-mtp-ngram-release",+ "model": "q4",+ "build": "release",+ "mtp_t": 4,+ "ngram": true,+ "lookup_chain": 4+ },+ {+ "label": "q8-ngram-release",+ "model": "q8",+ "build": "release",+ "mtp_t": 1,+ "ngram": true,+ "lookup_chain": 0+ },+ {+ "label": "q8-mtp-ngram-release",+ "model": "q8",+ "build": "release",+ "mtp_t": 4,+ "ngram": true,+ "lookup_chain": 4+ }+ ]+}diff --git a/bench/results/2026-10-06-community-rtxpro-v0140/plot-ngram.py b/bench/results/2026-10-06-community-rtxpro-v0140/plot-ngram.pynew file mode 100644index 000000000..55ae6a91d--- /dev/null+++ b/bench/results/2026-10-06-community-rtxpro-v0140/plot-ngram.py@@ -0,0 +1,68 @@+"""Plot native 0.1.40 decoding policies from results.csv; requires matplotlib."""+import csv+from pathlib import Path++import matplotlib+matplotlib.use("Agg")+import matplotlib.pyplot as plt++ROOT = Path(__file__).resolve().parent+rows = list(csv.DictReader((ROOT / "results.csv").open(encoding="utf-8", newline="")))+policies = [("nomtp", "No speculation", "#9caabe"),+ ("mtp", "MTP T4", "#087f8c"),+ ("ngram", "Ngram only", "#d28b35"),+ ("mtp-ngram", "MTP + ngram", "#765ca8")]+ink, muted, grid = "#162c43", "#506176", "#e4eaf0"+plt.rcParams.update({"font.family": "DejaVu Sans", "font.size": 11,+ "text.color": ink, "axes.labelcolor": muted,+ "xtick.color": muted, "ytick.color": ink,+ "axes.spines.top": False, "axes.spines.right": False,+ "axes.spines.left": False, "axes.spines.bottom": False,+ "svg.fonttype": "none", "svg.hashsalt": "rtxpro-v0140-ngram"})+fig = plt.figure(figsize=(14, 11.5), facecolor="#f7f9fc")+fig.text(.04, .961, "COMMUNITY MEASUREMENTS / UNMODIFIED STRATA 0.1.40",+ fontsize=10, fontweight="bold", color="#087f8c")+fig.text(.04, .914, "Four decoding paths on RTX PRO 6000", fontsize=27, fontweight="bold")+fig.text(.04, .877, "8K actual input + 512 output · One request · FP16 KV · 16K allocation",+ fontsize=13, color=muted)+gs = fig.add_gridspec(2, 2, left=.17, right=.962, bottom=.19, top=.78,+ hspace=.85, wspace=.55)+for col, (quant, name) in enumerate([("q4", "Unsloth Q4_K_XL"), ("q8", "Unsloth Q8_0")]):+ data = {}+ for mode, _, _ in policies:+ matches = [r for r in rows if r["version"] == "v0.1.40" and+ r["quant"] == quant and r["mode"] == mode]+ assert len(matches) == 1 and matches[0]["status"] == "completed"+ data[mode] = matches[0]+ for row, (metric, title, unit) in enumerate([+ ("decode_tok_s", "Streaming decode · higher is faster", "Committed output tokens / second"),+ ("total_seconds", "Whole request · lower is faster", "Seconds, including prefill")]):+ ax = fig.add_subplot(gs[row, col], facecolor="white")+ ax.set_title(name + "\n" + title, loc="left", fontsize=13,+ fontweight="bold", pad=16, linespacing=1.5)+ values = [float(data[mode][metric]) for mode, _, _ in policies]+ limit = max(values)*1.22+ for i, ((mode, label, color), value) in enumerate(zip(policies, values)):+ ax.barh(i, value, height=.52, color=color, zorder=3)+ ax.text(value+limit*.02, i, f"{value:.1f}" if row == 0 else f"{value:.2f}",+ va="center", fontsize=11)+ ax.set_yticks(range(4), [label for _, label, _ in policies])+ ax.set_ylim(3.6, -.6)+ ax.set_xlim(0, limit)+ ax.tick_params(axis="both", length=0, pad=9)+ ax.set_axisbelow(True)+ ax.grid(axis="x", color=grid, linewidth=.8)+ ax.set_xlabel(unit, fontsize=10, labelpad=9)+fig.text(.04, .104, "RTX PRO 6000 Blackwell Workstation 96 GB / 400 W · Ryzen 9 7950X · 128 GB RAM",+ fontsize=10, fontweight="bold")+fig.text(.04, .076, "Native 0.1.40 engine; one observation per path. Model loading excluded; existing compatibility packs.",+ fontsize=9.5, color=muted)+fig.text(.04, .048, "Ngram: suffix match ≥3, verifier up to T8. Combined: MTP T4 + suffix lookup + up to 4 chained lookup drafts.",+ fontsize=9.5, color=muted)+fig.text(.04, .021, "Q4 token streams matched. Q8 ngram paths first differ at output token 4; cause unresolved. Draft counts are in the report.",+ fontsize=9.5, color=muted)+for ext in ["png", "svg"]:+ fig.savefig(ROOT / f"ngram.{ext}", dpi=180, facecolor=fig.get_facecolor(),+ metadata={"Date": None} if ext == "svg" else None)+svg = ROOT / "ngram.svg"+svg.write_text("\n".join(line.rstrip() for line in svg.read_text().splitlines()) + "\n")diff --git a/bench/results/2026-10-06-community-rtxpro-v0140/plot.py b/bench/results/2026-10-06-community-rtxpro-v0140/plot.pynew file mode 100644index 000000000..db992abfb--- /dev/null+++ b/bench/results/2026-10-06-community-rtxpro-v0140/plot.py@@ -0,0 +1,83 @@+"""Render the recorded release comparison; requires matplotlib, no GPU."""+import csv+from pathlib import Path++import matplotlib+matplotlib.use("Agg")+import matplotlib.pyplot as plt+from matplotlib.patches import Patch++ROOT = Path(__file__).resolve().parent+rows = list(csv.DictReader((ROOT / "results.csv").open(encoding="utf-8", newline="")))+groups = [("q4", "mtp", "Q4_K_XL / MTP T4"),+ ("q4", "nomtp", "Q4_K_XL / no MTP"),+ ("q8", "mtp", "Q8_0 / MTP T4"),+ ("q8", "nomtp", "Q8_0 / no MTP")]+colors = {"v0.1.39": "#9caabe", "v0.1.40": "#087f8c"}+ink, muted, grid = "#162c43", "#506176", "#e4eaf0"+plt.rcParams.update({"font.family": "DejaVu Sans", "font.size": 11,+ "text.color": ink, "axes.labelcolor": muted,+ "xtick.color": muted, "ytick.color": ink,+ "axes.spines.top": False, "axes.spines.right": False,+ "axes.spines.left": False, "axes.spines.bottom": False,+ "svg.fonttype": "none", "svg.hashsalt": "rtxpro-v0140"})+fig = plt.figure(figsize=(14, 8.4), facecolor="#f7f9fc")+fig.text(.04, .956, "COMMUNITY MEASUREMENTS / UNMODIFIED RELEASE ENGINES",+ fontsize=10, fontweight="bold", color=colors["v0.1.40"])+fig.text(.04, .905, "Strata 0.1.39 → 0.1.40", fontsize=29, fontweight="bold")+fig.text(.04, .867, "Q4 and Q8 on RTX PRO 6000 Blackwell · 8K input + 512 output · FP16 KV",+ fontsize=13, color=muted)+fig.text(.04, .809, "Q8 now loads natively", fontsize=20, fontweight="bold")+fig.text(.04, .780, "Stock 0.1.39 rejects its Q8 PLE table; no patched baseline is plotted.",+ fontsize=11, color=muted)+fig.text(.64, .809, "Q4 decode improves", fontsize=20, fontweight="bold",+ color=colors["v0.1.40"])+gains = []+for mode in ["mtp", "nomtp"]:+ values = {r["version"]: float(r["decode_tok_s"]) for r in rows+ if r["quant"] == "q4" and r["mode"] == mode}+ gains.append(100 * (values["v0.1.40"] / values["v0.1.39"] - 1))+fig.text(.64, .780, f"+{gains[0]:.1f}% MTP · +{gains[1]:.1f}% no MTP (single runs)",+ fontsize=11, color=muted)+fig.legend(handles=[Patch(color=colors[v], label=v) for v in colors],+ loc="upper right", bbox_to_anchor=(.97, .966), frameon=False, ncol=2)+gs = fig.add_gridspec(1, 2, left=.215, right=.963, bottom=.205, top=.690, wspace=.27)+for col, (metric, title, unit, limit) in enumerate([+ ("decode_tok_s", "Streaming decode · higher is faster", "Output tokens / second", 310),+ ("total_seconds", "Whole request · lower is faster", "Seconds, including prefill", 23)]):+ ax = fig.add_subplot(gs[0, col], facecolor="white")+ ax.set_title(title, loc="left", fontsize=13, fontweight="bold", pad=18)+ for i, (quant, mode, _) in enumerate(groups):+ for version, offset in [("v0.1.39", -.19), ("v0.1.40", .19)]:+ match = [r for r in rows if r["quant"] == quant and r["mode"] == mode+ and r["version"] == version]+ assert len(match) == 1+ row = match[0]+ if row["status"] != "completed":+ ax.text(limit*.018, i+offset, "Unsupported Q8 PLE", va="center",+ color=muted, fontsize=9.5, fontstyle="italic")+ continue+ value = float(row[metric])+ ax.barh(i+offset, value, height=.30, color=colors[version], zorder=3)+ label = f"{value:.1f}" if col == 0 else f"{value:.2f}"+ ax.text(value+limit*.018, i+offset, label, va="center", fontsize=10)+ ax.set_yticks(range(4), [g[2] for g in groups] if col == 0 else [""]*4)+ ax.tick_params(axis="both", length=0, pad=10)+ ax.set_ylim(3.6, -.6)+ ax.set_xlim(0, limit)+ ax.set_axisbelow(True)+ ax.grid(axis="x", color=grid, linewidth=.8)+ ax.set_xlabel(unit, fontsize=10, labelpad=10)+fig.text(.04, .124, "RTX PRO 6000 Blackwell Workstation 96 GB / 400 W · Ryzen 9 7950X · 128 GB RAM",+ fontsize=10, fontweight="bold")+fig.text(.04, .092, "Single observation per configuration; model loading excluded. Existing compatibility packs used by both engines.",+ fontsize=9.5, color=muted)+fig.text(.04, .061, "16,384-token allocation · one request · temperature 0 · ngram off · each timed request reads all 8,192 input tokens.",+ fontsize=9.5, color=muted)+fig.text(.04, .030, "Release comparison, not a PLE-only ablation or an intelligence benchmark. Token checks and limitations are in the report.",+ fontsize=9.5, color=muted)+for ext in ["png", "svg"]:+ fig.savefig(ROOT / f"overview.{ext}", dpi=180, facecolor=fig.get_facecolor(),+ metadata={"Date": None} if ext == "svg" else None)+svg = ROOT / "overview.svg"+svg.write_text("\n".join(line.rstrip() for line in svg.read_text().splitlines()) + "\n")diff --git a/bench/results/2026-10-06-community-rtxpro-v0140/replay.py b/bench/results/2026-10-06-community-rtxpro-v0140/replay.pynew file mode 100644index 000000000..0243e4150--- /dev/null+++ b/bench/results/2026-10-06-community-rtxpro-v0140/replay.py@@ -0,0 +1,151 @@+"""Replay one recorded release case. Edit plan.json paths before running."""+from pathlib import Path+import ast+import hashlib+import json+import os+import re+import sys+import threading+import time++ROOT = Path(__file__).resolve().parent+def expand_paths(value):+ if isinstance(value, str):+ return os.path.expandvars(value)+ if isinstance(value, list):+ return [expand_paths(v) for v in value]+ if isinstance(value, dict):+ return {k: expand_paths(v) for k, v in value.items()}+ return value+++PLAN = expand_paths(json.loads((ROOT / 'plan.json').read_text()))+CASE = next(c for c in PLAN['cases'] if c['label'] == sys.argv[1])+source = Path(PLAN['client_source'])+sys.path[:0] = [str(source), str(source / 'tools')]+from serve.server import StrataEngine+from serve.frontend import ChatTemplate+from strata_tokenizer import Tokenizer++model = PLAN['models'][CASE['model']]+tokenizer = Tokenizer.from_gguf(model['native'])+template = ChatTemplate(Path(model['pack']) / 'tokenizer/chat_template.jinja')+OUT = ROOT / CASE['label']+OUT.mkdir(exist_ok=False)+report = {'case': CASE, 'completed': False, 'started_unix': time.time()}+++def save():+ temp = OUT / 'result.tmp'+ temp.write_text(json.dumps(report, indent=2) + '\n')+ temp.replace(OUT / 'result.json')+++def render(text):+ return template.render([{'role': 'user', 'content': text}], enable_thinking=False)+++def generate(engine, ids, limit):+ tokens = []+ start = time.monotonic()+ first = None+ for token in engine.generate(ids, limit, {'temperature': 0}, threading.Event()):+ if token is not None:+ tokens.append(token)+ if first is None:+ first = time.monotonic() - start+ timing = dict(engine.last)+ return dict(token_ids=tokens, output_tokens=len(tokens), timings=timing,+ wall_seconds=time.monotonic() - start, ttft_seconds=first,+ decode_tok_s=len(tokens) * 1000 / timing['decode_ms'],+ effective_tok_s=len(tokens) * 1000 / (timing['prompt_ms'] + timing['decode_ms']),+ text=tokenizer.decode(tokens))+++def check_function(text):+ blocks = re.findall(r'```(?:python)?\s*\n(.*?)```', text, re.S)+ candidate = blocks[0] if blocks else text+ if not blocks:+ match = re.search(r'(?m)^def triangular\(', candidate)+ if match:+ candidate = candidate[match.start():]+ candidate = '\n'.join(candidate.splitlines()[:8])+ tree = ast.parse(candidate)+ functions = [n for n in tree.body if isinstance(n, ast.FunctionDef) and n.name == 'triangular']+ assert len(functions) == 1, 'Missing triangular function'+ function = functions[0]+ allowed = (ast.FunctionDef, ast.arguments, ast.arg, ast.Return, ast.BinOp,+ ast.Name, ast.Load, ast.Constant, ast.Mult, ast.Add, ast.FloorDiv,+ ast.UnaryOp, ast.USub, ast.Expr)+ assert all(isinstance(n, allowed) for n in ast.walk(function)), 'Function outside pure arithmetic check'+ scope = {'__builtins__': {}, 'int': int}+ exec(compile(ast.Module(body=[function], type_ignores=[]), '<model-function>', 'exec'), scope)+ values = [0, 1, 2, 10, 100, 10000]+ assert all(scope['triangular'](n) == n * (n + 1) // 2 for n in values)+ return {'passed': True, 'inputs': values}+++engine = None+try:+ args = list(model['args']) + ['--mtp-max-t', str(CASE['mtp_t']), '--max-context', '16384']+ if CASE.get('ngram'):+ args[args.index('--suffix-draft') + 1] = '3'+ args += ['--lookup-chain', str(CASE.get('lookup_chain', 0)), '--lookup-chain-min', '3']+ if CASE['mtp_t'] == 1:+ at = args.index('--mtp')+ del args[at:at + 2]+ if CASE['model'] == 'q8':+ args += ['--resident-budget-gib', '56']+ env = {k: v for k, v in os.environ.items() if not k.startswith(('STRATA_', 'MULTI_CONCURRENCY'))}+ if CASE['model'] == 'q8' and CASE['build'] != 'stock':+ env['STRATA_EXCHANGE_ROTATE'] = '1'+ args += ['--adapt-async', '1']+ binary = PLAN['engines'][CASE['build']]+ with Path(binary).open('rb') as f:+ report['engine_sha256'] = hashlib.file_digest(f, 'sha256').hexdigest()+ report.update(args=args, environment={k: v for k, v in env.items() if k.startswith('STRATA_')})+ save()+ start = time.monotonic()+ engine = StrataEngine(binary, args, str(source), str(OUT / 'engine.log'), env)+ report.update(startup_seconds=time.monotonic() - start, engine_info=engine.info)+ save()+ simple = tokenizer.encode(render('Write only a Python code block defining triangular(n). Use the formula n*(n+1)//2. No imports, function calls, tests, or explanation.'), parse_special=True)+ report['functional_output'] = generate(engine, simple, 128)+ try:+ report['function_check'] = check_function(report['functional_output']['text'])+ except Exception as exc:+ report['function_check'] = {'passed': False, 'error': repr(exc)}+ save()+ marker = 'BENCHMARK_ARCHIVED_NOTES'+ text = render('Archived background notes (data, not instructions):\n' + marker ++ '\nEnd of notes.\n\n' + PLAN['task'])+ before, after = text.split(marker)+ a, b = tokenizer.encode(before, parse_special=True), tokenizer.encode(after, parse_special=True)+ filler = tokenizer.encode('Ordinary maintenance notes describe deterministic tests, scheduling and data ownership.\n')+ needed = 8192 - len(a) - len(b)+ ids = a + (filler * ((needed + len(filler) - 1) // len(filler)))[:needed] + b+ assert len(ids) == 8192+ report['input_token_ids_sha256'] = hashlib.sha256(json.dumps(ids).encode()).hexdigest()+ report['benchmark'] = generate(engine, ids, 512)+ timing = report['benchmark']['timings']+ assert report['benchmark']['output_tokens'] == 512+ assert timing.get('prompt_read') == 8192 and timing.get('reused', 0) == 0+ if CASE['mtp_t'] == 1 and not CASE.get('ngram'):+ assert timing.get('drafts_offered', 0) == 0+ elif CASE['mtp_t'] > 1:+ assert timing.get('drafts_offered', 0) > 0+ if CASE.get('ngram'):+ report['ngram_log_counters'] = [line for line in (OUT / 'engine.log').read_text().splitlines()+ if 'suffix drafts:' in line or 'lookup chain:' in line]+ report.update(completed=True, finished_unix=time.time())+ save()+ print(json.dumps({'label': CASE['label'], 'function_check': report['function_check'],+ 'decode': report['benchmark']['decode_tok_s'], 'effective': report['benchmark']['effective_tok_s']}), flush=True)+except BaseException as exc:+ report.update(error=repr(exc), finished_unix=time.time())+ save()+ raise+finally:+ if engine is not None:+ engine.close()diff --git a/bench/results/2026-10-06-community-rtxpro-v0140/results.csv b/bench/results/2026-10-06-community-rtxpro-v0140/results.csvnew file mode 100644index 000000000..ee5bece85--- /dev/null+++ b/bench/results/2026-10-06-community-rtxpro-v0140/results.csv@@ -0,0 +1,13 @@+version,quant,mode,status,input_tokens,output_tokens,prompt_ms,decode_ms,decode_tok_s,effective_tok_s,total_seconds,ttft_seconds,drafts_accepted,drafts_offered,function_check+v0.1.39,q4,mtp,completed,8192,512,3023.1,2096.4,244.22820072505246,100.00976657876745,5.120981534011662,3.0323970660101622,346,424,True+v0.1.40,q4,mtp,completed,8192,512,3034.6,1987.7,257.5841424762288,101.945323855604,5.023843814036809,3.0434761680080555,346,424,True+v0.1.39,q4,nomtp,completed,8192,512,3017.2,4321.1,118.48834787438383,69.77092787157788,7.339608484006021,3.026381294010207,0,0,True+v0.1.40,q4,nomtp,completed,8192,512,3114.9,3940.9,129.91956152147986,72.5644150911307,7.056828702974599,3.123662938014604,0,0,True+v0.1.39,q8,mtp,unsupported_ple,,,,,,,,,,,+v0.1.40,q8,mtp,completed,8192,512,12812.5,3650.9,140.23939302637706,31.09928690306984,16.46484855300514,12.823111690988299,358,414,True+v0.1.39,q8,nomtp,unsupported_ple,,,,,,,,,,,+v0.1.40,q8,nomtp,completed,8192,512,12789.8,6197.8,82.60995837232566,26.964966609787442,18.98879869899247,12.800703565008007,0,0,True+v0.1.40,q4,ngram,completed,8192,512,2990.4,3825.4,133.8422125790767,75.1195751049033,6.816909138055053,2.9992729180376045,33,109,True+v0.1.40,q4,mtp-ngram,completed,8192,512,3016.9,2004.5,255.42529309054626,101.9635958099335,5.022843331971671,3.0257060030126013,347,437,True+v0.1.40,q8,ngram,completed,8192,512,12782.4,6271.9,81.633954623001,26.870575145767624,19.055569492047653,12.79665108100744,6,36,True+v0.1.40,q8,mtp-ngram,completed,8192,512,12760.8,3827.0,133.78625555265222,30.866058187342507,16.58924326102715,12.77583693905035,348,430,Truediff --git a/bench/results/COMMUNITY.md b/bench/results/COMMUNITY.mdindex fd3de3dc7..4f4df59c2 100644--- a/bench/results/COMMUNITY.md+++ b/bench/results/COMMUNITY.md@@ -75,3 +75,4 @@ Notes:- #995 also changed the canonical `2026-09-29-speed-0126` report (matrix.json rewritten, README extended with another host's rows); that part was not ported, only the two new folders.- #777 and #811 are the same machine on two quants, kept as two folders.- The earlier community folders (`2026-09-30-community-rtx-5090`, `2026-10-03-community-2x-mi50`, `2026-10-04-community-2x-arc-pro-b60`) are listed in `docs/COMMUNITY_BENCHMARKS.md`.+| [2026-10-06-community-rtxpro-v0140](2026-10-06-community-rtxpro-v0140/) | RTX PRO 6000 | Q4 / Q8 (MTP and ngram runs) | see the README | see the README | 0.1.40 | #1137 |