Repository navigation
[Perf] dsv4: Let the decoder tail leave the prefill graph under DP attention with MegaMoE - #45581
Merged
Merged
Conversation
…an all-to-all moe
Collaborator
Author
|
/rerun-test test_deepseek_v4_flash_fp4_b200.py test_deepseek_v41_flash_gb300_trtllm_bounded_bcg.py test_deepseek_v41_flash_gb300_encoder_bcg.py test_deepseek_v41_flash_gb300_dp4ep4.py test_num_token_non_padded_localization.py test_dsv41_late_layer_tail_readers.py test_encoder_swa_replay.py |
Collaborator
Author
|
/tag-and-rerun-ci |
Contributor
|
🚀 🚀 🚀 |
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.
breaks_out_of_prefill_graphno longer requiresattn_dp_size == 1or a non-all-to-all MoE, so under DP attention with MegaMoE the decoder replay tail leaves the prefill graph for its row-bucket graphs, as it already does without DP ([Perf] deepseek-v4.1: Run decoder replay tail graphs in prefill-graph steps and under DP attention #45107), instead of computing every row of the captured bucket in the late layers.global_late_layer_num_tokens_cpu, exchanged before the forward since [Fix] deepseek-v4.1: Exchange late-layer DP row counts before the forward #44948. The module docstring now says so.Changes behavior only for prefill graphs under DP attention with an all-to-all MoE; the request-window, CP, and unified-KV Triton exclusions stay.
CI States
Latest PR Test (Base): ❌ Run #39677926417
Latest PR Test (Extra): ❌ Run #39677927385
Latest PR Test (AMD ROCm 10): ⏳ Run #39677926648