Skip to content

Conversation

@fmassa
Copy link
Contributor

@fmassa fmassa commented Sep 29, 2025

PyTorch only supports Replicate sharding. Add sharded replication rules as well, taken from scatter_add from PyTorch.

This was needed for my implementation of MOE from #3

cc @zpcore as it would be good to have this rule improved in PyTorch

PyTorch only supports Replicate sharding. Add sharded replication rules as well, taken from scatter_add from PyTorch
@fmassa fmassa requested a review from zpcore September 29, 2025 11:27
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 29, 2025
@fmassa fmassa merged commit 4391c38 into main Oct 3, 2025
6 checks passed
@fmassa fmassa deleted the fmassa/add_scatter_strategy branch October 3, 2025 09:42
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.

3 participants