Repository navigation
[Codegen][Tuner] expose python binding isa_attention_op - #21216
Merged
Merged
Conversation
Signed-off-by: Bangtian Liu <[email protected]>
Signed-off-by: Bangtian Liu <[email protected]>
Max191
reviewed
Jun 27, 2025
Max191
left a comment
Contributor
There was a problem hiding this comment.
Do we really need a new util for this? Can't we just check isinstance(op, linalg_ext.AttentionOp)?
Contributor
Author
At the Python level, I couldn't find linalg_ext.AttentionOp exposed. Please correct me if I'm misunderstanding something. |
Contributor
I see, I think this is okay for now then. Might be better to just expose the op itself instead, but maybe that can just be TODO. |
Max191
approved these changes
Jun 27, 2025
kuhar
reviewed
Jun 30, 2025
kuhar
approved these changes
Jun 30, 2025
Signed-off-by: Bangtian Liu <[email protected]>
bangtianliu
added a commit
to nod-ai/amd-shark-ai
that referenced
this pull request
Jul 2, 2025
After iree-org/iree#21170 and iree-org/iree#21216 exposing python bindings from iree side, This PR adds parser for attention op. --------- Signed-off-by: Bangtian Liu <[email protected]>
rkayaith
pushed a commit
to rkayaith/shark-ai
that referenced
this pull request
Aug 19, 2025
After iree-org/iree#21170 and iree-org/iree#21216 exposing python bindings from iree side, This PR adds parser for attention op. --------- Signed-off-by: Bangtian Liu <[email protected]>
AWoloszyn
pushed a commit
that referenced
this pull request
Dec 1, 2025
This PR is mainly about exposing the python binding `iree_codegen.isa_attention_op`. --------- Signed-off-by: Bangtian Liu <[email protected]>
RattataKing
pushed a commit
to nod-ai/amd-shark-ai
that referenced
this pull request
Mar 2, 2026
After iree-org/iree#21170 and iree-org/iree#21216 exposing python bindings from iree side, This PR adds parser for attention op. --------- Signed-off-by: Bangtian Liu <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR is mainly about exposing the python binding
iree_codegen.isa_attention_op.