Skip to content

Allgather coalescee: Check tuple shape only if return shape is tuple. #9403

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

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

jeffhataws
Copy link
Collaborator

Avoid error when result is array instead of tuple. Follow up to #9314

Avoid error when result is array instead of tuple.
Follow up to #9314
@jeffhataws jeffhataws requested review from bhavya01 and bfolie June 24, 2025 17:03
@jeffhataws
Copy link
Collaborator Author

This resolves the crash for one of our multinode integration. I still need to narrow down a small unit test that can reproduce the issue on CPU.

@bfolie
Copy link
Collaborator

bfolie commented Jun 24, 2025

I'm glad that this works, but ideally we would identify why ShapeHelper::ShapeOfXlaOp(all_gather_result) is returning something other than a tuple

@jeffhataws jeffhataws merged commit 7e3efc5 into master Jun 25, 2025
23 of 24 checks passed
@jeffhataws
Copy link
Collaborator Author

torchprime CI failure seems to affect all PRs

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