You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 2026-07-12 GB10 full sweep (mlxcel 0.4.0-rc.1, MLX pin 57c66cac / 0.32.1) recorded moderate decode drops versus the 2026-06-17 (0.3.1) sweep for gemma-4-26b-a4b-it-4bit, gemma-4-26b-a4b-it-qat-4bit, and glm4-flash-4bit. PR #751 hypothesized these were the same L=1 depthwise-conv dispatch cost that hit lfm2; issue #752 / PR #753 (06a8f38) refuted that on the record: neither architecture calls conv1d at all (gemma4 MoE and glm4_moe_lite). The drops are therefore unattributed.
Because the same sweep carried an unattributed environmental anomaly (the SSM/hybrid cluster read 2-3x HIGHER than every earlier record) and the host had ~5.5 days of uptime with the known post-benchmark-day driver signature, sweep deltas from that day are not trustworthy attribution evidence on their own. The first discriminating step is a clean re-measurement after a host reboot.
Related SSM data point, same status: mamba2-130m (bf16) decode 181.05 -> 162.23 (-10.4%). The #752 nsys audit showed its conv runs on the fast engine (slow engine 0 launches, conv only 1.6% of decode), so its drop is equally unattributed.
Pure single-run noise is unlikely for the gemma pair: both independent 26b-a4b variants moved together (-10 to -14%), suggesting a systematic cause; the environmental confounder remains, hence the reboot gate.
Environmental context
Same-sweep anomaly: the SSM/hybrid cluster (granite-4.0-h, falcon-h1, nemotron-h/nas/omni, plamo-2) read 2-3x higher than both the 2026-06-17 sweep and the 2026-07-09 subset with no relevant code change in between; still unattributed.
Host state: ~5.5 days uptime at sweep time; the known GB10 post-benchmark-day driver signature was active (nondeterministic CUDA graph-capture aborts in broad test suites on 2026-07-12, recorded on PR fix: bind gemma-4 NVFP4 vision tower so image input works #750).
Plan (ordered; step 1 gates everything else)
Re-measure after a fresh host reboot. Run single-model benchmarks for the three subjects plus mamba2-130m and two stable controls, ideally in the same post-reboot session as the planned SSM-cluster re-verification so one reboot settles both anomalies:
(qwen3-30b-a3b-4bit is the MoE control that was stable on 2026-07-12 at +1%; lfm2-8b-a1b-4bit is the hybrid control at +3%.) If the subjects return to the 2026-06-17 envelope while controls stay put, the verdict is environmental: update the doc rows and notes with the post-reboot values and close with the evidence.
Root-cause and fix, or document as an accepted change, and refresh the affected rows in docs/benchmark_results/model_tests_gb10.md with committed singles CSVs.
Acceptance Criteria
Post-reboot single-model measurements recorded for the three subjects, mamba2-130m, and both controls (singles CSVs committed; numbers in the issue or PR)
Verdict recorded: environmental (numbers recover post-reboot) or real regression (drops persist)
If environmental: doc rows and the unattributed-drop notes updated to the post-reboot values and this issue closed with the evidence
If real: root cause identified with profiling evidence, then fixed or documented as accepted, with doc rows refreshed
The unattributed-drop mentions in docs/benchmark_results/model_tests_gb10.md reference this issue number
Summary
The 2026-07-12 GB10 full sweep (mlxcel 0.4.0-rc.1, MLX pin
57c66cac/ 0.32.1) recorded moderate decode drops versus the 2026-06-17 (0.3.1) sweep forgemma-4-26b-a4b-it-4bit,gemma-4-26b-a4b-it-qat-4bit, andglm4-flash-4bit. PR #751 hypothesized these were the same L=1 depthwise-conv dispatch cost that hit lfm2; issue #752 / PR #753 (06a8f38) refuted that on the record: neither architecture callsconv1dat all (gemma4MoE andglm4_moe_lite). The drops are therefore unattributed.Because the same sweep carried an unattributed environmental anomaly (the SSM/hybrid cluster read 2-3x HIGHER than every earlier record) and the host had ~5.5 days of uptime with the known post-benchmark-day driver signature, sweep deltas from that day are not trustworthy attribution evidence on their own. The first discriminating step is a clean re-measurement after a host reboot.
Measurements (2026-06-17 / 0.3.1 -> 2026-07-12 / 0.4.0-rc.1)
gemma-4-26b-a4b-it-4bitgemma-4-26b-a4b-it-qat-4bitglm4-flash-4bitRelated SSM data point, same status:
mamba2-130m(bf16) decode 181.05 -> 162.23 (-10.4%). The #752 nsys audit showed its conv runs on the fast engine (slow engine 0 launches, conv only 1.6% of decode), so its drop is equally unattributed.Source CSVs:
benchmarks/cuda_gb10_2026-06-17.csv,benchmarks/cuda_gb10_2026-07-12.csv.Already ruled out
conv1d; the nsys audit found only the fastconv1d_c1_k1_nhwcengine across the conv families measured.Environmental context
Plan (ordered; step 1 gates everything else)
Re-measure after a fresh host reboot. Run single-model benchmarks for the three subjects plus
mamba2-130mand two stable controls, ideally in the same post-reboot session as the planned SSM-cluster re-verification so one reboot settles both anomalies:(
qwen3-30b-a3b-4bitis the MoE control that was stable on 2026-07-12 at +1%;lfm2-8b-a1b-4bitis the hybrid control at +3%.) If the subjects return to the 2026-06-17 envelope while controls stay put, the verdict is environmental: update the doc rows and notes with the post-reboot values and close with the evidence.Only if the drops persist post-reboot: profile a warm decode of
gemma-4-26b-a4b-it-4bitagainst the healthy MoE control with the perf(cuda): audit L=1 depthwise conv1d dispatch across SSM/hybrid decode paths and apply the #751 elementwise step where confirmed #752 method (nsys kernel histogram,MLX_USE_CUDA_GRAPHS=0) and diff the kernel mix; then review MoE-path changes in the 0.3.1 -> 0.4.0-rc.1 window for the suspects (the perf(cuda/quant): amortize small-M quantized matmul with a multirow qmv path #740 multirow qmv path on expert matmuls, perf(cuda): single-dtype decode graph to eliminate per-token AsType #732 single-dtype decode-graph eligibility for these architectures, fused-MoE dispatch changes).Root-cause and fix, or document as an accepted change, and refresh the affected rows in
docs/benchmark_results/model_tests_gb10.mdwith committed singles CSVs.Acceptance Criteria
docs/benchmark_results/model_tests_gb10.mdreference this issue numberReferences
3fa2789), issue perf(cuda): audit L=1 depthwise conv1d dispatch across SSM/hybrid decode paths and apply the #751 elementwise step where confirmed #752 / PR refactor(models): share the short-conv decode helper and audit L=1 conv dispatch across SSM/hybrid decode paths #753 (06a8f38), PR fix: bind gemma-4 NVFP4 vision tower so image input works #750 (3fa7cc1)benchmarks/cuda_gb10_2026-06-17.csv,benchmarks/cuda_gb10_2026-07-12.csv