-
Notifications
You must be signed in to change notification settings - Fork 72
Fix fused matmul check/rewrite functions #2331
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
Merged
bmehta001
merged 39 commits into
microsoft:main
from
bmehta001:bhamehta/fusedmatmul_find_ops
Jun 6, 2025
Merged
Changes from 6 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
71c1d5c
Use producer syntax, simplify, rm unnecessary checks
bmehta001 77b39f6
Simplify assert, assigning attributes
bmehta001 af0abbd
Add test to ensure fusion rules do not rely on position of node
bmehta001 65f4637
Merge branch 'main' into bhamehta/fusedmatmul_find_ops
bmehta001 8946821
Add checking for transBatch
bmehta001 0f2b287
Merge branch 'main' into bhamehta/fusedmatmul_find_ops
bmehta001 cb5a192
Fix condition, formatting, and add default
bmehta001 b2e9737
Fix formatting
bmehta001 af9c064
Simplify syntax w/ functions
bmehta001 4611fdc
Condense rules using type function and classVars
bmehta001 bee83a8
Rm unused/fix comment
bmehta001 9f81fe9
Merge branch 'main' into bhamehta/fusedmatmul_find_ops
bmehta001 b9abd98
Address comments
bmehta001 10162db
Fix None error + rm type-ignore
bmehta001 d06f388
Add more tests
bmehta001 a065541
Handle defaults and add docstring
bmehta001 1a90317
Add clarifying comment
bmehta001 d417c02
Fix correct default behavior for transpose
bmehta001 a23ee07
Formally drop python 3.8 support (#2354)
justinchuby d1eb856
Implement `__repr__` for MatchResult (#2353)
justinchuby 19b7f6a
Use onnx_ir as a dependency (#2324)
justinchuby 3fd79be
Support common subexpression elimination pass (CSE) (#2304)
titaiwangms 11075ee
Fix pytest for TestCosSinCacheTransform (#2358)
justinchuby 9b81926
SDPA fusion cleanup (#2352)
gramalingam 7553ce1
Require onnx-ir 0.1.1 (#2360)
justinchuby 73432e5
Enable CSE in optimizer (#2361)
titaiwangms ccce52e
Rewrite tests and address comments
bmehta001 3654fa8
Merge branch 'main' into bhamehta/fusedmatmul_find_ops
bmehta001 12b4cc0
Support common subexpression elimination pass (CSE) (#2304)
titaiwangms 2276a16
Enable CSE in optimizer (#2361)
titaiwangms 2a0a798
Revert changes
bmehta001 5bcf2b1
Fix errors/simplify
bmehta001 a94c295
Update onnxscript/rewriter/ort_fusions/fused_matmul_rule_sets.py
bmehta001 e976fb1
Update onnxscript/rewriter/ort_fusions/fused_matmul_rule_sets.py
bmehta001 2adf8ea
Iterate through IR Model instead of ModelProto
bmehta001 73889d3
Addressed comments
bmehta001 841c49b
Simplify
bmehta001 04e6955
Simplify use of constants
bmehta001 514649f
Merge branch 'main' into bhamehta/fusedmatmul_find_ops
bmehta001 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.