[GH-ISSUE #5037] [Engine] v0.2.9 Windows CUDA measurements of the Linux-gated parallel-slot and GDN stacks #2331

Open
opened 2026-11-04 01:58:28 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @alphastorm on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5037

What v0.2.9 does. In serve/server.py at tag v0.2.9 (c62d5e3a), parallel_stack_env enables the nine-switch parallel-slot stack (PARALLEL_STACK_ENV: STRATA_CKPT_POOL=1, STRATA_CKPT_POOL_READY=4, STRATA_SLOT_CKPT_MOVE=1, STRATA_SLOT_COPY_DIRECT=1, STRATA_SLOT_COPY_BATCHSYNC=1, STRATA_BATCH_GDN_GROUPS=1, STRATA_BATCH_ATTN_ROWS=1, STRATA_BATCH_SELF_COMMIT=1, STRATA_QSA_SLOTS=1, when parallel_slots(cfg) >= 2 on CUDA Qwen) and gdn_stack_env enables the GDN tensor-core prompt stack (GDN_STACK_CUDA: STRATA_GDN_TC=1, STRATA_GDN_CONVL2=2 on CUDA qwen4exp; src/prefill/gdn_tc.cuh kTcScanSmemSplit covers sm_86 / sm_89 / sm_120) only when parallel_stack_platform() returns true (sys.platform.startswith("linux"); its docstring notes "Linux only: the stack was run on Linux CUDA; Windows (own host-arena path) and macOS were not."). Because child_env in serve/server.py merges cfg.get("env") into the engine environment before calling parallel_stack_env and gdn_stack_env (which use env.setdefault), setting those variables in the server config's env passes them to the stock Windows CUDA 13 engine (0.1.55, build 99866a47a2b8+cuda13.0).

Method. On Windows 11 with stock Strata v0.2.9 (engine 0.1.55), each arm cold-started the stock server from a temporary config copy (env or engine args) for one run per arm, bracketed by first and last baseline runs (1–2% baseline drift; baseline pairs checked with tools/par_analyze.py). Every arm ran stock tools/par_load.py with explicit token counts and a fixed --seed / --nonce per host (w1: --prompt-tokens 512 --max-tokens 512 --conc 1 --rounds 3; w2: --prompt-tokens 1000 --max-tokens 128 --conc 1,2,4 --rounds 3; w3: --prompt-tokens 32768 --max-tokens 128 --rounds 1 at --conc 4 on 4 slots or --conc 1 on 1 slot) and a client-side 512-token greedy (temperature=0) depth probe at 0 / 8K / 32K / 100K prompt tokens (TTFT = client dispatch to first streamed token; prefill tok/s, decode tok/s, and drafts_accepted / drafts_offered MTP acceptance ratio from server /metrics).

1. NVIDIA RTX PRO 6000 Blackwell Workstation Edition (96 GB, sm_120, 192 GB RAM, Windows 11). Qwen3.8-Flash-Next IQ3_S, 262,144 context, 4 batch slots (--parallel 4 in setup; engine args --batch 4 --batch-mtp --prefill auto:32768 --ple-io direct --kv int8 --kv-resident 32768 --pool-workers 15 --spec 4 --spec-min-p 0.5):

Arm (cold start each, in run order) Ready s (avail RAM GiB) w2 1,000/128 agg tok/s (c=1 / 2 / 4) w3 4 × 32K agg tok/s (TTFT p50 s) TTFT s at 0 / 8K / 32K / 100K Prefill tok/s at 8K / 32K Decode tok/s at 0 / 8K / 100K (MTP 0 / 100K)
Base (c0 first, c6 last) 35.3 (112.69), 35.2 (112.71) 116.5 / 110.1 / 114.4, 118.1 / 111.3 / 116.6 14.9 (19.31), 15.1 (19.14) 0.57 / 1.21 / 4.11 / 12.60, 0.56 / 1.22 / 4.12 / 12.66 6,883 / 8,066, 6,911 / 8,030 332.0 / 313.3 / 317.6 (0.80 / 0.86), 334.2 / 326.6 / 315.5 (0.80 / 0.85)
--kv-streaming off (c1, drop --kv-resident 32768) 30.2 (129.67) 120.7 / 113.7 / 117.0 15.0 (19.05) 0.55 / 1.17 / 4.05 / 12.27 7,108 / 8,182 335.0 / 317.8 / 332.9 (0.80 / 0.87)
PARALLEL_STACK_ENV via config env (c2) 35.2 (112.27) 128.1 / 133.2 / 149.8 15.9 (18.76) 0.45 / 1.16 / 4.02 / 12.48 7,245 / 8,221 329.3 / 322.3 / 315.0 (0.79 / 0.84)
--kv-streaming off + PARALLEL_STACK_ENV (c3) 30.2 (129.23) 128.1 / 135.0 / 153.6 16.9 (17.50) 0.47 / 1.14 / 3.95 / 12.17 7,392 / 8,369 334.2 / 334.4 / 328.1 (0.78 / 0.85)
GDN_STACK_CUDA via config env (c4) 35.2 (112.71) 119.8 / 110.8 / 115.8 15.5 (18.38) 0.57 / 1.13 / 3.75 / 11.43 7,480 / 8,872 329.4 / 307.3 / 313.8 (0.80 / 0.85)
All three (c5: --kv-streaming off + parallel + GDN) 30.2 (129.24) 128.5 / 135.8 / 156.2 17.3 (17.05) 0.46 / 1.04 / 3.58 / 10.94 8,146 / 9,296 346.2 / 326.5 / 334.5 (0.84 / 0.88)

PARALLEL_STACK_ENV (c2) raises w2 total output +30% at four concurrent 1,000-token requests (149.8 vs 114.4–116.6 tok/s, +20% at c=2, +10% at c=1); GDN_STACK_CUDA (c4) cuts 32K–100K TTFT −9% (−9% to −9.5%) and raises 8K–32K prefill +9–10%; --kv-streaming off (c1, omitting --kv-resident 32768; nvidia-smi used VRAM at ready 74,830 vs 59,660 MiB) cuts ready time 14% and leaves +17 GiB more host RAM available; all three together (c5) raise w2 at c=4 +35%, 4 × 32K +15%, 32K–100K TTFT −13%, prefill +15–18% and decode +4–6%.

2. NVIDIA GeForce RTX 5090 (32 GB, sm_120, Windows 11). Qwen3.8-Flash-Next Coder IQ1_M, 262,144 context, single slot (--prefill auto --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.5):

Arm (cold start each) Ready s (avail RAM GiB) w1 512/512 agg tok/s (TTFT p50 s) w3 32K agg tok/s (TTFT p50 s) TTFT s at 0 / 8K / 32K / 100K Prefill tok/s at 8K / 32K Decode tok/s at 0 / 8K / 100K (MTP 0 / 100K)
Base (q0 first, q6 last) 20.2 (10.58), 16.1 (10.56) 164.2 (0.27), 167.4 (0.28) 23.4 (4.76), 23.3 (4.78) 0.43 / 1.17 / 4.29 / 13.68, 0.40 / 1.15 / 4.29 / 13.70 7,188 / 7,708, 7,188 / 7,689 262.9 / 249.8 / 248.5 (0.81 / 0.84), 257.5 / 251.4 / 249.8 (0.79 / 0.84)
GDN_STACK_CUDA via config env (q3) 15.6 (10.51) 163.1 (0.28) 24.8 (4.44) 0.41 / 1.07 / 3.98 / 12.67 7,741 / 8,317 257.5 / 259.4 / 227.5 (0.79 / 0.76)
--prefill auto:32768 + GDN_STACK_CUDA (q5) 16.1 (10.08) 165.4 (0.27) 22.9 (4.85) 0.39 / 1.09 / 3.91 / 12.26 7,736 / 8,428 259.8 / 247.2 / 244.6 (0.80 / 0.82)

GDN_STACK_CUDA (q3) cuts 8K–100K TTFT −7 to −9% and raises 8K–32K prefill +8% (the single 100K decode sample in q3 had 0.76 MTP acceptance vs 0.84 on base and 0.82 / 244.6 tok/s in q5; needs repeats).

3. NVIDIA GeForce RTX 4090 (24 GB, sm_89) + RTX 3090 (24 GB, sm_86) layer split (128 GB RAM, Windows 11). Qwen3.8-Flash-Next IQ3_S, 262,144 context, single slot (setup --gpu-roles 0=main,1=helper staging RTX 3090 first on layers 0–23 and display-attached RTX 4090 last as Main on layers 24–47; engine args --layer-split 24 --pipeline-windows 2 --trim-stage-weights --ple-io direct --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.5). On this mixed 8.6 + 8.9 host, src/program/generate.cpp skips strata::core::apply_nv_defaults (src/core/nv_defaults.cpp: nv_default_env, #3313):

Arm (cold start each) w1 512/512 agg tok/s (TTFT p50 s) w3 32K agg tok/s (TTFT p50 s) TTFT s at 0 / 8K / 32K / 100K Prefill tok/s at 8K / 32K Decode tok/s at 0 / 8K / 100K (MTP 0 / 100K)
Base (p0 first, p7 last) 97.3 (1.06), 98.7 (1.05) 10.4 (11.25), 10.4 (11.21) 0.66 / 4.77 / 10.25 / 27.34, 0.63 / 4.80 / 10.11 / 27.34 1,733 / 3,219, 1,718 / 3,259 142.7 / 177.7 / 163.8 (0.81 / 0.84), 148.6 / 168.6 / 160.7 (0.85 / 0.80)
GDN_STACK_CUDA via config env (p4) 102.0 (1.05) 10.5 (11.11) 0.65 / 4.72 / 10.00 / 26.92 1,746 / 3,293 144.4 / 168.1 / 168.4 (0.80 / 0.86)
Engine sm_86 defaults via config env (p1) 104.7 (1.05) 10.5 (11.19) 0.64 / 4.73 / 10.09 / 27.17 1,745 / 3,263 151.1 / 182.5 / 183.5 (0.77 / 0.84)
Engine sm_86 defaults + GDN_STACK_CUDA (p6) 108.0 (1.04) 10.6 (11.08) 0.64 / 4.71 / 10.08 / 27.05 1,748 / 3,274 155.0 / 184.3 / 185.5 (0.81 / 0.86)

Against the mean of p0 and p7, GDN_STACK_CUDA alone (p4) trims 32K–100K TTFT by about −2% (10.00 / 26.92 s); setting the engine's nine sm_86 switches (STRATA_ADAPT_NOWAIT=1, STRATA_ADAPT_LAG=2, STRATA_CPU_IQ_ALL_EXACT1=1, STRATA_SIDE_MIXER=2, STRATA_ATTN_DAILY=1, STRATA_GR_UP75=1, STRATA_GU_SWIGLU=1, STRATA_QSA_ROWS=1, STRATA_B6_MMVQ_ROWS=1) via config env (p1, p6) raises single-request w1 throughput +7–10% (104.7 and 108.0 vs 98.0 tok/s) and decode +6–14% across 0 / 8K / 100K (+8% / +13% at 8K / 100K in p1; +6% / +6% / +14% at 0 / 8K / 100K in p6) with TTFT flat.

4. Pinned and re-measured in paired blocks. We then pinned the stock dictionaries via config env in new profiles and measured each against the same host's unpinned v0.2.9 root (the base arm above) in three paired cold-start blocks (A B B A A B, same --seed / --nonce; tools/par_analyze.py geomeans with 95% intervals), checked greedy identity with stock tools/serve_load.py --save / --compare (temperature=0, 256 tokens, against the first A block), and ran our frozen 18-attempt coding evaluation on the pinned profiles:

Host (pinned set) Paired B/A (three blocks) Greedy identity vs first A block Coding evaluation (unpinned root)
RTX PRO 6000 (PARALLEL_STACK_ENV + GDN_STACK_CUDA + --kv-streaming off) w2 total output 1.113 / 1.293 / 1.348 at c=1 / 2 / 4 (c=4 95% CI [1.316, 1.376]); w3 4 × 32K 1.131; w2 TTFT p95 0.804 / 0.764 / 0.683; cold decode 1.000 at 0 and 1.022 at 100K identical: all 5 sequences (1 + 4 concurrent) in every block 16/18 (16/18)
RTX 5090 (GDN_STACK_CUDA + --kv-streaming off + --kv-grow) cold TTFT 0.914 at 32K and 0.911 at 100K; 100K decode 0.973 (pairs 1.021 / 0.981 / 0.920); w1 1.025; w3 32K 1.084 not reproducible on this single-slot lane even between unpinned blocks (first difference at char 53–241) 17/18 (16/18)
RTX 4090 + RTX 3090 (engine sm_86 switches + GDN_STACK_CUDA) cold decode 1.057 / 1.065 / 1.091 / 1.114 at 0 / 8K / 32K / 100K; cold TTFT 0.948–0.996; w1 only 1.039 [1.033, 1.045] (the single-sample arms above showed +7–10%) same as the RTX 5090 (first difference at char 84–1,095) not run (the w1 result missed our pre-registered >= 1.05 bar)

Limits. No KL-divergence run on Windows. Greedy identity is informative only on the four-slot PRO; the single-slot lanes are not greedy-reproducible across cold starts even when unpinned. The coding evaluation is one 18-attempt run per profile. The PRO and RTX 5090 pinned profiles are now the defaults on those hosts; the pair keeps its unpinned profile.

Ask. Please consider enabling PARALLEL_STACK_ENV (parallel_stack_env) and GDN_STACK_CUDA (gdn_stack_env) on Windows CUDA in serve/server.py (parallel_stack_platform), or noting in the Windows / serve/server.py docs that the full PARALLEL_STACK_ENV and GDN_STACK_CUDA dicts can be set via the config env key on Windows CUDA. We are happy to run more paired blocks, KL-divergence checks or other arms on these three Windows hosts if useful.

Originally created by @alphastorm on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5037 **What v0.2.9 does.** In `serve/server.py` at tag `v0.2.9` (`c62d5e3a`), `parallel_stack_env` enables the nine-switch parallel-slot stack (`PARALLEL_STACK_ENV`: `STRATA_CKPT_POOL=1`, `STRATA_CKPT_POOL_READY=4`, `STRATA_SLOT_CKPT_MOVE=1`, `STRATA_SLOT_COPY_DIRECT=1`, `STRATA_SLOT_COPY_BATCHSYNC=1`, `STRATA_BATCH_GDN_GROUPS=1`, `STRATA_BATCH_ATTN_ROWS=1`, `STRATA_BATCH_SELF_COMMIT=1`, `STRATA_QSA_SLOTS=1`, when `parallel_slots(cfg) >= 2` on CUDA Qwen) and `gdn_stack_env` enables the GDN tensor-core prompt stack (`GDN_STACK_CUDA`: `STRATA_GDN_TC=1`, `STRATA_GDN_CONVL2=2` on CUDA `qwen4exp`; `src/prefill/gdn_tc.cuh` `kTcScanSmemSplit` covers `sm_86 / sm_89 / sm_120`) only when `parallel_stack_platform()` returns true (`sys.platform.startswith("linux")`; its docstring notes `"Linux only: the stack was run on Linux CUDA; Windows (own host-arena path) and macOS were not."`). Because `child_env` in `serve/server.py` merges `cfg.get("env")` into the engine environment before calling `parallel_stack_env` and `gdn_stack_env` (which use `env.setdefault`), setting those variables in the server config's `env` passes them to the stock Windows CUDA 13 engine (`0.1.55`, build `99866a47a2b8+cuda13.0`). **Method.** On Windows 11 with stock Strata `v0.2.9` (engine `0.1.55`), each arm cold-started the stock server from a temporary config copy (`env` or engine args) for one run per arm, bracketed by first and last baseline runs (`1–2%` baseline drift; baseline pairs checked with `tools/par_analyze.py`). Every arm ran stock `tools/par_load.py` with explicit token counts and a fixed `--seed` / `--nonce` per host (`w1`: `--prompt-tokens 512 --max-tokens 512 --conc 1 --rounds 3`; `w2`: `--prompt-tokens 1000 --max-tokens 128 --conc 1,2,4 --rounds 3`; `w3`: `--prompt-tokens 32768 --max-tokens 128 --rounds 1` at `--conc 4` on 4 slots or `--conc 1` on 1 slot) and a client-side 512-token greedy (`temperature=0`) depth probe at `0 / 8K / 32K / 100K` prompt tokens (`TTFT` = client dispatch to first streamed token; prefill `tok/s`, decode `tok/s`, and `drafts_accepted / drafts_offered` MTP acceptance ratio from server `/metrics`). **1. NVIDIA RTX PRO 6000 Blackwell Workstation Edition (96 GB, sm_120, 192 GB RAM, Windows 11).** `Qwen3.8-Flash-Next` `IQ3_S`, 262,144 context, 4 batch slots (`--parallel 4` in setup; engine args `--batch 4 --batch-mtp --prefill auto:32768 --ple-io direct --kv int8 --kv-resident 32768 --pool-workers 15 --spec 4 --spec-min-p 0.5`): | Arm (cold start each, in run order) | Ready s (avail RAM GiB) | `w2` 1,000/128 agg tok/s (`c=1 / 2 / 4`) | `w3` 4 × 32K agg tok/s (TTFT p50 s) | TTFT s at 0 / 8K / 32K / 100K | Prefill tok/s at 8K / 32K | Decode tok/s at 0 / 8K / 100K (MTP 0 / 100K) | |---|---|---|---|---|---|---| | Base (`c0` first, `c6` last) | 35.3 (112.69), 35.2 (112.71) | 116.5 / 110.1 / 114.4, 118.1 / 111.3 / 116.6 | 14.9 (19.31), 15.1 (19.14) | 0.57 / 1.21 / 4.11 / 12.60, 0.56 / 1.22 / 4.12 / 12.66 | 6,883 / 8,066, 6,911 / 8,030 | 332.0 / 313.3 / 317.6 (0.80 / 0.86), 334.2 / 326.6 / 315.5 (0.80 / 0.85) | | `--kv-streaming off` (`c1`, drop `--kv-resident 32768`) | 30.2 (129.67) | 120.7 / 113.7 / 117.0 | 15.0 (19.05) | 0.55 / 1.17 / 4.05 / 12.27 | 7,108 / 8,182 | 335.0 / 317.8 / 332.9 (0.80 / 0.87) | | `PARALLEL_STACK_ENV` via config `env` (`c2`) | 35.2 (112.27) | 128.1 / 133.2 / **149.8** | 15.9 (18.76) | 0.45 / 1.16 / 4.02 / 12.48 | 7,245 / 8,221 | 329.3 / 322.3 / 315.0 (0.79 / 0.84) | | `--kv-streaming off` + `PARALLEL_STACK_ENV` (`c3`) | 30.2 (129.23) | 128.1 / 135.0 / 153.6 | 16.9 (17.50) | 0.47 / 1.14 / 3.95 / 12.17 | 7,392 / 8,369 | 334.2 / 334.4 / 328.1 (0.78 / 0.85) | | `GDN_STACK_CUDA` via config `env` (`c4`) | 35.2 (112.71) | 119.8 / 110.8 / 115.8 | 15.5 (18.38) | 0.57 / 1.13 / **3.75 / 11.43** | **7,480 / 8,872** | 329.4 / 307.3 / 313.8 (0.80 / 0.85) | | All three (`c5`: `--kv-streaming off` + parallel + GDN) | 30.2 (129.24) | 128.5 / 135.8 / **156.2** | **17.3 (17.05)** | 0.46 / 1.04 / **3.58 / 10.94** | **8,146 / 9,296** | 346.2 / 326.5 / 334.5 (0.84 / 0.88) | `PARALLEL_STACK_ENV` (`c2`) raises `w2` total output **+30%** at four concurrent 1,000-token requests (`149.8` vs `114.4–116.6 tok/s`, +20% at `c=2`, +10% at `c=1`); `GDN_STACK_CUDA` (`c4`) cuts 32K–100K TTFT **−9%** (`−9%` to `−9.5%`) and raises 8K–32K prefill **+9–10%**; `--kv-streaming off` (`c1`, omitting `--kv-resident 32768`; `nvidia-smi` used VRAM at ready `74,830` vs `59,660 MiB`) cuts ready time 14% and leaves `+17 GiB` more host RAM available; all three together (`c5`) raise `w2` at `c=4` **+35%**, `4 × 32K` **+15%**, 32K–100K TTFT **−13%**, prefill **+15–18%** and decode **+4–6%**. **2. NVIDIA GeForce RTX 5090 (32 GB, sm_120, Windows 11).** `Qwen3.8-Flash-Next Coder` `IQ1_M`, 262,144 context, single slot (`--prefill auto --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.5`): | Arm (cold start each) | Ready s (avail RAM GiB) | `w1` 512/512 agg tok/s (TTFT p50 s) | `w3` 32K agg tok/s (TTFT p50 s) | TTFT s at 0 / 8K / 32K / 100K | Prefill tok/s at 8K / 32K | Decode tok/s at 0 / 8K / 100K (MTP 0 / 100K) | |---|---|---|---|---|---|---| | Base (`q0` first, `q6` last) | 20.2 (10.58), 16.1 (10.56) | 164.2 (0.27), 167.4 (0.28) | 23.4 (4.76), 23.3 (4.78) | 0.43 / 1.17 / 4.29 / 13.68, 0.40 / 1.15 / 4.29 / 13.70 | 7,188 / 7,708, 7,188 / 7,689 | 262.9 / 249.8 / 248.5 (0.81 / 0.84), 257.5 / 251.4 / 249.8 (0.79 / 0.84) | | `GDN_STACK_CUDA` via config `env` (`q3`) | 15.6 (10.51) | 163.1 (0.28) | 24.8 (4.44) | 0.41 / **1.07 / 3.98 / 12.67** | **7,741 / 8,317** | 257.5 / 259.4 / 227.5 (0.79 / 0.76) | | `--prefill auto:32768` + `GDN_STACK_CUDA` (`q5`) | 16.1 (10.08) | 165.4 (0.27) | 22.9 (4.85) | 0.39 / **1.09 / 3.91 / 12.26** | **7,736 / 8,428** | 259.8 / 247.2 / 244.6 (0.80 / 0.82) | `GDN_STACK_CUDA` (`q3`) cuts 8K–100K TTFT **−7 to −9%** and raises 8K–32K prefill **+8%** (the single 100K decode sample in `q3` had `0.76` MTP acceptance vs `0.84` on base and `0.82` / `244.6 tok/s` in `q5`; needs repeats). **3. NVIDIA GeForce RTX 4090 (24 GB, sm_89) + RTX 3090 (24 GB, sm_86) layer split (128 GB RAM, Windows 11).** `Qwen3.8-Flash-Next` `IQ3_S`, 262,144 context, single slot (setup `--gpu-roles 0=main,1=helper` staging RTX 3090 first on layers 0–23 and display-attached RTX 4090 last as Main on layers 24–47; engine args `--layer-split 24 --pipeline-windows 2 --trim-stage-weights --ple-io direct --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.5`). On this mixed `8.6 + 8.9` host, `src/program/generate.cpp` skips `strata::core::apply_nv_defaults` (`src/core/nv_defaults.cpp`: `nv_default_env`, [#3313](https://github.com/Niko1221/Strata/issues/3313)): | Arm (cold start each) | `w1` 512/512 agg tok/s (TTFT p50 s) | `w3` 32K agg tok/s (TTFT p50 s) | TTFT s at 0 / 8K / 32K / 100K | Prefill tok/s at 8K / 32K | Decode tok/s at 0 / 8K / 100K (MTP 0 / 100K) | |---|---|---|---|---|---| | Base (`p0` first, `p7` last) | 97.3 (1.06), 98.7 (1.05) | 10.4 (11.25), 10.4 (11.21) | 0.66 / 4.77 / 10.25 / 27.34, 0.63 / 4.80 / 10.11 / 27.34 | 1,733 / 3,219, 1,718 / 3,259 | 142.7 / 177.7 / 163.8 (0.81 / 0.84), 148.6 / 168.6 / 160.7 (0.85 / 0.80) | | `GDN_STACK_CUDA` via config `env` (`p4`) | 102.0 (1.05) | 10.5 (11.11) | 0.65 / 4.72 / **10.00 / 26.92** | 1,746 / 3,293 | 144.4 / 168.1 / 168.4 (0.80 / 0.86) | | Engine `sm_86` defaults via config `env` (`p1`) | **104.7** (1.05) | 10.5 (11.19) | 0.64 / 4.73 / 10.09 / 27.17 | 1,745 / 3,263 | **151.1 / 182.5 / 183.5** (0.77 / 0.84) | | Engine `sm_86` defaults + `GDN_STACK_CUDA` (`p6`) | **108.0** (1.04) | 10.6 (11.08) | 0.64 / 4.71 / 10.08 / 27.05 | 1,748 / 3,274 | **155.0 / 184.3 / 185.5** (0.81 / 0.86) | Against the mean of `p0` and `p7`, `GDN_STACK_CUDA` alone (`p4`) trims 32K–100K TTFT by about **−2%** (`10.00 / 26.92 s`); setting the engine's nine `sm_86` switches (`STRATA_ADAPT_NOWAIT=1`, `STRATA_ADAPT_LAG=2`, `STRATA_CPU_IQ_ALL_EXACT1=1`, `STRATA_SIDE_MIXER=2`, `STRATA_ATTN_DAILY=1`, `STRATA_GR_UP75=1`, `STRATA_GU_SWIGLU=1`, `STRATA_QSA_ROWS=1`, `STRATA_B6_MMVQ_ROWS=1`) via config `env` (`p1`, `p6`) raises single-request `w1` throughput **+7–10%** (`104.7` and `108.0` vs `98.0 tok/s`) and decode **+6–14%** across `0 / 8K / 100K` (`+8% / +13%` at `8K / 100K` in `p1`; `+6% / +6% / +14%` at `0 / 8K / 100K` in `p6`) with TTFT flat. **4. Pinned and re-measured in paired blocks.** We then pinned the stock dictionaries via config `env` in new profiles and measured each against the same host's unpinned `v0.2.9` root (the base arm above) in three paired cold-start blocks (`A B B A A B`, same `--seed` / `--nonce`; `tools/par_analyze.py` geomeans with 95% intervals), checked greedy identity with stock `tools/serve_load.py --save` / `--compare` (`temperature=0`, 256 tokens, against the first `A` block), and ran our frozen 18-attempt coding evaluation on the pinned profiles: | Host (pinned set) | Paired `B/A` (three blocks) | Greedy identity vs first `A` block | Coding evaluation (unpinned root) | |---|---|---|---| | RTX PRO 6000 (`PARALLEL_STACK_ENV` + `GDN_STACK_CUDA` + `--kv-streaming off`) | `w2` total output `1.113 / 1.293 / 1.348` at `c=1 / 2 / 4` (`c=4` 95% CI `[1.316, 1.376]`); `w3` 4 × 32K `1.131`; `w2` TTFT p95 `0.804 / 0.764 / 0.683`; cold decode `1.000` at 0 and `1.022` at 100K | identical: all 5 sequences (1 + 4 concurrent) in every block | 16/18 (16/18) | | RTX 5090 (`GDN_STACK_CUDA` + `--kv-streaming off` + `--kv-grow`) | cold TTFT `0.914` at 32K and `0.911` at 100K; 100K decode `0.973` (pairs `1.021 / 0.981 / 0.920`); `w1` `1.025`; `w3` 32K `1.084` | not reproducible on this single-slot lane even between unpinned blocks (first difference at char 53–241) | 17/18 (16/18) | | RTX 4090 + RTX 3090 (engine `sm_86` switches + `GDN_STACK_CUDA`) | cold decode `1.057 / 1.065 / 1.091 / 1.114` at `0 / 8K / 32K / 100K`; cold TTFT `0.948–0.996`; `w1` only `1.039 [1.033, 1.045]` (the single-sample arms above showed `+7–10%`) | same as the RTX 5090 (first difference at char 84–1,095) | not run (the `w1` result missed our pre-registered `>= 1.05` bar) | **Limits.** No KL-divergence run on Windows. Greedy identity is informative only on the four-slot PRO; the single-slot lanes are not greedy-reproducible across cold starts even when unpinned. The coding evaluation is one 18-attempt run per profile. The PRO and RTX 5090 pinned profiles are now the defaults on those hosts; the pair keeps its unpinned profile. **Ask.** Please consider enabling `PARALLEL_STACK_ENV` (`parallel_stack_env`) and `GDN_STACK_CUDA` (`gdn_stack_env`) on Windows CUDA in `serve/server.py` (`parallel_stack_platform`), or noting in the Windows / `serve/server.py` docs that the full `PARALLEL_STACK_ENV` and `GDN_STACK_CUDA` dicts can be set via the config `env` key on Windows CUDA. We are happy to run more paired blocks, KL-divergence checks or other arms on these three Windows hosts if useful.
Author
Owner

@alphastorm commented on GitHub (Nov 3, 2026):

Update (2026-11-03): the RTX 4090 + RTX 3090 pair now runs the pinned profile too. We accepted its decode gain despite the w1 miss and ran our full requalification on the pinned pair profile (engine sm_86 switches + GDN_STACK_CUDA via config env, engine 0.1.55); every gate passed. The coding evaluation scored 15/18, the same as the unpinned profile (all misses on one tool-loop task, no protocol errors); restart readiness went from 55.4–55.6 s to 43.5–43.9 s, and the scored evaluation batch from 974.9 s to 821.8 s. All three hosts now set these dictionaries through config env. The ask above stands; on the pair it also touches #3313 (the engine skips its sm_86 defaults on a mixed sm_86 + sm_89 pair).

<!-- gh-comment-id:6606911478 --> @alphastorm commented on GitHub (Nov 3, 2026): **Update (2026-11-03): the RTX 4090 + RTX 3090 pair now runs the pinned profile too.** We accepted its decode gain despite the `w1` miss and ran our full requalification on the pinned pair profile (engine `sm_86` switches + `GDN_STACK_CUDA` via config `env`, engine `0.1.55`); every gate passed. The coding evaluation scored 15/18, the same as the unpinned profile (all misses on one tool-loop task, no protocol errors); restart readiness went from 55.4–55.6 s to 43.5–43.9 s, and the scored evaluation batch from 974.9 s to 821.8 s. All three hosts now set these dictionaries through config `env`. The ask above stands; on the pair it also touches #3313 (the engine skips its `sm_86` defaults on a mixed `sm_86` + `sm_89` pair).
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#2331
No description provided.