docs(glm52): MegaMoE (DeepGEMM PR #323) evaluated — measured out at decode payloads#568
Merged
Conversation
…ecode payloads Post-#567 re-profile: dispatch+combine 4.75 ms/step median-x-instances, 7.73 wait-inclusive. SM90 FP8 MegaMoE at GLM5.2 shapes: accuracy 28/28 PASS but ~200 us/call structural floor, ~2x slower than the unfused graph-replayed chain; swapAB and buffer-size probes ruled out. The EP comm lever stays with #542 wait-structure. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…he critical path, launch-ahead validated Graph-granularity nsys (near-zero overhead) decomposes the boundary: cuGraphLaunch ~700us/step/rank with the GPU idling through it, 364us cross-rank launch spread, 44us/layer combine straggler. C-states, thread contention, coop/cluster/PDL/smem/param-bytes all refuted by microbench. Double-replay probe: intra-step replay gap 5.4us vs 810us at the true boundary — the launch cost fully hides under the previous replay's execution. Next lever: device-fed decode loop (~1ms/step at solo). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Records the EP-communication follow-up after #567: a fresh post-#567 profile and a measured evaluation of DeepGEMM MegaMoE (the fused dispatch→GEMM→SwiGLU→GEMM→combine mega-kernel) as a candidate for the GLM5.2 EP8 MoE decode chain.
What was measured (jz-38 8×H200)
Verdict
Not usable for decode on H200. The community's "2.7× at bs=1" is measured against a Python-orchestrated per-kernel DeepEP v2 baseline — the launch/orchestration overhead MegaMoE fuses away is already gone in our whole-step CUDA graph. The remaining EP-comm lever is #542's wait-structure half (rank-arrival stagger: the 4.75 → 7.73 ms/step gap).
Docs-only change; repro commands in the doc were run on jz-38 (checkout preserved at
~/develop/xingming/megamoe-deepgemm).🤖 Generated with Claude Code