Skip to content

support op sharding rules via decompositions#322

Open
pianpwk wants to merge 3 commits intometa-pytorch:mainfrom
pianpwk:pianpwk/sharding_decomp
Open

support op sharding rules via decompositions#322
pianpwk wants to merge 3 commits intometa-pytorch:mainfrom
pianpwk:pianpwk/sharding_decomp

Conversation

@pianpwk
Copy link

@pianpwk pianpwk commented Feb 21, 2026

When an op has no registered sharding strategy, try PyTorch's
DecompShardingStrategy before falling back to all-Replicate. This traces
the op's decomposition on meta tensors, propagating placements through
sub-ops that already have strategies, to derive valid sharding options
automatically.
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 21, 2026
@pianpwk pianpwk changed the title try decomp sharding rules support op sharding rules via decompositions Feb 24, 2026
@pianpwk pianpwk marked this pull request as ready for review February 24, 2026 16:40
@xmfan
Copy link
Member

xmfan commented Feb 24, 2026

probably good to wait until ci is green

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