[QNN EP] Add RMSNorm Op support in QNN EP#26853
Merged
edgchen1 merged 4 commits intomicrosoft:mainfrom Jan 13, 2026
Merged
Conversation
- Add standalone RMSNorm op translation in QNN EP - Add unit tests
Contributor
Author
|
Contributor
Author
|
@microsoft-github-policy-service agree company="Qualcomm" |
edgchen1
reviewed
Dec 24, 2025
onnxruntime/core/optimizer/qdq_transformer/selectors_actions/shared/utils.cc
Outdated
Show resolved
Hide resolved
edgchen1
reviewed
Jan 7, 2026
onnxruntime/core/optimizer/qdq_transformer/selectors_actions/qdq_selectors.cc
Outdated
Show resolved
Hide resolved
onnxruntime/core/providers/qnn/builder/opbuilder/rms_norm_op_builder.cc
Outdated
Show resolved
Hide resolved
tirupath-qti
commented
Jan 7, 2026
Contributor
Author
tirupath-qti
left a comment
There was a problem hiding this comment.
addressed the review comments in new commit added to this PR.
edgchen1
reviewed
Jan 8, 2026
onnxruntime/core/providers/qnn/builder/opbuilder/rms_norm_op_builder.cc
Outdated
Show resolved
Hide resolved
onnxruntime/core/providers/qnn/builder/opbuilder/rms_norm_op_builder.cc
Outdated
Show resolved
Hide resolved
Contributor
|
/azp run Linux QNN CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI,Windows ARM64 QNN CI Pipeline,Windows GPU Doc Gen CI Pipeline |
|
Azure Pipelines successfully started running 4 pipeline(s). |
Contributor
Author
|
@edgchen1 |
Contributor
|
/azp run Linux QNN CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI,Windows ARM64 QNN CI Pipeline,Windows GPU Doc Gen CI Pipeline |
|
Azure Pipelines successfully started running 4 pipeline(s). |
edgchen1
approved these changes
Jan 13, 2026
yuslepukhin
pushed a commit
that referenced
this pull request
Jan 14, 2026
With the RMSNorm registration from #26853, the op tests are enabled, and some of them are failing. This pull request adds several new test cases to the list of broken tests in the `GetBrokenTests` function. These additions help track issues related to RMS normalization operations across different tensor shapes and axis configurations. Test coverage improvements: * Added seven new RMS normalization test cases (`rms_normalization_2d_axis1`, `rms_normalization_2d_axis_negative_1`, `rms_normalization_3d_axis2_epsilon`, `rms_normalization_3d_axis_negative_1_epsilon`, `rms_normalization_4d_axis3`, `rms_normalization_4d_axis_negative_1`, and `rms_normalization_default_axis`) to the broken tests set in `TestCase.cc`.
alex-spacemit
pushed a commit
to spacemit-com/onnxruntime
that referenced
this pull request
Jan 20, 2026
### Description - Add standalone RMSNorm op translation in QNN EP - Add unit tests ### Motivation and Context - This fixes the CPU fallback of ONNX RMSNormalization operator when running inferences using QNN EP
alex-spacemit
pushed a commit
to spacemit-com/onnxruntime
that referenced
this pull request
Jan 20, 2026
With the RMSNorm registration from microsoft#26853, the op tests are enabled, and some of them are failing. This pull request adds several new test cases to the list of broken tests in the `GetBrokenTests` function. These additions help track issues related to RMS normalization operations across different tensor shapes and axis configurations. Test coverage improvements: * Added seven new RMS normalization test cases (`rms_normalization_2d_axis1`, `rms_normalization_2d_axis_negative_1`, `rms_normalization_3d_axis2_epsilon`, `rms_normalization_3d_axis_negative_1_epsilon`, `rms_normalization_4d_axis3`, `rms_normalization_4d_axis_negative_1`, and `rms_normalization_default_axis`) to the broken tests set in `TestCase.cc`.
alex-spacemit
pushed a commit
to spacemit-com/onnxruntime
that referenced
this pull request
Jan 27, 2026
With the RMSNorm registration from microsoft#26853, the op tests are enabled, and some of them are failing. This pull request adds several new test cases to the list of broken tests in the `GetBrokenTests` function. These additions help track issues related to RMS normalization operations across different tensor shapes and axis configurations. Test coverage improvements: * Added seven new RMS normalization test cases (`rms_normalization_2d_axis1`, `rms_normalization_2d_axis_negative_1`, `rms_normalization_3d_axis2_epsilon`, `rms_normalization_3d_axis_negative_1_epsilon`, `rms_normalization_4d_axis3`, `rms_normalization_4d_axis_negative_1`, and `rms_normalization_default_axis`) to the broken tests set in `TestCase.cc`.
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.
Description
Motivation and Context