Skip to content

[DeepSeek] Add all_to_all_single impl; Enable backward - #1002

Merged
kwen2501 merged 1 commit into
mainfrom
reland_989
Mar 21, 2025
Merged

kwen2501 merged 1 commit into
mainfrom
reland_989

Conversation

@kwen2501

Copy link
Copy Markdown
Contributor

Reland #989

Adding dist.all_to_all_single as token shuffle method.
This is made the default option for better support of backward pass.

The alternative shuffle method --on_device_all_to_all_v -- will be enabled only when user calls
model.setup_symm_mem()
and is limited to inference only.

ghstack-source-id: 137f661
Pull Request resolved: #989
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 21, 2025
@kwen2501
kwen2501 merged commit 95f4f7b into main Mar 21, 2025
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 13, 2026
Reland pytorch#989

Adding dist.all_to_all_single as token shuffle method.
This is made the default option for better support of backward pass.

The alternative shuffle method --on_device_all_to_all_v -- will be
enabled only when user calls
model.setup_symm_mem()
and is limited to inference only.
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 25, 2026
Reland pytorch#989

Adding dist.all_to_all_single as token shuffle method.
This is made the default option for better support of backward pass.

The alternative shuffle method --on_device_all_to_all_v -- will be
enabled only when user calls
model.setup_symm_mem()
and is limited to inference only.
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