Skip to content

[Fix] dsv41: Revert MegaGate routing in prefill - #46242

Merged
hnyls2002 merged 1 commit into
mainfrom
lsyin/revert-prefill-mega-gate
Oct 24, 2026
Merged

hnyls2002 merged 1 commit into
mainfrom
lsyin/revert-prefill-mega-gate

Conversation

@hnyls2002

@hnyls2002 hnyls2002 commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator

Reverts #46232.

With SGLANG_OPT_DEEPGEMM_MEGA_GATE=1, #46232 let MegaGate run on extend batches again, including inside breakable prefill CUDA graphs. That brings back the prefill capture failure #45969 fixed: on GB300 (DeepSeek-V4.1-Flash, DP attention 4 with MegaMoE, prefill graphs at 4096 and 8192 rows), the second shape's capture fails with CUDA error: unspecified launch failure on the non-zero DP ranks, so the server does not start. It reproduces with sgl-deep-gemm 0.2.3.post2.

This restores the decode / target-verify gate and its 2048-row cap exactly as before #46232. Prefill MegaGate can return once the capture failure is understood.

Verification


CI States

Latest PR Test (Base): ❌ Run #40061584100
Latest PR Test (Extra): ❌ Run #40061583800
Latest PR Test (AMD ROCm 10): ❌ Run #40061583748

@hnyls2002

Copy link
Copy Markdown
Collaborator Author

/rerun-test test_mega_moe_deepgemm_api.py

@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

🚀 ubuntu-latest (1 test): ❌ View workflow run

cd test/ && python3 registered/unit/layers/moe/test_mega_moe_deepgemm_api.py

@hnyls2002
hnyls2002 merged commit 3b95120 into main Oct 24, 2026
108 of 126 checks passed
@hnyls2002
hnyls2002 deleted the lsyin/revert-prefill-mega-gate branch October 24, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant