-
Notifications
You must be signed in to change notification settings - Fork 83
Add RMS Normalization variant #2519
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
Conversation
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
❌ 2 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, 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.
Pull Request Overview
This PR adds support for different multiplication orders in RMS Normalization by creating two variants of the RmsNormFusion rule. The changes allow the pattern matcher to handle both normalized * scale
and scale * normalized
multiplication orders.
- Parameterizes the RmsNormFusion class to support different multiplication orders
- Creates two separate fusion rules to handle both multiplication patterns
- Updates the ruleset to include both variants for comprehensive pattern matching
Add RMS Normalization variant to support both orders for multiplying scale and normalized value.