Skip to content

[TORCH] Add support for aten.rms_norm Op #4207

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sharavana20
Copy link
Contributor

  • Decomposed rms_norm op into Aten ops.

    • The decomposition follows the formula:
      rms(x)=sqrt(eps+mean(x^2))
  • Added test cases in the e2e part.

@sharavana20 sharavana20 force-pushed the rms_norm branch 4 times, most recently from 3157c21 to 519dc56 Compare May 27, 2025 10:46
Signed-off-by: sharavana20 <[email protected]>
@sharavana20 sharavana20 marked this pull request as ready for review May 28, 2025 09:16
@sharavana20
Copy link
Contributor Author

sharavana20 commented May 28, 2025

@stellaraccident @vivekkhandelwal1 @penguin-wwy @zjgarvey ,I’d be grateful if any of you could take a look at this PR. Your feedback would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant