-
Notifications
You must be signed in to change notification settings - Fork 505
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
[MHLO] refactor pass configurations #1315
Conversation
Related to #1227 1. Reduce MHLO #ifdefs 2. Dismiss compilation warnings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM. Should we also configure enableI32Index
and enableStaticShape
in torch-backend-to-mhlo-backend-pipeline
, which contains convert-torch-to-mhlo
pass?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I have no idea if it's the right place to register in |
We already have this registered there:
You can replace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good to me :)
Okk, @Vremold @silvasean I will split it into another PR. |
Related to llvm#1227 1. Reduce MHLO #ifdefs 2. Dismiss compilation warnings
Related to llvm#1227 1. Reduce MHLO #ifdefs 2. Dismiss compilation warnings
Related to llvm#1227 1. Reduce MHLO #ifdefs 2. Dismiss compilation warnings
* Make ONNX operations, and IndexExpr be in the onnx_mlir namespace. Signed-off-by: Ettore Tiotto <[email protected]>
Related to #1227