-
Notifications
You must be signed in to change notification settings - Fork 53
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
A couple of extensions to rewriter #1912
base: main
Are you sure you want to change the base?
Conversation
❌ 1 Tests Failed:
View the top 1 failed tests by shortest run time
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
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.
I am still a little confused by the second case. Would it be helpful to make the example more concrete in the PR description? Thanks!
Added an example |
A couple of extensions to the rewriter, motivated by fusion optimization experimentation with SmoLLM.
An example for the second point is the following pattern:
If we successfully find a match for
normalized
(which transitively finds a match for all of the pattern subgraph that leads up tonormalized
), we have also found a successful match forskip_sum
, so no need for a multi-output match.(Will add test-cases later, as I work through the fusion optimizations I am experimenting with.)