Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Bytecode implementation for StableHLO #60
Bytecode implementation for StableHLO #60
Changes from all commits
fafc0e4
f27d65e
7fa74c6
fe14b63
04ec07e
2870b74
23ac92d
231700e
80f2b25
555f14b
16204f3
f2c6f1c
682d207
57d5d52
45fc199
80436eb
66ec3a8
7db94f0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
CustomCallApiVersion
is missing.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.
Yeah so slight edge case on custom call api verision, unclear if this is intentional or not. This enum only defined as an
Int32EnumAttr
, and not anEnumAttr
ofStableHLO_Dialect
.Note the following line for
FftType
:https://github.com/openxla/stablehlo/blob/main/stablehlo/dialect/StablehloEnums.td#L72
There is no corresponding declaration that ties
CustomCallApiVersion
to the StableHLO dialect, so it is only defined/used as aInt32EnumAttr
and therefore handled by the builtin encoding it seems.I added the following note to
bytecode.md
: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.
Hmm I don't think that you pushed this update?
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.
Huh.. where did that go.. let me double check, may have been on the wrong branch making that edit