Repository navigation
expand model integration tests to full_dtensor, spmd_types backends - #3740
Merged
Merged
Conversation
[ghstack-poisoned]
This was referenced Jun 22, 2026
[ghstack-poisoned]
pianpwk
marked this pull request as ready for review
June 22, 2026 23:11
pianpwk
requested review from
fegin,
tianyu-l,
wconstab and
wwwjn
as code owners
June 22, 2026 23:11
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
pianpwk
added a commit
that referenced
this pull request
Jun 26, 2026
[ghstack-poisoned]
pianpwk
added a commit
that referenced
this pull request
Jun 26, 2026
`set_current_spmd_mesh(sparse_mesh)` transitions for MoE region, spmd.all_to_all switch, plus mesh reinterprets, assert_type, mutate_type Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.12.0) (oldest at bottom): * #3740 * #3690 * #3673 * #3655 * #3741 * #3664 * __->__ #3654
pianpwk
added a commit
that referenced
this pull request
Jun 26, 2026
Fix spmd_types SP-padding support, by requiring evenly sharded seq-dim for MoE input activations, calculating post-combine output size based on local tensor shapes. Raises in trainer for MoE + uneven seq-dim sharding. Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.12.0) (oldest at bottom): * #3740 * #3690 * #3673 * #3655 * #3741 * __->__ #3664
pianpwk
added a commit
that referenced
this pull request
Jun 26, 2026
Wrap Helion RoPE and fused SwiGLU with explicit spmd.local_map calls Test Plan: - NGPU=8 LOG_RANK=0 MODULE=qwen3 CONFIG=qwen3_debugmodel_fused_qkv ./run_train.sh --parallelism.spmd_backend spmd_types --debug.spmd_typechecking --parallelism.data_parallel_shard_degree 2 --parallelism.context_parallel_degree 2 --parallelism.tensor_parallel_degree 2 --training.steps 1 --override.imports torchtitan.overrides.helion_rope activation-checkpoint:none - NGPU=8 LOG_RANK=0 MODULE=deepseek_v3 CONFIG=deepseek_v3_debugmodel ./run_train.sh --parallelism.spmd_backend spmd_types --debug.spmd_typechecking --parallelism.data_parallel_shard_degree 2 --parallelism.context_parallel_degree 2 --parallelism.tensor_parallel_degree 2 --parallelism.expert_parallel_degree 2 --training.steps 1 --override.imports torchtitan.overrides.fused_swiglu activation-checkpoint:none Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.12.0) (oldest at bottom): * #3740 * #3690 * #3673 * #3655 * __->__ #3741
[ghstack-poisoned]
pianpwk
added a commit
that referenced
this pull request
Jun 26, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.12.0) (oldest at bottom): * #3740 * #3690 * #3673 * __->__ #3655
[ghstack-poisoned]
pianpwk
added a commit
that referenced
this pull request
Jun 26, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.12.0) (oldest at bottom): * #3740 * #3690 * __->__ #3673
[ghstack-poisoned]
pianpwk
added a commit
that referenced
this pull request
Jun 26, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.12.0) (oldest at bottom): * #3740 * __->__ #3690
jemitche1
pushed a commit
to jemitche1/torchtitan
that referenced
this pull request
Jul 15, 2026
…ytorch#3740) Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.12.0) (oldest at bottom): * __->__ pytorch#3740
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.
Stack from ghstack (oldest at bottom):