[spmd_types] GPT-OSS enablement - #3690
Merged
Merged
Conversation
[ghstack-poisoned]
This was referenced Jun 16, 2026
This was referenced Jun 16, 2026
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
pianpwk
added a commit
that referenced
this pull request
Jun 17, 2026
SAC + Flex, or SAC + typecheck + non-flex, or typecheck + Flex + full/no AC is fine, but this is not (likely SAC + regional inductor issue). Raise error asking user to use one of the other cominbations Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.12.0) (oldest at bottom): * #3690 * #3673 * #3655 * #3664 * #3654 * #3278 * #3694 * #3472 * #3632 * #3653 * __->__ #3672
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
submartingales
pushed a commit
to botcanlearn/torchtitan-upstream
that referenced
this pull request
Jun 25, 2026
ghstack-source-id: f91a8b9 Pull Request resolved: pytorch/torchtitan#3690
[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
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]
submartingales
pushed a commit
to botcanlearn/torchtitan-upstream
that referenced
this pull request
Jun 26, 2026
ghstack-source-id: 4a12303 Pull Request resolved: pytorch/torchtitan#3690
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):