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

Allow MSCCL++ CommGroup to take PyTorch tensors in args #255

Merged
merged 2 commits into from
Feb 7, 2024

Conversation

aashaka
Copy link
Contributor

@aashaka aashaka commented Feb 1, 2024

Obtain data_ptr and tensor_size accordingly for torch.Tensor

@aashaka aashaka force-pushed the aashaka/comm_add_pytorch branch from 6bdd9c4 to d0249a3 Compare February 1, 2024 09:33
python/mscclpp/comm.py Outdated Show resolved Hide resolved
@aashaka aashaka force-pushed the aashaka/comm_add_pytorch branch from d0249a3 to ca5d5f5 Compare February 6, 2024 22:35
Obtain data_ptr and tensor_size accordingly.
Does not depend on torch package.
@aashaka aashaka force-pushed the aashaka/comm_add_pytorch branch from ca5d5f5 to 85a998d Compare February 6, 2024 22:48
Copy link
Contributor

@Binyang2014 Binyang2014 left a comment

Choose a reason for hiding this comment

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

LGTM

@chhwang chhwang merged commit 2101f52 into main Feb 7, 2024
15 checks passed
@chhwang chhwang deleted the aashaka/comm_add_pytorch branch February 7, 2024 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants