Skip to content

Parse and ignore 'mode' attribute on collectives. #97392

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
Jul 23, 2025

Conversation

copybara-service[bot]
Copy link

Parse and ignore 'mode' attribute on collectives.

The attribute was added and used in openxla/xla@cf3dfa9 but rolled back in openxla/xla@5542ebc since it broke TPU tests. However, HLO text generated between these two commits have the 'mode' attribute. So parse and ignore it for now to not break parsing such HLOs. In the future, once the TPU tests are fixed, the full commit will be rolled forward.

Like in the original commit, I move the CollectiveOpGroupMode to it's own file to keep the parsing logic the same as the original commit.

@copybara-service copybara-service bot force-pushed the exported_pr_786115058 branch 4 times, most recently from f52f011 to b15b9d0 Compare July 23, 2025 20:34
The attribute was added and used in openxla/xla@cf3dfa9 but rolled back in openxla/xla@5542ebc since it broke TPU tests. However, HLO text generated between these two commits have the 'mode' attribute. So parse and ignore it for now to not break parsing such HLOs. In the future, once the TPU tests are fixed, the full commit will be rolled forward.

Like in the original commit, I move the CollectiveOpGroupMode to it's own file to keep the parsing logic the same as the original commit.

PiperOrigin-RevId: 786418187
@copybara-service copybara-service bot force-pushed the exported_pr_786115058 branch from b15b9d0 to 7f81be4 Compare July 23, 2025 21:14
@copybara-service copybara-service bot merged commit 7f81be4 into master Jul 23, 2025
@copybara-service copybara-service bot deleted the exported_pr_786115058 branch July 23, 2025 21:14
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.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy