-
Notifications
You must be signed in to change notification settings - Fork 116
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
ml_program support #182
Comments
What does it mean to "support it"? What would be the difference with a |
I mostly would be interested in the globals. In Torch-MLIR we still use func.func |
Hi Sean! I'd also like to ask what kind of support you have in mind. From the looks of it, |
Yes, I think they are intended to be more general than just tensors. E.g. for storing a scalar |
Sounds like loading scalars will be compatible with StableHLO as well, given that we can use Overall, given that there are straightforward ways of using MLProgram's globals with StableHLO, and that #115 proposes upholding compatibility guarantees for "All ops, attributes and types" in the ml_program dialect, it looks like we have a solid plan for supporting this in StableHLO, so we can probably consider this ticket resolved? |
I would expect that we would close this PR when appropriate docs and specs have been updated to include ml_program in the set of "what is included in StableHLO" |
Request description
ml_program is being used for certain JAX -> IREE flows and we are looking at using it in Torch-MLIR. Is there a plan for supporting this in StableHLO?
The text was updated successfully, but these errors were encountered: