[GH-ISSUE #2197] [Engine] Turing (sm_75): make the STRATA_SM75_PERF series the default, with expert mode 8 for i-quant packs #875

Open
opened 2026-11-04 01:46:39 +07:00 by bsakaguchi · 47 comments
Owner

Originally created by @rafatxf on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2197

Area

[Engine] (speed, kernels, models, the server and API)

What do you want to do?

Make the Turing (sm_75, RTX 20 / Quadro RTX) kernel series a default on 7.5 cards, the way 0.2.0 did for sm_86 and sm_60. That means STRATA_SM75_PERF=1, whose kernels give answers equivalent to the ones they replace. Inside it, use the grouped-expert layout that fits each pack:

  • mode 4 (STRATA_SM75_EXP) only for the Q2_0 pack;
  • mode 8 for the i-quant packs (IQ2_XS / IQ3_XXS / IQ3_S).

This is for people running Strata on RTX 20 cards. Today they get the slower generic path unless they find the switch in docs/DETAILS.md.

What do you do today instead?

I set STRATA_SM75_PERF=1, plus STRATA_EXP_MODE=8 on the IQ3 packs, in the model config's env by hand. Five other sm_75 owners in this thread do the same.

Environment

Strata v0.2.0-beta (3d1fb480, engine 0.1.45.3), source build with CMAKE_CUDA_ARCHITECTURES=75. Two RTX 2080 Ti 22 GB with NVLink (NV2), layer split, i7-6700, 56 GB DDR4-2133, Ubuntu, CUDA 13.0, driver 595.99.02. Qwen3.8-Flash-Next GSQ-RCO Q2_0 and IQ3_S native packs.

Evidence

The re-test on 0.2.0-beta is in the comment below. Earlier in this thread:

  • 6 sm_75 setups measured STRATA_SM75_PERF=1, with gains between +1.5 % and +23 % depending on pack and depth, and no errors in a 60-minute soak.
  • 5 setups compared expert modes on IQ3 packs: mode 8 is the fastest (+2.7 % to +12.3 % single-stream decode over mode 4).
  • On engine 0.1.54 (the one 0.2.8 ships), @Adamyno's paired A/B/C on 3× 2080 Ti, IQ3_S (tools/ab_engine.py, 3 alternating rounds, greedy, matched token counts): the series alone +7.3 % decode, mode 8 on top +12.3 %, both together +21.3 %, 12/12 pairs positive in every comparison; prefill +4.3 %.
  • @Adamyno's tools/quant_quality.py run shows modes 0, 4 and 8 are value-identical on an IQ3_S pack: 4,995 positions, 100 % top-1, KL 0.
  • What "equivalent" means: the series rounds differently in places. Where two answers are almost tied, it can pick the other equally good one; elsewhere the text is unchanged.
    • IQ3_S, byte-identical on three boxes: @yusheng227507's exact-comparison recipe (8/8 prompts), @Adamyno's on a third CPU class (15 prompts; series-vs-reference byte-identical 15/15; 12 of 15 identical across all four arms, the other 3 arm-C-only), and my own checks (KL 0, the same drafts).
    • Q2_0, byte-identical on two boxes: @Adamyno's (15 prompts × 5 arms; series + fused prefill identical on every measurable prompt; 11 of 15 identical across all arms, 3 arm-C-only, 1 null at 512 → byte-identical at 2048) and mine.
    • IQ3_XXS: on engine 0.1.46.3, two near-tie prompts out of eight moved on @yusheng227507's box (their per-switch screen shows that no single sub-switch causes it). On 0.1.47 the same box gives 12/12 byte-identical across A/B/C/M8 with a wider prompt set; the former flip prompts now resolve to the same text in every arm. @atmJava's box (Xeon E5-2680 v4, 0.1.47) gives the same answer for =0 and =1 in the docs/BATCHING.md gate config, 9 of 10 runs; the exception was one first request after a restart that did not reproduce (cause open). On a native pack the gate measures a spec window: --spec cannot be turned off.
    • Expert mode 8: byte-identical to the default wherever it was compared.
    • The near-tie changes in the comparisons came from STRATA_BF16_TC and STRATA_PA_V2T, separate numerics opt-ins outside the series (as sm75_series.hpp lists them).
  • STRATA_SIDE_MIXER=2 is not part of this proposal. On a layer split it crashed the engine on long contexts (reproduced in the thread).

Reproduction status: Measured locally (my numbers). The other rigs' results are their own reports in this thread.


History: this issue first tracked the sm_75 PRs (#2069-#2072, #2091-#2093, #2145, #2146, #2220-#2222). All of them were ported into 0.1.45 behind STRATA_SM75_PERF, and #2223 was closed.

Originally created by @rafatxf on GitHub (Oct 13, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2197 ### Area [Engine] (speed, kernels, models, the server and API) ### What do you want to do? Make the Turing (sm_75, RTX 20 / Quadro RTX) kernel series a default on 7.5 cards, the way 0.2.0 did for sm_86 and sm_60. That means `STRATA_SM75_PERF=1`, whose kernels give answers equivalent to the ones they replace. Inside it, use the grouped-expert layout that fits each pack: - mode 4 (`STRATA_SM75_EXP`) only for the Q2_0 pack; - mode 8 for the i-quant packs (IQ2_XS / IQ3_XXS / IQ3_S). This is for people running Strata on RTX 20 cards. Today they get the slower generic path unless they find the switch in docs/DETAILS.md. ### What do you do today instead? I set `STRATA_SM75_PERF=1`, plus `STRATA_EXP_MODE=8` on the IQ3 packs, in the model config's `env` by hand. Five other sm_75 owners in this thread do the same. ### Environment Strata v0.2.0-beta (3d1fb480, engine 0.1.45.3), source build with `CMAKE_CUDA_ARCHITECTURES=75`. Two RTX 2080 Ti 22 GB with NVLink (NV2), layer split, i7-6700, 56 GB DDR4-2133, Ubuntu, CUDA 13.0, driver 595.99.02. Qwen3.8-Flash-Next GSQ-RCO Q2_0 and IQ3_S native packs. ### Evidence The re-test on 0.2.0-beta is in the comment below. Earlier in this thread: - 6 sm_75 setups measured `STRATA_SM75_PERF=1`, with gains between +1.5 % and +23 % depending on pack and depth, and no errors in a 60-minute soak. - 5 setups compared expert modes on IQ3 packs: mode 8 is the fastest (+2.7 % to +12.3 % single-stream decode over mode 4). - **On engine 0.1.54 (the one 0.2.8 ships)**, @Adamyno's paired A/B/C on 3× 2080 Ti, IQ3_S (`tools/ab_engine.py`, 3 alternating rounds, greedy, matched token counts): the series alone **+7.3 %** decode, mode 8 on top **+12.3 %**, both together **+21.3 %**, 12/12 pairs positive in every comparison; prefill +4.3 %. - @Adamyno's `tools/quant_quality.py` run shows modes 0, 4 and 8 are value-identical on an IQ3_S pack: 4,995 positions, 100 % top-1, KL 0. - What "equivalent" means: the series rounds differently in places. Where two answers are almost tied, it can pick the other equally good one; elsewhere the text is unchanged. - **IQ3_S, byte-identical on three boxes:** @yusheng227507's exact-comparison recipe (8/8 prompts), @Adamyno's on a third CPU class (15 prompts; series-vs-reference byte-identical 15/15; 12 of 15 identical across all four arms, the other 3 arm-C-only), and my own checks (KL 0, the same drafts). - **Q2_0, byte-identical on two boxes:** @Adamyno's (15 prompts × 5 arms; series + fused prefill identical on every measurable prompt; 11 of 15 identical across all arms, 3 arm-C-only, 1 null at 512 → byte-identical at 2048) and mine. - **IQ3_XXS:** on engine 0.1.46.3, two near-tie prompts out of eight moved on @yusheng227507's box (their per-switch screen shows that no single sub-switch causes it). On **0.1.47** the same box gives **12/12 byte-identical** across A/B/C/M8 with a wider prompt set; the former flip prompts now resolve to the same text in every arm. @atmJava's box (Xeon E5-2680 v4, 0.1.47) gives the same answer for `=0` and `=1` in the `docs/BATCHING.md` gate config, 9 of 10 runs; the exception was one first request after a restart that did not reproduce (cause open). On a native pack the gate measures a spec window: `--spec` cannot be turned off. - **Expert mode 8:** byte-identical to the default wherever it was compared. - The near-tie changes in the comparisons came from `STRATA_BF16_TC` and `STRATA_PA_V2T`, separate numerics opt-ins outside the series (as `sm75_series.hpp` lists them). - `STRATA_SIDE_MIXER=2` is not part of this proposal. On a layer split it crashed the engine on long contexts (reproduced in the thread). Reproduction status: Measured locally (my numbers). The other rigs' results are their own reports in this thread. --- History: this issue first tracked the sm_75 PRs (#2069-#2072, #2091-#2093, #2145, #2146, #2220-#2222). All of them were ported into 0.1.45 behind `STRATA_SM75_PERF`, and #2223 was closed.
Author
Owner

@rafatxf commented on GitHub (Oct 13, 2026):

Four more, all decode, from a kernel-node profile of the verify windows on the same card (each stands alone on main a0116b27; the four together build cleanly and pass qsa_prompt_attn_parity):

PR what bitwise vs today on by default?
#2220 QSA decode attention for INT8 KV: the query slice in registers, reduce12, cell-major probabilities (kernel 1.5-4.1×) yes Turing default, STRATA_ATTN_V3=0 off
#2221 Q2_0 matvec with one warp per four rows (QSA attn_q and the shared expert; kernel 1.5-2.4×) yes Turing default, STRATA_Q2_WARP=0 off
#2222 two fewer launches per layer: the plan's flag wait folded into its copy, fused q8_1 quantize + interleave yes Turing default, STRATA_FUSE_WAIT / STRATA_QIL
#2223 STRATA_NO_PCIE_GROUP=1: with --pcie-frac 0 the window graph drops the PCIe-share stage that only ever sees zero groups n/a opt-in

Engine, 512 new tokens, two runs each, on top of the PRs above: #2220 + #2221 Spanish chat 86.0 → 87.8 t/s, code 103.1 → 106.1, 32K 75.3 → 78.4; #2223 another +2.2-2.4 % (32K-128K, +0.6 % at 390K); #2222 another ~+1-2 %.

With everything (the earlier PRs, the settings above, these four): decode after a 32K prompt 65.5 → ~81 t/s, after 128K 64.5 → 76.8, after 389,560 tokens 62.5 → 75.1 (v0.1.43 as released: 52.8).

🤖 Generated with Claude Code

<!-- gh-comment-id:6138190092 --> @rafatxf commented on GitHub (Oct 13, 2026): Four more, all decode, from a kernel-node profile of the verify windows on the same card (each stands alone on `main` a0116b27; the four together build cleanly and pass `qsa_prompt_attn_parity`): | PR | what | bitwise vs today | on by default? | |---|---|---|---| | #2220 | QSA decode attention for INT8 KV: the query slice in registers, `reduce12`, cell-major probabilities (kernel 1.5-4.1×) | yes | Turing default, `STRATA_ATTN_V3=0` off | | #2221 | Q2_0 matvec with one warp per four rows (QSA `attn_q` and the shared expert; kernel 1.5-2.4×) | yes | Turing default, `STRATA_Q2_WARP=0` off | | #2222 | two fewer launches per layer: the plan's flag wait folded into its copy, fused q8_1 quantize + interleave | yes | Turing default, `STRATA_FUSE_WAIT` / `STRATA_QIL` | | #2223 | `STRATA_NO_PCIE_GROUP=1`: with `--pcie-frac 0` the window graph drops the PCIe-share stage that only ever sees zero groups | n/a | opt-in | Engine, 512 new tokens, two runs each, on top of the PRs above: #2220 + #2221 Spanish chat 86.0 → 87.8 t/s, code 103.1 → 106.1, 32K 75.3 → 78.4; #2223 another +2.2-2.4 % (32K-128K, +0.6 % at 390K); #2222 another ~+1-2 %. With everything (the earlier PRs, the settings above, these four): decode after a 32K prompt 65.5 → ~81 t/s, after 128K 64.5 → 76.8, after 389,560 tokens 62.5 → 75.1 (v0.1.43 as released: 52.8). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@Adamyno commented on GitHub (Oct 17, 2026):

v0.1.45 on real sm_75: 2× RTX 2080 Ti, STRATA_SM75_PERF=0 vs 1

Report from hardware the team does not have: two RTX 2080 Ti 22 GiB (sm_75) of a
three-card rig. The third card stayed on other work; GPUs 0–1 were free.

Hardware: 2× RTX 2080 Ti 22 GiB (sm_75), i9-7980XE (18c/36t, AVX-512),
125 GiB DDR4-3600, Linux (kernel 7.0.0-38), CUDA 13.0, driver 580.178.04,
layer split 15 (CUDA0 layers 0–14, CUDA1 15–47).

Build: v0.1.45 (477ac13c), source,
-DSTRATA_ENABLE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=75 -DSTRATA_BUILD_TESTS=ON.
cuobjdump --list-elf: 62 sm_75 cubins, no sm_86. ctest: 133/135 passed;
ple_parity needs a Q2_0 table that is not at its fixture path here, and
expert_cache_segmented_test failed only under -j4 and passed when run alone.

Model and config: Qwen3.8-Flash-Next UD-Q4_K_XL (pack ud-q4_k_xl, 4 GGUF
shards), --max-context 262144 --kv int8 --spec 3 --spec-min-p 0.54 --batch 2 --expert-cache auto --trim-stage-weights --vram-reserve-mib 768, and
STRATA_NO_LARGEPAGES=1 STRATA_BF16_TC=1. The expert cache sized to 5355 slots
(15.83 GiB) in every arm
— identical placement across the A/B.

A/B, same binary, environment only, alternating order

tools/ab_engine.py, fresh server per arm, 3 rounds, medians:

request PERF=0 PERF=1 Δ
chat0 decode (tok/s) 40.2 41.4 +3.0%
chat1 decode 40.8 41.1 +0.7%
chat2 decode 40.4 40.2 −0.5%
10,558-token prompt, decode 39.1 39.7 +1.5%
10,558-token prompt, prefill 598.6 603.1 +0.8%

32k prompt (two rounds, 24,000-word prompt = 25,298 tokens, medians):

request PERF=0 PERF=1 Δ
chat0 decode (tok/s) 39.6 39.9 +0.8%
chat1 decode 36.2 37.2 +2.8%
chat2 decode 40.3 40.8 +1.2%
25,298-token prompt, decode 38.9 39.5 +1.5%
25,298-token prompt, prefill 884.4 898.0 +1.5%

The direction matches the PRs; the size does not. On this config the gain is
+0.7…+3% decode against the +5–6% the author measured on one card, and it does
not grow from 10.5k to 25k tokens (both +1.5% decode). The likely reason: this
config is expert-cache bound — the hit rate was 60–88% with the adaptive tier,
so 12–40% of the routed expert rows were read from the CPU or the peer card over
PCIe each token, and the decode-side kernel gains are diluted. The author's
single-card Q2_0 setup has a different balance.

Identity

A text-level gate is not reliable on this rig as configured, and this is worth
knowing before trusting a 10-prompt gate here:

  • With the default adaptive tier (--adapt-every 4), the same arm twice
    (same binary, same config) differed on 1 of 4 greedy prompts.
  • With --adapt-every 0 (static cache), the same arm twice differed on 1 of 3
    (chat1, first difference at char 217).
  • With MTP on and --adapt-every 0, PERF=1 twice differed on 3 of 6 prompts
    (chat1, math1, long4k). So the earlier PERF=0-vs-1 differences in that
    configuration are not attributable to the series.
  • Without MTP (--spec 2, no --mtp), PERF=0 vs PERF=1 produced identical
    greedy text on 4/4 prompts (the same-arm control was 3/4 — chat1 flips run
    to run on this rig regardless of the switch).

So: on this machine, a text gate can show a difference that is not the switch,
and cannot prove a bitwise claim. The clean comparison available to us
(no MTP, static cache) is consistent with the series being bitwise; a proper
--window-hashes run with a fixed cache and a deterministic expert path is the
test that would settle it.

Bottom line

On 2× 2080 Ti with Q4_K_XL, STRATA_SM75_PERF=1 is +1.5% decode at 10.5k and
at 25k tokens, +0.7…+3% on short chats, +0.8…+1.5% prefill
— a real but small
gain, not the author's +5–6%. It is worth keeping as opt-in on this class of
config until a deep-context number says otherwise; it is not a reason to change
the default on sm_75 by itself.

Soak (2 cards, series on)

Separate run with STRATA_SM75_PERF=1, 2× 2080 Ti, one engine start, 505
back-to-back requests over 60 minutes
: 0 errors, 0 restarts, decode median
41.3 tok/s, 10-minute medians 39.6 → 41.8 (expert-cache warm-up, no drift), max
GPU temperatures 43 °C / 49 °C.

<!-- gh-comment-id:6239930839 --> @Adamyno commented on GitHub (Oct 17, 2026): ## v0.1.45 on real sm_75: 2× RTX 2080 Ti, `STRATA_SM75_PERF=0` vs `1` Report from hardware the team does not have: two RTX 2080 Ti 22 GiB (sm_75) of a three-card rig. The third card stayed on other work; GPUs 0–1 were free. **Hardware:** 2× RTX 2080 Ti 22 GiB (sm_75), i9-7980XE (18c/36t, AVX-512), 125 GiB DDR4-3600, Linux (kernel 7.0.0-38), CUDA 13.0, driver 580.178.04, layer split 15 (CUDA0 layers 0–14, CUDA1 15–47). **Build:** v0.1.45 (`477ac13c`), source, `-DSTRATA_ENABLE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=75 -DSTRATA_BUILD_TESTS=ON`. `cuobjdump --list-elf`: 62 `sm_75` cubins, no `sm_86`. `ctest`: 133/135 passed; `ple_parity` needs a Q2_0 table that is not at its fixture path here, and `expert_cache_segmented_test` failed only under `-j4` and passed when run alone. **Model and config:** Qwen3.8-Flash-Next UD-Q4_K_XL (pack `ud-q4_k_xl`, 4 GGUF shards), `--max-context 262144 --kv int8 --spec 3 --spec-min-p 0.54 --batch 2 --expert-cache auto --trim-stage-weights --vram-reserve-mib 768`, and `STRATA_NO_LARGEPAGES=1 STRATA_BF16_TC=1`. The expert cache sized to **5355 slots (15.83 GiB) in every arm** — identical placement across the A/B. ### A/B, same binary, environment only, alternating order `tools/ab_engine.py`, fresh server per arm, 3 rounds, medians: | request | PERF=0 | PERF=1 | Δ | | --- | ---: | ---: | ---: | | chat0 decode (tok/s) | 40.2 | 41.4 | +3.0% | | chat1 decode | 40.8 | 41.1 | +0.7% | | chat2 decode | 40.4 | 40.2 | −0.5% | | 10,558-token prompt, decode | 39.1 | 39.7 | +1.5% | | 10,558-token prompt, prefill | 598.6 | 603.1 | +0.8% | **32k prompt** (two rounds, 24,000-word prompt = 25,298 tokens, medians): | request | PERF=0 | PERF=1 | Δ | | --- | ---: | ---: | ---: | | chat0 decode (tok/s) | 39.6 | 39.9 | +0.8% | | chat1 decode | 36.2 | 37.2 | +2.8% | | chat2 decode | 40.3 | 40.8 | +1.2% | | 25,298-token prompt, decode | 38.9 | 39.5 | +1.5% | | 25,298-token prompt, prefill | 884.4 | 898.0 | +1.5% | The direction matches the PRs; the size does not. On this config the gain is +0.7…+3% decode against the +5–6% the author measured on one card, and it does not grow from 10.5k to 25k tokens (both +1.5% decode). The likely reason: this config is expert-cache bound — the hit rate was 60–88% with the adaptive tier, so 12–40% of the routed expert rows were read from the CPU or the peer card over PCIe each token, and the decode-side kernel gains are diluted. The author's single-card Q2_0 setup has a different balance. ### Identity A text-level gate is not reliable on this rig as configured, and this is worth knowing before trusting a 10-prompt gate here: - With the default adaptive tier (`--adapt-every` 4), the **same arm twice** (same binary, same config) differed on 1 of 4 greedy prompts. - With `--adapt-every 0` (static cache), the same arm twice differed on 1 of 3 (chat1, first difference at char 217). - With MTP on and `--adapt-every 0`, **PERF=1 twice** differed on 3 of 6 prompts (chat1, math1, long4k). So the earlier PERF=0-vs-1 differences in that configuration are not attributable to the series. - **Without MTP** (`--spec 2`, no `--mtp`), PERF=0 vs PERF=1 produced identical greedy text on **4/4** prompts (the same-arm control was 3/4 — chat1 flips run to run on this rig regardless of the switch). So: on this machine, a text gate can show a difference that is not the switch, and cannot prove a bitwise claim. The clean comparison available to us (no MTP, static cache) is consistent with the series being bitwise; a proper `--window-hashes` run with a fixed cache and a deterministic expert path is the test that would settle it. ### Bottom line On 2× 2080 Ti with Q4_K_XL, `STRATA_SM75_PERF=1` is **+1.5% decode at 10.5k and at 25k tokens, +0.7…+3% on short chats, +0.8…+1.5% prefill** — a real but small gain, not the author's +5–6%. It is worth keeping as opt-in on this class of config until a deep-context number says otherwise; it is not a reason to change the default on sm_75 by itself. ### Soak (2 cards, series on) Separate run with `STRATA_SM75_PERF=1`, 2× 2080 Ti, one engine start, **505 back-to-back requests over 60 minutes**: 0 errors, 0 restarts, decode median 41.3 tok/s, 10-minute medians 39.6 → 41.8 (expert-cache warm-up, no drift), max GPU temperatures 43 °C / 49 °C.
Author
Owner

@agorevski commented on GitHub (Oct 17, 2026):

RTX 8000 measurements: real gains, but not every switch is a win

Measured 2026-10-17 on physical GPUs 2 and 3, two Quadro RTX 8000 48 GiB cards (sm_75). The same-binary STRATA_SM75_PERF=0 versus 1 comparison improved decode by 5.85%, 7.44%, and 11.09% at 4K, 32K, and 128K, respectively, using the median of three paired comparisons. Full returned messages matched across all six runs at each size.

These are observed gains for this configuration, not a reproduction of the original single-2080-Ti/Q2_0 results or a reason by themselves to change defaults. This machine has an IQ3_S mixed-format model, and the cards reached 87/90 C with unlocked clocks. Thermal/order effects limit the precision, particularly of the large prompt-processing gain.

What was actually compared

Source: 477ac13cbe8e582c20484871ce459d20d82df09d / v0.1.45. Twelve of the thirteen implementations listed in the issue and its first comment are already incorporated in this source through integration commits, even though the original PRs remain open. I did not cherry-pick their original heads again.

The current opt-in umbrella is not exactly the original list: it also includes #2081, #1821, and #1825, and excludes the separate SIMT, v2 prompt-attention, BF16-TC, and fused-expert opt-ins. #2223 was reverted (83426781); STRATA_NO_PCIE_GROUP is inert in this checkout and was not treated as a benchmarkable change.

Hardware/software:

  • Xeon W-2295, 18 physical cores / 36 threads; 251 GiB RAM; Linux 6.8.0-146-generic.
  • GPUs 2/3 only; PCIe 3.0 x16 maximum links, NVLink present. This engine's layer split does not use NVLink P2P. Default 260 W limits; no clock/power settings changed. GPUs 0/1 were excluded from inference.
  • Driver 580.178.04; CUDA 13.4.92; GCC 13.3; Release source build with CMAKE_CUDA_ARCHITECTURES=75, CUDA and tests enabled.
  • Build deviation: reused existing ggml/llama.cpp commit 434ddbbc0e30522e897670681e503b797c12b7c1, not the repository pin 3cf03257f219afbe7334045ff7c6a06ac68c627d. Identical binary/dependency in every arm; not an official release-binary comparison.

Model: Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf plus 00002-of-00002, native iq3_s pack. Actual gate/up formats include IQ3_XXS, IQ3_S, and IQ2_S; down formats include IQ4_NL and Q2_0. The separate Q2_0 MTP draft does not make the main model a Q2_0 model.

Fixed engine settings (local model/profile paths represented by placeholders):

CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=2,3
strata --serve --pack <iq3_s-pack> --native <first-GGUF-shard>
  --mtp <mtp-runtime-pack> --spec 4 --spec-min-p 0.7
  --max-context 262144 --kv int8 --prefill auto:8192
  --pool-workers 17 --expert-cache auto --expert-cache-per-layer
  --expert-profile <expert-profile.bin> --mmap-experts --ple-io mmap
  --vram-reserve-mib 1024 --vram-reserve-later-mib 1024
  --adapt-every 0 --suffix-draft 0 --prompt-cache 0 --layer-split 24

The server configuration explicitly selected physical gpu=[2,3], gpu_order=as_given; it was bound to 127.0.0.1. Other v0.1.45 settings were unchanged. All inherited STRATA_* selectors were removed before applying each arm's switches.

End-to-end method and results

One fresh server/engine per arm; one discarded short warm-up request. Three rounds in AB / BA / AB order, A=STRATA_SM75_PERF=0, B=1. Each server then processed the same frozen 4,096-, 32,768-, and 131,072-token prompts, in that order. Prompts were seeded word archives followed by a long numbered-list instruction; locally tokenized lengths were checked against the API's actual prompt counts.

Greedy, thinking disabled, seed 7, 256 output-token cap. Every measured response generated 256 tokens; every cache_n was zero. Static expert placement, unchanged profile and capacity; OS page cache left warm, no global cache flush. Model loading/warm-up are excluded from engine PP/TG rates. HTTP wall time was also retained but is not streaming TTFT.

Rates below are per-arm medians [minimum, maximum] in tok/s. Deltas are medians of paired B/A changes, not ratios of the displayed medians.

Actual prompt tokens PP, PERF=0 PP, PERF=1 Paired PP delta Decode, PERF=0 Decode, PERF=1 Paired decode delta
4,096 1068.9 [1063.5, 1069.2] 1113.7 [1113.0, 1119.6] +4.71% 73.4 [72.9, 73.5] 77.7 [77.6, 77.8] +5.85%
32,768 1596.5 [1589.2, 1658.9] 1755.4 [1752.1, 1755.7] +9.75% 65.9 [65.3, 66.5] 71.0 [70.8, 71.3] +7.44%
131,072 1520.4 [1518.8, 1552.5] 1889.3 [1878.4, 1894.1] +23.68% 64.5 [64.5, 64.9] 71.7 [71.5, 72.1] +11.09%

Two preceding 32K A/A restart pairs had at most 0.74% paired PP variation and 0.15% decode variation, and identical text. This is a repeatability check, not a confidence interval for the hotter long-context runs. Baseline A's PP rate drifted over time; the cards' temperatures and unlocked clocks prevent interpreting the exact percentages as thermally controlled estimates.

Startup slot-allocation signatures were identical across arms. Useful startup expert residency was about 83% of all experts; measured request hit rates were 92.6%, 93.3%, and 92.9% at the three lengths, identical between A/B. Within each prompt size, MTP offered/accepted counts also matched across baseline arms. Matching returned text is encouraging but does not prove bitwise logits or general model-quality equivalence.

All baseline runs, retained rather than just the medians

Round 2 executed B before A; rows are aligned by round/arm for readability.

Round Arm 4K PP / decode 32K PP / decode 128K PP / decode
1 A 1068.9 / 73.4 1658.9 / 66.5 1552.5 / 64.5
1 B 1113.0 / 77.6 1755.4 / 71.3 1894.1 / 71.5
2 A 1063.5 / 73.5 1589.2 / 65.3 1520.4 / 64.9
2 B 1113.7 / 77.8 1755.7 / 71.0 1889.3 / 72.1
3 A 1069.2 / 72.9 1596.5 / 65.9 1518.8 / 64.5
3 B 1119.6 / 77.7 1752.1 / 70.8 1878.4 / 71.7

Which components helped this model?

Additional three-pair, alternating 32K leave-one-group-out tests compared A=umbrella with the named group disabled against B=full umbrella. These are conditional restore-group effects, not additive standalone PR gains. All generated 256 tokens with no prompt reuse and identical returned messages.

Group restored A override, with PERF=1 in both arms Paired decode delta, median [min, max]
#2069 dense IL table STRATA_SM75_IL=0 +4.41% [+3.98%, +4.44%]
#2069 grouped experts STRATA_SM75_EXP=0 -2.62% [-3.02%, -0.71%]
#2070 hyper-connections STRATA_GR_UP75=0 STRATA_GR_DOWN_TG=0 +0.28% [+0.14%, +1.29%]
#2220 int8 decode attention STRATA_ATTN_V3=0 +2.62% [+1.87%, +3.66%]
#2222 launch fusions together STRATA_FUSE_WAIT=0 STRATA_QIL=0 +0.71% [+0.43%, +0.86%]

The grouped-expert choice is therefore not a universal win on this mixed IQ3_S pack. The dense table and decode attention are the clearest positive component results here. The small HC/fusion deltas should not be oversold. These runs used warm-up then 32K, unlike the main sweep's warm-up/4K/32K/128K history; compare within each pair, not absolute rates between suites. No inference profiler was used, so a small effect is not proof of a particular dispatch.

Kernel-level checks on the RTX 8000s

Separate synthetic/real-row harnesses ran concurrently, one on GPU 2 and one on GPU 3, before the sequential two-GPU inference tests. Shared host load and unlocked clocks are additional caveats. Three process-level rounds per timing comparison; CUDA-event measurements, warm-ups and repeated launches. These numbers are kernel results, not whole-engine speedups.

PR / path Workload Baseline -> variant median Correctness observation
#2069 dense IL IQ4_XS, 2560x10240, 4 columns 77.8 -> 32.5 us Bitwise harness comparison passed; native-vs-selected-IL kernel comparison, not isolated old/new table timing
#2070 HC combined BF16, staged down, T=4 / T=6 60.3 -> 56.3 us / 82.9 -> 70.9 us Equal output hashes; forced token pairs
#2072 decode halving scorer 131K context, 6 queries 157.8 -> 77.0 us Equal score hashes
#2072 split top-k 393K context, 6 queries 0.177 -> 0.049 ms Same IDs on continuous, quantized, and all-equal scores
#2093 sampled prompt top-k 393K context, 256 queries 1.386 -> 0.600 ms Same IDs including ties/fallback cases
#2071 SIMT1 -> SIMT2 131K context, 256 queries 1.020 -> 0.956 ms Equal hashes between SIMT1/2, not versus default warp scorer
#2092 + #2146 int8 prompt attention 32K, 256 queries 3.125 -> 1.374 ms FP64 tolerance checks passed; hashes differ, as expected

QSA dispatches were confirmed with launch-only profiling; profiled timings were excluded. For reproduction, the key existing harness commands were:

# Prefix with CUDA_VISIBLE_DEVICES=3 CUDA_DEVICE_ORDER=PCI_BUS_ID;
# start each arm with inherited performance selectors cleared.
QSA_BENCH_DECODE=1 STRATA_SCORES_MULTI=1 STRATA_SCORES_HALVE=0|1 qsa_select_bench 131072 6 500 524288
QSA_BENCH_HASH=1 STRATA_TOPK_SAMPLE=0 STRATA_SELECT_SIMT=1|2 qsa_select_bench 131072 256 100 524288
STRATA_TOPK_SAMPLE=0 STRATA_TOPK_SPLIT=0|1 qsa_topk_parity 393216 6 200 524288 0
STRATA_TOPK_SPLIT=0 STRATA_TOPK_SAMPLE=0|1 qsa_topk_parity 393216 256 100 524288 1
STRATA_PA_V2T=0|1 qsa_prompt_attn_parity 32768 256 10
STRATA_PF_FUSED_SM75=1 prefill_fused_iq_test --only="Q2_0 / Q2_0" --no-timing

Here 0|1 and 1|2 mean separate invocations, not literal shell syntax. Alternate AB/BA/AB. HC measurements used fused_gr_bench 300 4 6 8, STRATA_HC_SPLIT=2, and combinations of STRATA_GR_UP75=0/1, STRATA_GR_DOWN_TG=0/2.

Real mixed-format expert-row tests also found forced mode 4 variable at T=1 and much slower at T=4. That explicit mode bypasses the current automatic down-mode fallback; it must not be presented as the automatic umbrella's engine regression. The leave-one-group-out result above tests the actual automatic policy.

Separate opt-ins: screening only, not quality approval

Each received one 32K A/B screening pair, on top of SM75_PERF=1. None exceeded the preselected 3% PP or decode threshold for a further three-pair/deep-context sweep. Single pairs are particularly uncertain; these are not established gains.

Opt-in comparison PP delta Decode delta Returned message
PA_V2T=0 -> 1 (#2092 + #2146 together) +1.13% -0.57% Changed
SELECT_SIMT=0 -> 2 (#2071) +1.80% +2.70% Changed
XN_F16=0 -> 1, BF16_TC=1 in both (#2091) +1.79% +0.43% Same within this pair

PA_V2T/SIMT changed MTP acceptance too, so their decode deltas are not pure decode-kernel effects. BF16_TC's outputs differed from the ordinary umbrella baseline; XN_F16 identity applies only with BF16_TC already held on. No long-context KL/perplexity/needle tests were run. This does not support making the answer-changing options defaults.

Coverage and limits

  • #2145's synthetic Q2_0/Q2_0 fused-expert hardware parity passed: relative RMS 1.625e-5 against MMQ. Its full-model speed/quality claim remains untested: the available IQ3_S gate/up formats do not qualify, and a canonical full-model Q2_0 pack was unavailable locally.
  • #2221's Q2_0 matvec did not receive a dedicated isolated timing/dispatch test. Pack labels and Q2_0 down tensors alone are not proof that this kernel was exercised.
  • #2146 cannot be isolated from #2092 with a current-binary switch; the measured comparison is current v1 versus final integrated v2, not old-v2 versus new-v2.
  • 143 tests were registered; the readiness subset had 20 passes, one architecture skip, no failures. All 34 QSA/parity/profile invocations and 27 dense/expert/HC invocations completed without failures. Q4_0 prompt attention was explicitly skipped on sm_75.
  • Full responses, hashes, per-request timings, startup placement, MTP counts, per-arm telemetry, commands and logs were retained locally. Independently rechecked hashes/counts for 59 completed measured responses. An initial valid pilot was excluded from completed results after a harness TIME_WAIT teardown-check error; the check was corrected and a fresh manifest/output used. No inference crashes or OOMs occurred in the completed suites.
  • No 390K sweep, historical-release-binary comparison, standalone attribution to every PR, all-model validation, thermally controlled repeat, or quality certification. No source changes; GPUs 2/3 were released after measurement.

Bottom line: the current bitwise umbrella gives a clear, repeatable directional improvement on this two-RTX-8000/IQ3_S setup, with matching text and MTP counts. The dense IL table and int8 decode-attention changes have the strongest isolated engine evidence; grouped expert mode selection deserves format-specific caution. Large synthetic kernel gains do not automatically become large engine gains, and the separate numerically different prompt opt-ins remain unvalidated here.

<!-- gh-comment-id:6241975358 --> @agorevski commented on GitHub (Oct 17, 2026): ## RTX 8000 measurements: real gains, but not every switch is a win Measured 2026-10-17 on **physical GPUs 2 and 3, two Quadro RTX 8000 48 GiB cards (sm_75)**. The same-binary `STRATA_SM75_PERF=0` versus `1` comparison improved decode by **5.85%, 7.44%, and 11.09%** at 4K, 32K, and 128K, respectively, using the median of three paired comparisons. Full returned messages matched across all six runs at each size. These are **observed gains for this configuration**, not a reproduction of the original single-2080-Ti/Q2_0 results or a reason by themselves to change defaults. This machine has an **IQ3_S mixed-format model**, and the cards reached **87/90 C with unlocked clocks**. Thermal/order effects limit the precision, particularly of the large prompt-processing gain. ### What was actually compared Source: `477ac13cbe8e582c20484871ce459d20d82df09d` / v0.1.45. Twelve of the thirteen implementations listed in the issue and its first comment are already incorporated in this source through integration commits, even though the original PRs remain open. I did **not** cherry-pick their original heads again. The current opt-in umbrella is not exactly the original list: it also includes #2081, #1821, and #1825, and excludes the separate SIMT, v2 prompt-attention, BF16-TC, and fused-expert opt-ins. **#2223 was reverted** (`83426781`); `STRATA_NO_PCIE_GROUP` is inert in this checkout and was not treated as a benchmarkable change. Hardware/software: - Xeon W-2295, 18 physical cores / 36 threads; 251 GiB RAM; Linux 6.8.0-146-generic. - GPUs 2/3 only; PCIe 3.0 x16 maximum links, NVLink present. This engine's layer split does not use NVLink P2P. Default 260 W limits; no clock/power settings changed. GPUs 0/1 were excluded from inference. - Driver 580.178.04; CUDA 13.4.92; GCC 13.3; Release source build with `CMAKE_CUDA_ARCHITECTURES=75`, CUDA and tests enabled. - **Build deviation:** reused existing ggml/llama.cpp commit `434ddbbc0e30522e897670681e503b797c12b7c1`, not the repository pin `3cf03257f219afbe7334045ff7c6a06ac68c627d`. Identical binary/dependency in every arm; not an official release-binary comparison. Model: `Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf` plus `00002-of-00002`, native `iq3_s` pack. Actual gate/up formats include IQ3_XXS, IQ3_S, and IQ2_S; down formats include IQ4_NL and Q2_0. The separate Q2_0 MTP draft does **not** make the main model a Q2_0 model. Fixed engine settings (local model/profile paths represented by placeholders): ```text CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=2,3 strata --serve --pack <iq3_s-pack> --native <first-GGUF-shard> --mtp <mtp-runtime-pack> --spec 4 --spec-min-p 0.7 --max-context 262144 --kv int8 --prefill auto:8192 --pool-workers 17 --expert-cache auto --expert-cache-per-layer --expert-profile <expert-profile.bin> --mmap-experts --ple-io mmap --vram-reserve-mib 1024 --vram-reserve-later-mib 1024 --adapt-every 0 --suffix-draft 0 --prompt-cache 0 --layer-split 24 ``` The server configuration explicitly selected physical `gpu=[2,3]`, `gpu_order=as_given`; it was bound to `127.0.0.1`. Other v0.1.45 settings were unchanged. All inherited `STRATA_*` selectors were removed before applying each arm's switches. ### End-to-end method and results One fresh server/engine per arm; one discarded short warm-up request. Three rounds in **AB / BA / AB** order, A=`STRATA_SM75_PERF=0`, B=`1`. Each server then processed the same frozen 4,096-, 32,768-, and 131,072-token prompts, in that order. Prompts were seeded word archives followed by a long numbered-list instruction; locally tokenized lengths were checked against the API's actual prompt counts. Greedy, thinking disabled, seed 7, 256 output-token cap. **Every measured response generated 256 tokens; every `cache_n` was zero.** Static expert placement, unchanged profile and capacity; OS page cache left warm, no global cache flush. Model loading/warm-up are excluded from engine PP/TG rates. HTTP wall time was also retained but is not streaming TTFT. Rates below are **per-arm medians [minimum, maximum] in tok/s**. Deltas are **medians of paired B/A changes**, not ratios of the displayed medians. | Actual prompt tokens | PP, PERF=0 | PP, PERF=1 | Paired PP delta | Decode, PERF=0 | Decode, PERF=1 | Paired decode delta | |---:|---:|---:|---:|---:|---:|---:| | 4,096 | 1068.9 [1063.5, 1069.2] | 1113.7 [1113.0, 1119.6] | +4.71% | 73.4 [72.9, 73.5] | 77.7 [77.6, 77.8] | +5.85% | | 32,768 | 1596.5 [1589.2, 1658.9] | 1755.4 [1752.1, 1755.7] | +9.75% | 65.9 [65.3, 66.5] | 71.0 [70.8, 71.3] | +7.44% | | 131,072 | 1520.4 [1518.8, 1552.5] | 1889.3 [1878.4, 1894.1] | +23.68% | 64.5 [64.5, 64.9] | 71.7 [71.5, 72.1] | +11.09% | Two preceding 32K A/A restart pairs had at most **0.74% paired PP variation and 0.15% decode variation**, and identical text. This is a repeatability check, **not** a confidence interval for the hotter long-context runs. Baseline A's PP rate drifted over time; the cards' temperatures and unlocked clocks prevent interpreting the exact percentages as thermally controlled estimates. Startup slot-allocation signatures were identical across arms. Useful startup expert residency was about 83% of all experts; measured request hit rates were 92.6%, 93.3%, and 92.9% at the three lengths, identical between A/B. Within each prompt size, MTP offered/accepted counts also matched across baseline arms. Matching returned text is encouraging but **does not prove bitwise logits or general model-quality equivalence**. <details> <summary>All baseline runs, retained rather than just the medians</summary> Round 2 executed B before A; rows are aligned by round/arm for readability. | Round | Arm | 4K PP / decode | 32K PP / decode | 128K PP / decode | |---:|---|---:|---:|---:| | 1 | A | 1068.9 / 73.4 | 1658.9 / 66.5 | 1552.5 / 64.5 | | 1 | B | 1113.0 / 77.6 | 1755.4 / 71.3 | 1894.1 / 71.5 | | 2 | A | 1063.5 / 73.5 | 1589.2 / 65.3 | 1520.4 / 64.9 | | 2 | B | 1113.7 / 77.8 | 1755.7 / 71.0 | 1889.3 / 72.1 | | 3 | A | 1069.2 / 72.9 | 1596.5 / 65.9 | 1518.8 / 64.5 | | 3 | B | 1119.6 / 77.7 | 1752.1 / 70.8 | 1878.4 / 71.7 | </details> ### Which components helped this model? Additional **three-pair, alternating 32K leave-one-group-out tests** compared A=umbrella with the named group disabled against B=full umbrella. These are conditional restore-group effects, **not additive standalone PR gains**. All generated 256 tokens with no prompt reuse and identical returned messages. | Group restored | A override, with PERF=1 in both arms | Paired decode delta, median [min, max] | |---|---|---:| | #2069 dense IL table | `STRATA_SM75_IL=0` | **+4.41% [+3.98%, +4.44%]** | | #2069 grouped experts | `STRATA_SM75_EXP=0` | **-2.62% [-3.02%, -0.71%]** | | #2070 hyper-connections | `STRATA_GR_UP75=0 STRATA_GR_DOWN_TG=0` | +0.28% [+0.14%, +1.29%] | | #2220 int8 decode attention | `STRATA_ATTN_V3=0` | **+2.62% [+1.87%, +3.66%]** | | #2222 launch fusions together | `STRATA_FUSE_WAIT=0 STRATA_QIL=0` | +0.71% [+0.43%, +0.86%] | The grouped-expert choice is therefore **not a universal win on this mixed IQ3_S pack**. The dense table and decode attention are the clearest positive component results here. The small HC/fusion deltas should not be oversold. These runs used warm-up then 32K, unlike the main sweep's warm-up/4K/32K/128K history; compare within each pair, not absolute rates between suites. No inference profiler was used, so a small effect is not proof of a particular dispatch. ### Kernel-level checks on the RTX 8000s Separate synthetic/real-row harnesses ran concurrently, one on GPU 2 and one on GPU 3, **before** the sequential two-GPU inference tests. Shared host load and unlocked clocks are additional caveats. Three process-level rounds per timing comparison; CUDA-event measurements, warm-ups and repeated launches. These numbers are kernel results, **not whole-engine speedups**. | PR / path | Workload | Baseline -> variant median | Correctness observation | |---|---|---:|---| | #2069 dense IL | IQ4_XS, 2560x10240, 4 columns | 77.8 -> 32.5 us | Bitwise harness comparison passed; native-vs-selected-IL kernel comparison, not isolated old/new table timing | | #2070 HC combined | BF16, staged down, T=4 / T=6 | 60.3 -> 56.3 us / 82.9 -> 70.9 us | Equal output hashes; forced token pairs | | #2072 decode halving scorer | 131K context, 6 queries | 157.8 -> 77.0 us | Equal score hashes | | #2072 split top-k | 393K context, 6 queries | 0.177 -> 0.049 ms | Same IDs on continuous, quantized, and all-equal scores | | #2093 sampled prompt top-k | 393K context, 256 queries | 1.386 -> 0.600 ms | Same IDs including ties/fallback cases | | #2071 SIMT1 -> SIMT2 | 131K context, 256 queries | 1.020 -> 0.956 ms | Equal hashes between SIMT1/2, **not** versus default warp scorer | | #2092 + #2146 int8 prompt attention | 32K, 256 queries | 3.125 -> 1.374 ms | FP64 tolerance checks passed; hashes differ, as expected | QSA dispatches were confirmed with launch-only profiling; profiled timings were excluded. For reproduction, the key existing harness commands were: ```text # Prefix with CUDA_VISIBLE_DEVICES=3 CUDA_DEVICE_ORDER=PCI_BUS_ID; # start each arm with inherited performance selectors cleared. QSA_BENCH_DECODE=1 STRATA_SCORES_MULTI=1 STRATA_SCORES_HALVE=0|1 qsa_select_bench 131072 6 500 524288 QSA_BENCH_HASH=1 STRATA_TOPK_SAMPLE=0 STRATA_SELECT_SIMT=1|2 qsa_select_bench 131072 256 100 524288 STRATA_TOPK_SAMPLE=0 STRATA_TOPK_SPLIT=0|1 qsa_topk_parity 393216 6 200 524288 0 STRATA_TOPK_SPLIT=0 STRATA_TOPK_SAMPLE=0|1 qsa_topk_parity 393216 256 100 524288 1 STRATA_PA_V2T=0|1 qsa_prompt_attn_parity 32768 256 10 STRATA_PF_FUSED_SM75=1 prefill_fused_iq_test --only="Q2_0 / Q2_0" --no-timing ``` Here `0|1` and `1|2` mean **separate invocations**, not literal shell syntax. Alternate AB/BA/AB. HC measurements used `fused_gr_bench 300 4 6 8`, `STRATA_HC_SPLIT=2`, and combinations of `STRATA_GR_UP75=0/1`, `STRATA_GR_DOWN_TG=0/2`. Real mixed-format expert-row tests also found forced mode 4 variable at T=1 and much slower at T=4. That explicit mode bypasses the current automatic down-mode fallback; it must **not** be presented as the automatic umbrella's engine regression. The leave-one-group-out result above tests the actual automatic policy. ### Separate opt-ins: screening only, not quality approval Each received **one 32K A/B screening pair**, on top of `SM75_PERF=1`. None exceeded the preselected 3% PP or decode threshold for a further three-pair/deep-context sweep. Single pairs are particularly uncertain; these are **not established gains**. | Opt-in comparison | PP delta | Decode delta | Returned message | |---|---:|---:|---| | `PA_V2T=0 -> 1` (#2092 + #2146 together) | +1.13% | -0.57% | Changed | | `SELECT_SIMT=0 -> 2` (#2071) | +1.80% | +2.70% | Changed | | `XN_F16=0 -> 1`, **BF16_TC=1 in both** (#2091) | +1.79% | +0.43% | Same within this pair | PA_V2T/SIMT changed MTP acceptance too, so their decode deltas are not pure decode-kernel effects. BF16_TC's outputs differed from the ordinary umbrella baseline; XN_F16 identity applies only with BF16_TC already held on. No long-context KL/perplexity/needle tests were run. **This does not support making the answer-changing options defaults.** ### Coverage and limits - #2145's **synthetic Q2_0/Q2_0 fused-expert hardware parity passed**: relative RMS 1.625e-5 against MMQ. Its full-model speed/quality claim remains **untested**: the available IQ3_S gate/up formats do not qualify, and a canonical full-model Q2_0 pack was unavailable locally. - #2221's Q2_0 matvec did not receive a dedicated isolated timing/dispatch test. Pack labels and Q2_0 down tensors alone are not proof that this kernel was exercised. - #2146 cannot be isolated from #2092 with a current-binary switch; the measured comparison is current v1 versus final integrated v2, not old-v2 versus new-v2. - 143 tests were registered; the readiness subset had 20 passes, one architecture skip, no failures. All 34 QSA/parity/profile invocations and 27 dense/expert/HC invocations completed without failures. Q4_0 prompt attention was explicitly skipped on sm_75. - Full responses, hashes, per-request timings, startup placement, MTP counts, per-arm telemetry, commands and logs were retained locally. Independently rechecked hashes/counts for **59 completed measured responses**. An initial valid pilot was excluded from completed results after a harness TIME_WAIT teardown-check error; the check was corrected and a fresh manifest/output used. No inference crashes or OOMs occurred in the completed suites. - No 390K sweep, historical-release-binary comparison, standalone attribution to every PR, all-model validation, thermally controlled repeat, or quality certification. No source changes; GPUs 2/3 were released after measurement. **Bottom line:** the current bitwise umbrella gives a clear, repeatable directional improvement on this two-RTX-8000/IQ3_S setup, with matching text and MTP counts. The dense IL table and int8 decode-attention changes have the strongest isolated engine evidence; grouped expert mode selection deserves format-specific caution. Large synthetic kernel gains do not automatically become large engine gains, and the separate numerically different prompt opt-ins remain unvalidated here.
Author
Owner

@Adamyno commented on GitHub (Oct 18, 2026):

Second IQ3_S pack, a second sm_75 pair: STRATA_SM75_EXP=0 is +2.7% decode; the K-quant control does not move

Cross-check of @agorevski's leave-one-group-out result (grouped experts −2.62% on his IQ3_S pack), on a different rig and a different IQ3_S pack, plus a K-quant control on the same box.

Hardware: 2× RTX 2080 Ti 22 GB (sm_75, power limits 210 W / 167 W), i9-7980XE (18c/36t), 125.5 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04. Two cards only — the third stayed on other work.

Build: v0.1.45 (477ac13c), source, -DSTRATA_ENABLE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=75. Same binary in both arms; only the environment differs.

Fixed config (both arms): --layer-split 15, 262,144 ctx, --kv int8 --kv-resident 32768, --spec 3 --spec-min-p 0.54 --mtp mtp/rt --mtp-max-t 3 --batch 2 --vram-reserve-mib 768 --trim-stage-weights, STRATA_SM75_PERF=1 in both arms, STRATA_NO_LARGEPAGES=1 STRATA_BF16_TC=1. Sampling pinned greedy (top_k 1, temperature 0) with presence_penalty 0 so the 0.1.45 card set (#2940) does not reach either arm.

Method: tools/ab_engine.py from the repo, fresh server per arm, 5 rounds, order alternates (AB / BA), warm-up request discarded, three chat prompts (256 new tokens) and one 24,250-token prompt (256 new tokens). Figures are medians of the paired per-round deltas, not ratios of displayed medians.

IQ3_S (ISTA-DASLab GSQ-RCO, pack gsq_iq3s), A = default (EXP on), B = STRATA_SM75_EXP=0

request A decode B decode paired Δ median range
chat0 67.3 69.1 +2.7% +1.9 … +2.8%
chat1 63.8 66.0 +3.5% +3.4 … +4.2%
chat2 61.7 63.1 +2.3% −5.4 … +4.2%
24,250-token prompt decode 64.3 63.2 −1.7% −2.6 … +3.6%
24,250-token prefill 1,378 1,381 +0.2% —

All 20 pairs: median +2.7%. Prefill is unchanged.

The 24k row is not a kernel-only comparison: in 3 of the 5 pairs the two arms stopped at different answer lengths (157 vs 131 tokens), so that row mixes in a drafting difference. The chat rows mostly do not: 13 of the 15 chat pairs generated the same token count, and in the eight pairs where the accepted/offered draft counts also match (rounds 3–4, read from the engine log) the median is +2.45% (+1.93, +2.08, +2.11, +2.80, +3.44, +3.63, +3.91, and one −5.37).

That −5.37% pair is worth naming rather than smoothing: A and B both generated 205 tokens and both accepted 104 of 153 drafts, so it is not a sampling or drafting difference — it is a timing outlier on my box (A 3,341 ms, B 3,531 ms for identical work). I did not find a cause; every other identical-work pair sits between +1.9% and +3.9%. I am reporting the median with it included.

Control: Q4_K_XL (K-quant pack ud-q4_k_xl), same box, same binary

Two rounds. Round 0 gave four pairs with identical token counts and identical accepted/offered drafts:

request A decode B decode Δ
chat0 49.1 49.1 0.0%
chat1 49.2 49.2 0.0%
chat2 48.3 47.7 −1.2%
24,250-token prompt 50.0 49.8 −0.4%
prefill 1,017.1 1,012.6 −0.4%

Median −0.2%. Round 1 drafting differed between the arms in all four pairs (−0.6, −6.6, +4.9, +4.8%) and is excluded — on this pack the run-to-run drafting noise is larger than any effect. So this control says "no gain on a K-quant pack", not "bitwise": four pairs cannot prove inertness, but they are consistent with the code comment that this switch is the i-quant down layout.

What I take from it

  • The grouped-expert down layout (STRATA_SM75_EXP, on by default under STRATA_SM75_PERF=1) costs ~2.6–2.7% decode on an IQ3_S pack on this rig, the same direction and size @agorevski measured on his own IQ3_S pack. Two rigs, two packs, same answer — so this looks like the pack class, not his box.
  • On a K-quant (Q4_K_XL) pack the same switch is flat (−1.2 … 0.0% over four identical-work pairs). That points at a format gate (i-quant rows present) rather than turning the switch off on every sm_75 pack.
  • Everything else in the umbrella stays: this was a leave-one-out on one component, not a PERF on/off run.

Not measured: three-card split, full-power cards, --window-hashes identity, other quant families. Raw results.jsonl per request, the engine logs and the two configs are retained locally — I can attach them or run more rounds if that is useful.

<!-- gh-comment-id:6248910227 --> @Adamyno commented on GitHub (Oct 18, 2026): ## Second IQ3_S pack, a second sm_75 pair: `STRATA_SM75_EXP=0` is +2.7% decode; the K-quant control does not move Cross-check of @agorevski's leave-one-group-out result (grouped experts −2.62% on his IQ3_S pack), on a different rig and a **different** IQ3_S pack, plus a K-quant control on the same box. **Hardware:** 2× RTX 2080 Ti 22 GB (sm_75, power limits 210 W / 167 W), i9-7980XE (18c/36t), 125.5 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04. Two cards only — the third stayed on other work. **Build:** v0.1.45 (`477ac13c`), source, `-DSTRATA_ENABLE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=75`. Same binary in both arms; only the environment differs. **Fixed config (both arms):** `--layer-split 15`, 262,144 ctx, `--kv int8 --kv-resident 32768`, `--spec 3 --spec-min-p 0.54 --mtp mtp/rt --mtp-max-t 3 --batch 2 --vram-reserve-mib 768 --trim-stage-weights`, `STRATA_SM75_PERF=1` in **both** arms, `STRATA_NO_LARGEPAGES=1 STRATA_BF16_TC=1`. Sampling pinned greedy (`top_k 1`, `temperature 0`) with `presence_penalty 0` so the 0.1.45 card set (#2940) does not reach either arm. **Method:** `tools/ab_engine.py` from the repo, fresh server per arm, **5 rounds**, order alternates (AB / BA), warm-up request discarded, three chat prompts (256 new tokens) and one 24,250-token prompt (256 new tokens). Figures are medians of the **paired** per-round deltas, not ratios of displayed medians. ### IQ3_S (ISTA-DASLab GSQ-RCO, pack `gsq_iq3s`), A = default (EXP on), B = `STRATA_SM75_EXP=0` | request | A decode | B decode | paired Δ median | range | |---|---:|---:|---:|---| | chat0 | 67.3 | 69.1 | **+2.7%** | +1.9 … +2.8% | | chat1 | 63.8 | 66.0 | **+3.5%** | +3.4 … +4.2% | | chat2 | 61.7 | 63.1 | **+2.3%** | −5.4 … +4.2% | | 24,250-token prompt decode | 64.3 | 63.2 | −1.7% | −2.6 … +3.6% | | 24,250-token prefill | 1,378 | 1,381 | +0.2% | — | All 20 pairs: median **+2.7%**. Prefill is unchanged. The 24k row is **not** a kernel-only comparison: in 3 of the 5 pairs the two arms stopped at different answer lengths (157 vs 131 tokens), so that row mixes in a drafting difference. The chat rows mostly do not: 13 of the 15 chat pairs generated the same token count, and in the eight pairs where the accepted/offered draft counts also match (rounds 3–4, read from the engine log) the median is **+2.45%** (+1.93, +2.08, +2.11, +2.80, +3.44, +3.63, +3.91, and one −5.37). That −5.37% pair is worth naming rather than smoothing: A and B both generated 205 tokens and both accepted 104 of 153 drafts, so it is not a sampling or drafting difference — it is a timing outlier on my box (A 3,341 ms, B 3,531 ms for identical work). I did not find a cause; every other identical-work pair sits between +1.9% and +3.9%. I am reporting the median with it included. ### Control: Q4_K_XL (K-quant pack `ud-q4_k_xl`), same box, same binary Two rounds. Round 0 gave four pairs with identical token counts **and** identical accepted/offered drafts: | request | A decode | B decode | Δ | |---|---:|---:|---:| | chat0 | 49.1 | 49.1 | 0.0% | | chat1 | 49.2 | 49.2 | 0.0% | | chat2 | 48.3 | 47.7 | −1.2% | | 24,250-token prompt | 50.0 | 49.8 | −0.4% | | prefill | 1,017.1 | 1,012.6 | −0.4% | Median −0.2%. Round 1 drafting differed between the arms in all four pairs (−0.6, −6.6, +4.9, +4.8%) and is excluded — on this pack the run-to-run drafting noise is larger than any effect. So this control says "no gain on a K-quant pack", not "bitwise": four pairs cannot prove inertness, but they are consistent with the code comment that this switch is the i-quant down layout. ### What I take from it - The grouped-expert down layout (`STRATA_SM75_EXP`, on by default under `STRATA_SM75_PERF=1`) costs **~2.6–2.7% decode** on an IQ3_S pack on this rig, the same direction and size @agorevski measured on his own IQ3_S pack. Two rigs, two packs, same answer — so this looks like the pack class, not his box. - On a K-quant (Q4_K_XL) pack the same switch is flat (−1.2 … 0.0% over four identical-work pairs). That points at a format gate (i-quant rows present) rather than turning the switch off on every sm_75 pack. - Everything else in the umbrella stays: this was a leave-one-out on one component, not a PERF on/off run. **Not measured:** three-card split, full-power cards, `--window-hashes` identity, other quant families. Raw `results.jsonl` per request, the engine logs and the two configs are retained locally — I can attach them or run more rounds if that is useful.
Author
Owner

@coolthor commented on GitHub (Oct 18, 2026):

v0.1.45 on a single RTX 2080 Ti 22 GB, IQ3_S: STRATA_SM75_PERF=1 helps, and STRATA_SM75_EXP=0 helps more

Another sm_75 data point, this time on one card with no layer split. It's also the third rig to see STRATA_SM75_EXP=0 come out ahead on an IQ3_S pack, after @Adamyno and @agorevski.

Hardware: 1× RTX 2080 Ti 22 GB (sm_75), 200 W power limit, clocks not locked, peak 74 °C. AMD EPYC 7402 (24c/48t), 123 GiB RAM, PCIe Gen3 x16, Ubuntu 26.04, driver 580.173.02, CUDA 12.4. The box's other two GPUs kept serving their usual workloads during the run.

Build: v0.1.45 (477ac13c), Release, CMAKE_CUDA_ARCHITECTURES=75, built through setup.py. cuobjdump --list-elf: 62 sm_75 cubins. My first build (GCC 15 for C++, GCC 13 as the CUDA host compiler) failed at link time on __cxa_call_terminate. Building everything with GCC 13 (CC=gcc-13 CXX=g++-13 CUDAHOSTCXX=g++-13) worked. I built without STRATA_BUILD_TESTS, so I have no ctest results to report.

Model and config: Qwen3.8-Flash-Next-GSQ-RCO IQ3_S, single GPU, --max-context 262144 --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.7 --lookup-chain 5 --ple-io direct --expert-cache auto --prefill auto --vision --vram-reserve-mib 700, parallel: 1. Expert cache: 7589 slots / 14,737 MiB in every arm. The vision encoder ran on the CPU (gpu: false, 24 threads) the entire time. Common env: STRATA_BF16_TC=1 STRATA_ADAPT_OVERLAP=1.

Arms (same binary, env only): P0 = STRATA_SM75_PERF=0 · P1 = STRATA_SM75_PERF=1 · P1-EXP0 = STRATA_SM75_PERF=1 STRATA_SM75_EXP=0

Method: 5 rounds with a fresh server per arm per round, alternating the order each round. I used one warmup request per start and didn't count it. Sampling was greedy (top_k 1, temperature 0, presence_penalty 0, reasoning_effort none), with no prompt reuse (every request got a unique prefix). Decode numbers are the engine's decode_tok_s. Prefill is prompt_read divided by prompt time in seconds. Each cell is the median of 5 runs, with [min, max].

tok/s P0 P1 P1-EXP0
code, 45-token prompt 86.0 [85.7, 86.8] 92.3 [92.2, 92.6] 95.8 [95.3, 95.9]
Chinese, 48-token prompt 60.0 [59.8, 60.4] 61.8 [61.7, 63.2] 64.5 [64.4, 64.7]
decode at 4,088 tokens 67.2 [66.9, 67.7] 71.4 [71.3, 77.0] 79.1 [79.0, 79.3]
decode at 32,789 tokens 63.8 [62.3, 68.9] 72.3 [68.3, 76.9] 78.4 [77.9, 81.2]
decode at 65,549 tokens 64.7 [64.3, 68.4] 68.8 [68.0, 73.5] 73.1 [69.2, 74.8]
prefill, 16,406 tokens 1,217 1,318 1,322
prefill, 65,546 tokens 1,138 1,340 1,340
vs P0 code Chinese 4K 32K 64K prefill 16K prefill 64K
P1 +7.3% +3.0% +6.3% +13.3% +6.3% +8.3% +17.7%
P1-EXP0 +11.4% +7.5% +17.7% +22.9% +13.0% +8.7% +17.7%

The 65K prompts are beyond --kv-resident 32768, so those rows include KV streaming.

Output parity (with drafts on, --spec 4):

  • The 256-token greedy continuations at 4K and 32K weren't byte-identical to P0 in either enabled arm. The first differing character was at index 128 (4K) and 103 (32K).
  • P0 isn't repeatable across restarts at long context either. Over 5 fresh starts, P0 produced 5 distinct outputs at 32K and 5 at 64K, and P1-EXP0 produced 4 at each. At 4K, P0 and P1-EXP0 were each stable across all 5 starts (1 distinct output each), but the two outputs differ from each other.
  • I didn't isolate this with --spec 0, so I can't say whether the 4K difference comes from the kernels or from draft acceptance.
  • Short answers that end naturally (a ≤20-word summary at 4K and 32K) matched P0 byte for byte in both arms.

Smoke checks: a vision test (reading table values) and a structured tool call passed in all three arms. On a 2048-token thinking puzzle, all three arms reached the right final answer, but P1's written explanation contradicted the puzzle's premise in one step. That's a single request, so I'm noting it rather than reading too much into it.

After this run I switched the card's production service to v0.1.45 with STRATA_SM75_PERF=1 STRATA_SM75_EXP=0. I can rerun a --spec 0 pass, or try any other switch you want checked.

<!-- gh-comment-id:6254147514 --> @coolthor commented on GitHub (Oct 18, 2026): ## v0.1.45 on a single RTX 2080 Ti 22 GB, IQ3_S: `STRATA_SM75_PERF=1` helps, and `STRATA_SM75_EXP=0` helps more Another sm_75 data point, this time on one card with no layer split. It's also the third rig to see `STRATA_SM75_EXP=0` come out ahead on an IQ3_S pack, after @Adamyno and @agorevski. **Hardware:** 1× RTX 2080 Ti 22 GB (sm_75), 200 W power limit, clocks not locked, peak 74 °C. AMD EPYC 7402 (24c/48t), 123 GiB RAM, PCIe Gen3 x16, Ubuntu 26.04, driver 580.173.02, CUDA 12.4. The box's other two GPUs kept serving their usual workloads during the run. **Build:** v0.1.45 (`477ac13c`), Release, `CMAKE_CUDA_ARCHITECTURES=75`, built through `setup.py`. `cuobjdump --list-elf`: 62 sm_75 cubins. My first build (GCC 15 for C++, GCC 13 as the CUDA host compiler) failed at link time on `__cxa_call_terminate`. Building everything with GCC 13 (`CC=gcc-13 CXX=g++-13 CUDAHOSTCXX=g++-13`) worked. I built without `STRATA_BUILD_TESTS`, so I have no ctest results to report. **Model and config:** Qwen3.8-Flash-Next-GSQ-RCO IQ3_S, single GPU, `--max-context 262144 --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.7 --lookup-chain 5 --ple-io direct --expert-cache auto --prefill auto --vision --vram-reserve-mib 700`, `parallel: 1`. Expert cache: 7589 slots / 14,737 MiB in every arm. The vision encoder ran on the CPU (`gpu: false`, 24 threads) the entire time. Common env: `STRATA_BF16_TC=1 STRATA_ADAPT_OVERLAP=1`. **Arms (same binary, env only):** P0 = `STRATA_SM75_PERF=0` · P1 = `STRATA_SM75_PERF=1` · P1-EXP0 = `STRATA_SM75_PERF=1 STRATA_SM75_EXP=0` **Method:** 5 rounds with a fresh server per arm per round, alternating the order each round. I used one warmup request per start and didn't count it. Sampling was greedy (`top_k 1`, `temperature 0`, `presence_penalty 0`, `reasoning_effort none`), with no prompt reuse (every request got a unique prefix). Decode numbers are the engine's `decode_tok_s`. Prefill is `prompt_read` divided by prompt time in seconds. Each cell is the median of 5 runs, with [min, max]. | tok/s | P0 | P1 | P1-EXP0 | |---|---:|---:|---:| | code, 45-token prompt | 86.0 [85.7, 86.8] | 92.3 [92.2, 92.6] | **95.8** [95.3, 95.9] | | Chinese, 48-token prompt | 60.0 [59.8, 60.4] | 61.8 [61.7, 63.2] | **64.5** [64.4, 64.7] | | decode at 4,088 tokens | 67.2 [66.9, 67.7] | 71.4 [71.3, 77.0] | **79.1** [79.0, 79.3] | | decode at 32,789 tokens | 63.8 [62.3, 68.9] | 72.3 [68.3, 76.9] | **78.4** [77.9, 81.2] | | decode at 65,549 tokens | 64.7 [64.3, 68.4] | 68.8 [68.0, 73.5] | **73.1** [69.2, 74.8] | | prefill, 16,406 tokens | 1,217 | 1,318 | 1,322 | | prefill, 65,546 tokens | 1,138 | 1,340 | 1,340 | | vs P0 | code | Chinese | 4K | 32K | 64K | prefill 16K | prefill 64K | |---|---:|---:|---:|---:|---:|---:|---:| | P1 | +7.3% | +3.0% | +6.3% | +13.3% | +6.3% | +8.3% | +17.7% | | P1-EXP0 | +11.4% | +7.5% | +17.7% | +22.9% | +13.0% | +8.7% | +17.7% | The 65K prompts are beyond `--kv-resident 32768`, so those rows include KV streaming. **Output parity (with drafts on, `--spec 4`):** - The 256-token greedy continuations at 4K and 32K weren't byte-identical to P0 in either enabled arm. The first differing character was at index 128 (4K) and 103 (32K). - P0 isn't repeatable across restarts at long context either. Over 5 fresh starts, P0 produced 5 distinct outputs at 32K and 5 at 64K, and P1-EXP0 produced 4 at each. At 4K, P0 and P1-EXP0 were each stable across all 5 starts (1 distinct output each), but the two outputs differ from each other. - I didn't isolate this with `--spec 0`, so I can't say whether the 4K difference comes from the kernels or from draft acceptance. - Short answers that end naturally (a ≤20-word summary at 4K and 32K) matched P0 byte for byte in both arms. **Smoke checks:** a vision test (reading table values) and a structured tool call passed in all three arms. On a 2048-token thinking puzzle, all three arms reached the right final answer, but P1's written explanation contradicted the puzzle's premise in one step. That's a single request, so I'm noting it rather than reading too much into it. After this run I switched the card's production service to v0.1.45 with `STRATA_SM75_PERF=1 STRATA_SM75_EXP=0`. I can rerun a `--spec 0` pass, or try any other switch you want checked.
Author
Owner

@rafatxf commented on GitHub (Oct 19, 2026):

Thanks @Adamyno, @agorevski and @coolthor (and @ioridev in #2069) for the runs. That makes five sm_75 setups, four of them independent of mine. Every PR in this issue was ported into 0.1.45, so I have closed them; #2223 was closed as below the 3 % bar. I'll keep this issue open for the default question.

STRATA_SM75_PERF=1 across the rigs (decode, against =0)

who cards pack decode prompt
ioridev (#2069) 2080 Ti 22 GB + 11 GB peer IQ3_S +7.6 % +8-9 %
Adamyno 2x 2080 Ti, layer split UD-Q4_K_XL +0.7 to +3 % (expert-cache bound) +0.8 to +1.5 %
agorevski 2x Quadro RTX 8000 IQ3_S +5.9 / +7.4 / +11.1 % at 4K / 32K / 128K +4.7 / +9.8 / +23.7 %
coolthor 1x 2080 Ti IQ3_S +3 to +13 % +8 to +18 %
me (#2069) 2x 2080 Ti, NVLink, layer split Q2_0 / IQ3_S +19.1 % / +3.9 % +6-8 % / +3-7 %

Every rig saw a gain, and there were no errors in Adamyno's 60-minute soak. The size depends on how much of the decode runs on the GPU. To me that supports making the bitwise umbrella the sm_75 default. The expert layout below is the exception.

The grouped-expert layout: mode 4 only helps the Q2_0 pack

Three of you found that turning off mode 4 (STRATA_SM75_EXP=0, which goes back to mode 0) helps on IQ3_S. ioridev and I had compared mode 4 against mode 8 instead (STRATA_EXP_MODE=8). Nobody had put 0 and 8 side by side, so I ran all three modes on the three packs I have.

Setup: v0.1.45 + STRATA_SM75_PERF=1, 2x 2080 Ti in a layer split, 32K context, --spec 4 --mtp --adapt-every 0.

Method: engine-direct, 512 greedy tokens per prompt. Each figure is the mean decode tok/s over the es, code, 4K and 16K prompts.

pack mode 4 (umbrella default) mode 0 (SM75_EXP=0) mode 8 (EXP_MODE=8)
Q2_0 115.1 111.5 (-3.1 %) 114.6 (-0.5 %)
IQ3_XXS 69.9 71.8 (+2.7 %) 72.9 (+4.4 %)
IQ3_S 59.7 60.5 (+1.2 %) 61.4 (+2.7 %)

The IQ3_S row leaves out the 16K prompt. In the mode-8 arm the drafts went differently there: 238/375 accepted against 262/357 in the other two modes. That run took 13.85 s against 12.37 s, so it mixes in a drafting difference. I don't know the cause: ioridev's native_expert_bench showed 0 differing outputs between modes 0 and 8.

So mode 4 is the right layout only for the Q2_0 pack. On the i-quant packs, mode 8 is the fastest here, and mode 0 is still better than mode 4. On Adamyno's K-quant control the switch is flat.

Suggestion, if you make the umbrella a default:

  • Gate STRATA_SM75_EXP (mode 4) on the Q2_0 pack only.
  • Give the i-quant packs mode 8, or mode 0 if you'd rather stay on the CUDA layout.

If a --spec 0 or --window-hashes run of any of these would help, I can do it.

<!-- gh-comment-id:6260228230 --> @rafatxf commented on GitHub (Oct 19, 2026): Thanks @Adamyno, @agorevski and @coolthor (and @ioridev in #2069) for the runs. That makes five sm_75 setups, four of them independent of mine. Every PR in this issue was ported into 0.1.45, so I have closed them; #2223 was closed as below the 3 % bar. I'll keep this issue open for the default question. ## `STRATA_SM75_PERF=1` across the rigs (decode, against `=0`) | who | cards | pack | decode | prompt | |---|---|---|---|---| | ioridev (#2069) | 2080 Ti 22 GB + 11 GB peer | IQ3_S | +7.6 % | +8-9 % | | Adamyno | 2x 2080 Ti, layer split | UD-Q4_K_XL | +0.7 to +3 % (expert-cache bound) | +0.8 to +1.5 % | | agorevski | 2x Quadro RTX 8000 | IQ3_S | +5.9 / +7.4 / +11.1 % at 4K / 32K / 128K | +4.7 / +9.8 / +23.7 % | | coolthor | 1x 2080 Ti | IQ3_S | +3 to +13 % | +8 to +18 % | | me (#2069) | 2x 2080 Ti, NVLink, layer split | Q2_0 / IQ3_S | +19.1 % / +3.9 % | +6-8 % / +3-7 % | Every rig saw a gain, and there were no errors in Adamyno's 60-minute soak. The size depends on how much of the decode runs on the GPU. To me that supports making the bitwise umbrella the sm_75 default. The expert layout below is the exception. ## The grouped-expert layout: mode 4 only helps the Q2_0 pack Three of you found that turning off mode 4 (`STRATA_SM75_EXP=0`, which goes back to mode 0) helps on IQ3_S. ioridev and I had compared mode 4 against mode 8 instead (`STRATA_EXP_MODE=8`). Nobody had put 0 and 8 side by side, so I ran all three modes on the three packs I have. **Setup:** v0.1.45 + `STRATA_SM75_PERF=1`, 2x 2080 Ti in a layer split, 32K context, `--spec 4 --mtp --adapt-every 0`. **Method:** engine-direct, 512 greedy tokens per prompt. Each figure is the mean decode tok/s over the es, code, 4K and 16K prompts. | pack | mode 4 (umbrella default) | mode 0 (`SM75_EXP=0`) | mode 8 (`EXP_MODE=8`) | |---|---:|---:|---:| | Q2_0 | **115.1** | 111.5 (-3.1 %) | 114.6 (-0.5 %) | | IQ3_XXS | 69.9 | 71.8 (+2.7 %) | **72.9 (+4.4 %)** | | IQ3_S | 59.7 | 60.5 (+1.2 %) | **61.4 (+2.7 %)** | The IQ3_S row leaves out the 16K prompt. In the mode-8 arm the drafts went differently there: 238/375 accepted against 262/357 in the other two modes. That run took 13.85 s against 12.37 s, so it mixes in a drafting difference. I don't know the cause: ioridev's `native_expert_bench` showed 0 differing outputs between modes 0 and 8. So mode 4 is the right layout only for the Q2_0 pack. On the i-quant packs, mode 8 is the fastest here, and mode 0 is still better than mode 4. On Adamyno's K-quant control the switch is flat. **Suggestion, if you make the umbrella a default:** - Gate `STRATA_SM75_EXP` (mode 4) on the Q2_0 pack only. - Give the i-quant packs mode 8, or mode 0 if you'd rather stay on the CUDA layout. If a `--spec 0` or `--window-hashes` run of any of these would help, I can do it.
Author
Owner

@Adamyno commented on GitHub (Oct 19, 2026):

Mode 4 / 0 / 8 on a second IQ3_S pack: mode 8 wins here too (+4.9% decode over the umbrella default), prefill unchanged

Confirmation of @rafatxf's mode comparison on a different rig and a different IQ3_S pack, in the shape I measured STRATA_SM75_EXP before.

Hardware: 2× RTX 2080 Ti 22 GB (sm_75, 210 W / 167 W), i9-7980XE, 125.5 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04.

Build/config: v0.1.45 (477ac13c), one binary, environment only. Qwen3.8-Flash-Next GSQ-RCO IQ3_S (gate/up IQ3_XXS 17 layers, IQ3_S 10, IQ2_S 20, IQ4_XS 1; down IQ4_NL 39, Q2_0 9), --layer-split 15, 262,144 ctx, --kv int8 --kv-resident 32768, --spec 3 --spec-min-p 0.54 --mtp mtp/rt --batch 2, greedy (top_k 1, temperature 0, presence_penalty 0), STRATA_SM75_PERF=1 in all three arms. 24,250-token prompt, 256 new tokens, 3 rounds, order alternates (ABC / CBA / ABC).

request (decode tok/s, median) mode 4 (umbrella) mode 0 (SM75_EXP=0) mode 8 (EXP_MODE=8)
chat0 58.7 58.8 59.5
chat1 58.8 61.8 62.5
chat2 55.3 57.4 60.1
24,250-token prompt 59.4 61.2 62.5
prefill, 24,250 tokens 1,324 1,336 1,331

Paired deltas against mode 4, only the pairs whose token counts match (drafting differences excluded):

  • mode 0: 12/12 pairs, median +2.20% (+0.17 … +5.79).
  • mode 8: 8/12 pairs, median +4.90% (−0.51 … +9.01). Four pairs excluded: chat2 rounds 0 and 2 generated 196 vs 204 tokens, and the 24K prompt rounds 0 and 2 ended at 159 vs 157; their deltas (+8.5, +9.6, +5.2, +3.8%) were in the same direction but mix in a drafting difference.

Prefill is flat between the modes (±0.9%, within run noise), so this is a decode-layout effect, as expected.

What it says

On this pack the order is mode 8 > mode 0 > mode 4, which is the same direction @rafatxf measured on his IQ3_XXS and IQ3_S packs (there: +4.4% and +2.7% for mode 8 over mode 4). Two rigs, three packs (his Q2_0/IQ3_XXS/IQ3_S and this IQ3_S) now agree: mode 4 is the Q2_0 layout only, and the i-quant packs want mode 8.

Mode 8 changes the arithmetic (int8 rounding), so this is a speed result, not an identity claim — I have no KL or --window-hashes run for it. If a mode 8 identity gate is what would settle the default, I can run one on this pack.

<!-- gh-comment-id:6264113921 --> @Adamyno commented on GitHub (Oct 19, 2026): ## Mode 4 / 0 / 8 on a second IQ3_S pack: mode 8 wins here too (+4.9% decode over the umbrella default), prefill unchanged Confirmation of @rafatxf's mode comparison on a different rig and a different IQ3_S pack, in the shape I measured `STRATA_SM75_EXP` before. **Hardware:** 2× RTX 2080 Ti 22 GB (sm_75, 210 W / 167 W), i9-7980XE, 125.5 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04. **Build/config:** v0.1.45 (`477ac13c`), one binary, environment only. Qwen3.8-Flash-Next GSQ-RCO **IQ3_S** (gate/up IQ3_XXS 17 layers, IQ3_S 10, IQ2_S 20, IQ4_XS 1; down IQ4_NL 39, Q2_0 9), `--layer-split 15`, 262,144 ctx, `--kv int8 --kv-resident 32768`, `--spec 3 --spec-min-p 0.54 --mtp mtp/rt --batch 2`, greedy (`top_k 1`, `temperature 0`, `presence_penalty 0`), `STRATA_SM75_PERF=1` in **all three** arms. 24,250-token prompt, 256 new tokens, 3 rounds, order alternates (ABC / CBA / ABC). | request (decode tok/s, median) | mode 4 (umbrella) | mode 0 (`SM75_EXP=0`) | mode 8 (`EXP_MODE=8`) | |---|---:|---:|---:| | chat0 | 58.7 | 58.8 | **59.5** | | chat1 | 58.8 | 61.8 | **62.5** | | chat2 | 55.3 | 57.4 | **60.1** | | 24,250-token prompt | 59.4 | 61.2 | **62.5** | | prefill, 24,250 tokens | 1,324 | 1,336 | 1,331 | Paired deltas against mode 4, **only the pairs whose token counts match** (drafting differences excluded): - mode 0: 12/12 pairs, median **+2.20%** (+0.17 … +5.79). - mode 8: 8/12 pairs, median **+4.90%** (−0.51 … +9.01). Four pairs excluded: chat2 rounds 0 and 2 generated 196 vs 204 tokens, and the 24K prompt rounds 0 and 2 ended at 159 vs 157; their deltas (+8.5, +9.6, +5.2, +3.8%) were in the same direction but mix in a drafting difference. Prefill is flat between the modes (±0.9%, within run noise), so this is a decode-layout effect, as expected. ### What it says On this pack the order is **mode 8 > mode 0 > mode 4**, which is the same direction @rafatxf measured on his IQ3_XXS and IQ3_S packs (there: +4.4% and +2.7% for mode 8 over mode 4). Two rigs, three packs (his Q2_0/IQ3_XXS/IQ3_S and this IQ3_S) now agree: **mode 4 is the Q2_0 layout only**, and the i-quant packs want mode 8. Mode 8 changes the arithmetic (int8 rounding), so this is a speed result, not an identity claim — I have no KL or `--window-hashes` run for it. If a mode 8 identity gate is what would settle the default, I can run one on this pack.
Author
Owner

@Adamyno commented on GitHub (Oct 19, 2026):

Quality check on the same pack: mode 8, mode 0 and mode 4 are value-identical here (4,995 teacher-forced positions)

Before anyone changes a default: I ran the repo's own yardstick (tools/quant_quality.py) on the same IQ3_S pack, with the expert arena on the GPU so the layout is actually exercised.

Setup: Qwen3.8-Flash-Next GSQ-RCO IQ3_S, one RTX 2080 Ti 22 GB, data/quant_quality/v1 (code, docs, english, multilingual, agent — 999 positions each, 4,995 total), FP16 K/V, --short-read, --prefill 512, --gpu-experts 1500; expert cache, adaptation, PCIe share and prompt cache fixed by the tool. Reference = mode 4 (the umbrella default), one engine per arm, same binary.

run positions top-1 agreement mean KL PPL PPL ref
mode 8 (EXP_MODE=8) 4,995 100.00% 0.00000 4.115 4.115
mode 0 (SM75_EXP=0) 4,995 100.00% 0.00000 4.115 4.115

Control that the harness does see the GPU expert path: mode 4 with all experts on the CPU (the tool's default --expert-cache 1) against mode 4 with 1,500 GPU slots gives 94.81% top-1, mean KL 0.0265, PPL 4.143 vs 4.115. So moving the experts onto the card does move the logprobs; switching the layout does not. (Mode 4 and mode 0 with experts on the CPU are also identical, as expected.)

What this means for the default question

On this pack the mode-8 layout changes where the numbers live, not the numbers: the +4.9% decode I measured is not paid for in output quality at the shapes the yardstick covers. If the choice is made on speed alone, mode 8 is the one to take for i-quant packs.

Caveats, so this is not read as more than it is: the yardstick reads one token per window (--short-read), while the speed runs use spec-3 verify windows of four rows — and Turing's down projection already falls back to the CUDA layout at 4+ token windows (sm75_down_em), so those windows are only partly covered here. A --spec-follow + --window-hashes run is the test for that shape if you want it. One pack, one card, and no task-level eval (no needle/recall).

<!-- gh-comment-id:6264797048 --> @Adamyno commented on GitHub (Oct 19, 2026): ## Quality check on the same pack: mode 8, mode 0 and mode 4 are value-identical here (4,995 teacher-forced positions) Before anyone changes a default: I ran the repo's own yardstick (`tools/quant_quality.py`) on the same IQ3_S pack, with the expert arena on the GPU so the layout is actually exercised. **Setup:** Qwen3.8-Flash-Next GSQ-RCO IQ3_S, one RTX 2080 Ti 22 GB, `data/quant_quality/v1` (code, docs, english, multilingual, agent — 999 positions each, 4,995 total), FP16 K/V, `--short-read`, `--prefill 512`, `--gpu-experts 1500`; expert cache, adaptation, PCIe share and prompt cache fixed by the tool. Reference = mode 4 (the umbrella default), one engine per arm, same binary. | run | positions | top-1 agreement | mean KL | PPL | PPL ref | |---|---:|---:|---:|---:|---:| | mode 8 (`EXP_MODE=8`) | 4,995 | **100.00%** | 0.00000 | 4.115 | 4.115 | | mode 0 (`SM75_EXP=0`) | 4,995 | **100.00%** | 0.00000 | 4.115 | 4.115 | **Control that the harness does see the GPU expert path:** mode 4 with all experts on the CPU (the tool's default `--expert-cache 1`) against mode 4 with 1,500 GPU slots gives **94.81% top-1, mean KL 0.0265, PPL 4.143 vs 4.115**. So moving the experts onto the card does move the logprobs; switching the layout does not. (Mode 4 and mode 0 with experts on the CPU are also identical, as expected.) ### What this means for the default question On this pack the mode-8 layout changes where the numbers live, not the numbers: the **+4.9% decode** I measured is not paid for in output quality at the shapes the yardstick covers. If the choice is made on speed alone, mode 8 is the one to take for i-quant packs. **Caveats, so this is not read as more than it is:** the yardstick reads one token per window (`--short-read`), while the speed runs use spec-3 verify windows of four rows — and Turing's down projection already falls back to the CUDA layout at 4+ token windows (`sm75_down_em`), so those windows are only partly covered here. A `--spec-follow` + `--window-hashes` run is the test for that shape if you want it. One pack, one card, and no task-level eval (no needle/recall).
Author
Owner

@coolthor commented on GitHub (Oct 19, 2026):

Mode 0 vs. mode 8 on a single RTX 2080 Ti (IQ3_S): mode 8 wins here too

Following up on @rafatxf's mode comparison, I ran mode 0 against mode 8 on the same single-card setup as my earlier comment (one RTX 2080 Ti 22 GB, no layer split, Qwen3.8-Flash-Next-GSQ-RCO IQ3_S, v0.1.45 477ac13c, int8 KV, --spec 4, --kv-resident 32768, CPU vision encoder attached).

Arms (same binary, env only): both use STRATA_SM75_PERF=1 STRATA_SM75_EXP=0; the mode 8 arm adds STRATA_EXP_MODE=8. In exp_mode() (src/kernels/cuda/iq_kernels.cu), an explicit STRATA_EXP_MODE is read before the GPU default, so STRATA_SM75_EXP=0 doesn't override it.

Method: same as before. 5 rounds, a fresh server per arm per round, order alternating each round, greedy sampling. Each result is the median of 5 runs. Decode uses the engine's decode_tok_s, with [min, max] shown; prefill is prompt tokens read divided by prefill time.

tok/s mode 0 mode 8 change
code, 45-token prompt 95.6 [94.9, 96.2] 99.2 [98.2, 99.3] +3.8%
Chinese, 48-token prompt 64.5 [64.1, 64.8] 66.4 [66.2, 66.4] +3.0%
decode at 4,088 tokens 79.0 [78.2, 79.6] 82.0 [81.5, 82.0] +3.8%
decode at 32,789 tokens 78.5 [73.6, 80.3] 83.6 [80.7, 84.9] +6.5%
decode at 65,549 tokens 73.9 [70.7, 76.7] 78.1 [73.9, 79.4] +5.7%
prefill, 16,406 tokens 1,319 1,316 -0.2%
prefill, 65,546 tokens 1,340 1,347 +0.6%

Decode is faster at every tested length, with bigger gains at 32K and 64K than at 4K. Prefill is essentially unchanged. That matches what you and @Adamyno saw on IQ3_S.

The vision and structured tool-call smoke tests passed in both arms. I'm now running mode 8 in production on this card.

<!-- gh-comment-id:6265553568 --> @coolthor commented on GitHub (Oct 19, 2026): ## Mode 0 vs. mode 8 on a single RTX 2080 Ti (IQ3_S): mode 8 wins here too Following up on @rafatxf's mode comparison, I ran mode 0 against mode 8 on the same single-card setup as my earlier comment (one RTX 2080 Ti 22 GB, no layer split, Qwen3.8-Flash-Next-GSQ-RCO IQ3_S, v0.1.45 `477ac13c`, int8 KV, `--spec 4`, `--kv-resident 32768`, CPU vision encoder attached). **Arms (same binary, env only):** both use `STRATA_SM75_PERF=1 STRATA_SM75_EXP=0`; the mode 8 arm adds `STRATA_EXP_MODE=8`. In `exp_mode()` (`src/kernels/cuda/iq_kernels.cu`), an explicit `STRATA_EXP_MODE` is read before the GPU default, so `STRATA_SM75_EXP=0` doesn't override it. **Method:** same as before. 5 rounds, a fresh server per arm per round, order alternating each round, greedy sampling. Each result is the median of 5 runs. Decode uses the engine's `decode_tok_s`, with [min, max] shown; prefill is prompt tokens read divided by prefill time. | tok/s | mode 0 | mode 8 | change | |---|---:|---:|---:| | code, 45-token prompt | 95.6 [94.9, 96.2] | 99.2 [98.2, 99.3] | +3.8% | | Chinese, 48-token prompt | 64.5 [64.1, 64.8] | 66.4 [66.2, 66.4] | +3.0% | | decode at 4,088 tokens | 79.0 [78.2, 79.6] | 82.0 [81.5, 82.0] | +3.8% | | decode at 32,789 tokens | 78.5 [73.6, 80.3] | 83.6 [80.7, 84.9] | +6.5% | | decode at 65,549 tokens | 73.9 [70.7, 76.7] | 78.1 [73.9, 79.4] | +5.7% | | prefill, 16,406 tokens | 1,319 | 1,316 | -0.2% | | prefill, 65,546 tokens | 1,340 | 1,347 | +0.6% | Decode is faster at every tested length, with bigger gains at 32K and 64K than at 4K. Prefill is essentially unchanged. That matches what you and @Adamyno saw on IQ3_S. The vision and structured tool-call smoke tests passed in both arms. I'm now running mode 8 in production on this card.
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6270864378 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Author
Owner

@rafatxf commented on GitHub (Oct 19, 2026):

Re-tested on v0.2.0-beta (3d1fb480, engine 0.1.45.3), source build for sm_75, nothing patched.

Setup:

  • 2x RTX 2080 Ti 22 GB, layer split.
  • 32K context, --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.7 --mtp --pcie-frac 0 --adapt-every 0 --resident-experts.
  • Env STRATA_BF16_TC=1 in every arm.

Method:

  • One binary. The arms differ only by environment variables.
  • Engine-direct (--serve): a fresh engine per prompt, then 512 greedy tokens.
  • Prompts: es (57 tokens), code (54), a 4K and a 16K document.

Decode, tok/s

pack arm es code 4K 16K mean
Q2_0 default 95.1 124.4 82.4 78.3 95.1
Q2_0 STRATA_SM75_PERF=1 112.0 151.3 96.2 92.6 113.0 (+18.9 %)
Q2_0 + STRATA_EXP_MODE=8 111.2 150.5 95.6 91.9 112.3 (+18.1 %)
IQ3_S default 60.2 72.1 38.5 35.9 51.7
IQ3_S STRATA_SM75_PERF=1 63.0 75.8 39.7 37.2 53.9 (+4.3 %)
IQ3_S + STRATA_EXP_MODE=8 64.9 77.7 39.2 37.3 54.8 (+6.0 %)
  • Prompt reading with STRATA_SM75_PERF=1: Q2_0 4K 3.79 → 3.57 s, 16K 13.98 → 12.98 s. IQ3_S 4K 5.13 → 4.95 s, 16K 15.30 → 14.36 s.
  • Drafts: the default and SM75_PERF arms accepted the same drafts (Q2_0 es 262/342, code 330/389; IQ3_S es 262/349, code 341/403), as expected for bitwise kernels.
  • One exception: in the IQ3_S mode-8 arm the 4K drafting differed (242/390 against 249/387), so that one cell mixes in a drafting difference.

The same picture as on 0.1.45:

  • SM75_PERF gives +19 % on Q2_0 and +4 % on IQ3_S.
  • Mode 8 adds about 1.6 % on IQ3_S and costs 0.7 % on Q2_0, so mode 4 is the right layout only for Q2_0.

I have updated the title and the body to the feature-request form (proposal, current workaround, environment, evidence).

/reopen

<!-- gh-comment-id:6273580477 --> @rafatxf commented on GitHub (Oct 19, 2026): Re-tested on **v0.2.0-beta** (3d1fb480, engine 0.1.45.3), source build for sm_75, nothing patched. **Setup:** - 2x RTX 2080 Ti 22 GB, layer split. - 32K context, `--kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.7 --mtp --pcie-frac 0 --adapt-every 0 --resident-experts`. - Env `STRATA_BF16_TC=1` in every arm. **Method:** - One binary. The arms differ only by environment variables. - Engine-direct (`--serve`): a fresh engine per prompt, then 512 greedy tokens. - Prompts: es (57 tokens), code (54), a 4K and a 16K document. **Decode, tok/s** | pack | arm | es | code | 4K | 16K | mean | |---|---|---:|---:|---:|---:|---:| | Q2_0 | default | 95.1 | 124.4 | 82.4 | 78.3 | 95.1 | | Q2_0 | `STRATA_SM75_PERF=1` | 112.0 | 151.3 | 96.2 | 92.6 | **113.0 (+18.9 %)** | | Q2_0 | `+ STRATA_EXP_MODE=8` | 111.2 | 150.5 | 95.6 | 91.9 | 112.3 (+18.1 %) | | IQ3_S | default | 60.2 | 72.1 | 38.5 | 35.9 | 51.7 | | IQ3_S | `STRATA_SM75_PERF=1` | 63.0 | 75.8 | 39.7 | 37.2 | 53.9 (+4.3 %) | | IQ3_S | `+ STRATA_EXP_MODE=8` | 64.9 | 77.7 | 39.2 | 37.3 | **54.8 (+6.0 %)** | - **Prompt reading with `STRATA_SM75_PERF=1`:** Q2_0 4K 3.79 → 3.57 s, 16K 13.98 → 12.98 s. IQ3_S 4K 5.13 → 4.95 s, 16K 15.30 → 14.36 s. - **Drafts:** the default and `SM75_PERF` arms accepted the same drafts (Q2_0 es 262/342, code 330/389; IQ3_S es 262/349, code 341/403), as expected for bitwise kernels. - **One exception:** in the IQ3_S mode-8 arm the 4K drafting differed (242/390 against 249/387), so that one cell mixes in a drafting difference. **The same picture as on 0.1.45:** - `SM75_PERF` gives +19 % on Q2_0 and +4 % on IQ3_S. - Mode 8 adds about 1.6 % on IQ3_S and costs 0.7 % on Q2_0, so mode 4 is the right layout only for Q2_0. I have updated the title and the body to the feature-request form (proposal, current workaround, environment, evidence). /reopen
Author
Owner

@rafatxf commented on GitHub (Oct 19, 2026):

/reopen

<!-- gh-comment-id:6274034995 --> @rafatxf commented on GitHub (Oct 19, 2026): /reopen
Author
Owner

@github-actions[bot] commented on GitHub (Oct 19, 2026):

Reopened, thank you. A maintainer will pick it up from here.

<!-- gh-comment-id:6274038437 --> @github-actions[bot] commented on GitHub (Oct 19, 2026): Reopened, thank you. A maintainer will pick it up from here.
Author
Owner

@xrip commented on GitHub (Oct 19, 2026):

Another sm_75 rig on 0.2.0-beta: 2x CMP 50HX 20 GB (sm_75), layer split, IQ3_XXS. On top of STRATA_SM75_PERF=1 + STRATA_EXP_MODE=8 (which this box has run since 0.1.45), three more bitwise switches give +2.8 % decode. Two others are slower here.

Setup

  • 2x Xeon E5-2670 v2 (AVX only), 64 GB, Linux, CUDA 13.3. Source build of v0.2.0-beta (f57c0adc) plus my fork's cache patches (none touch the decode kernels).
  • Ubuntu 24.04.4 (kernel 7.2.9), NVIDIA driver 610.43.03. nvidia-smi: 20,480 MiB per card, power limit 170 W, SM clock locked at 2,100 MHz. During the runs the box's idle-clock governor was stopped, the CPU governor was performance and C-states deeper than C1 were off; no other load.
  • Model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF (snapshot ed59f920), IQ3_XXS, converted to the native pack.
  • Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS native pack, --layer-split auto --kv int8 --spec 4 --spec-min-p 0.5 --mtp, --adapt-swaps 0 --pcie-frac 0.17 --pool-workers 19.
  • Env: STRATA_BF16_TC=1 STRATA_ROUTE_TAIL_SKIP=0 STRATA_PREFILL_CPU_SHARE=0.
  • Workload: a fresh server per run, a 171,870-token prefix, then 6 questions x 512 greedy tokens.

On this box the decode text differs from run to run even with the same binary, and the number of accepted drafts moves with it. So I compare the time per verify window (decode ms / (generated tokens - accepted drafts)) and give tok/s beside it.

Screen (one run per switch; base = the average of a run before and a run after, 34.91 ms/window, the two 0.5 % apart):

switch ms/window vs base
STRATA_ATTN_DAILY=1 34.42 -1.4 %
STRATA_SIDE_MIXER=2 34.45 -1.3 %
STRATA_B6_MMVQ_ROWS=1 34.66 -0.7 %
STRATA_ARGMAX_ROWS_SM70=1 34.79 -0.3 % (noise)
STRATA_GR_NORM_FAST=1 34.89 -0.1 % (noise)
STRATA_QSA_ROWS=1 35.08 +0.5 % (slower)
STRATA_GU_SWIGLU=1 35.34 +1.2 % (slower)

The three winners together, 3 interleaved rounds:

base + SIDE_MIXER=2 ATTN_DAILY=1 B6_MMVQ_ROWS=1
decode tok/s 75.13 / 74.87 / 75.11 77.03 / 77.15 / 77.17 (+2.8 %)
ms per verify window 34.86 / 34.71 / 34.99 34.17 / 34.27 / 34.29 (-1.7 %)
172K cold read, the same runs' first request 73.33 / 74.07 / 73.60 s 73.83 / 73.47 / 73.64 s

Exactness on this card

  • qsa_merge_daily_parity --device 0 and --device 1: 1,172 cases, 0 differ, PASS on both.
  • b6_mmvq_bench 300 0 1: every case/width bit-identical ("0 case/width comparisons failed"). It is faster at 2-5 columns in most cells, e.g. the QSA q IQ4_XS projection at 5 columns 0.131 -> 0.086 ms. The engine's sm_75 interleaved table already covers some of those shapes, so the end-to-end gain is smaller.
  • SIDE_MIXER=2 runs the same kernels on branches of the window graph. I did not check it separately.

Limits: one pack, one depth (172K), swaps off, CMP 50HX cards (not a GeForce 2080 Ti). The screen is one run per switch; only the three-switch set has repeated runs. QSA_ROWS being slower here differs from #3161's 2080 Ti set; that may come from the layer split or the pack.

For this thread's default question: on this rig the three switches would be a measured addition to the sm_75 set. GU_SWIGLU (on in the sm_86 table) should stay off for sm_75.

Reproduction status: measured locally; every number here is from my runs on this box.

<!-- gh-comment-id:6274174979 --> @xrip commented on GitHub (Oct 19, 2026): Another sm_75 rig on 0.2.0-beta: 2x CMP 50HX 20 GB (sm_75), layer split, IQ3_XXS. On top of `STRATA_SM75_PERF=1` + `STRATA_EXP_MODE=8` (which this box has run since 0.1.45), three more bitwise switches give **+2.8 % decode**. Two others are slower here. **Setup** - 2x Xeon E5-2670 v2 (AVX only), 64 GB, Linux, CUDA 13.3. Source build of v0.2.0-beta (`f57c0adc`) plus my fork's cache patches (none touch the decode kernels). - Ubuntu 24.04.4 (kernel 7.2.9), NVIDIA driver 610.43.03. nvidia-smi: 20,480 MiB per card, power limit 170 W, SM clock locked at 2,100 MHz. During the runs the box's idle-clock governor was stopped, the CPU governor was `performance` and C-states deeper than C1 were off; no other load. - Model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF (snapshot `ed59f920`), IQ3_XXS, converted to the native pack. - Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS native pack, `--layer-split auto --kv int8 --spec 4 --spec-min-p 0.5 --mtp`, `--adapt-swaps 0 --pcie-frac 0.17 --pool-workers 19`. - Env: `STRATA_BF16_TC=1 STRATA_ROUTE_TAIL_SKIP=0 STRATA_PREFILL_CPU_SHARE=0`. - Workload: a fresh server per run, a 171,870-token prefix, then 6 questions x 512 greedy tokens. On this box the decode text differs from run to run even with the same binary, and the number of accepted drafts moves with it. So I compare the **time per verify window** (decode ms / (generated tokens - accepted drafts)) and give tok/s beside it. **Screen** (one run per switch; base = the average of a run before and a run after, 34.91 ms/window, the two 0.5 % apart): | switch | ms/window | vs base | |---|---:|---:| | `STRATA_ATTN_DAILY=1` | 34.42 | -1.4 % | | `STRATA_SIDE_MIXER=2` | 34.45 | -1.3 % | | `STRATA_B6_MMVQ_ROWS=1` | 34.66 | -0.7 % | | `STRATA_ARGMAX_ROWS_SM70=1` | 34.79 | -0.3 % (noise) | | `STRATA_GR_NORM_FAST=1` | 34.89 | -0.1 % (noise) | | `STRATA_QSA_ROWS=1` | 35.08 | +0.5 % (slower) | | `STRATA_GU_SWIGLU=1` | 35.34 | +1.2 % (slower) | **The three winners together**, 3 interleaved rounds: | | base | + `SIDE_MIXER=2 ATTN_DAILY=1 B6_MMVQ_ROWS=1` | |---|---|---| | decode tok/s | 75.13 / 74.87 / 75.11 | 77.03 / 77.15 / 77.17 (+2.8 %) | | ms per verify window | 34.86 / 34.71 / 34.99 | 34.17 / 34.27 / 34.29 (-1.7 %) | | 172K cold read, the same runs' first request | 73.33 / 74.07 / 73.60 s | 73.83 / 73.47 / 73.64 s | **Exactness on this card** - `qsa_merge_daily_parity --device 0` and `--device 1`: 1,172 cases, 0 differ, PASS on both. - `b6_mmvq_bench 300 0 1`: every case/width bit-identical ("0 case/width comparisons failed"). It is faster at 2-5 columns in most cells, e.g. the QSA q IQ4_XS projection at 5 columns 0.131 -> 0.086 ms. The engine's sm_75 interleaved table already covers some of those shapes, so the end-to-end gain is smaller. - `SIDE_MIXER=2` runs the same kernels on branches of the window graph. I did not check it separately. **Limits:** one pack, one depth (172K), swaps off, CMP 50HX cards (not a GeForce 2080 Ti). The screen is one run per switch; only the three-switch set has repeated runs. `QSA_ROWS` being slower here differs from #3161's 2080 Ti set; that may come from the layer split or the pack. For this thread's default question: on this rig the three switches would be a measured addition to the sm_75 set. `GU_SWIGLU` (on in the sm_86 table) should stay off for sm_75. **Reproduction status:** measured locally; every number here is from my runs on this box.
Author
Owner

@EliahHofmann commented on GitHub (Oct 19, 2026):

2× Tesla T10 16 GB (sm_75, 100 W cap, passive) on v0.2.1.3: SM75_PERF +4.5 % decode, the full bitwise set + mode 8 +14 % decode / +11 % prefill on IQ3_S

Another sm_75 data point, this time on a card class the thread hasn't covered yet: passively cooled Tesla T10s (TU102) at a 100 W power limit. Re-tested on 0.2.x as requested, with the same rig and method on 0.1.45 for comparison.

Hardware: 2× Tesla T10 16 GB (TU102, sm_75, VBIOS 90.02.41.00.01), power limit 100 W each (default 150 W), case fans driven from GPU temperature. AMD Ryzen 7 5700G, 62 GB DDR4, ASUS PRIME X570-PRO, PCIe 3.0 x8/x8. Ubuntu 24.04, kernel 7.0.0-38, driver 580.178.04, CUDA 12.9.

Build: v0.2.1.3 (cbfd5b92, engine 0.1.46.2), source build with CMAKE_CUDA_ARCHITECTURES=75, nothing patched. Same CMake settings as setup.py's local build.

Model and config: Qwen3.8-Flash-Next GSQ-RCO IQ3_S native pack (the 0.1.45 pack loads unchanged), --layer-split 24 --expert-cache auto --prefill auto --spec 4 --mtp rt --spec-min-p 0.70 --max-context 245760 --kv int8 --kv-resident 32768 --pcie-frac 0.00 --prefill-pipe 1536.

Method: tools/ab_engine.py, one binary, the arms differ only by the config's env block. Fresh server per arm, 3 rounds with alternating order, greedy, thinking off, 512 new tokens. Three chat prompts plus one 21,102-token prompt (--long-words 20000).

Arms

  • default: no Strata switches
  • perf: STRATA_SM75_PERF=1
  • all: perf + STRATA_EXP_MODE=8 + STRATA_QSA_ROWS=1 STRATA_ATTN_DAILY=1 STRATA_SCORES_THREAD=1 STRATA_KV_PREFETCH=1 STRATA_CACHE_MESSAGE_BOUNDARY=1 (the bit-exact set from #3161) + STRATA_SIDE_MIXER=2 STRATA_B6_MMVQ_ROWS=1 STRATA_SELECT_SIMT=1

v0.2.1.3, decode tok/s (median of 3 rounds)

request default perf all
chat0 63.7 67.4 71.9
chat1 48.0 50.1 54.5
chat2 49.8 51.3 57.3
21K prompt 49.1 51.0 57.1
21K prefill 902 948 1,007
paired median (12 pairs) decode pairs faster prefill
perf vs default +4.5 % 10/12 +5.1 %
all vs default +14.2 % 12/12 +11.1 %
all vs perf +8.2 % 12/12 +7.7 %

The paired median is the median of the per-round, per-request deltas between two arms in the same round. Identical-length pairs only: all vs default +12.5 % (n=3), perf vs default +7.2 % (n=2).

Which switches carry the gain (0.1.45, same rig and method)

On 0.1.45 I added the switches one group at a time, on top of STRATA_SM75_PERF=1 (auto layer split; perf alone read 869 tok/s prefill):

arm paired decode vs perf 21K prefill
+ EXP_MODE=8 +6.5 % 867 (−0.2 %)
+ the set of 5 +6.9 % 948 (+9.1 %)
+ SIDE_MIXER=2 B6_MMVQ_ROWS=1 SELECT_SIMT=1 +10.1 % 935 (+7.7 %)

So on the T10s, mode 8 does most of the decode work (+6.5 %, more than the +1.6 … +4.9 % on the 2080 Ti rigs, plausibly because the 100 W cards are more compute-bound per expert row). The set of 5 adds most of the prefill gain.

0.1.45 vs 0.2.1.3, all switches + --layer-split 24 on both: decode −0.9 %, prefill −1.1 % (paired medians, within noise). The speed did not move between the versions, and the switches are still opt-in on 0.2.1.3.

Side note for T10 owners (cf. #2007): --layer-split 24 against auto gave +2.3 % decode and +6.1 % prefill here (0.1.45, all switches). Auto picked 20, 22 and 23 on different starts.

Caveats

  • In most pairs the arms generated different answer lengths (MTP drafting moves with the arm), so most pairs are not identical work. The direction is the same in 12 of 12 pairs for "all".
  • No --window-hashes or KL run was done here, so this is a speed result only.
  • As a task-level check, the full set passed an app-building run in Qwen Code (49/49 hidden API checks, 21/21 edge-case probes) on 0.1.45.
  • GPUs averaged 52/49 °C (max 60/58 °C) during the 0.2.1.3 runs, with no thermal throttling. Both cards hit the 100 W power cap under load.

What I take from it: on 0.2.1.3 and 2× T10, the bitwise umbrella alone is +4.5 % decode / +5.1 % prefill, and with mode 8 for the i-quant pack plus the bit-exact set it is +14 % / +11 %. That supports the default this issue proposes, including mode 8 for i-quant packs.

Reproduction status: measured locally, every number here is from my runs on this box.

<!-- gh-comment-id:6275067905 --> @EliahHofmann commented on GitHub (Oct 19, 2026): **2× Tesla T10 16 GB (sm_75, 100 W cap, passive) on v0.2.1.3: SM75_PERF +4.5 % decode, the full bitwise set + mode 8 +14 % decode / +11 % prefill on IQ3_S** Another sm_75 data point, this time on a card class the thread hasn't covered yet: passively cooled Tesla T10s (TU102) at a 100 W power limit. Re-tested on 0.2.x as requested, with the same rig and method on 0.1.45 for comparison. **Hardware:** 2× Tesla T10 16 GB (TU102, sm_75, VBIOS 90.02.41.00.01), power limit 100 W each (default 150 W), case fans driven from GPU temperature. AMD Ryzen 7 5700G, 62 GB DDR4, ASUS PRIME X570-PRO, PCIe 3.0 x8/x8. Ubuntu 24.04, kernel 7.0.0-38, driver 580.178.04, CUDA 12.9. **Build:** v0.2.1.3 (cbfd5b92, engine 0.1.46.2), source build with `CMAKE_CUDA_ARCHITECTURES=75`, nothing patched. Same CMake settings as setup.py's local build. **Model and config:** Qwen3.8-Flash-Next GSQ-RCO IQ3_S native pack (the 0.1.45 pack loads unchanged), `--layer-split 24 --expert-cache auto --prefill auto --spec 4 --mtp rt --spec-min-p 0.70 --max-context 245760 --kv int8 --kv-resident 32768 --pcie-frac 0.00 --prefill-pipe 1536`. **Method:** `tools/ab_engine.py`, one binary, the arms differ only by the config's `env` block. Fresh server per arm, 3 rounds with alternating order, greedy, thinking off, 512 new tokens. Three chat prompts plus one 21,102-token prompt (`--long-words 20000`). **Arms** - **default:** no Strata switches - **perf:** `STRATA_SM75_PERF=1` - **all:** perf + `STRATA_EXP_MODE=8` + `STRATA_QSA_ROWS=1 STRATA_ATTN_DAILY=1 STRATA_SCORES_THREAD=1 STRATA_KV_PREFETCH=1 STRATA_CACHE_MESSAGE_BOUNDARY=1` (the bit-exact set from #3161) + `STRATA_SIDE_MIXER=2 STRATA_B6_MMVQ_ROWS=1 STRATA_SELECT_SIMT=1` **v0.2.1.3, decode tok/s (median of 3 rounds)** | request | default | perf | all | |---|---|---|---| | chat0 | 63.7 | 67.4 | 71.9 | | chat1 | 48.0 | 50.1 | 54.5 | | chat2 | 49.8 | 51.3 | 57.3 | | 21K prompt | 49.1 | 51.0 | 57.1 | | 21K prefill | 902 | 948 | 1,007 | | paired median (12 pairs) | decode | pairs faster | prefill | |---|---|---|---| | perf vs default | **+4.5 %** | 10/12 | **+5.1 %** | | all vs default | **+14.2 %** | 12/12 | **+11.1 %** | | all vs perf | **+8.2 %** | 12/12 | **+7.7 %** | The paired median is the median of the per-round, per-request deltas between two arms in the same round. Identical-length pairs only: all vs default +12.5 % (n=3), perf vs default +7.2 % (n=2). **Which switches carry the gain (0.1.45, same rig and method)** On 0.1.45 I added the switches one group at a time, on top of `STRATA_SM75_PERF=1` (auto layer split; perf alone read 869 tok/s prefill): | arm | paired decode vs perf | 21K prefill | |---|---|---| | + `EXP_MODE=8` | +6.5 % | 867 (−0.2 %) | | + the set of 5 | +6.9 % | 948 (+9.1 %) | | + `SIDE_MIXER=2 B6_MMVQ_ROWS=1 SELECT_SIMT=1` | +10.1 % | 935 (+7.7 %) | So on the T10s, mode 8 does most of the decode work (+6.5 %, more than the +1.6 … +4.9 % on the 2080 Ti rigs, plausibly because the 100 W cards are more compute-bound per expert row). The set of 5 adds most of the prefill gain. **0.1.45 vs 0.2.1.3, all switches + `--layer-split 24` on both:** decode −0.9 %, prefill −1.1 % (paired medians, within noise). The speed did not move between the versions, and the switches are still opt-in on 0.2.1.3. **Side note for T10 owners (cf. #2007):** `--layer-split 24` against auto gave +2.3 % decode and +6.1 % prefill here (0.1.45, all switches). Auto picked 20, 22 and 23 on different starts. **Caveats** - In most pairs the arms generated different answer lengths (MTP drafting moves with the arm), so most pairs are not identical work. The direction is the same in 12 of 12 pairs for "all". - No `--window-hashes` or KL run was done here, so this is a speed result only. - As a task-level check, the full set passed an app-building run in Qwen Code (49/49 hidden API checks, 21/21 edge-case probes) on 0.1.45. - GPUs averaged 52/49 °C (max 60/58 °C) during the 0.2.1.3 runs, with no thermal throttling. Both cards hit the 100 W power cap under load. **What I take from it:** on 0.2.1.3 and 2× T10, the bitwise umbrella alone is +4.5 % decode / +5.1 % prefill, and with mode 8 for the i-quant pack plus the bit-exact set it is +14 % / +11 %. That supports the default this issue proposes, including mode 8 for i-quant packs. **Reproduction status:** measured locally, every number here is from my runs on this box.
Author
Owner

@Adamyno commented on GitHub (Oct 19, 2026):

The three bitwise switches from the CMP 50HX screen, on a 2080 Ti pair: within noise here

Tested the STRATA_SIDE_MIXER=2 + STRATA_ATTN_DAILY=1 + STRATA_B6_MMVQ_ROWS=1 combination @xrip reported (+2.8% on 2× CMP 50HX) on a second sm_75 rig.

Setup: 2× RTX 2080 Ti 22 GB (210/167 W), i9-7980XE, 125.5 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, v0.2.0-beta (3d1fb480), source build for sm_75. Qwen3.8-Flash-Next GSQ-RCO IQ3_S, --layer-split 15, 262,144 ctx, --kv int8 --kv-resident 32768 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --batch 2, greedy. 24,250-token prompt + three short chats, 256 new tokens, 3 rounds, alternating order, one binary.

Both arms already have STRATA_SM75_PERF=1 STRATA_EXP_MODE=8; the test arm adds the three switches.

request (decode tok/s, medians) base + three switches paired Δ median
chat0 64.6 65.6 +2.3%
chat1 64.1 64.9 +0.8%
chat2 62.0 63.1 +1.8%
24,250-token prompt 65.6 66.0 +0.5%
prefill, 24,250 tokens 1,345.9 1,348.2 +0.2%

All 12 pairs: median +1.19%; the 10 pairs whose token counts match: median +0.87% (−1.22 … +7.36). Nine of the twelve pairs are positive, but the size is at the edge of this box's run-to-run spread, and the long prompt — where it would matter most — is +0.5%.

So on this card the three are neutral-to-slightly-positive, not the +2.8% the CMP 50HX sees. That is not an argument against them (they are bitwise and cost nothing measurable), just not a second confirmation of the size; the gain looks card-specific, which is worth knowing before any of them is considered for a default.

<!-- gh-comment-id:6275733083 --> @Adamyno commented on GitHub (Oct 19, 2026): ## The three bitwise switches from the CMP 50HX screen, on a 2080 Ti pair: within noise here Tested the `STRATA_SIDE_MIXER=2` + `STRATA_ATTN_DAILY=1` + `STRATA_B6_MMVQ_ROWS=1` combination @xrip reported (+2.8% on 2× CMP 50HX) on a second sm_75 rig. **Setup:** 2× RTX 2080 Ti 22 GB (210/167 W), i9-7980XE, 125.5 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, v0.2.0-beta (`3d1fb480`), source build for sm_75. Qwen3.8-Flash-Next GSQ-RCO **IQ3_S**, `--layer-split 15`, 262,144 ctx, `--kv int8 --kv-resident 32768 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --batch 2`, greedy. 24,250-token prompt + three short chats, 256 new tokens, 3 rounds, alternating order, one binary. Both arms already have `STRATA_SM75_PERF=1 STRATA_EXP_MODE=8`; the test arm adds the three switches. | request (decode tok/s, medians) | base | + three switches | paired Δ median | |---|---:|---:|---:| | chat0 | 64.6 | 65.6 | +2.3% | | chat1 | 64.1 | 64.9 | +0.8% | | chat2 | 62.0 | 63.1 | +1.8% | | 24,250-token prompt | 65.6 | 66.0 | +0.5% | | prefill, 24,250 tokens | 1,345.9 | 1,348.2 | +0.2% | All 12 pairs: median **+1.19%**; the 10 pairs whose token counts match: median **+0.87%** (−1.22 … +7.36). Nine of the twelve pairs are positive, but the size is at the edge of this box's run-to-run spread, and the long prompt — where it would matter most — is +0.5%. So on this card the three are neutral-to-slightly-positive, not the +2.8% the CMP 50HX sees. That is not an argument against them (they are bitwise and cost nothing measurable), just not a second confirmation of the size; the gain looks card-specific, which is worth knowing before any of them is considered for a default.
Author
Owner

@Adamyno commented on GitHub (Oct 19, 2026):

--window-hashes on a 22 GB sm_75 card: the run-to-run difference comes from the expert placement, not the mode

Tried to close the spec-window identity question for mode 8 with --spec-follow + --window-hashes on the IQ3_S pack. The result is about the gate itself, not about the modes.

Setup: 1× RTX 2080 Ti 22 GB, v0.2.0-beta (3d1fb480), IQ3_S native pack, --max-context 4096 --prefill 2048 --adapt-every 0, a fixed 400-token prompt and a fixed 64-token continuation (--spec-follow), --spec 3 --spec-min-p 0.54 --mtp mtp/rt. 24 windows per run.

runs compared window hashes
mode 4, twice, default cache differ (same argmaxes in the windows I checked, different residual hash)
mode 4, twice, --spec 2 without --mtp differ
mode 4 vs mode 8, default cache differ (not attributable, see above)
mode 4, twice, --expert-cache 1 (all experts on the CPU) identical
mode 4 vs mode 8, --expert-cache 1 identical

So the nondeterminism is not in the mode switch and not in the speculation: it appears whenever the expert arena is mixed GPU/CPU, which is unavoidable for a 125B IQ3_S pack on a 22 GB card. With the placement pinned to the CPU the file is reproducible — but then the GPU grouped-expert kernels run in neither arm, so that comparison says nothing about the layout.

What this means for a default change: on a card where the pack cannot be resident, --window-hashes cannot separate two layouts, because the same arm does not reproduce. If there is an intended way to pin the placement for the gate (a fixed GPU/CPU split, or a fixed --expert-cache N plus a fixed profile), that would make the spec windows usable on these rigs; I could not find one in the help.

The strongest identity evidence I can produce on this box stays the teacher-forced comparison in tools/quant_quality.py (4,995 positions, one token per window, expert arena pinned at 1,500 slots): mode 8 and mode 0 are identical to mode 4 there (100.00% top-1, mean KL 0.00000), and the CPU-vs-GPU-expert control (94.81% top-1, KL 0.0265) shows the harness does see the GPU expert path. That covers the decode shapes; the 4-row verify windows are the part still open, and this rig cannot answer them with the hash gate as it stands.

<!-- gh-comment-id:6276001213 --> @Adamyno commented on GitHub (Oct 19, 2026): ## `--window-hashes` on a 22 GB sm_75 card: the run-to-run difference comes from the expert placement, not the mode Tried to close the spec-window identity question for mode 8 with `--spec-follow` + `--window-hashes` on the IQ3_S pack. The result is about the gate itself, not about the modes. **Setup:** 1× RTX 2080 Ti 22 GB, v0.2.0-beta (`3d1fb480`), IQ3_S native pack, `--max-context 4096 --prefill 2048 --adapt-every 0`, a fixed 400-token prompt and a fixed 64-token continuation (`--spec-follow`), `--spec 3 --spec-min-p 0.54 --mtp mtp/rt`. 24 windows per run. | runs compared | window hashes | |---|---| | mode 4, twice, default cache | **differ** (same argmaxes in the windows I checked, different residual hash) | | mode 4, twice, `--spec 2` without `--mtp` | **differ** | | mode 4 vs mode 8, default cache | differ (not attributable, see above) | | mode 4, twice, `--expert-cache 1` (all experts on the CPU) | **identical** | | mode 4 vs mode 8, `--expert-cache 1` | identical | So the nondeterminism is not in the mode switch and not in the speculation: it appears whenever the expert arena is mixed GPU/CPU, which is unavoidable for a 125B IQ3_S pack on a 22 GB card. With the placement pinned to the CPU the file is reproducible — but then the GPU grouped-expert kernels run in neither arm, so that comparison says nothing about the layout. **What this means for a default change:** on a card where the pack cannot be resident, `--window-hashes` cannot separate two layouts, because the same arm does not reproduce. If there is an intended way to pin the placement for the gate (a fixed GPU/CPU split, or a fixed `--expert-cache N` plus a fixed profile), that would make the spec windows usable on these rigs; I could not find one in the help. The strongest identity evidence I can produce on this box stays the teacher-forced comparison in `tools/quant_quality.py` (4,995 positions, one token per window, expert arena pinned at 1,500 slots): mode 8 and mode 0 are identical to mode 4 there (100.00% top-1, mean KL 0.00000), and the CPU-vs-GPU-expert control (94.81% top-1, KL 0.0265) shows the harness does see the GPU expert path. That covers the decode shapes; the 4-row verify windows are the part still open, and this rig cannot answer them with the hash gate as it stands.
Author
Owner

@Adamyno commented on GitHub (Oct 19, 2026):

Mode 8 on two and three cards, same engine (v0.2.0-beta): +6.4% and +13.1% over mode 4

Same binary, environment only, on the same pack and the same prompt, at two card counts. This is the card-count half of the mode-8 case.

Setup: RTX 2080 Ti 22 GB (210/167/200 W), i9-7980XE, 125.5 GiB DDR4-3600, v0.2.0-beta (3d1fb480), source build for sm_75. Qwen3.8-Flash-Next GSQ-RCO IQ3_S, 262,144 ctx, --kv int8 --kv-resident 32768 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --batch 2, greedy. 24,250-token prompt + three 256-token chats, 2 rounds, alternating order. STRATA_SM75_PERF=1 in both arms; the mode-8 arm adds STRATA_EXP_MODE=8.

cards layer split mode 4 (umbrella) mode 8 paired Δ median pairs
2 15 60.4 65.5 +6.4% 8
3 16,32 81.5 90.0 +13.1% 8

Per request, 3 cards: chat0 +13.5%, chat1 +14.0%, chat2 +12.2%, 24K prompt +10.5%. 2 cards: chat0 +4.7%, chat1 +7.0%, chat2 +7.0%, 24K prompt +8.7%.

Prefill is unchanged in both (2 cards 1,344 → 1,348 tok/s, 3 cards 1,965 → 1,966).

The gain grows with the card count, which fits the mechanism: more cards hold more experts, so more of the routed work runs the grouped layout on the GPU and less of it comes from the CPU. That also matches the single-card reports in this thread being the smallest (+2.7% on your IQ3_S, +3–6% on coolthor's).

Not a kernel-only comparison in every row: on 2 cards the 24K pair generated 140 vs 171 tokens, so that row mixes in a drafting difference; the chat rows are all 256 and clean. Two rounds per card count, so treat the sizes as ±2 points rather than exact.

For the default question this is the strongest part of the case: the people who run sm_75 cards in a split (the reason this thread exists) gain the most, and the switch is value-identical in the shapes quant_quality can measure.

<!-- gh-comment-id:6276215222 --> @Adamyno commented on GitHub (Oct 19, 2026): ## Mode 8 on two and three cards, same engine (v0.2.0-beta): +6.4% and +13.1% over mode 4 Same binary, environment only, on the same pack and the same prompt, at two card counts. This is the card-count half of the mode-8 case. **Setup:** RTX 2080 Ti 22 GB (210/167/200 W), i9-7980XE, 125.5 GiB DDR4-3600, v0.2.0-beta (`3d1fb480`), source build for sm_75. Qwen3.8-Flash-Next GSQ-RCO **IQ3_S**, 262,144 ctx, `--kv int8 --kv-resident 32768 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --batch 2`, greedy. 24,250-token prompt + three 256-token chats, 2 rounds, alternating order. `STRATA_SM75_PERF=1` in both arms; the mode-8 arm adds `STRATA_EXP_MODE=8`. | cards | layer split | mode 4 (umbrella) | mode 8 | paired Δ median | pairs | |---|---|---:|---:|---:|---:| | 2 | 15 | 60.4 | 65.5 | **+6.4%** | 8 | | 3 | 16,32 | 81.5 | 90.0 | **+13.1%** | 8 | Per request, 3 cards: chat0 +13.5%, chat1 +14.0%, chat2 +12.2%, 24K prompt +10.5%. 2 cards: chat0 +4.7%, chat1 +7.0%, chat2 +7.0%, 24K prompt +8.7%. Prefill is unchanged in both (2 cards 1,344 → 1,348 tok/s, 3 cards 1,965 → 1,966). The gain grows with the card count, which fits the mechanism: more cards hold more experts, so more of the routed work runs the grouped layout on the GPU and less of it comes from the CPU. That also matches the single-card reports in this thread being the smallest (+2.7% on your IQ3_S, +3–6% on coolthor's). **Not a kernel-only comparison in every row:** on 2 cards the 24K pair generated 140 vs 171 tokens, so that row mixes in a drafting difference; the chat rows are all 256 and clean. Two rounds per card count, so treat the sizes as ±2 points rather than exact. For the default question this is the strongest part of the case: the people who run sm_75 cards in a split (the reason this thread exists) gain the most, and the switch is value-identical in the shapes `quant_quality` can measure.
Author
Owner

@rafatxf commented on GitHub (Oct 19, 2026):

The extra switches from @xrip and #3161, one at a time on my rig, on top of a config that already runs the answer-changing prompt opt-ins. On this box only SIDE_MIXER=2 moves decode. That fits @Adamyno's three-switch result above (+0.9 to +1.2 %): the small gain he sees is mostly this one switch.

Setup:

  • 2x RTX 2080 Ti 22 GB, NVLink, layer split. v0.1.45 engine with STRATA_SM75_PERF=1.
  • Already on in every arm: STRATA_SELECT_SIMT=2 STRATA_PA_V2T=1 STRATA_PF_FUSED=1 STRATA_PF_FUSED_SM75=1 STRATA_BF16_TC=1, and STRATA_EXP_MODE=8 on IQ3_S.
  • 32K context, --spec 4 --spec-min-p 0.7 --mtp --adapt-every 0.

Method:

  • Engine-direct, 512 greedy tokens per prompt.
  • I compare time per verify window (decode ms / (tokens - accepted drafts)), as xrip did.
  • The base run twice gave identical drafts and agreed within 0.2 %.

Screen, IQ3_S (one run per switch, ms/window against the mean of two base runs):

switch es code 4K 16K
ATTN_DAILY=1 -0.0 % -0.1 % -0.2 % -0.3 %
SIDE_MIXER=2 -0.8 % -0.6 % -0.3 % -0.5 %
B6_MMVQ_ROWS=1 -0.1 % -0.2 % +0.1 % see below
QSA_ROWS=1 -0.1 % +0.0 % +0.1 % -0.1 %
KV_PREFETCH=1 -0.1 % +0.1 % +0.0 % -0.1 % (16K prompt read 13.91 s vs 13.90 s)

Repeats (two interleaved rounds on IQ3_S, one round on Q2_0, ms/window):

base SIDE_MIXER=2 B6_MMVQ_ROWS=1
IQ3_S es (r1 / r2) 31.64 / 31.43 31.35 / 31.08 31.36 / 31.39
IQ3_S 16K (r1 / r2) 48.85 / 48.79 48.61 / 48.66 48.94 / 48.81
Q2_0 es / code / 4K / 16K 18.00 / 18.38 / 18.72 / 19.59 17.73 / 18.12 / 18.47 / 19.31 17.98 / 18.36 / 18.81 / 19.57

SIDE_MIXER=2:

  • -1.3 to -1.5 % per window on Q2_0, about +1.4 % decode: es 105.4 → 107.0 tok/s, code 156.5 → 158.8.
  • -0.3 to -1.1 % per window on IQ3_S.
  • Same accepted/offered drafts as base in every pair.
  • It is now on in my production configs.

B6_MMVQ_ROWS=1:

  • Flat on both packs.
  • In the screen, its 16K run accepted different drafts (252/365 against 262/357 in every other arm), but both repeats matched base exactly.
  • That looks like the run-to-run effect @Adamyno traced with --window-hashes: with the expert arena split between GPU and CPU, the same arm does not always reproduce. So I don't attribute it to the switch.
  • The Q2_0 4K run offered 2 more drafts with the same accepted count (233/353 vs 233/351), probably the same effect.

ATTN_DAILY, QSA_ROWS and KV_PREFETCH: flat here. I'd guess that is because SELECT_SIMT=2, PA_V2T and the fused prompt experts are already on in this config. On a default config (as in #3161 and EliahHofmann's T10 run) they have more to win.

STRATA_CACHE_MESSAGE_BOUNDARY only applies to a single GPU (!multi_gpu in generate.cpp), so I left it out; on a layer split it should be inert.

For the default question: on this rig, SM75_PERF + mode 8 for i-quant packs is still where almost all the gain is, and Adamyno's 2- and 3-card runs show the mode-8 part grows with the card count. SIDE_MIXER=2 is a small, consistent extra that I'd add to the sm_75 set. The others are neutral here, not harmful.

Reproduction status: measured locally; every number here is from my runs on this box.

<!-- gh-comment-id:6276781232 --> @rafatxf commented on GitHub (Oct 19, 2026): The extra switches from @xrip and #3161, one at a time on my rig, on top of a config that already runs the answer-changing prompt opt-ins. On this box only `SIDE_MIXER=2` moves decode. That fits @Adamyno's three-switch result above (+0.9 to +1.2 %): the small gain he sees is mostly this one switch. **Setup:** - 2x RTX 2080 Ti 22 GB, NVLink, layer split. v0.1.45 engine with `STRATA_SM75_PERF=1`. - Already on in every arm: `STRATA_SELECT_SIMT=2 STRATA_PA_V2T=1 STRATA_PF_FUSED=1 STRATA_PF_FUSED_SM75=1 STRATA_BF16_TC=1`, and `STRATA_EXP_MODE=8` on IQ3_S. - 32K context, `--spec 4 --spec-min-p 0.7 --mtp --adapt-every 0`. **Method:** - Engine-direct, 512 greedy tokens per prompt. - I compare time per verify window (decode ms / (tokens - accepted drafts)), as xrip did. - The base run twice gave identical drafts and agreed within 0.2 %. **Screen, IQ3_S** (one run per switch, ms/window against the mean of two base runs): | switch | es | code | 4K | 16K | |---|---:|---:|---:|---:| | `ATTN_DAILY=1` | -0.0 % | -0.1 % | -0.2 % | -0.3 % | | `SIDE_MIXER=2` | -0.8 % | -0.6 % | -0.3 % | -0.5 % | | `B6_MMVQ_ROWS=1` | -0.1 % | -0.2 % | +0.1 % | see below | | `QSA_ROWS=1` | -0.1 % | +0.0 % | +0.1 % | -0.1 % | | `KV_PREFETCH=1` | -0.1 % | +0.1 % | +0.0 % | -0.1 % (16K prompt read 13.91 s vs 13.90 s) | **Repeats** (two interleaved rounds on IQ3_S, one round on Q2_0, ms/window): | | base | `SIDE_MIXER=2` | `B6_MMVQ_ROWS=1` | |---|---:|---:|---:| | IQ3_S es (r1 / r2) | 31.64 / 31.43 | 31.35 / 31.08 | 31.36 / 31.39 | | IQ3_S 16K (r1 / r2) | 48.85 / 48.79 | 48.61 / 48.66 | 48.94 / 48.81 | | Q2_0 es / code / 4K / 16K | 18.00 / 18.38 / 18.72 / 19.59 | 17.73 / 18.12 / 18.47 / 19.31 | 17.98 / 18.36 / 18.81 / 19.57 | **`SIDE_MIXER=2`:** - -1.3 to -1.5 % per window on Q2_0, about +1.4 % decode: es 105.4 → 107.0 tok/s, code 156.5 → 158.8. - -0.3 to -1.1 % per window on IQ3_S. - Same accepted/offered drafts as base in every pair. - It is now on in my production configs. **`B6_MMVQ_ROWS=1`:** - Flat on both packs. - In the screen, its 16K run accepted different drafts (252/365 against 262/357 in every other arm), but both repeats matched base exactly. - That looks like the run-to-run effect @Adamyno traced with `--window-hashes`: with the expert arena split between GPU and CPU, the same arm does not always reproduce. So I don't attribute it to the switch. - The Q2_0 4K run offered 2 more drafts with the same accepted count (233/353 vs 233/351), probably the same effect. **`ATTN_DAILY`, `QSA_ROWS` and `KV_PREFETCH`:** flat here. I'd guess that is because `SELECT_SIMT=2`, `PA_V2T` and the fused prompt experts are already on in this config. On a default config (as in #3161 and EliahHofmann's T10 run) they have more to win. `STRATA_CACHE_MESSAGE_BOUNDARY` only applies to a single GPU (`!multi_gpu` in generate.cpp), so I left it out; on a layer split it should be inert. For the default question: on this rig, `SM75_PERF` + mode 8 for i-quant packs is still where almost all the gain is, and Adamyno's 2- and 3-card runs show the mode-8 part grows with the card count. `SIDE_MIXER=2` is a small, consistent extra that I'd add to the sm_75 set. The others are neutral here, not harmful. Reproduction status: measured locally; every number here is from my runs on this box.
Author
Owner

@yusheng227507 commented on GitHub (Oct 21, 2026):

sm_75 (2x RTX 2080 Ti): the series is not strictly text-neutral on IQ3_XXS, and STRATA_EXP_MODE=8 is +14 % decode and text-neutral here

Two results for the two open questions in this thread, on a box that differs from the rigs already in it: the host link is PCIe 3.0 x8 (6.5 GB/s host->device), the CPU is an i7-10700K with AVX2 but no AVX-512, and the RAM is 94 GiB DDR4.

Setup. Strata 9de04cd44e927a9a3df6bbc0e94fc1be8b844ba4 (v0.2.1.4, main), engine 0.1.46.3 compiled from source for sm_75 (CUDA 12.8), 2x RTX 2080 Ti 22 GB with NVLink NV2 (2 links, 25.78 GB/s each), driver 595.99.02, Ubuntu 24.04.5. Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS and IQ3_S (the SC117 abliterated one), 262144 context, kv int8, --kv-resident 32768, --spec 4 --spec-min-p 0.5, --layer-split 26, 3 slots, MTP on.

1. Is the text the same with and without STRATA_SM75_PERF=1?

First, a caveat that will bite anyone repeating this on an i-quant pack: greedy decoding on this pack is not run-to-run deterministic, so a naive comparison tells you nothing. Two independent reasons, both from the docs:

  • The IQ pack cannot run without speculation: the engine refuses to start without --spec (packs/iq3_xxs is a native (IQ) pack: it needs --native SHARD1, --spec T (T >= 2) and --prefill CHUNK). There is no "no speculation" control to compare against.
  • On a CPU without AVX-512 the CPU computes expert rows with the AVX-2 multi-token kernels, and a lone token rounds differently from a token in a window of several, so the answer depends on how many drafts a verify window held (docs/DETAILS.md, "Reproducible greedy output"). Our CPU is exactly that case.

docs/OLDER_GPUS.md and docs/BATCHING.md give the recipe for an exact comparison, so I used it: STRATA_IQ_MT_MIN=1 + STRATA_PREFILL_CPU_SHARE=0 + STRATA_ROUTE_TAIL_SKIP=0, plus --pcie-frac 0 and --adapt-every 1000000. With that, every arm became perfectly stable (8 prompts x 3 repeats, all identical inside each arm).

With the recipe in place, only STRATA_SM75_PERF differs between the arms (arm A: no switches at all; arm B: STRATA_SM75_PERF=1; arm C: B plus STRATA_BF16_TC=1 + STRATA_PA_V2T=1). Eight prompts: fact, arithmetic, Python code, JSON, a three-line list, a long document with a question, a sum, a sort. Greedy, enable_thinking: false, seed 1.

Model A vs B (SM75_PERF on/off) B vs C (+BF16_TC+PA_V2T)
IQ3_S 8/8 byte-identical 8/8 byte-identical
IQ3_XXS 6/8 byte-identical - P3_code and P5_list differ 8/8 byte-identical

The two that differ on IQ3_XXS are near-ties, and both alternatives are equally correct answers:

P3_code   A:  cleaned = ''.join(c.lower() for c in s if c.isalpha())
          B:  filtered = [c.lower() for c in s if c.isalpha()]

P5_list   A:  - 0, 1, 1, 2, 3
               - 第1至5項為:0, 1, 1, 2, 3
               - 符合Fibonacci定義的起始序列
          B:  - 0, 1, 1, 2, 3
               - 第 1 至 5 項為:0, 1, 1, 2, 3
               - 此數列從 0 與 1 開始

So on this box the series is not strictly bitwise-neutral for IQ3_XXS: it leaves most answers untouched but is enough to flip a prompt whose top-2 logits are nearly equal. On IQ3_S nothing moved in 8/8. If the goal is "turn it on by default", the honest wording is "the answers are equivalent, and on a near-tie the model may pick the other of two equally good answers", not "byte-identical".

2. STRATA_EXP_MODE on the i-quant packs

Same box, same engine, STRATA_SM75_PERF=1 in every arm, only STRATA_EXP_MODE differs. tools/strata_bench.py --url, 3 runs per test, medians:

Model EXP_MODE chat decode 4K prompt 16K prompt 16K TTFT agent decode
IQ3_XXS default 73.5 833 1298 12.41 s 76.4
IQ3_XXS 4 73.7 828 1297 12.41 s 79.9
IQ3_XXS 8 83.8 (+14.0 %) 830 1304 12.35 s 88.8 (+16.2 %)
IQ3_S default 71.2 724 1254 12.84 s 71.4
IQ3_S 4 68.3 725 1256 12.82 s 70.4
IQ3_S 8 77.4 (+8.7 %) 726 1253 12.85 s 80.7 (+13.0 %)

That is the same direction as the measurements already in this thread (mode 8 over mode 4), and it is text-neutral here: with the exact-comparison recipe, default vs mode 8 is 8/8 byte-identical on both models (and stable inside each arm).

So mode 8 for the i-quant packs looks right on a second rig, and it is free of a text change on this one.

3. Two more things about this box

  • The 0.2.1 two-card default (one serial group) is neutral here. 0.2.1 makes a layer split on exactly two NVIDIA cards run one serial group instead of pipelined groups, proposed from 2x A4000 numbers (+12..16 % with several clients). Measured on this box with the same bench and 3 clients at once: 64.63 tok/s with the new default vs 64.49 with STRATA_BATCH_GROUPS_NV_SERIAL=0 - no difference, in either direction. The engine log confirms the new default is active here (--batch-groups auto: 1 group of 3 slots). On a card pair with a slow host link this may be the expected result, but it is one more card class where the pipelined default is not worse.
  • No engine errors in any of the arms above (4 arms x 2 models x 8 prompts, plus six bench runs, plus the standard-protocol runs in PR #3535): 0 errors in the engine logs.

Happy to run more of the per-kernel switches one at a time (the STRATA_SM75_IL / SM75_EXP / GR_UP75 / SCORES_HALVE / TOPK_SPLIT / ATTN_V3 / QIL list) against the same recipe, or to re-run the two flipped prompts with more repetitions to see how close the near-ties are - say the word.

<!-- gh-comment-id:6309819966 --> @yusheng227507 commented on GitHub (Oct 21, 2026): ## sm_75 (2x RTX 2080 Ti): the series is not strictly text-neutral on IQ3_XXS, and `STRATA_EXP_MODE=8` is +14 % decode and text-neutral here Two results for the two open questions in this thread, on a box that differs from the rigs already in it: the host link is **PCIe 3.0 x8** (6.5 GB/s host->device), the CPU is an **i7-10700K with AVX2 but no AVX-512**, and the RAM is 94 GiB DDR4. **Setup.** Strata `9de04cd44e927a9a3df6bbc0e94fc1be8b844ba4` (v0.2.1.4, main), engine **0.1.46.3 compiled from source for sm_75** (CUDA 12.8), 2x RTX 2080 Ti 22 GB with **NVLink NV2** (2 links, 25.78 GB/s each), driver 595.99.02, Ubuntu 24.04.5. Qwen3.8-Flash-Next GSQ-RCO **IQ3_XXS** and **IQ3_S** (the SC117 abliterated one), 262144 context, kv int8, `--kv-resident 32768`, `--spec 4 --spec-min-p 0.5`, `--layer-split 26`, 3 slots, MTP on. ### 1. Is the text the same with and without `STRATA_SM75_PERF=1`? **First, a caveat that will bite anyone repeating this on an i-quant pack:** greedy decoding on this pack is **not** run-to-run deterministic, so a naive comparison tells you nothing. Two independent reasons, both from the docs: - The IQ pack **cannot run without speculation**: the engine refuses to start without `--spec` (`packs/iq3_xxs is a native (IQ) pack: it needs --native SHARD1, --spec T (T >= 2) and --prefill CHUNK`). There is no "no speculation" control to compare against. - On a CPU **without AVX-512** the CPU computes expert rows with the AVX-2 multi-token kernels, and a lone token rounds differently from a token in a window of several, so the answer depends on how many drafts a verify window held (`docs/DETAILS.md`, "Reproducible greedy output"). Our CPU is exactly that case. `docs/OLDER_GPUS.md` and `docs/BATCHING.md` give the recipe for an exact comparison, so I used it: `STRATA_IQ_MT_MIN=1` + `STRATA_PREFILL_CPU_SHARE=0` + `STRATA_ROUTE_TAIL_SKIP=0`, plus `--pcie-frac 0` and `--adapt-every 1000000`. With that, every arm became perfectly stable (8 prompts x 3 repeats, all identical inside each arm). With the recipe in place, **only `STRATA_SM75_PERF` differs between the arms** (arm A: no switches at all; arm B: `STRATA_SM75_PERF=1`; arm C: B plus `STRATA_BF16_TC=1` + `STRATA_PA_V2T=1`). Eight prompts: fact, arithmetic, Python code, JSON, a three-line list, a long document with a question, a sum, a sort. Greedy, `enable_thinking: false`, `seed 1`. | Model | A vs B (`SM75_PERF` on/off) | B vs C (+`BF16_TC`+`PA_V2T`) | |---|---|---| | **IQ3_S** | **8/8 byte-identical** | 8/8 byte-identical | | **IQ3_XXS** | **6/8 byte-identical** - `P3_code` and `P5_list` differ | 8/8 byte-identical | The two that differ on IQ3_XXS are near-ties, and both alternatives are equally correct answers: ``` P3_code A: cleaned = ''.join(c.lower() for c in s if c.isalpha()) B: filtered = [c.lower() for c in s if c.isalpha()] P5_list A: - 0, 1, 1, 2, 3 - 第1至5項為:0, 1, 1, 2, 3 - 符合Fibonacci定義的起始序列 B: - 0, 1, 1, 2, 3 - 第 1 至 5 項為:0, 1, 1, 2, 3 - 此數列從 0 與 1 開始 ``` So on this box the series is **not strictly bitwise-neutral for IQ3_XXS**: it leaves most answers untouched but is enough to flip a prompt whose top-2 logits are nearly equal. On IQ3_S nothing moved in 8/8. If the goal is "turn it on by default", the honest wording is "the answers are equivalent, and on a near-tie the model may pick the other of two equally good answers", not "byte-identical". ### 2. `STRATA_EXP_MODE` on the i-quant packs Same box, same engine, `STRATA_SM75_PERF=1` in every arm, only `STRATA_EXP_MODE` differs. `tools/strata_bench.py --url`, 3 runs per test, medians: | Model | EXP_MODE | chat decode | 4K prompt | 16K prompt | 16K TTFT | agent decode | |---|---|---:|---:|---:|---:|---:| | IQ3_XXS | default | 73.5 | 833 | 1298 | 12.41 s | 76.4 | | IQ3_XXS | 4 | 73.7 | 828 | 1297 | 12.41 s | 79.9 | | IQ3_XXS | **8** | **83.8 (+14.0 %)** | 830 | 1304 | 12.35 s | **88.8 (+16.2 %)** | | IQ3_S | default | 71.2 | 724 | 1254 | 12.84 s | 71.4 | | IQ3_S | 4 | 68.3 | 725 | 1256 | 12.82 s | 70.4 | | IQ3_S | **8** | **77.4 (+8.7 %)** | 726 | 1253 | 12.85 s | **80.7 (+13.0 %)** | That is the same direction as the measurements already in this thread (mode 8 over mode 4), and it is **text-neutral here**: with the exact-comparison recipe, default vs mode 8 is **8/8 byte-identical on both models** (and stable inside each arm). So mode 8 for the i-quant packs looks right on a second rig, and it is free of a text change on this one. ### 3. Two more things about this box - **The 0.2.1 two-card default (one serial group) is neutral here.** 0.2.1 makes a layer split on exactly two NVIDIA cards run one serial group instead of pipelined groups, proposed from 2x A4000 numbers (+12..16 % with several clients). Measured on this box with the same bench and 3 clients at once: **64.63 tok/s with the new default vs 64.49 with `STRATA_BATCH_GROUPS_NV_SERIAL=0`** - no difference, in either direction. The engine log confirms the new default is active here (`--batch-groups auto: 1 group of 3 slots`). On a card pair with a slow host link this may be the expected result, but it is one more card class where the pipelined default is not worse. - **No engine errors** in any of the arms above (4 arms x 2 models x 8 prompts, plus six bench runs, plus the standard-protocol runs in PR #3535): 0 errors in the engine logs. Happy to run more of the per-kernel switches one at a time (the `STRATA_SM75_IL` / `SM75_EXP` / `GR_UP75` / `SCORES_HALVE` / `TOPK_SPLIT` / `ATTN_V3` / `QIL` list) against the same recipe, or to re-run the two flipped prompts with more repetitions to see how close the near-ties are - say the word.
Author
Owner

@rafatxf commented on GitHub (Oct 21, 2026):

A correction to my last comment: I'm withdrawing the STRATA_SIDE_MIXER=2 recommendation. On this box it crashes the engine under long agent sessions, and I could reproduce it.

Setup: 2x RTX 2080 Ti 22 GB, NVLink, layer split + --pipeline-windows 2, v0.1.45 engine, IQ3_S, 320K context, STRATA_SM75_PERF=1 STRATA_EXP_MODE=8. The only difference between the arms below is SIDE_MIXER=2.

Real use first:

requests prompts engine errors
with SIDE_MIXER=2 (agent sessions) 173 up to 83K 2
same config without it 284 median 154K, max 253K 0

Then a controlled reproduction.

  • Load: an agent-like generator, the same for both arms with the same seed. OpenAI chat with 4 tools, and each turn appends 15-45K characters of real source code. Every session grows from ~20K to ~150K tokens, with answers of up to 3,000 tokens.
  • Rule: stop at the first engine error.
arm ran for requests generated tokens max context result
SIDE_MIXER=2 27 min 56 55,694 162K crash at request 56 (86K prompt)
without it 55 min 94 137,370 169K 0 errors, 0 Xid (past request 56 with 77,915 tokens)

The errors:

  • The reproduced crash is the same as the two in real use: verify: layer 24 never rang (an illegal memory access was encountered).
  • The real-use ones were layer 41 … (an illegal instruction was encountered) at 30K and layer 46 … (an illegal memory access …) at 72K.
  • All three are on the second card (layer 24 is the first layer of its stage).
  • Each came with kernel Xid 13 (Out Of Range Address); the 72K one also had an Xid 31 MMU fault.

That is one run per arm, so not a rate. But with the 284 clean real-use requests, it points at the branches SIDE_MIXER=2 adds to the verify graph rather than at the card. My earlier screen used 512-token runs at 32K and below, which is why it never showed up there. It is off in my configs now. On a layer split with long contexts, I'd keep it off.

@yusheng227507 thanks, the exact-comparison recipe is very useful.

  • My bitwise checks were on Q2_0 and IQ3_S, never on IQ3_XXS, so your 2/8 near-tie flips there are new information.
  • You're right about the wording: for IQ3_XXS the claim should be "equivalent answers", not "byte-identical".
  • Running the per-kernel switches one at a time on IQ3_XXS with your recipe would show which kernel changes the rounding. That would be the most useful next step.

Reproduction status: reproduced locally; every number here is from my runs on this box.

<!-- gh-comment-id:6312825962 --> @rafatxf commented on GitHub (Oct 21, 2026): A correction to my last comment: I'm withdrawing the `STRATA_SIDE_MIXER=2` recommendation. On this box it crashes the engine under long agent sessions, and I could reproduce it. **Setup:** 2x RTX 2080 Ti 22 GB, NVLink, layer split + `--pipeline-windows 2`, v0.1.45 engine, IQ3_S, 320K context, `STRATA_SM75_PERF=1 STRATA_EXP_MODE=8`. The only difference between the arms below is `SIDE_MIXER=2`. **Real use first:** | | requests | prompts | engine errors | |---|---:|---|---:| | with `SIDE_MIXER=2` (agent sessions) | 173 | up to 83K | **2** | | same config without it | 284 | median 154K, max 253K | **0** | **Then a controlled reproduction.** - **Load:** an agent-like generator, the same for both arms with the same seed. OpenAI chat with 4 tools, and each turn appends 15-45K characters of real source code. Every session grows from ~20K to ~150K tokens, with answers of up to 3,000 tokens. - **Rule:** stop at the first engine error. | arm | ran for | requests | generated tokens | max context | result | |---|---:|---:|---:|---:|---| | `SIDE_MIXER=2` | 27 min | 56 | 55,694 | 162K | **crash** at request 56 (86K prompt) | | without it | 55 min | 94 | 137,370 | 169K | **0 errors, 0 Xid** (past request 56 with 77,915 tokens) | **The errors:** - The reproduced crash is the same as the two in real use: `verify: layer 24 never rang (an illegal memory access was encountered)`. - The real-use ones were `layer 41 … (an illegal instruction was encountered)` at 30K and `layer 46 … (an illegal memory access …)` at 72K. - All three are on the second card (layer 24 is the first layer of its stage). - Each came with kernel Xid 13 (`Out Of Range Address`); the 72K one also had an Xid 31 MMU fault. That is one run per arm, so not a rate. But with the 284 clean real-use requests, it points at the branches `SIDE_MIXER=2` adds to the verify graph rather than at the card. My earlier screen used 512-token runs at 32K and below, which is why it never showed up there. It is off in my configs now. On a layer split with long contexts, I'd keep it off. @yusheng227507 thanks, the exact-comparison recipe is very useful. - My bitwise checks were on Q2_0 and IQ3_S, never on IQ3_XXS, so your 2/8 near-tie flips there are new information. - You're right about the wording: for IQ3_XXS the claim should be "equivalent answers", not "byte-identical". - Running the per-kernel switches one at a time on IQ3_XXS with your recipe would show which kernel changes the rounding. That would be the most useful next step. Reproduction status: reproduced locally; every number here is from my runs on this box.
Author
Owner

@yusheng227507 commented on GitHub (Oct 21, 2026):

Which kernel changes the rounding on IQ3_XXS: not one, a set - and no single switch restores the reference

Ran the per-kernel screen you asked for. The short answer: no single sub-switch is responsible, and turning any one of them off does not bring the reference answer back. On this box the flip needs more than one path to move.

Setup. Strata 9de04cd4 (v0.2.1.4, main), engine 0.1.46.3 compiled from source for sm_75 (CUDA 12.8), 2x RTX 2080 Ti 22 GB, NVLink NV2, PCIe 3.0 x8 host link, i7-10700K (AVX2, no AVX-512), 94.1 GiB RAM. Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS, 262144 context, kv int8, --kv-resident 32768, --spec 4 --spec-min-p 0.5, --layer-split 26, 3 slots.

Every arm carries the exact-comparison recipe from the last comment (STRATA_IQ_MT_MIN=1 + STRATA_PREFILL_CPU_SHARE=0 + STRATA_ROUTE_TAIL_SKIP=0, plus --pcie-frac 0 --adapt-every 1000000), and every arm was stable inside itself (2 identical repeats per prompt, all 16 arms), so the recipe does make the run reproducible.

Arms. R_ref = recipe only. ALL = recipe + STRATA_SM75_PERF=1. Then 14 arms = ALL with exactly one sub-switch off: STRATA_SM75_IL, STRATA_SM75_EXP, STRATA_GR_UP75, STRATA_GR_DOWN_TG, STRATA_SCORES_HALVE, STRATA_TOPK_SPLIT, STRATA_TOPK_SAMPLE, STRATA_ATTN_V3, STRATA_Q2_WARP, STRATA_FUSE_WAIT, STRATA_QIL, STRATA_TC_SM75, STRATA_PA_V1_PREFETCH, STRATA_SCORES_THREAD. Five prompts x 2 repeats, greedy, enable_thinking false, seed 1: the two that flip in the earlier comment (P3_code, P5_list) plus three controls (fact, JSON, sum).

What came out

Three of the five prompts are bit-identical to the reference in all 16 arms - the fact, the JSON and the sum answers never move, with or without the series, with or without any single sub-switch. Only the two near-tie prompts move.

P3_code - two answers in the whole matrix:

answer arms
cleaned = ''.join(c.lower() for c in s if c.isalpha()) R_ref only
filtered = [c.lower() for c in s if c.isalpha()] ALL and all 14 "one switch off" arms

So on this prompt no sub-switch brings the reference back: every one-switch-off arm still gives the ALL answer, unchanged.

P5_list - three answers:

answer arms
- 第1至5項為:0, 1, 1, 2, 3 / - 符合Fibonacci定義的起始序列 R_ref
- 1, 1, 2, 3, 5 / - 0, 1, 1, 2, 3 ALL + 9 arms (SM75_IL, SM75_EXP, GR_UP75, Q2_WARP, FUSE_WAIT, QIL, TC_SM75, PA_V1_PREFETCH, SCORES_THREAD off)
- 第1至5項為:0, 1, 1, 2, 3 / - 每項為前兩項之和 5 arms: GR_DOWN_TG, SCORES_HALVE, TOPK_SPLIT, TOPK_SAMPLE, ATTN_V3 off

Here five sub-switches do move the answer, and they move it to a third text - the same second line as the reference but a different third line. The other nine leave it exactly at the ALL answer. So these five are "one step closer to the reference", and none of them arrives.

The two Q2_0-only switches (SM75_EXP, Q2_WARP) changed nothing, as expected on an IQ pack.

Reading

The series is not a single kernel, and on IQ3_XXS the answer moves if any of several paths rounds differently - which is what a near-tie does. The master switch also selects Turing-only paths that have no variable of their own: sm75_default() is what native_mmvq.cu:2584, qsa_decode_attn.cu:449, fused_gr.cu:1207 and :1232, qsa_select.cu:1689, :1704, :2256, :2489 and verify.cpp:310 follow, while only STRATA_SM75_IL, STRATA_SM75_EXP and STRATA_TC_SM75 have a variable of their own (sm75_switch()). The remaining named switches in docs/DETAILS.md are read directly in their own files. So "switch X off" does not cover everything the master switch turns on, and a per-switch screen cannot return the reference on a near-tie: it takes more than one path to move.

For the default question this suggests: for IQ3_XXS the series gives equivalent answers, not identical ones, and that is a property of the pack's near-ties rather than of one kernel. The same wording change you already made for IQ3_XXS (and which our earlier comment applied to Q2_0 and IQ3_S as well) would then hold for every pack: a near-tie can pick the other of two equally good answers.

Happy to run the same screen on IQ3_S and on Q2_0, or with more prompts, if that would help - the matrix is cheap (about 40 s of engine start per arm, 15 prompts would fit in a minute each).

<!-- gh-comment-id:6316826229 --> @yusheng227507 commented on GitHub (Oct 21, 2026): ## Which kernel changes the rounding on IQ3_XXS: not one, a set - and no single switch restores the reference Ran the per-kernel screen you asked for. The short answer: **no single sub-switch is responsible, and turning any one of them off does not bring the reference answer back.** On this box the flip needs more than one path to move. **Setup.** Strata `9de04cd4` (v0.2.1.4, main), engine 0.1.46.3 compiled from source for sm_75 (CUDA 12.8), 2x RTX 2080 Ti 22 GB, NVLink NV2, PCIe 3.0 x8 host link, i7-10700K (**AVX2, no AVX-512**), 94.1 GiB RAM. Qwen3.8-Flash-Next GSQ-RCO **IQ3_XXS**, 262144 context, kv int8, `--kv-resident 32768`, `--spec 4 --spec-min-p 0.5`, `--layer-split 26`, 3 slots. Every arm carries the exact-comparison recipe from the last comment (`STRATA_IQ_MT_MIN=1` + `STRATA_PREFILL_CPU_SHARE=0` + `STRATA_ROUTE_TAIL_SKIP=0`, plus `--pcie-frac 0 --adapt-every 1000000`), and **every arm was stable inside itself** (2 identical repeats per prompt, all 16 arms), so the recipe does make the run reproducible. **Arms.** `R_ref` = recipe only. `ALL` = recipe + `STRATA_SM75_PERF=1`. Then 14 arms = `ALL` with exactly one sub-switch off: `STRATA_SM75_IL`, `STRATA_SM75_EXP`, `STRATA_GR_UP75`, `STRATA_GR_DOWN_TG`, `STRATA_SCORES_HALVE`, `STRATA_TOPK_SPLIT`, `STRATA_TOPK_SAMPLE`, `STRATA_ATTN_V3`, `STRATA_Q2_WARP`, `STRATA_FUSE_WAIT`, `STRATA_QIL`, `STRATA_TC_SM75`, `STRATA_PA_V1_PREFETCH`, `STRATA_SCORES_THREAD`. Five prompts x 2 repeats, greedy, `enable_thinking false`, `seed 1`: the two that flip in the earlier comment (`P3_code`, `P5_list`) plus three controls (fact, JSON, sum). ### What came out **Three of the five prompts are bit-identical to the reference in all 16 arms** - the fact, the JSON and the sum answers never move, with or without the series, with or without any single sub-switch. Only the two near-tie prompts move. **P3_code** - two answers in the whole matrix: | answer | arms | |---|---| | `cleaned = ''.join(c.lower() for c in s if c.isalpha())` | `R_ref` only | | `filtered = [c.lower() for c in s if c.isalpha()]` | `ALL` **and all 14 "one switch off" arms** | So on this prompt **no sub-switch brings the reference back**: every one-switch-off arm still gives the `ALL` answer, unchanged. **P5_list** - three answers: | answer | arms | |---|---| | `- 第1至5項為:0, 1, 1, 2, 3` / `- 符合Fibonacci定義的起始序列` | `R_ref` | | `- 1, 1, 2, 3, 5` / `- 0, 1, 1, 2, 3` | `ALL` + 9 arms (`SM75_IL`, `SM75_EXP`, `GR_UP75`, `Q2_WARP`, `FUSE_WAIT`, `QIL`, `TC_SM75`, `PA_V1_PREFETCH`, `SCORES_THREAD` off) | | `- 第1至5項為:0, 1, 1, 2, 3` / `- 每項為前兩項之和` | 5 arms: **`GR_DOWN_TG`, `SCORES_HALVE`, `TOPK_SPLIT`, `TOPK_SAMPLE`, `ATTN_V3` off** | Here five sub-switches do move the answer, and they move it to a **third** text - the same second line as the reference but a different third line. The other nine leave it exactly at the `ALL` answer. So these five are "one step closer to the reference", and none of them arrives. The two Q2_0-only switches (`SM75_EXP`, `Q2_WARP`) changed nothing, as expected on an IQ pack. ### Reading The series is not a single kernel, and on IQ3_XXS the answer moves if **any** of several paths rounds differently - which is what a near-tie does. The master switch also selects Turing-only paths that have **no variable of their own**: `sm75_default()` is what `native_mmvq.cu:2584`, `qsa_decode_attn.cu:449`, `fused_gr.cu:1207` and `:1232`, `qsa_select.cu:1689`, `:1704`, `:2256`, `:2489` and `verify.cpp:310` follow, while only `STRATA_SM75_IL`, `STRATA_SM75_EXP` and `STRATA_TC_SM75` have a variable of their own (`sm75_switch()`). The remaining named switches in `docs/DETAILS.md` are read directly in their own files. So "switch X off" does not cover everything the master switch turns on, and a per-switch screen cannot return the reference on a near-tie: it takes more than one path to move. **For the default question this suggests:** for IQ3_XXS the series gives *equivalent* answers, not *identical* ones, and that is a property of the pack's near-ties rather than of one kernel. The same wording change you already made for IQ3_XXS (and which our earlier comment applied to Q2_0 and IQ3_S as well) would then hold for every pack: a near-tie can pick the other of two equally good answers. Happy to run the same screen on IQ3_S and on Q2_0, or with more prompts, if that would help - the matrix is cheap (about 40 s of engine start per arm, 15 prompts would fit in a minute each).
Author
Owner

@rafatxf commented on GitHub (Oct 21, 2026):

@yusheng227507 thanks, that settles the question for IQ3_XXS.

  • The answer moves only on near-ties. The three control prompts stay bit-identical in all 16 arms; only the two near-tie prompts move.
  • No single sub-switch is the cause. The paths that sm75_default() turns on without a variable of their own explain why no one-switch-off arm gets back to the reference.

I'll change the wording in the issue body to match:

  • the series gives equivalent answers on every pack;
  • a near-tie can pick the other of two equally good answers;
  • "byte-identical" is only what was observed on specific packs and prompts, not a property of the series.

Yes, please run the same matrix on IQ3_S and Q2_0 with the 15 prompts. Those are the packs where my checks found no change (KL 0, the same drafts); one other box with your recipe would tell whether that holds beyond mine.

Reproduction status: no new measurements in this comment; it refers to the runs above.

<!-- gh-comment-id:6323001899 --> @rafatxf commented on GitHub (Oct 21, 2026): @yusheng227507 thanks, that settles the question for IQ3_XXS. - **The answer moves only on near-ties.** The three control prompts stay bit-identical in all 16 arms; only the two near-tie prompts move. - **No single sub-switch is the cause.** The paths that `sm75_default()` turns on without a variable of their own explain why no one-switch-off arm gets back to the reference. I'll change the wording in the issue body to match: - the series gives **equivalent answers** on every pack; - a near-tie can pick the other of two equally good answers; - "byte-identical" is only what was observed on specific packs and prompts, not a property of the series. Yes, please run the same matrix on IQ3_S and Q2_0 with the 15 prompts. Those are the packs where my checks found no change (KL 0, the same drafts); one other box with your recipe would tell whether that holds beyond mine. Reproduction status: no new measurements in this comment; it refers to the runs above.
Author
Owner

@Adamyno commented on GitHub (Oct 22, 2026):

Third box (2 of 3× RTX 2080 Ti 22 GB): on IQ3_S the series is byte-identical to the reference — the differences come only from the switches outside the series

Setup: 2× RTX 2080 Ti 22 GB (sm_75, 210/167 W), i9-7980XE (AVX-512 without VNNI/VBMI → the engine's AVX-2 CPU expert file), 125.5 GiB DDR4-3600, Linux, CUDA 13.0, driver 580.178.04. Engine 0.1.45.3 (e88ee39d, the 0.2.0-beta-era main), source build, -DCMAKE_CUDA_ARCHITECTURES=75, nothing patched (strata --version: 0.1.45.3). Qwen3.8-Flash-Next GSQ-RCO IQ3_S native pack, --spec 4 --spec-min-p 0.5 --mtp mtp/rt, 262,144 ctx, --kv int8 --kv-resident 32768, --layer-split 15 (2 cards), --pcie-frac 0 --adapt-every 1000000.

Recipe (both arms): STRATA_IQ_MT_MIN=1 STRATA_PREFILL_CPU_SHARE=0 STRATA_ROUTE_TAIL_SKIP=0 STRATA_NO_LARGEPAGES=1.

Arms (same binary, env only, fresh server per arm, 2 repeats per prompt, greedy temperature 0 / top_k 1 / seed 1 / enable_thinking false):

  • A = recipe only
  • B = A + STRATA_SM75_PERF=1
  • C = B + STRATA_BF16_TC=1 STRATA_PA_V2T=1 (yusheng227507's arm C)
  • M8 = B + STRATA_EXP_MODE=8

Result, 15 prompts × 2 repeats × 4 arms (120 requests, 0 errors):

verdict prompts
byte-identical across ALL four arms 12 of 15 (fact, arithmetic, JSON, long-doc QA, sum, sort, count, NIAH, tool-call JSON, numeric compare, short chat, Fibonacci list)
differ only in arm C 3 (code, translate, reason) — classic near-ties: a different implementation line / "a cache pedig tárolja" vs "és a cache tárolja" / "6000 liters" vs "Final number: 6000 liters"
thinking overflow at 512, clean at 2048 1 (the Fibonacci list prompt): content: null + finish_reason: length at max_tokens 512 on every arm (the reasoning channel takes the whole budget); at max_tokens 2048 every arm finishes (finish=stop) and the answers are byte-identical across all four arms (below)
  • Within-arm repeatability: 0 unstable prompts in 60 arm-prompts — the recipe is fully deterministic on this box, matching yusheng227507's finding.
  • B vs A: byte-identical on every measurable prompt. M8 vs B: byte-identical too. The only movement is C's two switches, which are NOT part of the sm_75 series (sm75_series.hpp lists STRATA_BF16_TC and STRATA_PA_V2T as separate numerics-changing opt-ins).

So on a third box with a different CPU class, your IQ3_S result holds: the series (+ mode 8) does not move a single answer beyond the near-tie wording changes that only the explicitly opted-in numerics switches produce.

P05 rerun at max_tokens 2048 (same arms, same recipe, 2 repeats each, 8/8 requests):

arm finish content reasoning_len
A / B / C / M8 stop (8/8) 0, 1 / 1, 2 / 3 — byte-identical in every row 5821 (8/8 identical)

The model resolves the prompt's own contradiction (five numbers in three lines) by pairing two numbers per line — and even the reasoning channel is byte-identical across all four arms.

Q2_0 on the same box

Same 4 arms + D = recipe + STRATA_PF_FUSED=1 STRATA_PF_FUSED_SM75=1 — the sm_75 fused prefill path, the only format pair the current gate allows on a 7.5 card (Q2_0/Q2_0 layers only).

Short-prompt matrix (15 prompts × 2 repeats × 5 arms, 0 errors): identical=11, differs=3, null=1, unstable=0.

  • A = B = M8 = D on every measurable prompt — the series (+ mode 8) does not move a single answer on Q2_0 either.
  • C (+ STRATA_BF16_TC + STRATA_PA_V2T) differs on 3: P03_code (a docstring variant), P13_reason ("6000 liters" vs "Final number: 6,000 liters"), and P10_translate where C finishes inside the 512 budget while the other arms overflow — its prefill numerics shorten the thinking, so the divergence is the same near-tie class, not a correctness break.
  • P05 at max_tokens 2048: content 0 / 1 / 1 (the Q2_0 model's own reading of the list), reasoning_len 6069 — byte-identical in all 10 requests across all 5 arms.

The fused prefill on a long prompt (22,691 tokens, cold, one round per arm — a direction check):

arm prefill content reasoning trace
A (MMQ) 1225.8 tok/s (18.5 s) sha fa8ca4baafe41fa3 (74 chars) 260 chars
D (fused; the log prints the activation line on both rounds) 1294.0 tok/s (17.5 s) = +5.6% same sha fa8ca4baafe41fa3 278 chars — near-tie divergence in the thinking channel only

So on the one Turing pair the current gate allows, the fused path is faster and its visible output is byte-identical here; the reasoning trace moves at a near-tie, consistent with the fused kernels' own KL-vs-MMQ rounding (0.0004–0.0016, upstream's measurement). One round per arm — a direction, not a rate.

Reproduction status: measured locally; every number is from these runs.

<!-- gh-comment-id:6341404535 --> @Adamyno commented on GitHub (Oct 22, 2026): ## Third box (2 of 3× RTX 2080 Ti 22 GB): on IQ3_S the series is byte-identical to the reference — the differences come only from the switches outside the series **Setup:** 2× RTX 2080 Ti 22 GB (sm_75, 210/167 W), i9-7980XE (AVX-512 without VNNI/VBMI → the engine's AVX-2 CPU expert file), 125.5 GiB DDR4-3600, Linux, CUDA 13.0, driver 580.178.04. Engine **0.1.45.3 (`e88ee39d`, the 0.2.0-beta-era main)**, source build, `-DCMAKE_CUDA_ARCHITECTURES=75`, nothing patched (`strata --version`: 0.1.45.3). Qwen3.8-Flash-Next GSQ-RCO **IQ3_S** native pack, `--spec 4 --spec-min-p 0.5 --mtp mtp/rt`, 262,144 ctx, `--kv int8 --kv-resident 32768`, `--layer-split 15` (2 cards), `--pcie-frac 0 --adapt-every 1000000`. **Recipe (both arms):** `STRATA_IQ_MT_MIN=1 STRATA_PREFILL_CPU_SHARE=0 STRATA_ROUTE_TAIL_SKIP=0 STRATA_NO_LARGEPAGES=1`. **Arms (same binary, env only, fresh server per arm, 2 repeats per prompt, greedy `temperature 0 / top_k 1 / seed 1 / enable_thinking false`):** - A = recipe only - B = A + `STRATA_SM75_PERF=1` - C = B + `STRATA_BF16_TC=1 STRATA_PA_V2T=1` (yusheng227507's arm C) - M8 = B + `STRATA_EXP_MODE=8` **Result, 15 prompts × 2 repeats × 4 arms (120 requests, 0 errors):** | verdict | prompts | |---|---| | byte-identical across ALL four arms | **12 of 15** (fact, arithmetic, JSON, long-doc QA, sum, sort, count, NIAH, tool-call JSON, numeric compare, short chat, Fibonacci list) | | differ only in arm **C** | 3 (code, translate, reason) — classic near-ties: a different implementation line / "a cache pedig tárolja" vs "és a cache tárolja" / "**6000 liters**" vs "**Final number: 6000 liters**" | | thinking overflow at 512, clean at 2048 | 1 (the Fibonacci list prompt): `content: null` + `finish_reason: length` at max_tokens 512 on every arm (the reasoning channel takes the whole budget); at max_tokens 2048 every arm finishes (`finish=stop`) and the answers are **byte-identical across all four arms** (below) | - **Within-arm repeatability: 0 unstable prompts in 60 arm-prompts** — the recipe is fully deterministic on this box, matching yusheng227507's finding. - **B vs A: byte-identical on every measurable prompt. M8 vs B: byte-identical too.** The only movement is C's two switches, which are NOT part of the sm_75 series (`sm75_series.hpp` lists `STRATA_BF16_TC` and `STRATA_PA_V2T` as separate numerics-changing opt-ins). So on a third box with a different CPU class, your IQ3_S result holds: the series (+ mode 8) does not move a single answer beyond the near-tie wording changes that only the explicitly opted-in numerics switches produce. **P05 rerun at max_tokens 2048 (same arms, same recipe, 2 repeats each, 8/8 requests):** | arm | finish | content | reasoning_len | |---|---|---|---| | A / B / C / M8 | stop (8/8) | `0, 1` / `1, 2` / `3` — byte-identical in every row | 5821 (8/8 identical) | The model resolves the prompt's own contradiction (five numbers in three lines) by pairing two numbers per line — and even the reasoning channel is byte-identical across all four arms. ## Q2_0 on the same box Same 4 arms + **D** = recipe + `STRATA_PF_FUSED=1 STRATA_PF_FUSED_SM75=1` — the sm_75 fused prefill path, the only format pair the current gate allows on a 7.5 card (Q2_0/Q2_0 layers only). **Short-prompt matrix (15 prompts × 2 repeats × 5 arms, 0 errors): identical=11, differs=3, null=1, unstable=0.** - **A = B = M8 = D on every measurable prompt** — the series (+ mode 8) does not move a single answer on Q2_0 either. - C (+ `STRATA_BF16_TC` + `STRATA_PA_V2T`) differs on 3: P03_code (a docstring variant), P13_reason ("**6000 liters**" vs "**Final number: 6,000 liters**"), and P10_translate where C finishes inside the 512 budget while the other arms overflow — its prefill numerics shorten the thinking, so the divergence is the same near-tie class, not a correctness break. - P05 at max_tokens 2048: content `0` / `1` / `1` (the Q2_0 model's own reading of the list), reasoning_len 6069 — **byte-identical in all 10 requests across all 5 arms**. **The fused prefill on a long prompt (22,691 tokens, cold, one round per arm — a direction check):** | arm | prefill | content | reasoning trace | |---|---|---|---| | A (MMQ) | 1225.8 tok/s (18.5 s) | sha `fa8ca4baafe41fa3` (74 chars) | 260 chars | | D (fused; the log prints the activation line on both rounds) | **1294.0 tok/s (17.5 s) = +5.6%** | **same sha `fa8ca4baafe41fa3`** | 278 chars — near-tie divergence in the thinking channel only | So on the one Turing pair the current gate allows, the fused path is faster and its visible output is byte-identical here; the reasoning trace moves at a near-tie, consistent with the fused kernels' own KL-vs-MMQ rounding (0.0004–0.0016, upstream's measurement). One round per arm — a direction, not a rate. Reproduction status: measured locally; every number is from these runs.
Author
Owner

@rafatxf commented on GitHub (Oct 22, 2026):

@Adamyno thanks, this closes the IQ3_S and Q2_0 side with a third CPU class.

With your runs, the evidence on the series (+ mode 8 on the i-quant packs) now reads:

  • IQ3_S, byte-identical on three boxes: yours (12/12 measurable prompts), @yusheng227507's (8/8) and mine (KL 0, the same drafts).
  • Q2_0, byte-identical on two boxes: yours (11/11 measurable) and mine.
  • IQ3_XXS, equivalent: two near-tie prompts out of eight moved on @yusheng227507's box. No single sub-switch causes it.
  • Mode 8: byte-identical to the default wherever it was compared.

The near-tie changes in your arm C come from STRATA_BF16_TC and STRATA_PA_V2T, the separate numerics opt-ins, not from the series. That matches how they are listed in sm75_series.hpp, and it is what the proposal's "equivalent answers" wording is meant to cover. I'll add these lines to the evidence in the issue body.

Reproduction status: no new measurements in this comment; it summarizes the runs in this thread.

<!-- gh-comment-id:6341507658 --> @rafatxf commented on GitHub (Oct 22, 2026): @Adamyno thanks, this closes the IQ3_S and Q2_0 side with a third CPU class. With your runs, the evidence on the series (+ mode 8 on the i-quant packs) now reads: - **IQ3_S, byte-identical on three boxes:** yours (12/12 measurable prompts), @yusheng227507's (8/8) and mine (KL 0, the same drafts). - **Q2_0, byte-identical on two boxes:** yours (11/11 measurable) and mine. - **IQ3_XXS, equivalent:** two near-tie prompts out of eight moved on @yusheng227507's box. No single sub-switch causes it. - **Mode 8:** byte-identical to the default wherever it was compared. The near-tie changes in your arm C come from `STRATA_BF16_TC` and `STRATA_PA_V2T`, the separate numerics opt-ins, not from the series. That matches how they are listed in `sm75_series.hpp`, and it is what the proposal's "equivalent answers" wording is meant to cover. I'll add these lines to the evidence in the issue body. Reproduction status: no new measurements in this comment; it summarizes the runs in this thread.
Author
Owner

@Adamyno commented on GitHub (Oct 22, 2026):

Small correction on the two @Adamyno lines before they land in the issue body — the runs were wider than the compressed "N/N measurable" counts suggest:

  • IQ3_S, our box: 15 prompts measured. 12 of 15 are byte-identical across all four arms (A/B/C/M8); the other 3 differ only in arm C (the two switches outside the series). The series itself — B vs A and M8 vs B — is byte-identical on every measurable prompt, so series-vs-reference is 15/15. One of the 15 overflows thinking at 512; re-run at 2048 it is byte-identical across all four arms too.

    Paste-ready: @Adamyno's (15 prompts; series-vs-reference byte-identical 15/15; 12 of 15 identical across all four arms, the other 3 arm-C-only)

  • Q2_0, our box: 15 prompts × 5 arms (A/B/C/M8 + the fused D). 11 of 15 identical across all five arms; 3 differ only in arm C (P03_code, P13_reason, P10_translate — C's prefill numerics shorten thinking, so it fits the 512 budget while the other arms overflow); P05 is content-null at 512 and byte-identical across all 10 requests at 2048. A = B = M8 = D on every measurable prompt.

    Paste-ready: @Adamyno's (15 prompts × 5 arms; series + fused prefill identical on every measurable prompt; 11 of 15 identical across all arms, 3 arm-C-only, 1 null at 512 → byte-identical at 2048)

The verdict doesn't change — the series does not move a single answer; only near-tie wording inside the thinking channel moves, and only under the opted-in numerics switches.

<!-- gh-comment-id:6342465740 --> @Adamyno commented on GitHub (Oct 22, 2026): Small correction on the two @Adamyno lines before they land in the issue body — the runs were wider than the compressed "N/N measurable" counts suggest: - **IQ3_S, our box:** 15 prompts measured. 12 of 15 are byte-identical across all four arms (A/B/C/M8); the other 3 differ only in arm C (the two switches outside the series). The series itself — B vs A and M8 vs B — is byte-identical on every measurable prompt, so series-vs-reference is 15/15. One of the 15 overflows thinking at 512; re-run at 2048 it is byte-identical across all four arms too. Paste-ready: `@Adamyno's (15 prompts; series-vs-reference byte-identical 15/15; 12 of 15 identical across all four arms, the other 3 arm-C-only)` - **Q2_0, our box:** 15 prompts × 5 arms (A/B/C/M8 + the fused D). 11 of 15 identical across all five arms; 3 differ only in arm C (P03_code, P13_reason, P10_translate — C's prefill numerics shorten thinking, so it fits the 512 budget while the other arms overflow); P05 is content-null at 512 and byte-identical across all 10 requests at 2048. A = B = M8 = D on every measurable prompt. Paste-ready: `@Adamyno's (15 prompts × 5 arms; series + fused prefill identical on every measurable prompt; 11 of 15 identical across all arms, 3 arm-C-only, 1 null at 512 → byte-identical at 2048)` The verdict doesn't change — the series does not move a single answer; only near-tie wording inside the thinking channel moves, and only under the opted-in numerics switches.
Author
Owner

@yusheng227507 commented on GitHub (Oct 22, 2026):

The evidence in one place, and the one gap I can close

@Adamyno's third box and @rafatxf's summary are what I was missing to see the whole picture. Here is the consolidated table from my side, in the same terms, so the three boxes can be compared directly. One item is still open on my side, at the end.

My box: 2x RTX 2080 Ti 22 GB (sm_75), NVLink NV2, PCIe 3.0 x8 host link (6.5 GB/s), i7-10700K (AVX2, no AVX-512), 94.1 GiB RAM, driver 595.99.02, Ubuntu 24.04.5, Strata 9de04cd4 (v0.2.1.4), engine 0.1.46.3 compiled from source for sm_75 (CUDA 12.8), 262144 context, kv int8, --kv-resident 32768, --spec 4 --spec-min-p 0.5, --layer-split 26, 3 slots. Recipe in every arm: STRATA_IQ_MT_MIN=1 + STRATA_PREFILL_CPU_SHARE=0 + STRATA_ROUTE_TAIL_SKIP=0 + --pcie-frac 0 + --adapt-every 1000000.

Pack Arm B vs A (SM75_PERF on/off) Arm C vs B (+BF16_TC+PA_V2T) Mode 8 vs default Inside-arm stability
IQ3_S 8/8 byte-identical 8/8 byte-identical 8/8 byte-identical 0 unstable
IQ3_XXS 6/8 byte-identical, 2 near-tie prompts moved 8/8 byte-identical 8/8 byte-identical 0 unstable

So on this box the series itself moves nothing on IQ3_S, and on IQ3_XXS it moves two near-ties; the numerics opt-ins (arm C) are what change answers. That is the same split @Adamyno found on IQ3_S.

The two IQ3_XXS prompts that moved, for the record, with the exact texts - both are the other of two equally good answers:

P3_code   A:  cleaned = ''.join(c.lower() for c in s if c.isalpha())
          B:  filtered = [c.lower() for c in s if c.isalpha()]

P5_list   A:  - 第1至5項為:0, 1, 1, 2, 3
               - 符合Fibonacci定義的起始序列
          B:  - 0, 1, 1, 2, 3
               - 1, 1, 2, 3, 5
               - 0, 1, 1, 2, 3

I also ran the per-kernel screen (16 arms: reference, all on, and the 14 named sub-switches off one at a time) on IQ3_XXS. No single sub-switch brings the reference answer back on either prompt; five of them (GR_DOWN_TG, SCORES_HALVE, TOPK_SPLIT, TOPK_SAMPLE, ATTN_V3) each move P5_list to a third text of their own, and the other nine leave it at the all-on answer. The reason a one-switch screen cannot return the reference is in the code: sm75_default() is what native_mmvq.cu:2584, qsa_decode_attn.cu:449, fused_gr.cu:1207 and :1232, qsa_select.cu:1689, :1704, :2256, :2489 and verify.cpp:310 follow, while only STRATA_SM75_IL, STRATA_SM75_EXP and STRATA_TC_SM75 have a variable of their own. So a near-tie moves if any of several paths rounds differently.

On the speed side, STRATA_EXP_MODE=8 measured +14 % chat decode / +16 % agent decode on IQ3_XXS and +8.7 % / +13.0 % on IQ3_S against the default layout here, with the prompt path unchanged - and byte-identical text on both packs, so it is not a numerics change on this box.

The gap

Every A-vs-B comparison above is on engine 0.1.46.3, because that is what I had built when I ran it. The engine people will actually run is now 0.1.47 (0.2.2). The four standard-protocol runs in PR #3535 are on 0.1.47 and put IQ3_XXS at 21/21 requests and 12/12 sanity (tool calls 4/4), but they do not carry the exact-comparison recipe, so they do not answer the text question.

So the open item on my side is narrow: does IQ3_XXS still move those two near-ties on 0.1.47, or is that a 0.1.46.3 artifact? I can re-run the same A/B/C/M8 matrix with the same recipe on 0.1.47 and report it here - say the word, or I will run it and post the numbers.

For the record, what the thread now reads, as far as I can see it:

Pack Boxes Result
IQ3_S @Adamyno (12/12 measurable), me (8/8), @rafatxf (KL 0) byte-identical everywhere
Q2_0 @Adamyno (11/11 measurable), @rafatxf byte-identical everywhere
IQ3_XXS me (6/8) equivalent answers; two near-tie prompts out of eight move, and no single sub-switch causes it
Mode 8 me (both packs), @Adamyno byte-identical to the default wherever it was compared
<!-- gh-comment-id:6343336686 --> @yusheng227507 commented on GitHub (Oct 22, 2026): ## The evidence in one place, and the one gap I can close @Adamyno's third box and @rafatxf's summary are what I was missing to see the whole picture. Here is the consolidated table from my side, in the same terms, so the three boxes can be compared directly. One item is still open on my side, at the end. **My box:** 2x RTX 2080 Ti 22 GB (sm_75), NVLink NV2, PCIe 3.0 x8 host link (6.5 GB/s), **i7-10700K (AVX2, no AVX-512)**, 94.1 GiB RAM, driver 595.99.02, Ubuntu 24.04.5, Strata `9de04cd4` (v0.2.1.4), **engine 0.1.46.3 compiled from source for sm_75** (CUDA 12.8), 262144 context, kv int8, `--kv-resident 32768`, `--spec 4 --spec-min-p 0.5`, `--layer-split 26`, 3 slots. Recipe in every arm: `STRATA_IQ_MT_MIN=1` + `STRATA_PREFILL_CPU_SHARE=0` + `STRATA_ROUTE_TAIL_SKIP=0` + `--pcie-frac 0` + `--adapt-every 1000000`. | Pack | Arm B vs A (`SM75_PERF` on/off) | Arm C vs B (`+BF16_TC`+`PA_V2T`) | Mode 8 vs default | Inside-arm stability | |---|---|---|---|---| | **IQ3_S** | **8/8 byte-identical** | 8/8 byte-identical | 8/8 byte-identical | 0 unstable | | **IQ3_XXS** | **6/8 byte-identical**, 2 near-tie prompts moved | 8/8 byte-identical | 8/8 byte-identical | 0 unstable | So on this box the series itself moves nothing on IQ3_S, and on IQ3_XXS it moves two near-ties; the numerics opt-ins (arm C) are what change answers. That is the same split @Adamyno found on IQ3_S. The two IQ3_XXS prompts that moved, for the record, with the exact texts - both are the other of two equally good answers: ``` P3_code A: cleaned = ''.join(c.lower() for c in s if c.isalpha()) B: filtered = [c.lower() for c in s if c.isalpha()] P5_list A: - 第1至5項為:0, 1, 1, 2, 3 - 符合Fibonacci定義的起始序列 B: - 0, 1, 1, 2, 3 - 1, 1, 2, 3, 5 - 0, 1, 1, 2, 3 ``` I also ran the per-kernel screen (16 arms: reference, all on, and the 14 named sub-switches off one at a time) on IQ3_XXS. No single sub-switch brings the reference answer back on either prompt; five of them (`GR_DOWN_TG`, `SCORES_HALVE`, `TOPK_SPLIT`, `TOPK_SAMPLE`, `ATTN_V3`) each move `P5_list` to a third text of their own, and the other nine leave it at the all-on answer. The reason a one-switch screen cannot return the reference is in the code: `sm75_default()` is what `native_mmvq.cu:2584`, `qsa_decode_attn.cu:449`, `fused_gr.cu:1207` and `:1232`, `qsa_select.cu:1689`, `:1704`, `:2256`, `:2489` and `verify.cpp:310` follow, while only `STRATA_SM75_IL`, `STRATA_SM75_EXP` and `STRATA_TC_SM75` have a variable of their own. So a near-tie moves if any of several paths rounds differently. On the speed side, `STRATA_EXP_MODE=8` measured **+14 % chat decode / +16 % agent decode on IQ3_XXS** and **+8.7 % / +13.0 % on IQ3_S** against the default layout here, with the prompt path unchanged - and byte-identical text on both packs, so it is not a numerics change on this box. ### The gap Every A-vs-B comparison above is on **engine 0.1.46.3**, because that is what I had built when I ran it. The engine people will actually run is now **0.1.47** (0.2.2). The four standard-protocol runs in PR #3535 are on 0.1.47 and put IQ3_XXS at 21/21 requests and **12/12 sanity (tool calls 4/4)**, but they do not carry the exact-comparison recipe, so they do not answer the text question. So the open item on my side is narrow: **does IQ3_XXS still move those two near-ties on 0.1.47, or is that a 0.1.46.3 artifact?** I can re-run the same A/B/C/M8 matrix with the same recipe on 0.1.47 and report it here - say the word, or I will run it and post the numbers. For the record, what the thread now reads, as far as I can see it: | Pack | Boxes | Result | |---|---|---| | IQ3_S | @Adamyno (12/12 measurable), me (8/8), @rafatxf (KL 0) | byte-identical everywhere | | Q2_0 | @Adamyno (11/11 measurable), @rafatxf | byte-identical everywhere | | IQ3_XXS | me (6/8) | equivalent answers; two near-tie prompts out of eight move, and no single sub-switch causes it | | Mode 8 | me (both packs), @Adamyno | byte-identical to the default wherever it was compared |
Author
Owner

@rafatxf commented on GitHub (Oct 22, 2026):

@Adamyno thanks for the correction. Your two paste-ready lines replace mine in the issue body: series-vs-reference 15/15 on IQ3_S, and series + fused prefill identical on every measurable Q2_0 prompt.

@yusheng227507 yes, please run the A/B/C/M8 matrix with the recipe on 0.1.47. That is the engine the default would ship in, and IQ3_XXS is the only pack where the series moved anything. If the two near-ties are still there, the body keeps "equivalent" for IQ3_XXS; if they are gone, it can say so. Your consolidated table matches the body, with Adamyno's counts updated as above.

Reproduction status: no new measurements in this comment.

<!-- gh-comment-id:6344148497 --> @rafatxf commented on GitHub (Oct 22, 2026): @Adamyno thanks for the correction. Your two paste-ready lines replace mine in the issue body: series-vs-reference 15/15 on IQ3_S, and series + fused prefill identical on every measurable Q2_0 prompt. @yusheng227507 yes, please run the A/B/C/M8 matrix with the recipe on 0.1.47. That is the engine the default would ship in, and IQ3_XXS is the only pack where the series moved anything. If the two near-ties are still there, the body keeps "equivalent" for IQ3_XXS; if they are gone, it can say so. Your consolidated table matches the body, with Adamyno's counts updated as above. Reproduction status: no new measurements in this comment.
Author
Owner

@yusheng227507 commented on GitHub (Oct 22, 2026):

The gap from my previous comment is closed: on engine 0.1.47, nothing moves.

Re-ran the A/B/C/M8 matrix on 0.1.47 (source build, sm_75, same box), same recipe (STRATA_IQ_MT_MIN=1 + STRATA_PREFILL_CPU_SHARE=0 + STRATA_ROUTE_TAIL_SKIP=0, --pcie-frac 0 --adapt-every 1000000), fresh server per arm, greedy (temperature 0 / top_k 1 / seed 1), enable_thinking false, max_tokens 2048. 12 prompts × 2 repeats × 4 arms × 2 packs = 192 requests, 0 errors.

Byte-identical at every position:

IQ3_XXS IQ3_S
A vs B (+SM75_PERF) 12/12 12/12
A vs C (+BF16_TC+PA_V2T) 12/12 12/12
A vs M8 (+EXP_MODE=8) 12/12 12/12
B vs M8 12/12 12/12

Every repeat pair is byte-identical too — 96/96 within-arm comparisons, nothing unstable.

The prompt set covers the two classes that moved on 0.1.46.3 (a palindrome-code and a three-line Fibonacci list), plus translation, word-counting and a second long-doc needle the old set did not have. On the two old flip points, all four arms now resolve to the same one of the two texts they used to flip between (P3 gives the filtered build everywhere; the list gives the per-line numbers everywhere) — so the near-ties did not vanish: with this engine, arms A and B no longer disagree about which candidate to pick, and no other prompt moved.

Two caveats: the wordings are close to, but not token-identical with, the 0.1.46.3 run (its raw data was overwritten, so no byte-level cross-engine comparison on the originals is possible), and this is one box, one engine, 12 prompts. It does mean that on the engine people will actually run, the series is text-neutral on a widened set, in line with the equivalent answers wording above.

For completeness, the per-pack speed numbers already in PRs #3535 / #3627 carry over unchanged — none of these settings changed.

<!-- gh-comment-id:6345166900 --> @yusheng227507 commented on GitHub (Oct 22, 2026): **The gap from my previous comment is closed: on engine 0.1.47, nothing moves.** Re-ran the A/B/C/M8 matrix on **0.1.47** (source build, sm_75, same box), same recipe (`STRATA_IQ_MT_MIN=1` + `STRATA_PREFILL_CPU_SHARE=0` + `STRATA_ROUTE_TAIL_SKIP=0`, `--pcie-frac 0 --adapt-every 1000000`), fresh server per arm, greedy (`temperature 0 / top_k 1 / seed 1`), `enable_thinking false`, `max_tokens 2048`. **12 prompts × 2 repeats × 4 arms × 2 packs = 192 requests, 0 errors.** **Byte-identical at every position:** | | IQ3_XXS | IQ3_S | |---|---|---| | A vs B (+`SM75_PERF`) | 12/12 | 12/12 | | A vs C (+`BF16_TC`+`PA_V2T`) | 12/12 | 12/12 | | A vs M8 (+`EXP_MODE=8`) | 12/12 | 12/12 | | B vs M8 | 12/12 | 12/12 | Every repeat pair is byte-identical too — 96/96 within-arm comparisons, nothing unstable. The prompt set covers the two classes that moved on 0.1.46.3 (a palindrome-code and a three-line Fibonacci list), plus translation, word-counting and a second long-doc needle the old set did not have. On the two old flip points, all four arms now resolve to **the same one of the two texts they used to flip between** (P3 gives the `filtered` build everywhere; the list gives the per-line numbers everywhere) — so the near-ties did not vanish: with this engine, arms A and B no longer disagree about which candidate to pick, and no other prompt moved. Two caveats: the wordings are close to, but not token-identical with, the 0.1.46.3 run (its raw data was overwritten, so no byte-level cross-engine comparison on the originals is possible), and this is one box, one engine, 12 prompts. It does mean that on the engine people will actually run, the series is text-neutral on a widened set, in line with the *equivalent answers* wording above. For completeness, the per-pack speed numbers already in PRs #3535 / #3627 carry over unchanged — none of these settings changed.
Author
Owner

@rafatxf commented on GitHub (Oct 22, 2026):

@yusheng227507 thanks, that closes the last open line. On 0.1.47, the engine a default would ship in, IQ3_XXS is now 12/12 byte-identical across A/B/C/M8, like IQ3_S.

I'll update the IQ3_XXS line in the issue body:

  • on 0.1.46.3, two near-tie prompts out of eight moved;
  • on 0.1.47, 12/12 byte-identical in every arm on the same box, with a wider prompt set.

That leaves "equivalent answers" as the general claim, with no measured difference from the series on any pack on the current engine.

Reproduction status: no new measurements in this comment.

<!-- gh-comment-id:6346047271 --> @rafatxf commented on GitHub (Oct 22, 2026): @yusheng227507 thanks, that closes the last open line. On 0.1.47, the engine a default would ship in, IQ3_XXS is now 12/12 byte-identical across A/B/C/M8, like IQ3_S. I'll update the IQ3_XXS line in the issue body: - on 0.1.46.3, two near-tie prompts out of eight moved; - on 0.1.47, 12/12 byte-identical in every arm on the same box, with a wider prompt set. That leaves "equivalent answers" as the general claim, with no measured difference from the series on any pack on the current engine. Reproduction status: no new measurements in this comment.
Author
Owner

@yusheng227507 commented on GitHub (Oct 23, 2026):

One more sm_75 datapoint, off the main series: DFlash2 vs MTP on this box (engine 0.1.48 self-built sm_75, IQ3_XXS, --spec 4 --mtp rt, 2× RTX 2080 Ti, layer split 26/22).

Same standard suite on both arms (3 runs each, 33/33 ok), the only difference being the drafter. DFlash2 packed from the pinned revision a22a1744 (760 MB Q8 pack), no fallback lines, the ~1.2 GB drafter fits VRAM fine, and the offer/accept pattern confirms the drafter really was different (offered/req median 98 → 95; offered total 860 → 845):

metric MTP DFlash2 Δ
short chat decode tok/s 83.2 84.7 +1.8%
agent session decode tok/s (last-turn) 86.1 85.4 -0.8%
4K prompt tok/s 910.0 912.5 ~flat
16K prompt tok/s 1600.2 1604.3 ~flat
agent cache hit 69.3% 69.4% ~flat
draft acceptance (chat+4K) 61.3% 62.4% ~flat

Net: a wash on Turing — chat slightly faster, agent slightly slower, everything else flat, acceptance about equal. Keeping MTP. If you want a row for the suggestion table in strata_control/drafting.py (currently other: not measured), a paste-ready line:

sm_75 (Turing, e.g. 2× RTX 2080 Ti): ≈tied (chat +1.8%, agent −0.8%, rest flat) — MTP kept

<!-- gh-comment-id:6364122067 --> @yusheng227507 commented on GitHub (Oct 23, 2026): **One more sm_75 datapoint, off the main series: DFlash2 vs MTP on this box** (engine 0.1.48 self-built sm_75, IQ3_XXS, `--spec 4 --mtp rt`, 2× RTX 2080 Ti, layer split 26/22). Same standard suite on both arms (3 runs each, 33/33 ok), the only difference being the drafter. DFlash2 packed from the pinned revision `a22a1744` (760 MB Q8 pack), no fallback lines, the ~1.2 GB drafter fits VRAM fine, and the offer/accept pattern confirms the drafter really was different (offered/req median 98 → 95; offered total 860 → 845): | metric | MTP | DFlash2 | Δ | |---|---:|---:|---:| | short chat decode tok/s | 83.2 | 84.7 | +1.8% | | agent session decode tok/s (last-turn) | 86.1 | 85.4 | -0.8% | | 4K prompt tok/s | 910.0 | 912.5 | ~flat | | 16K prompt tok/s | 1600.2 | 1604.3 | ~flat | | agent cache hit | 69.3% | 69.4% | ~flat | | draft acceptance (chat+4K) | 61.3% | 62.4% | ~flat | Net: a wash on Turing — chat slightly faster, agent slightly slower, everything else flat, acceptance about equal. Keeping MTP. If you want a row for the suggestion table in `strata_control/drafting.py` (currently `other: not measured`), a paste-ready line: > sm_75 (Turing, e.g. 2× RTX 2080 Ti): ≈tied (chat +1.8%, agent −0.8%, rest flat) — MTP kept
Author
Owner

@yusheng227507 commented on GitHub (Oct 23, 2026):

Follow-up on the DFlash2 row: the pack size matters, and it moves the wrong way.

Ran the same both-arm suite on the (abliterated) IQ3_S pack — same engine 0.1.48 (self-built sm_75), same box, 33/33 ok each arm:

metric IQ3_XXS: MTP → DFlash2 IQ3_S: MTP → DFlash2
short chat decode tok/s 83.2 → 84.7 (+1.8%) 75.2 → 73.1 (-2.8%)
agent session decode tok/s 86.1 → 85.4 (-0.8%) 80.4 → 75.8 (-5.7%)
4K / 16K prompt tok/s ~flat ~flat
agent cache hit ~flat ~flat
draft acceptance (chat+4K) 61.3% → 62.4% 68.1% → 64.1% (-5.8 pp)
offered / req (chat median) 100 → 100 97 → 106

So on IQ3_S DFlash2 is visibly worse, outside the noise band (consistent across all 3 runs), with a clean mechanism: the drafter proposes deeper windows (offered 97 → 106) that verify rejects more (acceptance -5.8 pp). Unconfirmed hypothesis: the drafter was trained on the base model and mismatches the abliterated IQ3_S distribution; the (non-abliterated) IQ3_XXS pack still matches well enough to tie.

Updated paste-ready line for the suggestion table in strata_control/drafting.py:

sm_75 (Turing, 2× RTX 2080 Ti): IQ3_XXS about tied (chat +1.8%, agent -0.8%); abliterated IQ3_S DFlash2 loses (chat -2.8%, agent -5.7%, acceptance -5.8 pp) — MTP kept

<!-- gh-comment-id:6367084504 --> @yusheng227507 commented on GitHub (Oct 23, 2026): **Follow-up on the DFlash2 row: the pack size matters, and it moves the wrong way.** Ran the same both-arm suite on the (abliterated) **IQ3_S** pack — same engine 0.1.48 (self-built sm_75), same box, 33/33 ok each arm: | metric | IQ3_XXS: MTP → DFlash2 | IQ3_S: MTP → DFlash2 | |---|---:|---:| | short chat decode tok/s | 83.2 → 84.7 (+1.8%) | 75.2 → 73.1 (**-2.8%**) | | agent session decode tok/s | 86.1 → 85.4 (-0.8%) | 80.4 → 75.8 (**-5.7%**) | | 4K / 16K prompt tok/s | ~flat | ~flat | | agent cache hit | ~flat | ~flat | | draft acceptance (chat+4K) | 61.3% → 62.4% | 68.1% → **64.1% (-5.8 pp)** | | offered / req (chat median) | 100 → 100 | 97 → **106** | So on IQ3_S DFlash2 is visibly worse, outside the noise band (consistent across all 3 runs), with a clean mechanism: the drafter proposes deeper windows (offered 97 → 106) that verify rejects more (acceptance -5.8 pp). Unconfirmed hypothesis: the drafter was trained on the base model and mismatches the abliterated IQ3_S distribution; the (non-abliterated) IQ3_XXS pack still matches well enough to tie. Updated paste-ready line for the suggestion table in `strata_control/drafting.py`: > sm_75 (Turing, 2× RTX 2080 Ti): IQ3_XXS about tied (chat +1.8%, agent -0.8%); abliterated IQ3_S DFlash2 loses (chat -2.8%, agent -5.7%, acceptance -5.8 pp) — MTP kept
Author
Owner

@rafatxf commented on GitHub (Oct 23, 2026):

@yusheng227507 before the DFlash2 row goes into the table, a check on what actually ran: in 0.2.3 a served model can't use DFlash2 yet, so I think both of your arms ran MTP.

Why I think so:

  • The Terminal and app don't pass it. strata_control/drafting.py has ENGINE_SERVES_DFLASH2 = False, and its comment explains why. With "drafting": "dflash2", decide() returns MTP with the note "DFlash2 isn't available in this mode". apply() then only strips --draft/--draft-model, so the engine arguments are the same as the MTP arm. The server prints [strata] drafting: Drafting: MTP (DFlash2 isn't available in this mode) at start, and /metrics carries it as drafting_note. The engine itself prints no fallback line, because it is never asked.
  • The engine would refuse it anyway. Started by hand with --serve, --batch or a layer split, --draft dflash2 logs --draft dflash2 is off: it is for one card and the CLI run (not --serve, --batch or a layer split) in this build; the MTP drafts instead (generate.cpp, around line 5478 at v0.2.3).
  • So the IQ3_S gap needs another explanation. Your earlier comment showed that on an AVX2 CPU without the exact-comparison recipe, output varies run to run, because a token's expert rows round differently depending on how many drafts share its window. That alone changes text lengths and offered drafts. If the arms ran in blocks rather than interleaved, order effects (cache state, thermals) can add to it. Interleaving the arms and checking the drafting line in the server log would settle it.

Where DFlash2 does run: one card, CLI spec loop.

  • Hardware and build: RTX 2080 Ti 22 GB, i7-6700 (4 cores, AVX2), engine 0.1.48 built for sm_75. The drafter is incoai/Qwen3.8-Flash-Next-DFlash2 packed with tools/dflash2_pack.py (760 MB).
  • Model: Unsloth UD-IQ4_XS, 32K context, --resident-budget-gib 29.
  • Run: 512 greedy tokens per prompt. MTP at --spec 4 --spec-min-p 0.7 against DFlash2 in three settings.
  • DFlash2 was really active: the engine printed DFlash2 drafter on, the drafting cost was about 2.8-3.1 ms per round, and the window-size distribution changed.
prompt MTP tokens/round DFlash2 tokens/round (best setting) MTP tok/s DFlash2 tok/s (best setting)
chat 2.04 2.40 (spec 8, min-p 0.7) 18.7 17.1 (spec 6)
code 3.05 5.09 (spec 8, draft-conf 0.5) 13.6 13.8 (spec 6)
4K prompt 1.88 2.05 (spec 8, min-p 0.7) 11.3 12.0 (spec 8)
16K prompt 2.13 2.20 (spec 8, min-p 0.7) 12.2 12.2 (spec 8)

DFlash2 accepts more per round, most clearly on code (+45-67 %), but the speed comes out even: −9 % on chat, about flat on code, +7 % on the 4K prompt, flat at 16K. The wider windows it proposes cost the CPU more experts per round. On this 4-core box with a 4-bit pack, the CPU expert pool is what limits decode, so the extra accepted tokens are paid back in verify cost.

So on Turing today it reads as a wash where it can run (one card), and untested where most of us run (served, layer split) until the engine supports it there. A box with more cores, or a pack whose experts mostly fit in VRAM, might come out differently.

Reproduction status: measured locally; every number here is from my runs on this box.

<!-- gh-comment-id:6375516470 --> @rafatxf commented on GitHub (Oct 23, 2026): @yusheng227507 before the DFlash2 row goes into the table, a check on what actually ran: in 0.2.3 a served model can't use DFlash2 yet, so I think both of your arms ran MTP. **Why I think so:** - **The Terminal and app don't pass it.** `strata_control/drafting.py` has `ENGINE_SERVES_DFLASH2 = False`, and its comment explains why. With `"drafting": "dflash2"`, `decide()` returns MTP with the note "DFlash2 isn't available in this mode". `apply()` then only strips `--draft`/`--draft-model`, so the engine arguments are the same as the MTP arm. The server prints `[strata] drafting: Drafting: MTP (DFlash2 isn't available in this mode)` at start, and `/metrics` carries it as `drafting_note`. The engine itself prints no fallback line, because it is never asked. - **The engine would refuse it anyway.** Started by hand with `--serve`, `--batch` or a layer split, `--draft dflash2` logs `--draft dflash2 is off: it is for one card and the CLI run (not --serve, --batch or a layer split) in this build; the MTP drafts instead` (generate.cpp, around line 5478 at v0.2.3). - **So the IQ3_S gap needs another explanation.** Your earlier comment showed that on an AVX2 CPU without the exact-comparison recipe, output varies run to run, because a token's expert rows round differently depending on how many drafts share its window. That alone changes text lengths and offered drafts. If the arms ran in blocks rather than interleaved, order effects (cache state, thermals) can add to it. Interleaving the arms and checking the `drafting` line in the server log would settle it. **Where DFlash2 does run: one card, CLI spec loop.** - **Hardware and build:** RTX 2080 Ti 22 GB, i7-6700 (4 cores, AVX2), engine 0.1.48 built for sm_75. The drafter is `incoai/Qwen3.8-Flash-Next-DFlash2` packed with `tools/dflash2_pack.py` (760 MB). - **Model:** Unsloth UD-IQ4_XS, 32K context, `--resident-budget-gib 29`. - **Run:** 512 greedy tokens per prompt. MTP at `--spec 4 --spec-min-p 0.7` against DFlash2 in three settings. - **DFlash2 was really active:** the engine printed `DFlash2 drafter on`, the drafting cost was about 2.8-3.1 ms per round, and the window-size distribution changed. | prompt | MTP tokens/round | DFlash2 tokens/round (best setting) | MTP tok/s | DFlash2 tok/s (best setting) | |---|---:|---:|---:|---:| | chat | 2.04 | 2.40 (spec 8, min-p 0.7) | 18.7 | 17.1 (spec 6) | | code | 3.05 | 5.09 (spec 8, draft-conf 0.5) | 13.6 | 13.8 (spec 6) | | 4K prompt | 1.88 | 2.05 (spec 8, min-p 0.7) | 11.3 | 12.0 (spec 8) | | 16K prompt | 2.13 | 2.20 (spec 8, min-p 0.7) | 12.2 | 12.2 (spec 8) | DFlash2 accepts more per round, most clearly on code (+45-67 %), but the speed comes out even: −9 % on chat, about flat on code, +7 % on the 4K prompt, flat at 16K. The wider windows it proposes cost the CPU more experts per round. On this 4-core box with a 4-bit pack, the CPU expert pool is what limits decode, so the extra accepted tokens are paid back in verify cost. So on Turing today it reads as a wash where it can run (one card), and untested where most of us run (served, layer split) until the engine supports it there. A box with more cores, or a pack whose experts mostly fit in VRAM, might come out differently. Reproduction status: measured locally; every number here is from my runs on this box.
Author
Owner

@rafatxf commented on GitHub (Oct 24, 2026):

Thanks @atmJava. A 14-core Xeon is a new CPU class for this thread, and both results fit the proposal. I'll fold them into the body:

  • STRATA_SM75_PERF: your box joins the byte-identical list (IQ3_XXS on 0.1.47, gate config, the same answer for =0 and =1).
  • Expert mode 8: +8.5 % / +7.9 % against a 0.7 % A/A2 spread is the largest gain reported so far; the body says +2.7 % to +4.9 % from three setups. I'll widen that line to four setups.
  • --spec on a native pack: good catch. The gate measures a spec window, not plain decode. I'll say so next to the gate recipe.

On the one first-request divergence: I don't have a confirmed cause. As I read docs/BATCHING.md, the recipe pins what can change within a run: the CPU kernels' grouping, the PCIe share per window, the adaptive tier, and prompt borrowing. It doesn't pin everything that can differ between two cold starts. One candidate I can point to in the code is the prompt chunk. With --prefill auto, the chunk is sized at start from the VRAM room the expert cache leaves (generate.cpp logs prompt chunk auto: N tokens). If your 7.6K-token prompt is longer than the chunk on some start, it is read in a different split, and its KV rounds differently from the first token on.

Two cheap checks would tell:

  • If you kept the engine log of that start, compare its prompt chunk auto and expert-cache slot lines with a normal start's.
  • Pin --prefill N (N larger than the prompt) and repeat the restarts.

If neither moves it, a cold-start line in the body ("the first request after a start can differ") is the honest fallback.

Reproduction status: no new measurement in this comment; the code references are from v0.2.3.

<!-- gh-comment-id:6378674185 --> @rafatxf commented on GitHub (Oct 24, 2026): Thanks @atmJava. A 14-core Xeon is a new CPU class for this thread, and both results fit the proposal. I'll fold them into the body: - **`STRATA_SM75_PERF`:** your box joins the byte-identical list (IQ3_XXS on 0.1.47, gate config, the same answer for `=0` and `=1`). - **Expert mode 8:** +8.5 % / +7.9 % against a 0.7 % A/A2 spread is the largest gain reported so far; the body says +2.7 % to +4.9 % from three setups. I'll widen that line to four setups. - **`--spec` on a native pack:** good catch. The gate measures a spec window, not plain decode. I'll say so next to the gate recipe. **On the one first-request divergence:** I don't have a confirmed cause. As I read `docs/BATCHING.md`, the recipe pins what can change *within* a run: the CPU kernels' grouping, the PCIe share per window, the adaptive tier, and prompt borrowing. It doesn't pin everything that can differ between two cold starts. One candidate I can point to in the code is the prompt chunk. With `--prefill auto`, the chunk is sized at start from the VRAM room the expert cache leaves (generate.cpp logs `prompt chunk auto: N tokens`). If your 7.6K-token prompt is longer than the chunk on some start, it is read in a different split, and its KV rounds differently from the first token on. Two cheap checks would tell: - If you kept the engine log of that start, compare its `prompt chunk auto` and expert-cache slot lines with a normal start's. - Pin `--prefill N` (N larger than the prompt) and repeat the restarts. If neither moves it, a cold-start line in the body ("the first request after a start can differ") is the honest fallback. Reproduction status: no new measurement in this comment; the code references are from v0.2.3.
Author
Owner

@yusheng227507 commented on GitHub (Oct 24, 2026):

rafatxf is right — the two DFlash2 comments above are invalid; please disregard their data.

Verified on my side: engine 0.1.48 src/program/generate.cpp gates DFlash2 to it is for one card and the CLI run (not --serve, --batch or a layer split) in this build, and both my arms were --serve runs on a 2-GPU layer split — so the engine took the MTP fallback in both. The serve logs confirm it byte-exactly: the arms' expert-cache footprints are identical to the plain MTP runs (IQ3_XXS 9701 experts / 14.10 GiB of VRAM; IQ3_S 7534 / 13.66 GiB — a loaded DFlash2 pack would have shrunk both), and no drafter line appears in the log. The offered/accept deltas I leaned on (offered/req 98 → 95, 97 → 106) are run-to-run expert-placement variance on an IQ pack, not drafter evidence.

So the comparison tables in those comments (84.7 vs 83.2, 73.1 vs 75.2, and the acceptance lines) are MTP-vs-MTP replicates on my box and must not go into the suggestion table. Sorry for the wrong first read — the "really using the drafter" check I did was indirect and I should have looked at the engine's own gate in the source first.

I will rerun DFlash2 the way the engine actually allows it — CLI, one card, no split (the 22 GB card holds the XXS native pack) — and only post a number if that run gives a clean reading.

<!-- gh-comment-id:6380952836 --> @yusheng227507 commented on GitHub (Oct 24, 2026): **rafatxf is right — the two DFlash2 comments above are invalid; please disregard their data.** Verified on my side: engine 0.1.48 `src/program/generate.cpp` gates DFlash2 to `it is for one card and the CLI run (not --serve, --batch or a layer split) in this build`, and both my arms were `--serve` runs on a 2-GPU layer split — so the engine took the MTP fallback in both. The serve logs confirm it byte-exactly: the arms' expert-cache footprints are identical to the plain MTP runs (IQ3_XXS 9701 experts / 14.10 GiB of VRAM; IQ3_S 7534 / 13.66 GiB — a loaded DFlash2 pack would have shrunk both), and no drafter line appears in the log. The offered/accept deltas I leaned on (offered/req 98 → 95, 97 → 106) are run-to-run expert-placement variance on an IQ pack, not drafter evidence. So the comparison tables in those comments (84.7 vs 83.2, 73.1 vs 75.2, and the acceptance lines) are MTP-vs-MTP replicates on my box and must not go into the suggestion table. Sorry for the wrong first read — the "really using the drafter" check I did was indirect and I should have looked at the engine's own gate in the source first. I will rerun DFlash2 the way the engine actually allows it — CLI, one card, no split (the 22 GB card holds the XXS native pack) — and only post a number if that run gives a clean reading.
Author
Owner

@yusheng227507 commented on GitHub (Oct 24, 2026):

The clean DFlash2 reading for the suggestion table (CLI, single card, as the engine allowlists):

Engine 0.1.48 self-built sm_75, RTX 2080 Ti 22 GB, one card, no split, IQ3_XXS native pack, greedy (--temperature 0 --top-k 1), 160 max-new, one run per anchor (the same four upstream prompts), expert cache auto with the shipped env (STRATA_SM75_PERF=1, STRATA_BF16_TC=1, STRATA_PA_V2T=1, STRATA_EXP_MODE=8). The engine confirms the drafter this time: strata generate: DFlash2 drafter on (...pack...), the MTP layer stays as the fallback (992 MiB of draft VRAM, 3.55 ms/round drafting).

anchor MTP tok/s DFlash2 tok/s Δ
chat_explain 55.11 49.26 -10.6%
code_py 61.13 57.96 -5.2%
math 55.86 55.01 -1.5%
creative 46.90 42.61 -9.1%

Tokens per round are about tied (1.86–2.81 across anchors, both arms) — the loss is the drafting cost itself plus the costlier verify on Turing, the same mechanism that loses at wider --spec on this card (what the guard's own "4% to 16% slower" band says). So this joins the ampere row more than the blackwell one: DFlash2 slower on every prompt class here too. Paste-ready for the suggestion table in strata_control/drafting.py:

sm_75 (RTX 2080 Ti 22 GB, CLI one-card, IQ3_XXS native pack): DFlash2 slower on every prompt (chat -10.6%, code -5.2%, math -1.5%, creative -9.1%) — MTP kept

<!-- gh-comment-id:6381081985 --> @yusheng227507 commented on GitHub (Oct 24, 2026): **The clean DFlash2 reading for the suggestion table (CLI, single card, as the engine allowlists):** Engine 0.1.48 self-built sm_75, RTX 2080 Ti 22 GB, one card, no split, IQ3_XXS native pack, greedy (`--temperature 0 --top-k 1`), 160 max-new, one run per anchor (the same four upstream prompts), expert cache auto with the shipped env (`STRATA_SM75_PERF=1`, `STRATA_BF16_TC=1`, `STRATA_PA_V2T=1`, `STRATA_EXP_MODE=8`). The engine confirms the drafter this time: `strata generate: DFlash2 drafter on (...pack...), the MTP layer stays as the fallback` (992 MiB of draft VRAM, 3.55 ms/round drafting). | anchor | MTP tok/s | DFlash2 tok/s | Δ | |---|---:|---:|---:| | chat_explain | 55.11 | 49.26 | -10.6% | | code_py | 61.13 | 57.96 | -5.2% | | math | 55.86 | 55.01 | -1.5% | | creative | 46.90 | 42.61 | -9.1% | Tokens per round are about tied (1.86–2.81 across anchors, both arms) — the loss is the drafting cost itself plus the costlier verify on Turing, the same mechanism that loses at wider `--spec` on this card (what the guard's own "4% to 16% slower" band says). So this joins the ampere row more than the blackwell one: DFlash2 slower on every prompt class here too. Paste-ready for the suggestion table in `strata_control/drafting.py`: > sm_75 (RTX 2080 Ti 22 GB, CLI one-card, IQ3_XXS native pack): DFlash2 slower on every prompt (chat -10.6%, code -5.2%, math -1.5%, creative -9.1%) — MTP kept
Author
Owner

@tonykee commented on GitHub (Oct 31, 2026):

Another RTX 20-series user here (2x 2080 Ti 22 GB, Ryzen 7 3700X, 93 GB), running a Strata-derived engine. Two things from that side:

  1. Yes to making the series the default on 7.5. Your own note on the series has it at +6% (engine v0.1.45) and +4.9% (STRATA_SM75_PERF=1) decode, +6.9% prefill at 100K, measured on a 2080 Ti - and the kernels are declared bitwise. A switch that has to be found in a header comment is a switch most RTX 20 users never turn on.

  2. The fork has drifted from this work. Project Maya (MIT, starts from Strata's engine, credits it) still reports engine 0.1.27 in its serve log and has no sm75_series.hpp; its Turing paths are its own (register prompt-attention kernel, EXL3 wmma for sm_7x, FP32 MLA decode). So the sm_75 work you merged is not reaching that fork, and the fork's own Turing paths are not reaching you - some of it may be worth taking both ways.

  3. Turing is not a dead end for the big models either: DeepSeek V4.1-Flash runs at 30-34 tok/s decode on 2x2080Ti in that fork (details and config in #4176). The block there is packs and kernel selection, not compute capability.

If a build/test on this box helps (it is spare, Linux, CUDA 12.8, and I have both checkouts), say the word.

<!-- gh-comment-id:6541813930 --> @tonykee commented on GitHub (Oct 31, 2026): Another RTX 20-series user here (2x 2080 Ti 22 GB, Ryzen 7 3700X, 93 GB), running a Strata-derived engine. Two things from that side: 1. **Yes to making the series the default on 7.5.** Your own note on the series has it at +6% (engine v0.1.45) and +4.9% (`STRATA_SM75_PERF=1`) decode, +6.9% prefill at 100K, measured on a 2080 Ti - and the kernels are declared bitwise. A switch that has to be found in a header comment is a switch most RTX 20 users never turn on. 2. **The fork has drifted from this work.** Project Maya (MIT, starts from Strata's engine, credits it) still reports `engine 0.1.27` in its serve log and has no `sm75_series.hpp`; its Turing paths are its own (register prompt-attention kernel, EXL3 wmma for sm_7x, FP32 MLA decode). So the sm_75 work you merged is not reaching that fork, and the fork's own Turing paths are not reaching you - some of it may be worth taking both ways. 3. Turing is not a dead end for the big models either: DeepSeek V4.1-Flash runs at 30-34 tok/s decode on 2x2080Ti in that fork (details and config in #4176). The block there is packs and kernel selection, not compute capability. If a build/test on this box helps (it is spare, Linux, CUDA 12.8, and I have both checkouts), say the word.
Author
Owner

@rafatxf commented on GitHub (Oct 31, 2026):

Thanks @tonykee, a fourth independent sm_75 voice for the default helps, and the Maya pointer is useful.

Since you mention DeepSeek: a data point from the Strata side, same cards, without the Turing tuning you describe. The setup is 2× 2080 Ti 22 GB on NVLink with an i7-6700 (4 cores, AVX2) and only 56 GB of RAM. strata-dsv41 is built from source for sm_75, and the pack is ISTA IQ1_M.

  • Decode with 6 experts: 10-11 tok/s at 0.2.6, and 13-14 tok/s with --experts 5.
  • The bottleneck: about a third of the CPU-lane experts are read from NVMe on every token. With 56 GB the store cannot hold the 82 GB the CPU lane needs.
  • The engine drops TP itself: --tp 2 falls back to a layer split (n_ff 2304 splits no other way), the same block you worked around with the uneven split.
  • --mmap-experts off loses here (−4 to −27 % decode against the store's default): with that little RAM, a static copy of the hottest experts cannot follow the conversation the way the store does. Your 93 GB box is the case where the full copy fits, which matches your +25 %.
  • 0.2.7 against 0.2.6 on this box: prompt reads are +32 % (141 vs 107 tok/s at 4.9K), but decode is 4-22 % slower. Turning the new default vision tower off does not change that.

The uneven TP split and per-member shares look like the piece most worth porting to Strata's DeepSeek engine for two-card Turing boxes. I'm moving this machine to 128 GB of RAM soon and will re-measure the copy-all path then.

Reproduction status: measured locally; every number here is from my runs on this box.

<!-- gh-comment-id:6542269811 --> @rafatxf commented on GitHub (Oct 31, 2026): Thanks @tonykee, a fourth independent sm_75 voice for the default helps, and the Maya pointer is useful. Since you mention DeepSeek: a data point from the Strata side, same cards, without the Turing tuning you describe. The setup is 2× 2080 Ti 22 GB on NVLink with an i7-6700 (4 cores, AVX2) and only 56 GB of RAM. `strata-dsv41` is built from source for sm_75, and the pack is ISTA IQ1_M. - **Decode with 6 experts:** 10-11 tok/s at 0.2.6, and 13-14 tok/s with `--experts 5`. - **The bottleneck:** about a third of the CPU-lane experts are read from NVMe on every token. With 56 GB the store cannot hold the 82 GB the CPU lane needs. - **The engine drops TP itself:** `--tp 2` falls back to a layer split (`n_ff 2304 splits no other way`), the same block you worked around with the uneven split. - **`--mmap-experts off` loses here** (−4 to −27 % decode against the store's default): with that little RAM, a static copy of the hottest experts cannot follow the conversation the way the store does. Your 93 GB box is the case where the full copy fits, which matches your +25 %. - **0.2.7 against 0.2.6 on this box:** prompt reads are +32 % (141 vs 107 tok/s at 4.9K), but decode is 4-22 % slower. Turning the new default vision tower off does not change that. The uneven TP split and per-member shares look like the piece most worth porting to Strata's DeepSeek engine for two-card Turing boxes. I'm moving this machine to 128 GB of RAM soon and will re-measure the copy-all path then. Reproduction status: measured locally; every number here is from my runs on this box.
Author
Owner

@Adamyno commented on GitHub (Oct 31, 2026):

Engine 0.1.54 on 3× RTX 2080 Ti, IQ3_S: the series alone is +7.3% decode, and +21.3% with expert mode 8 (12/12 pairs positive)

A third box on a newer engine than the one in the body (0.1.47): this is 0.1.54, i.e. the engine 0.2.8 ships. Same conclusion, larger separation, and every pair moves the same way.

Hardware: 3× RTX 2080 Ti 22 GB (sm_75, power limits 210 / 167 / 200 W), i9-7980XE (18c/36t, AVX-512 without VNNI/VBMI), 125 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04.

Build/config: engine 0.1.54 (a0116b27), source, -DCMAKE_CUDA_ARCHITECTURES=75; cuobjdump --list-elf shows sm_75 cubins only. Qwen3.8-Flash-Next GSQ-RCO IQ3_S native pack, --layer-split auto → K=16,32 (3 cards; the engine picked it: 1035 placements, ~100.0% of the routed mass, 24576 of 24576 profiled pairs), --max-context 262144 --kv int8 --kv-resident 32768 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --mtp-max-t 3 --vram-reserve-mib 768 --trim-stage-weights, STRATA_NO_LARGEPAGES=1 in every arm.

Method: the repo's tools/ab_engine.py, one binary, environment only, fresh server per arm, 3 rounds with alternating order (ABC / CBA / ABC), greedy (temperature 0, top_k 1, presence_penalty 0), 256 new tokens. Deltas are medians of the paired per-round deltas, not ratios of the displayed medians. All 12 pairs per comparison have matching completion-token counts, so no drafting difference was excluded.

request (decode tok/s, median of 3) A: series off, mode 4 B: STRATA_SM75_PERF=1 C: B + STRATA_EXP_MODE=8
chat0 78.6 85.8 97.2
chat1 63.6 68.9 78.2
chat2 65.0 69.1 77.6
6,345-token prompt 76.6 81.3 90.6
prefill, 6,345 tokens 882.9 920.0 921.2

Paired deltas:

comparison median pairs range
B vs A — the series alone +7.33% 12/12 positive +5.4 … +10.2%
C vs B — expert mode 8 on top +12.34% 12/12 positive +10.3 … +15.5%
C vs A — the full proposal +21.29% 12/12 positive +17.4 … +24.5%

Per request, C vs A: chat0 +23.8%, chat1 +23.3%, chat2 +19.4%, long +17.5%. Prefill is +4.3% in the same direction (882.9 → 921.2 tok/s), i.e. it does not pay for the decode gain.

How this reads against the thread: these are larger than the +6.4% / +13.1% (2 cards / 3 cards) I measured on v0.2.0-beta. Two differences: 0.1.54 instead of the 0.2.0-beta-era engine, and the layer split is the engine's own auto pick (K=16,32) rather than a hand-set 16,32 on the same cards. I have not isolated which of the two carries the increase, so treat the +21% as the number for this configuration on this engine, not as a re-measurement of the beta.

On the default question, this is the decode-only half and it points the same way the byte-identical evidence already did: on this pack and engine the series costs nothing in answers and pays 7% on its own, and mode 8 adds another 12% on the i-quant packs — which is what the proposal asks for. A quality run through the same engine (aider polyglot, 225 cases) is the piece I have not done yet; if it is useful for the decision I can run the three arms through it and report pass@1 / pass@2.

Reproduction status: measured locally on the third box.

<!-- gh-comment-id:6547563579 --> @Adamyno commented on GitHub (Oct 31, 2026): ## Engine 0.1.54 on 3× RTX 2080 Ti, IQ3_S: the series alone is +7.3% decode, and +21.3% with expert mode 8 (12/12 pairs positive) A third box on a **newer engine than the one in the body** (0.1.47): this is 0.1.54, i.e. the engine 0.2.8 ships. Same conclusion, larger separation, and every pair moves the same way. **Hardware:** 3× RTX 2080 Ti 22 GB (sm_75, power limits 210 / 167 / 200 W), i9-7980XE (18c/36t, AVX-512 without VNNI/VBMI), 125 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04. **Build/config:** engine **0.1.54** (`a0116b27`), source, `-DCMAKE_CUDA_ARCHITECTURES=75`; `cuobjdump --list-elf` shows `sm_75` cubins only. Qwen3.8-Flash-Next GSQ-RCO **IQ3_S** native pack, `--layer-split auto` → **K=16,32** (3 cards; the engine picked it: 1035 placements, ~100.0% of the routed mass, 24576 of 24576 profiled pairs), `--max-context 262144 --kv int8 --kv-resident 32768 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --mtp-max-t 3 --vram-reserve-mib 768 --trim-stage-weights`, `STRATA_NO_LARGEPAGES=1` in every arm. **Method:** the repo's `tools/ab_engine.py`, one binary, environment only, fresh server per arm, **3 rounds with alternating order** (ABC / CBA / ABC), greedy (`temperature 0`, `top_k 1`, `presence_penalty 0`), 256 new tokens. Deltas are **medians of the paired per-round deltas**, not ratios of the displayed medians. All 12 pairs per comparison have **matching completion-token counts**, so no drafting difference was excluded. | request (decode tok/s, median of 3) | A: series off, mode 4 | B: `STRATA_SM75_PERF=1` | C: B + `STRATA_EXP_MODE=8` | |---|---:|---:|---:| | chat0 | 78.6 | 85.8 | **97.2** | | chat1 | 63.6 | 68.9 | **78.2** | | chat2 | 65.0 | 69.1 | **77.6** | | 6,345-token prompt | 76.6 | 81.3 | **90.6** | | prefill, 6,345 tokens | 882.9 | 920.0 | 921.2 | **Paired deltas:** | comparison | median | pairs | range | |---|---:|---:|---| | B vs A — the series alone | **+7.33%** | 12/12 positive | +5.4 … +10.2% | | C vs B — expert mode 8 on top | **+12.34%** | 12/12 positive | +10.3 … +15.5% | | C vs A — the full proposal | **+21.29%** | 12/12 positive | +17.4 … +24.5% | Per request, C vs A: chat0 +23.8%, chat1 +23.3%, chat2 +19.4%, long +17.5%. Prefill is +4.3% in the same direction (882.9 → 921.2 tok/s), i.e. it does not pay for the decode gain. **How this reads against the thread:** these are larger than the +6.4% / +13.1% (2 cards / 3 cards) I measured on v0.2.0-beta. Two differences: 0.1.54 instead of the 0.2.0-beta-era engine, and the layer split is the engine's own auto pick (K=16,32) rather than a hand-set 16,32 on the same cards. I have not isolated which of the two carries the increase, so treat the +21% as the number for this configuration on this engine, not as a re-measurement of the beta. **On the default question,** this is the decode-only half and it points the same way the byte-identical evidence already did: on this pack and engine the series costs nothing in answers and pays 7% on its own, and mode 8 adds another 12% on the i-quant packs — which is what the proposal asks for. A quality run through the same engine (aider polyglot, 225 cases) is the piece I have not done yet; if it is useful for the decision I can run the three arms through it and report pass@1 / pass@2. Reproduction status: measured locally on the third box.
Author
Owner

@rafatxf commented on GitHub (Oct 31, 2026):

Thanks @Adamyno. This is the cleanest measurement in the thread so far: paired deltas, alternating order, matched completion-token counts, and 12/12 pairs on every comparison, on the engine that 0.2.8 ships. I'll add it to the body as the headline number for current engines: the series alone +7.3 %, mode 8 on top +12.3 %, +21.3 % together, 3× 2080 Ti, IQ3_S.

On the quality run: yes, please, if you have the time. The byte-identical checks cover the series kernels, but a task-level pass@1 / pass@2 across the three arms would be the first quality evidence for mode 8 and the near-tie switches together. As far as I can see, that is the one piece still missing for a maintainer decision.

<!-- gh-comment-id:6547898598 --> @rafatxf commented on GitHub (Oct 31, 2026): Thanks @Adamyno. This is the cleanest measurement in the thread so far: paired deltas, alternating order, matched completion-token counts, and 12/12 pairs on every comparison, on the engine that 0.2.8 ships. I'll add it to the body as the headline number for current engines: the series alone +7.3 %, mode 8 on top +12.3 %, +21.3 % together, 3× 2080 Ti, IQ3_S. On the quality run: yes, please, if you have the time. The byte-identical checks cover the series kernels, but a task-level pass@1 / pass@2 across the three arms would be the first quality evidence for mode 8 and the near-tie switches together. As far as I can see, that is the one piece still missing for a maintainer decision.
Author
Owner

@rafatxf commented on GitHub (Nov 1, 2026):

A prompt-path data point for sm_75, outside the bitwise series: STRATA_BF16_TC=1 + STRATA_PA_V2T=1.

Measured on 2x RTX 2080 Ti 22 GB (PCIe 3.0 x8 each), UD-IQ4_XS, Strata 0.2.7 (engine 0.1.52), production arguments (384K context, int8 K/V), 2 alternating rounds:

prompt default BF16_TC=1 + PA_V2T=1
4K 8.0 / 7.9 s 7.3 / 7.7 s (−5 %)
16K 17.6 / 17.9 s 16.2 / 16.5 s (−8 %)
32K — 25.2 s
64K 46.9 s 42.0 s (−10 %)

STRATA_PREFILL_TIMING=1 shows where it comes from. On cc 7.5 bf16_path() defaults to cuBLAS's BF16 GEMM, which has no tensor-core path on Turing. The hyper-connection read (hc read, the BF16 down / up / inject projections) took 770 ms of a 7.7K-token stage-chunk; with BF16_TC=1 (through the FP16 tensor cores) it takes 243 ms. Decode does not change: it does not use these GEMMs.

These two do not keep the bits. They round differently and move near-ties, as Adamyno's arm C showed earlier in this thread, so they are not for the series. Still, BF16_TC=1 might deserve to be the default on cc 7.5 under the same "answers equivalent" rule. I have been running both in production since today.

Reproduction status: measured locally; every number is from my runs.

<!-- gh-comment-id:6558093510 --> @rafatxf commented on GitHub (Nov 1, 2026): A prompt-path data point for sm_75, outside the bitwise series: **`STRATA_BF16_TC=1` + `STRATA_PA_V2T=1`**. Measured on 2x RTX 2080 Ti 22 GB (PCIe 3.0 x8 each), UD-IQ4_XS, Strata 0.2.7 (engine 0.1.52), production arguments (384K context, int8 K/V), 2 alternating rounds: | prompt | default | BF16_TC=1 + PA_V2T=1 | |---|---:|---:| | 4K | 8.0 / 7.9 s | 7.3 / 7.7 s (−5 %) | | 16K | 17.6 / 17.9 s | 16.2 / 16.5 s (−8 %) | | 32K | — | 25.2 s | | 64K | 46.9 s | 42.0 s (−10 %) | `STRATA_PREFILL_TIMING=1` shows where it comes from. On cc 7.5 `bf16_path()` defaults to cuBLAS's BF16 GEMM, which has no tensor-core path on Turing. The hyper-connection read (`hc read`, the BF16 down / up / inject projections) took **770 ms of a 7.7K-token stage-chunk**; with `BF16_TC=1` (through the FP16 tensor cores) it takes **243 ms**. Decode does not change: it does not use these GEMMs. These two do not keep the bits. They round differently and move near-ties, as Adamyno's arm C showed earlier in this thread, so they are not for the series. Still, `BF16_TC=1` might deserve to be the default on cc 7.5 under the same "answers equivalent" rule. I have been running both in production since today. Reproduction status: measured locally; every number is from my runs.
Author
Owner

@Adamyno commented on GitHub (Nov 1, 2026):

Confirmed on a third sm_75 rig, and larger here: 4K −19%, 16K −21%, 64K −16% on 3× 2080 Ti

Independent check of the STRATA_BF16_TC=1 + STRATA_PA_V2T=1 prompt-path number, on a three-card layer split rather than a pair. Same direction as your 2× 2080 Ti result, roughly twice the size, and stable across alternating rounds.

Hardware: 3× RTX 2080 Ti 22 GB (sm_75, power limits 210 / 167 / 200 W), i9-7980XE, 125 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04.

Build/config: engine 0.1.54 (a0116b27), source, -DCMAKE_CUDA_ARCHITECTURES=75 (cuobjdump: sm_75 only). Qwen3.8-Flash-Next GSQ-RCO IQ3_S, --layer-split auto → K=16,32 (3 cards), --max-context 262144 --kv int8 --kv-resident 32768 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --mtp-max-t 3 --vram-reserve-mib 768 --trim-stage-weights, STRATA_NO_LARGEPAGES=1 in both arms, STRATA_SM75_PERF=0 and STRATA_EXP_MODE=4 (the series switches held constant, since this is a prompt-path question, not a series one).

Method: one fresh server per arm, 2 rounds with alternating order (A/B then B/A), a unique nonce on every prompt (the engine caches prompt prefixes, so a repeated long prompt reports a nonsense rate), 8 new tokens, wall clock for the prefill. Prompt sizes are the tokenizer's own count (timings.prompt_n: 3 253–3 259, 12 704–12 706, 50 503–50 508).

prompt default BF16_TC=1 + PA_V2T=1 paired Δ (round 0, round 1) median
4K 4.4 s 3.5 s −19.3%, −18.7% −19.0%
16K 11.3 s 8.9 s −21.3%, −21.1% −21.2%
64K 37.7 s 31.7 s −16.2%, −15.7% −16.0%

Throughput at 64K: 1 341 / 1 347 → 1 599 / 1 603 tok/s, i.e. +19%; at 16K 1 135 → 1 446 (+27%). Decode was not measured here (these GEMMs are prompt-path only, as you say).

Where the extra size may come from: a three-way layer split puts the hyper-connection reads of 48 layers across three stages, so the 770 → 243 ms per-stage saving you measured on a pair is paid per stage here — which fits the gain being largest at 16K (the chunk size that fills a stage) and smallest at 64K (where more of the wall clock is stage-to-stage transfer). I have not isolated that; it is one engine, one pack, one box.

On the default question: these two keep changing near-ties, as arm C of the quality run in this thread shows, so they do not belong in the bitwise series. But on cc 7.5 the alternative is a cuBLAS BF16 GEMM with no tensor-core path at all — the −16 to −21% is not a rounding difference, it is the fallback being slow. If a maintainer wants one rule for "answers equivalent", these two look like the same case the series makes: worth a default, with the near-tie caveat stated in the same breath. I have run both in production since this measurement.

Reproduction status: measured locally on the third box.

<!-- gh-comment-id:6563986549 --> @Adamyno commented on GitHub (Nov 1, 2026): ## Confirmed on a third sm_75 rig, and larger here: 4K −19%, 16K −21%, 64K −16% on 3× 2080 Ti Independent check of the `STRATA_BF16_TC=1` + `STRATA_PA_V2T=1` prompt-path number, on a **three-card** layer split rather than a pair. Same direction as your 2× 2080 Ti result, roughly twice the size, and stable across alternating rounds. **Hardware:** 3× RTX 2080 Ti 22 GB (sm_75, power limits 210 / 167 / 200 W), i9-7980XE, 125 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04. **Build/config:** engine **0.1.54** (`a0116b27`), source, `-DCMAKE_CUDA_ARCHITECTURES=75` (`cuobjdump`: sm_75 only). Qwen3.8-Flash-Next GSQ-RCO **IQ3_S**, `--layer-split auto` → **K=16,32** (3 cards), `--max-context 262144 --kv int8 --kv-resident 32768 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --mtp-max-t 3 --vram-reserve-mib 768 --trim-stage-weights`, `STRATA_NO_LARGEPAGES=1` in both arms, `STRATA_SM75_PERF=0` and `STRATA_EXP_MODE=4` (the series switches held constant, since this is a prompt-path question, not a series one). **Method:** one fresh server per arm, **2 rounds with alternating order** (A/B then B/A), a unique nonce on every prompt (the engine caches prompt prefixes, so a repeated long prompt reports a nonsense rate), 8 new tokens, wall clock for the prefill. Prompt sizes are the tokenizer's own count (`timings.prompt_n`: 3 253–3 259, 12 704–12 706, 50 503–50 508). | prompt | default | `BF16_TC=1` + `PA_V2T=1` | paired Δ (round 0, round 1) | median | |---|---:|---:|---|---:| | 4K | 4.4 s | **3.5 s** | −19.3%, −18.7% | **−19.0%** | | 16K | 11.3 s | **8.9 s** | −21.3%, −21.1% | **−21.2%** | | 64K | 37.7 s | **31.7 s** | −16.2%, −15.7% | **−16.0%** | Throughput at 64K: 1 341 / 1 347 → 1 599 / 1 603 tok/s, i.e. **+19%**; at 16K 1 135 → 1 446 (+27%). Decode was not measured here (these GEMMs are prompt-path only, as you say). **Where the extra size may come from:** a three-way layer split puts the hyper-connection reads of 48 layers across three stages, so the 770 → 243 ms per-stage saving you measured on a pair is paid **per stage** here — which fits the gain being largest at 16K (the chunk size that fills a stage) and smallest at 64K (where more of the wall clock is stage-to-stage transfer). I have not isolated that; it is one engine, one pack, one box. **On the default question:** these two keep changing near-ties, as arm C of the quality run in this thread shows, so they do not belong in the bitwise series. But on cc 7.5 the alternative is a cuBLAS BF16 GEMM with no tensor-core path at all — the −16 to −21% is not a rounding difference, it is the fallback being slow. If a maintainer wants one rule for "answers equivalent", these two look like the same case the series makes: worth a default, with the near-tie caveat stated in the same breath. I have run both in production since this measurement. Reproduction status: measured locally on the third box.
Author
Owner

@rafatxf commented on GitHub (Nov 1, 2026):

Thanks, that's a clean confirmation: alternating rounds, nonces, and the tokenizer's counts.

On the size, I'd read it a little differently. The model has 48 layers however they are split, so the BF16 hc work per token is the same on two cards or three; a three-stage split does not multiply it. What differs is everything else: your prompt path is two to four times faster than mine (IQ3_S, 18 cores, more RAM), so the same fixed BF16 cost is a larger share of your wall clock. A STRATA_PREFILL_TIMING=1 run on your box would settle it. If the hc read is near 770 ms per 7.7K tokens of stage-chunk there too, the share explains the gap.

Either way, the two rigs agree on what matters. On cc 7.5 the default is a BF16 GEMM with no tensor-core path, and routing it through FP16 tensor cores is a large, repeatable win. If a maintainer wants it, I can open a small PR that makes BF16_TC the default on cc 7.5 only. PA_V2T would stay opt-in, since it is the smaller part of the gain, and the near-tie caveat would be written into the switch's documentation.

<!-- gh-comment-id:6564205811 --> @rafatxf commented on GitHub (Nov 1, 2026): Thanks, that's a clean confirmation: alternating rounds, nonces, and the tokenizer's counts. On the size, I'd read it a little differently. The model has 48 layers however they are split, so the BF16 hc work per token is the same on two cards or three; a three-stage split does not multiply it. What differs is everything else: your prompt path is two to four times faster than mine (IQ3_S, 18 cores, more RAM), so the same fixed BF16 cost is a larger share of your wall clock. A `STRATA_PREFILL_TIMING=1` run on your box would settle it. If the hc read is near 770 ms per 7.7K tokens of stage-chunk there too, the share explains the gap. Either way, the two rigs agree on what matters. On cc 7.5 the default is a BF16 GEMM with no tensor-core path, and routing it through FP16 tensor cores is a large, repeatable win. If a maintainer wants it, I can open a small PR that makes `BF16_TC` the default on cc 7.5 only. `PA_V2T` would stay opt-in, since it is the smaller part of the gain, and the near-tie caveat would be written into the switch's documentation.
Author
Owner

@Adamyno commented on GitHub (Nov 1, 2026):

STRATA_PREFILL_TIMING=1 on the trio: the hc read is 337 ms of a 1,526 ms chunk here — you are right about the share, my per-stage guess was wrong

Ran it, same two arms, same box as the confirmation above. The breakdown says the mechanism is what you said, not what I guessed: the hc work per token is the same on two cards or three, and on this box it is simply a bigger slice of a faster timeline.

Chunk the engine picked: 4,509 tokens (--prefill auto). Both arms ran the same two prompts after one shared warm-up; the numbers below are the engine's own strata prefill timing line for the first chunk.

phase default +BF16_TC+PA_V2T Δ
GPU timeline 1,526 ms 1,165 ms −24%
hc read 337 ms (22.1%) 96 ms (8.2%) −71%
hc write 51 ms (3.4%) 51 ms (4.4%) 0%
qsa attn 171 ms (11.2%) 75 ms (6.4%) −56%
qsa proj 67 ms 61 ms −9%
qsa select 48 ms 48 ms 0%
gdn (all three) 237 ms 234 ms 0%
gemm gate/up 230 ms (15.1%) 234 ms (20.1%) 0%
gemm down 126 ms 127 ms 0%
dequant 79 ms 81 ms 0%
router+shared / gather / wait copy / combine / kv stage 111 ms 87 ms −22%
embed+steps 30 ms 30 ms 0%

Read it as two separate switches: BF16_TC is the hc read (337 → 96 ms) and PA_V2T is the attention block (qsa attn 171 → 75 ms; qsa proj 67 → 61). Everything else — the MoE GEMMs, dequant, GDN, the writes — does not move, which is exactly the shape you predicted: if the default BF16 GEMM has no tensor-core path, only the phases that go through it can change.

On the share: 337 ms / 1,526 ms = 22.1% here. Your 770 ms per 7.7K-token stage-chunk is ~0.100 ms/token; ours is 337/4,509 = 0.075 ms/token — the same order, i.e. the absolute hc cost is not rig-specific, which is the part your reading needs. The gap in the gain then comes from the denominator: our chunk is 1,526 ms of GPU timeline against your longer per-chunk wall time, so removing 241 ms of hc shows up as −24% of the timeline here and −5…−10% of your end-to-end.

Two things I would put in the PR's wording, since the numbers now support them:

  1. BF16_TC alone is the hc read and is the large half; PA_V2T is attention. Reporting them as one number hides which switch a future regression came from.
  2. The near-tie caveat is not cosmetic: on this box the two together move qsa attn numerics as well as the hc projections, so any answer-equivalence claim should be per-switch, the way sm75_series.hpp already does for the series.

Reproduction status: measured locally on the third box; logs kept (/tmp/pft_default_engine.log, /tmp/pft_bf16tc_engine.log).

<!-- gh-comment-id:6564435925 --> @Adamyno commented on GitHub (Nov 1, 2026): ## `STRATA_PREFILL_TIMING=1` on the trio: the hc read is 337 ms of a 1,526 ms chunk here — you are right about the share, my per-stage guess was wrong Ran it, same two arms, same box as the confirmation above. The breakdown says the mechanism is what you said, not what I guessed: the hc work per token is the same on two cards or three, and on this box it is simply a bigger slice of a faster timeline. **Chunk the engine picked:** 4,509 tokens (`--prefill auto`). Both arms ran the same two prompts after one shared warm-up; the numbers below are the engine's own `strata prefill timing` line for the first chunk. | phase | default | +`BF16_TC`+`PA_V2T` | Δ | |---|---:|---:|---:| | **GPU timeline** | **1,526 ms** | **1,165 ms** | **−24%** | | **hc read** | **337 ms (22.1%)** | **96 ms (8.2%)** | **−71%** | | hc write | 51 ms (3.4%) | 51 ms (4.4%) | 0% | | qsa attn | 171 ms (11.2%) | 75 ms (6.4%) | −56% | | qsa proj | 67 ms | 61 ms | −9% | | qsa select | 48 ms | 48 ms | 0% | | gdn (all three) | 237 ms | 234 ms | 0% | | gemm gate/up | 230 ms (15.1%) | 234 ms (20.1%) | 0% | | gemm down | 126 ms | 127 ms | 0% | | dequant | 79 ms | 81 ms | 0% | | router+shared / gather / wait copy / combine / kv stage | 111 ms | 87 ms | −22% | | embed+steps | 30 ms | 30 ms | 0% | Read it as two separate switches: **`BF16_TC` is the hc read** (337 → 96 ms) and **`PA_V2T` is the attention block** (qsa attn 171 → 75 ms; qsa proj 67 → 61). Everything else — the MoE GEMMs, dequant, GDN, the writes — does not move, which is exactly the shape you predicted: if the default BF16 GEMM has no tensor-core path, only the phases that go through it can change. **On the share:** 337 ms / 1,526 ms = **22.1%** here. Your 770 ms per 7.7K-token stage-chunk is ~0.100 ms/token; ours is 337/4,509 = **0.075 ms/token** — the same order, i.e. the absolute hc cost is not rig-specific, which is the part your reading needs. The gap in the *gain* then comes from the denominator: our chunk is 1,526 ms of GPU timeline against your longer per-chunk wall time, so removing 241 ms of hc shows up as −24% of the timeline here and −5…−10% of your end-to-end. **Two things I would put in the PR's wording,** since the numbers now support them: 1. `BF16_TC` alone is the hc read and is the large half; `PA_V2T` is attention. Reporting them as one number hides which switch a future regression came from. 2. The near-tie caveat is not cosmetic: on this box the two together move qsa attn numerics as well as the hc projections, so any answer-equivalence claim should be per-switch, the way `sm75_series.hpp` already does for the series. Reproduction status: measured locally on the third box; logs kept (`/tmp/pft_default_engine.log`, `/tmp/pft_bf16tc_engine.log`).
Author
Owner

@Adamyno commented on GitHub (Nov 1, 2026):

Task-level pass@1 / pass@2 on IQ3_S: 50 identical cases, 43 vs 43 on pass@2 (+0.8% tokens). Plus: the harness shuffles unseeded, so --num-tests gives each run a different subset

Here is what I could get on the quality question tonight, with two honest caveats about the harness and the sample size. The short version: no measurable difference between the series+mode-8 arm and the default arm, on the cases both arms actually ran.

Setup. Engine 0.1.54 (a0116b27), source, sm_75. Qwen3.8-Flash-Next GSQ-RCO IQ3_S, --layer-split auto → K=16,32 on 3× 2080 Ti, --max-context 262144 --kv int8 --kv-resident 32768 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --mtp-max-t 3 --adapt-every 1000000 (static cache so the arms cannot drift placement), sampling temp 0.7 with seed: 1 in the config. aider polyglot, --edit-format whole, --threads 1.

  • A = STRATA_SM75_PERF=0, STRATA_EXP_MODE=4 (today's default)
  • C = STRATA_SM75_PERF=1, STRATA_EXP_MODE=8 (the proposal)

The harness bug that cost me the first attempt, and that anyone A/B-ing this benchmark should know: benchmark.py calls random.shuffle(test_dnames) with no seed, before slicing [:num_tests]. Two runs of the same command therefore see two different random subsets: my first pair shared 11 of 100 cases. I fixed it locally (env BENCH_CASE_LIST pins the exact list, BENCH_SEED seeds the shuffle) and re-ran the second arm against the first arm's list. Everything below is on the intersection, so it is apples to apples:

pass@1 pass@2 Σ completion tokens
A — series off, mode 4 24/50 = 48.0% 43/50 = 86.0% 1.92 M
C — series on, mode 8 22/50 = 44.0% 43/50 = 86.0% 1.93 M
  • pass@2 identical: 43 vs 43. Paired: 1 case A-fail→C-pass and 1 case A-pass→C-fail, i.e. perfectly symmetric (exact McNemar p = 1.0).
  • Σ tokens +0.8% (1.92 → 1.93 M).
  • On 34 of the 50 cases the two arms produced exactly the same completion-token count, which is what a byte-identical kernel path looks like when the sampling happens to agree; the other 16 diverge and then differ wildly (up to +342% on one case), because once a different edit is accepted the whole agent loop takes a different path.

What this is and is not. With n=50 the 95% interval on a ~86% pass rate is ±8pp, so this rules out a regression bigger than roughly eight points and nothing finer. It is also not the three-arm matrix you asked for: I ran A and C only, not B (PERF=1, mode 4), so the series and mode 8 are not separated here. And the honest reason the sample is small: a 100-case aider run of IQ3_S at 78 tok/s takes ~14 h wall (two of today's cases burned 162k and 150k tokens each), so the full 3×225 matrix is a multi-day job on one rig.

What would settle it properly, in the order I would spend the hours:

  1. Greedy instead of temp 0.7. The kernels are byte-identical, so at temperature 0 the arms should produce identical text — 30–50 cases would then be a sharp equality test instead of a noisy rate comparison. This is the cheapest route to a real answer and I would do it before any more sampling.
  2. A single-turn benchmark with thousands of questions (MMLU-Pro / GPQA-Diamond). I started MMLU-Pro tonight and abandoned it: with a 512-token cap, 40% of answers came back with an empty content (the reasoning never reached the answer), which makes the absolute score meaningless. That needs the thinking block handled first — a harness-side fix, not an engine one.
  3. The 3-arm × 225 aider matrix, if you want the number in the same units as the rest of the thread.

If a maintainer wants option 1, say so and I will run A/B/C at temperature 0 on the same pinned list — that is a few hours, not days, and it answers the question you actually need answered (does mode 8 change answers on real tasks).

Reproduction status: measured locally; harness patch and result JSONs available.

<!-- gh-comment-id:6564439358 --> @Adamyno commented on GitHub (Nov 1, 2026): ## Task-level pass@1 / pass@2 on IQ3_S: 50 identical cases, **43 vs 43** on pass@2 (+0.8% tokens). Plus: the harness shuffles unseeded, so `--num-tests` gives each run a different subset Here is what I could get on the quality question tonight, with two honest caveats about the harness and the sample size. The short version: **no measurable difference between the series+mode-8 arm and the default arm**, on the cases both arms actually ran. **Setup.** Engine **0.1.54** (`a0116b27`), source, sm_75. Qwen3.8-Flash-Next GSQ-RCO **IQ3_S**, `--layer-split auto` → K=16,32 on 3× 2080 Ti, `--max-context 262144 --kv int8 --kv-resident 32768 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --mtp-max-t 3 --adapt-every 1000000` (static cache so the arms cannot drift placement), sampling **temp 0.7 with `seed: 1`** in the config. aider polyglot, `--edit-format whole`, `--threads 1`. - **A** = `STRATA_SM75_PERF=0`, `STRATA_EXP_MODE=4` (today's default) - **C** = `STRATA_SM75_PERF=1`, `STRATA_EXP_MODE=8` (the proposal) **The harness bug that cost me the first attempt, and that anyone A/B-ing this benchmark should know:** `benchmark.py` calls `random.shuffle(test_dnames)` **with no seed**, before slicing `[:num_tests]`. Two runs of the same command therefore see **two different random subsets**: my first pair shared **11 of 100** cases. I fixed it locally (env `BENCH_CASE_LIST` pins the exact list, `BENCH_SEED` seeds the shuffle) and re-ran the second arm against the first arm's list. Everything below is on the **intersection**, so it is apples to apples: | | pass@1 | pass@2 | Σ completion tokens | |---|---:|---:|---:| | A — series off, mode 4 | 24/50 = 48.0% | **43/50 = 86.0%** | 1.92 M | | C — series on, mode 8 | 22/50 = 44.0% | **43/50 = 86.0%** | 1.93 M | - **pass@2 identical: 43 vs 43.** Paired: 1 case A-fail→C-pass and 1 case A-pass→C-fail, i.e. perfectly symmetric (exact McNemar p = 1.0). - **Σ tokens +0.8%** (1.92 → 1.93 M). - On **34 of the 50** cases the two arms produced **exactly the same completion-token count**, which is what a byte-identical kernel path looks like when the sampling happens to agree; the other 16 diverge and then differ wildly (up to +342% on one case), because once a different edit is accepted the whole agent loop takes a different path. **What this is and is not.** With n=50 the 95% interval on a ~86% pass rate is **±8pp**, so this rules out a regression bigger than roughly eight points and nothing finer. It is also **not** the three-arm matrix you asked for: I ran A and C only, not B (`PERF=1`, mode 4), so the series and mode 8 are not separated here. And the honest reason the sample is small: a 100-case aider run of IQ3_S at 78 tok/s takes ~14 h wall (two of today's cases burned 162k and 150k tokens each), so the full 3×225 matrix is a multi-day job on one rig. **What would settle it properly, in the order I would spend the hours:** 1. **Greedy instead of temp 0.7.** The kernels are byte-identical, so at `temperature 0` the arms should produce *identical text* — 30–50 cases would then be a sharp equality test instead of a noisy rate comparison. This is the cheapest route to a real answer and I would do it before any more sampling. 2. **A single-turn benchmark with thousands of questions** (MMLU-Pro / GPQA-Diamond). I started MMLU-Pro tonight and abandoned it: with a 512-token cap, **40% of answers came back with an empty `content`** (the reasoning never reached the answer), which makes the absolute score meaningless. That needs the thinking block handled first — a harness-side fix, not an engine one. 3. The 3-arm × 225 aider matrix, if you want the number in the same units as the rest of the thread. If a maintainer wants option 1, say so and I will run A/B/C at `temperature 0` on the same pinned list — that is a few hours, not days, and it answers the question you actually need answered (does mode 8 change answers on real tasks). Reproduction status: measured locally; harness patch and result JSONs available.
Author
Owner

@rafatxf commented on GitHub (Nov 1, 2026):

Thanks for the breakdown. It settles the mechanism, and it corrects me on one point: on your box PA_V2T is not the small half (qsa attn 171 → 75 ms against hc read 337 → 96 ms). So PA_V2T should not be left out of the default for being small; any decision on it should rest on its numerics alone.

Agreed on both wording points. If the PR happens, I'd measure each switch alone on both rigs, and state the near-tie caveat per switch, the way sm75_series.hpp does for the series.

<!-- gh-comment-id:6564948897 --> @rafatxf commented on GitHub (Nov 1, 2026): Thanks for the breakdown. It settles the mechanism, and it corrects me on one point: on your box `PA_V2T` is not the small half (qsa attn 171 → 75 ms against hc read 337 → 96 ms). So `PA_V2T` should not be left out of the default for being small; any decision on it should rest on its numerics alone. Agreed on both wording points. If the PR happens, I'd measure each switch alone on both rigs, and state the near-tie caveat per switch, the way `sm75_series.hpp` does for the series.
Author
Owner

@ozabramov commented on GitHub (Nov 7, 2026):

Tesla T4 (sm_75, 70 W), Q2_0: STRATA_SM75_PERF=1 decode +20 to +27 %, byte-identical, each switch dropped in turn

A data point from a Tesla T4, the passively cooled 70 W Turing datacenter card. As far as I can find, the thread has no T4 run
yet. The raw runs are in my fork:
bench/results/2026-11-06-tesla-t4-sm75-table.

Hardware: 1x Tesla T4 16 GB (sm_75, 70 W cap, VBIOS 90.04.96.00.01), PCIe Gen3 x16, passed through (VFIO) to a Debian 13.7 VM on
Proxmox VE 9.2. Host HPE DL380 Gen10, 2x Xeon Platinum 8276L (Cascade Lake: AVX-512 F/BW/VL/DQ/VNNI, no VBMI), 192 GB DDR4-2933.
The VM has 2x26 cores, each vCPU pinned 1:1 to a physical core of its socket, virtual NUMA, and 160 GB. Driver 620.70.06 (open modules),
CUDA 13.1.2, GCC 14.2.

Build: main at 9f7d977d (0.2.11, engine 0.1.57), ./setup.sh --build for sm_75. Same binary in every arm; only the
environment differs.

Model and config: Qwen3.8-Flash-Next GSQ-RCO Q2_0 native pack, setup's own config unchanged (--spec 4 --spec-min-p 0.5 --mtp --expert-cache auto (6,489 experts on the card), --kv int8 --kv-resident 32768 --ple-io ram --max-context 131072).

Method: tools/ab_engine.py, a fresh server per arm per round, arm order reversed every round, one warm-up, then three short
chats (256 new tokens at most) and one 6,345-token prompt, all greedy. I added a full-answer SHA-256 per request to the log, so
identity is checked on the whole text, every request and round.

run lane arms rounds result
decode A/B setup's config =0 vs =1 8 pairs paired medians +24.9 / +23.6 / +26.7 / +20.1 % (chat0, chat1, chat2, 6K prompt), 30 of 32 pairs faster; 6K prompt read +4.4 %
identity STRATA_IQ_MT_MIN=1, --prompt-cache 0 --adapt-swaps 0 --pcie-frac 0 =0 vs =1 2 decode +15 to +17 %; all 4 requests IDENTICAL
drop-one same deterministic lane =0, =1, and =1 plus each of the 14 switches =0 3 every arm's answers IDENTICAL to =1; STRATA_SM75_IL=0 alone costs -16.7 % (the whole series off: -20.4 %); the other 13 are within the T4's +-5 % round-to-round noise, none measurably slower

In setup's config greedy answers can change between rounds of the same arm (drafting and the adaptive expert tier move), so I
only judged identity in the deterministic lane above.

On this card the series is almost all STRATA_SM75_IL. I also tried the sm_86 table's switches one at a time on top of =1
(ADAPT_NOWAIT+ADAPT_LAG=2, CPU_IQ_ALL_EXACT1, SIDE_MIXER=2, B6_MMVQ_ROWS, FUSE_DECODE, GU_SWIGLU, QSA_ROWS, ATTN_DAILY,
3 rounds each): none was faster here (-2.5 to -6.5 % decode), so I would not carry the sm_86 table over to sm_75.

On the STRATA_BF16_TC=1 question above (not in the series; it rounds differently): on the T4, same config, 6 interleaved pairs
with the series on in both arms (this run's engine is my fork's build: the commit above plus the sm_75 table below and an opt-in CPU-kernel switch, the same in both arms), the 6,345-token prompt read went 447 -> 608 tok/s (paired median +34.6 %, 6 of 6 pairs). Decode
paired medians were -2.9 / -1.7 / -2.3 / -4.2 % (1-2 of 6 pairs faster per request, range 0.84-1.11), so inside this card's noise
but not clearly zero. It agrees with the prompt-path gain rafatxf and Adamyno measured on 2080 Tis.

Limits:

  • One card, one pack (Q2_0), one host, in a VM.
  • Decode drifted down over the evening (stock chat0 47.5 -> 39.9 tok/s between the first and fourth run). Interleaving cancels a
    drift, not a difference between hosts.
  • The T4 runs at its 70 W cap: throttle reason 0x4 in most samples, clocks down to about 660 MHz, at most 80 °C, no thermal throttling.
  • Four requests with full hashes is not the 10-prompt / exact_pp gate.
  • I did not run the expert-mode question (mode 8 for i-quant packs). This is a Q2_0 pack only.

For whoever decides the default: in my fork I also wrote the table entry the way the sm_86 / sm_60 ones are written
(nv_defaults.cpp: 7.5 -> STRATA_SM75_PERF=1, off with STRATA_SM75_PERF=0 or STRATA_DEFAULTS=026, with an nv_defaults_test
case), plus tools/sm75_ablation.py for the drop-one arms. I'm not opening a PR unless a maintainer wants one for this issue.

Reproduction status: measured locally; every number above is from my runs.

<!-- gh-comment-id:6699438233 --> @ozabramov commented on GitHub (Nov 7, 2026): ## Tesla T4 (sm_75, 70 W), Q2_0: `STRATA_SM75_PERF=1` decode +20 to +27 %, byte-identical, each switch dropped in turn A data point from a Tesla T4, the passively cooled 70 W Turing datacenter card. As far as I can find, the thread has no T4 run yet. The raw runs are in my fork: [bench/results/2026-11-06-tesla-t4-sm75-table](https://github.com/ozabramov/strata/tree/feature/sm75-ablation-tools/bench/results/2026-11-06-tesla-t4-sm75-table). **Hardware:** 1x Tesla T4 16 GB (sm_75, 70 W cap, VBIOS 90.04.96.00.01), PCIe Gen3 x16, passed through (VFIO) to a Debian 13.7 VM on Proxmox VE 9.2. Host HPE DL380 Gen10, 2x Xeon Platinum 8276L (Cascade Lake: AVX-512 F/BW/VL/DQ/VNNI, no VBMI), 192 GB DDR4-2933. The VM has 2x26 cores, each vCPU pinned 1:1 to a physical core of its socket, virtual NUMA, and 160 GB. Driver 620.70.06 (open modules), CUDA 13.1.2, GCC 14.2. **Build:** `main` at `9f7d977d` (0.2.11, engine 0.1.57), `./setup.sh --build` for sm_75. Same binary in every arm; only the environment differs. **Model and config:** Qwen3.8-Flash-Next GSQ-RCO Q2_0 native pack, setup's own config unchanged (`--spec 4 --spec-min-p 0.5 --mtp --expert-cache auto` (6,489 experts on the card), `--kv int8 --kv-resident 32768 --ple-io ram --max-context 131072`). **Method:** `tools/ab_engine.py`, a fresh server per arm per round, arm order reversed every round, one warm-up, then three short chats (256 new tokens at most) and one 6,345-token prompt, all greedy. I added a full-answer SHA-256 per request to the log, so identity is checked on the whole text, every request and round. | run | lane | arms | rounds | result | | --- | --- | --- | ---: | --- | | decode A/B | setup's config | `=0` vs `=1` | 8 pairs | paired medians **+24.9 / +23.6 / +26.7 / +20.1 %** (chat0, chat1, chat2, 6K prompt), 30 of 32 pairs faster; 6K prompt read +4.4 % | | identity | `STRATA_IQ_MT_MIN=1`, `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` | `=0` vs `=1` | 2 | decode +15 to +17 %; all 4 requests **IDENTICAL** | | drop-one | same deterministic lane | `=0`, `=1`, and `=1` plus each of the 14 switches `=0` | 3 | every arm's answers **IDENTICAL** to `=1`; `STRATA_SM75_IL=0` alone costs -16.7 % (the whole series off: -20.4 %); the other 13 are within the T4's +-5 % round-to-round noise, none measurably slower | In setup's config greedy answers can change between rounds of the same arm (drafting and the adaptive expert tier move), so I only judged identity in the deterministic lane above. On this card the series is almost all `STRATA_SM75_IL`. I also tried the sm_86 table's switches one at a time on top of `=1` (`ADAPT_NOWAIT`+`ADAPT_LAG=2`, `CPU_IQ_ALL_EXACT1`, `SIDE_MIXER=2`, `B6_MMVQ_ROWS`, `FUSE_DECODE`, `GU_SWIGLU`, `QSA_ROWS`, `ATTN_DAILY`, 3 rounds each): none was faster here (-2.5 to -6.5 % decode), so I would not carry the sm_86 table over to sm_75. On the `STRATA_BF16_TC=1` question above (not in the series; it rounds differently): on the T4, same config, 6 interleaved pairs with the series on in both arms (this run's engine is my fork's build: the commit above plus the sm_75 table below and an opt-in CPU-kernel switch, the same in both arms), the 6,345-token prompt read went **447 -> 608 tok/s (paired median +34.6 %, 6 of 6 pairs)**. Decode paired medians were -2.9 / -1.7 / -2.3 / -4.2 % (1-2 of 6 pairs faster per request, range 0.84-1.11), so inside this card's noise but not clearly zero. It agrees with the prompt-path gain rafatxf and Adamyno measured on 2080 Tis. **Limits:** - One card, one pack (Q2_0), one host, in a VM. - Decode drifted down over the evening (`stock` chat0 47.5 -> 39.9 tok/s between the first and fourth run). Interleaving cancels a drift, not a difference between hosts. - The T4 runs at its 70 W cap: throttle reason `0x4` in most samples, clocks down to about 660 MHz, at most 80 °C, no thermal throttling. - Four requests with full hashes is not the 10-prompt / exact_pp gate. - I did not run the expert-mode question (mode 8 for i-quant packs). This is a Q2_0 pack only. For whoever decides the default: in my fork I also wrote the table entry the way the sm_86 / sm_60 ones are written (`nv_defaults.cpp`: 7.5 -> `STRATA_SM75_PERF=1`, off with `STRATA_SM75_PERF=0` or `STRATA_DEFAULTS=026`, with an `nv_defaults_test` case), plus `tools/sm75_ablation.py` for the drop-one arms. I'm not opening a PR unless a maintainer wants one for this issue. Reproduction status: measured locally; every number above is from my runs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#875
No description provided.