mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2268] [0.1.43.1] Blackwell sm_120 (RTX PRO 6000): first CUDA-side measures of the opt-in switch season - GDN_CHUNKED and the S25/S26 fused stack measure neutral on the fully-resident tier; greedy outputs drift on 2/12 probes under the stack #910
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#910
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @beastrobin on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2268
What this measures
First CUDA-side (sm_120) measurements I can find for the S25/S26 opt-in switch season, on the fully-resident tier. All switches applied as engine-subprocess environment only; nothing else in the config was touched between paired runs. Two findings: speed is neutral on this tier, and the "bitwise equal" claims do not survive end-to-end here - 2 of 12 greedy probes drift, while the untouched baseline is byte-reproducible run to run.
Hardware / software (same machine and configuration as #2261): NVIDIA RTX PRO 6000 Blackwell Workstation Edition (96 GB, sm_120), Ultra 9 285K, Windows 11 (26200), driver 610.74, power cap locked at 300 W. Model
qwen3.8-flash-next-iq3_s, all 24576 experts VRAM resident (~100 % hit rate, zero-doorbell graph path),--kv int8 --kv-resident 0 --max-context 262144 --spec-min-p 0.70 --lookup-chain 4 --batch 2. Engine and server 0.1.43.1.How the env vars were injected (reproducible)
Top-level
"env"field in the serve config;child_env()forwards it to the engine subprocess only (scoped, no system environment). A restart per arm (~90 s with everything cached).Experiment 1 - STRATA_GDN_CHUNKED=1: neutral here
RTX 5090 recurrence gains did not carry over. Runs=2, same day but a different noise regime than the evening pair below, so read these as "no visible gain", not a precise delta: chat decode 189.6 (162.8-251.4) vs 196.5 on the unchanged-config baseline earlier that day; 16K prompt 4191.6 (3192.6-5190.5) vs ~5086 stable; the in-arm spread exploded the way the paired runs later showed for the environment itself. I kept it off. Docs already say full-prompt time barely moves because attention still dominates; on sm_120 there is simply less recurrence share of prefill to win. README attached at the bottom.
Experiment 2 - fused-stack pair (same session window, minutes apart, runs=3 each)
Arm S env:
STRATA_EXPERT_V2=1 STRATA_TSUM=1 STRATA_ATTN_LANECELL=1 STRATA_PLE_BATCH=1 STRATA_MMVF_ROWS=1. The five are CUDA-reachable opt-ins (getenvsites live in shared core / CUDA kernels; the arch table itself is never consulted by a CUDA build, so they default off unless set - except PLE_BATCH, see the asymmetry note). EXPERT_V2's shape gate (gu_type==21 && d_type==20 && n_embd==2560 && n_ff==640) matches this IQ3_S/IQ4_NL pack exactly.Consistent but sub-percent prefill medians, flat decode: neutral on the fully-resident Blackwell tier - which fits the design intent (these fusions cut launches and shared-memory pressure where waves and LDS are scarce; this card has plenty of both). Both arms show wide in-run spread that evening; an earlier same-day untouched-baseline run was tight (ranges within a few percent), so treat this night's environment as noisy, not the switches. I kept them off. READMEs attached below.
The more interesting result: end-to-end greedy drift under the stack
A fixed 12-question set at
temperature=0, 96 tokens, thinking off, captured while the stack was live and again after reverting to baseline: 10/12 byte-identical. The two that differ do so deep inside the generation (first difference around character 155-198):$3$vs**3**formatting choice, one heading wording change - semantically equivalent answers, different token streams from roughly token 40 onward.Why I attribute it to the switches and not server non-determinism: repeated identical probes against the reverted baseline reproduce its own capture byte-for-byte. So greedy decoding is stable per engine state on this machine, and the drift tracks the switch combination. This does not contradict the S26 harness (which memcmp-compares expert-kernel outputs for T=1..3 blobs); it says that across full prompt phases, cache states and shapes actually seen in service, some part of the five-switch combination perturbs logits enough for near-ties to flip. Given how #783 turned on exactly this question, the datapoint seemed worth putting somewhere public. Both probe transcripts attached verbatim.
Defaults asymmetry noticed while reading the code (not a bug claim)
STRATA_PLE_BATCH: unset counts as ON atsrc/prefill/prefill.cpp(~line 2114:v == nullptr || atoi(v) != 0) but OFF at a branch inverify.cpp(~line 971), so "=1" is partly a no-op depending on path.STRATA_SH_STREAMalready defaults ON in CUDA builds (sh_stream_on(), HIP-only else-branch). Sincearch_defaults.cpp's season table is AMD-gfx by design, these switches are effectively undiscoverable from a CUDA install unless documented - an arch-table note or docs line (sm_120: measured neutral here) might save others the restart cycle.Not tested
EXPERT_V2K (UD-Q4_K_XL path), QFUSE / LFUSE / Q8_PACKED arms, non-fully-resident tiers, multi-GPU, thinking-on profiles; n=2-3 runs, one machine, power-capped. Happy to run further arms with ~1 minute windows each if useful.
README: GDN arm (runs 2)
Community benchmark on NVIDIA RTX PRO 6000 Blackwell Workstation Edition
Measured on 2026-10-13 with
tools/strata_bench.py(suite 1, 2 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run.Hardware and software
Model and configuration
Method
Run by
python tools/strata_bench.py --long --runs 2against the HTTP API of a Strata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests.tools/ab_engine.py, up to 100 new tokens, 2 runscached_tokens) and timings (prompt_n)Results
Ranges are the lowest and highest of the runs;
Runscounts requests that returned a token.Agent session (conversation cache)
Cache hit over the follow-up turns: 68.6 % (68.4-68.8); earlier-turn tokens read again per session: 102 (3-200) (earlier turns that the cache did not hold; the 13633 (13633-13633) new tokens of the files are read once); first turn (nothing cached) first token: 0.80 s (0.71-0.88).
Per-request data:
results.json. Engine log lines from the start:engine-log-excerpt.txt(when this run started the server).Correctness and limitations
Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server,
nvidia-smi/rocm-smiand the OS; background load and power limits are not recorded. Total time of the suite: 53 s.README: fusion-stack arm S (runs 3)
Community benchmark on NVIDIA RTX PRO 6000 Blackwell Workstation Edition
Measured on 2026-10-13 with
tools/strata_bench.py(suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run.Hardware and software
Model and configuration
Method
Run by
python tools/strata_bench.py --longagainst the HTTP API of a Strata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests.tools/ab_engine.py, up to 100 new tokens, 3 runscached_tokens) and timings (prompt_n)Results
Ranges are the lowest and highest of the runs;
Runscounts requests that returned a token.Agent session (conversation cache)
Cache hit over the follow-up turns: 68.8 % (68.7-68.9); earlier-turn tokens read again per session: 5 (2-74) (earlier turns that the cache did not hold; the 13635 (13632-13635) new tokens of the files are read once); first turn (nothing cached) first token: 0.70 s (0.70-0.76).
Per-request data:
results.json. Engine log lines from the start:engine-log-excerpt.txt(when this run started the server).Correctness and limitations
Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server,
nvidia-smi/rocm-smiand the OS; background load and power limits are not recorded. Total time of the suite: 73 s.README: paired baseline (runs 3)
Community benchmark on NVIDIA RTX PRO 6000 Blackwell Workstation Edition
Measured on 2026-10-13 with
tools/strata_bench.py(suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run.Hardware and software
Model and configuration
Method
Run by
python tools/strata_bench.py --longagainst the HTTP API of a Strata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests.tools/ab_engine.py, up to 100 new tokens, 3 runscached_tokens) and timings (prompt_n)Results
Ranges are the lowest and highest of the runs;
Runscounts requests that returned a token.Agent session (conversation cache)
Cache hit over the follow-up turns: 68.8 % (68.5-68.8); earlier-turn tokens read again per session: 4 (4-143) (earlier turns that the cache did not hold; the 13634 (13633-13634) new tokens of the files are read once); first turn (nothing cached) first token: 0.70 s (0.70-0.71).
Per-request data:
results.json. Engine log lines from the start:engine-log-excerpt.txt(when this run started the server).Correctness and limitations
Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server,
nvidia-smi/rocm-smiand the OS; background load and power limits are not recorded. Total time of the suite: 74 s.Greedy probe transcripts, stack live / baseline (full text)
@beastrobin commented on GitHub (Oct 13, 2026):
DUMMY_NODES probe closes the fused-kernel question for this tier: node overhead here is <= ~0.5 us, so fusing everything leaves only a few percent at best.
To decide whether the #783-style fused decode kernels (+9-10 % claimed on fully-resident 2x3090 rigs) justify a build-toolchain project on the RTX PRO 6000 96 GB fully-resident arm of this box, I used the probe hook v0.1.43.1 already ships:
STRATA_DUMMY_NODES=kadds k empty one-thread kernel nodes per layer inside the verify window (verify.cpp, next to the QFUSE read group). One env, two engine restarts, benchmark suite paired back to back.Setup:
k = 32over 48 layers = 1,536 extra graph nodes per verify window. The real chain runs roughly 10-20 launches per layer (~500-1,000 nodes/window), so this inflates the node count by 1.5-3x - if node cost mattered at all, it has somewhere to show. Arms alternated through the config"env"field (injected into the engine subprocess byserve/server.py child_env); same-day quiet evening regime;tools/strata_bench.py --runs 3 --long; suite index paired across arms because suite #1 after every fresh engine start pays a ~2x decode cold tax and was dropped from both sides (dummy steady n=27 chat / 54 agent, clean steady n=18 / 36).Signs flip between groups and the two high-n groups cancel: 1,536 extra nodes per window are indistinguishable from this machine's noise (ceiling about +/-5 % at these sample sizes). That puts a dependent kernel-node at <= ~0.3-0.5 us in the CUDA PDL chain - against the ~2.4 us quoted for one node on gfx1201 in
verify_kernels.hpp. The absolute ceiling for fusing away every real per-layer node is then roughly 48 x 15 x 0.5 us ~ 0.4 ms/window ~ 2-3 % decode, and any realistic fusion keeps most of the work fused-kernel side, so well under that.Read: #783 stays dead at the fully-resident Blackwell tier; there is no 9-10 % there without changing what the kernels do per token, only how many times they start. The graph-launch-reduction parts can still matter where residency forces host traffic (the pull/doorbell paths), which is a different cost than node count. Not tested here: partial residency, concurrency arms (
--clientsoff), HIP side, or engine builds other than 0.1.43.1 release.Baseline suite for this box went in as #2280; probe method and raw suites are noted in our local log if a maintainer ever wants them transcribed.
@qni-live commented on GitHub (Oct 17, 2026):
Adding a second sm_120 data point, on Linux with two cards: 2x RTX PRO 4500 Blackwell (GB203, 200 W, memory at 14,000 MHz), layer split 25, Swift IQ3_XXS, all experts resident,
--kv k8v4, v0.1.45 (no local patches), solo.The three bit-exact or near-exact switches from the 0.1.45 table, decode after a 32K prompt (
bench-style: fresh engine per arm, 3 runs per arm, 3 arms per variant in rotating order, so 9 values per variant; medians):STRATA_ATTN_DAILY=1STRATA_QSA_SPLIT_ATTN=1STRATA_EXPDEC=1All inside the run-to-run spread; prompt reading is 5,267 to 5,272 tok/s in every variant, draft acceptance 68 to 70 %. So the switches are neutral here, in line with the finding in this issue on the RTX PRO 6000.
Answers: 10 greedy prompts of 120 tokens (thinking off) give the same hash in all 12 arms, including
STRATA_QSA_SPLIT_ATTN=1, which the table lists as rounding-level. The process environment of each arm was checked in/proc/<pid>/environ.Also for the record,
logit_biaswith 65,929 IDs on 0.1.45 costs +20 to +23 ms per request on this machine (0.1.44.1 with the old patch: +20 to +22 ms), and it works on the two-GPU layer split (25 CJK characters without the ban, 0 with it, same seed).Not measured: other context lengths,
--batch, the other switches of the table.Written with AI assistance (Claude); numbers reviewed by me.
@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:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.