-
Notifications
You must be signed in to change notification settings - Fork 3
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
Enable temporary shardy roudtrip import pass #279
base: main
Are you sure you want to change the base?
Conversation
This still needs further testing. I am just checking if it passes the pre-merge tests. |
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #279 +/- ##
==========================================
- Coverage 78.09% 69.02% -9.07%
==========================================
Files 21 22 +1
Lines 986 1188 +202
==========================================
+ Hits 770 820 +50
- Misses 216 368 +152 ☔ View full report in Codecov by Sentry. |
07b387a
to
3501fa3
Compare
Google engineer reported to me that this pass can be included in Shardy repo by the end of this week (hopefully), so I am holding this PR to leverage the pass instead of creating shardy_roundtrip_pass.cc in tt-xla repo. The code is ready but still need to wait for tt-mlir and shardy repo to incorporate the 'roundtrip' pipeline code. |
3501fa3
to
2c23189
Compare
2c23189
to
479f005
Compare
Ticket
Link to Github Issue
Problem description
Current JAX/openXLA is not natively support Shardy and stablehlo for compilation is not with fully Shardy dialect but with some openXLA intermediate format.
What's changed
This patch is a temporary solution that allows the openXLA intermediate form to be converted to Shardy dialect. Once openXLA supports Shardy natively in near future, this pass can be removed.
Checklist