Skip to content

Conversation

@arkadip-maitra
Copy link

Fixes #54

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 13, 2025
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.

Thanks for sending this! I'll kick off the tests


gloo::broadcast(opts);

if (tensorCPU.device() != tensor.device()) {
Copy link
Member

Choose a reason for hiding this comment

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

Why remove these checks? This is a noop if it's the same tensor?

Copy link
Author

Choose a reason for hiding this comment

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

true. i was using .clone() which was not needed. so this check can stay.

@arkadip-maitra arkadip-maitra requested a review from d4l3k November 15, 2025 17:36
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.

gloo: support CUDA tensors and verify correctness (CPU reduction, CUDA tensor)

2 participants