Skip to content

Use upstream DTensor layer norm backward strategy - #499

Closed
aditvenk wants to merge 1 commit into
aditvenk/stack/10from
aditvenk/stack/11
Closed

aditvenk wants to merge 1 commit into
aditvenk/stack/10from
aditvenk/stack/11

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!

PyTorch now provides a single-dim strategy for aten.native_layer_norm_backward.default, including partial grad-parameter outputs for batch-sharded inputs, so AutoParallel can remove its local backward rule and pointwise shim.

Authored with Claude.

stack-info: PR: #499, branch: aditvenk/stack/11
@aditvenk
aditvenk marked this pull request as draft June 15, 2026 16:26
@aditvenk
aditvenk changed the base branch from aditvenk/stack/10 to main June 15, 2026 16:26
@aditvenk
aditvenk force-pushed the aditvenk/stack/11 branch from fdb4a88 to 3043e2d Compare June 15, 2026 16:27
@aditvenk
aditvenk changed the base branch from main to aditvenk/stack/10 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