Skip to content

[spmd_types] spmd infra - #3641

Merged
pianpwk merged 2 commits into
mainfrom
gh/pianpwk/33/head
Jun 11, 2026
Merged

pianpwk merged 2 commits into
mainfrom
gh/pianpwk/33/head

Conversation

pianpwk added 2 commits June 11, 2026 16:08
[ghstack-poisoned]
[ghstack-poisoned]
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 11, 2026
@pianpwk pianpwk changed the title Add SPMD backend infra and local parallelize plumbing [spmd_types] spmd infra Jun 11, 2026
@pianpwk
pianpwk changed the base branch from gh/pianpwk/33/base to main June 11, 2026 23:10

@tianyu-l tianyu-l left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

restamp

@pianpwk
pianpwk merged commit a0c831c into main Jun 11, 2026
9 of 11 checks passed
saforem2 added a commit to saforem2/torchtitan that referenced this pull request Jun 12, 2026
…ture

PR pytorch#3641 made dist_utils.get_train_context accept keyword-only args:
enable_loss_parallel, parallel_dims, spmd_typechecking. ezpz/trainer
was still calling it positionally so all ranks crashed at trainer
init with: takes 0 positional arguments but 1 was given.

Discovered by 52nd-sync bitwise check job 12468663: head phase
crashed before step 1; pre phase ran clean. Fix: pass kwargs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/8gpu CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants