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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

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: 786115058
@copybara-service copybara-service bot force-pushed the exported_pr_786115058 branch from 098a5bb to f8bac76 Compare July 23, 2025 05:00
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