Repository navigation
Revert "Avoid repeat_interleave output-size sync (#3274)" - #3335
Merged
Merged
Conversation
drisspg
approved these changes
May 13, 2026
tianyu-l
approved these changes
May 13, 2026
tianyu-l
left a comment
Contributor
There was a problem hiding this comment.
should we add TODO in code / create an issue for followup?
saforem2
added a commit
to saforem2/torchtitan
that referenced
this pull request
May 13, 2026
… revert Three-commit upstream merge (HEAD ee4e91a): - 6f2fa2f [rl] switch to vllm v2 engine (pytorch#3330) - 7b418ab Revert "Avoid repeat_interleave output-size sync (pytorch#3274)" (pytorch#3335) — restores prior token_dispatcher behavior after the optimization broke deepseek_v3 at high EP - 1a22c2d [graph_trainer] Remove deprecated AOT compile mode (pytorch#3327) Zero ezpz files touched. No replay needed. All flavors (agpt_{debugmodel,2b,2b_real,20b,80b,80b_real}, moe_{debugmodel,500m,10B_2B_sdpa}) build cleanly post-merge.
Contributor
Filed #3478 |
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.
Stacked PRs:
Revert "Avoid repeat_interleave output-size sync (#3274)"
This reverts commit e917ff4.
cc @syed-ahmed, who reported it breaks
Strange issue
routed_input.shape[0] == 30364 # number of
num_tokens_per_expert_group.sum() == 30365
This would imply the CPU splits used to allocate the all-to-all output disagree with the CUDA count tensor later used for permutation