Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for allgather_into_tensor_coalesced and reduce_scatter_tensor_coalesced #114

Merged
merged 3 commits into from
Feb 21, 2025

Conversation

allenwang28
Copy link
Contributor

Closes out #97

What does this PR do?

This PR introduces support for allgather_into_tensor_coalesced and reduce_scatter_tensor_coalesced, similar to other supported collectives. This is a follow up to #108

As noted in #108, allgather_into_tensor_coalesced and reduce_scatter_tensor_coalesced are supported in the base ProcessGroup but not within ProcessGroupNCCL.

@d4l3k pointed out we may be able to create a regular CppProcessGroup and register a backend, rather than return the backend which is what we were doing before, which seemed to work!

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 21, 2025
@allenwang28 allenwang28 linked an issue Feb 21, 2025 that may be closed by this pull request
@allenwang28 allenwang28 marked this pull request as ready for review February 21, 2025 22:03
Copy link
Member

@d4l3k d4l3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@allenwang28 allenwang28 merged commit d427bef into pytorch:main Feb 21, 2025
6 checks passed
@allenwang28 allenwang28 deleted the cpp_coll branch February 21, 2025 22:24
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.

process_group: support all PG APIs
3 participants