Skip to content

Use upstream DTensor reduction strategy - #491

Closed
aditvenk wants to merge 1 commit into
aditvenk/stack/2from
aditvenk/stack/3
Closed

aditvenk wants to merge 1 commit into
aditvenk/stack/2from
aditvenk/stack/3

Conversation

@aditvenk

@aditvenk aditvenk commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

@fmassa fmassa 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.

LGTM, thanks a lot!

PyTorch's common_reduction_strategy now handles per-strategy reduction linearity correctly, so AutoParallel no longer needs to override the linear reduction rules locally.

Keep the regression coverage pointed at upstream to catch any future loss of Partial output strategies for reduced sharded dims.

Authored with Claude.

stack-info: PR: #491, branch: aditvenk/stack/3
@aditvenk
aditvenk marked this pull request as draft June 15, 2026 16:26
@aditvenk
aditvenk changed the base branch from aditvenk/stack/2 to main June 15, 2026 16:26
@aditvenk
aditvenk changed the base branch from main to aditvenk/stack/2 June 15, 2026 16:27
@aditvenk
aditvenk marked this pull request as ready for review June 15, 2026 16:28
@aditvenk

Copy link
Copy Markdown
Contributor Author

closing in favor of #505

@aditvenk aditvenk closed this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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