[QNN EP] Add support for Mean Op in QNN EP - #25021
Merged
Hector Li (HectorSVC) merged 3 commits intoJun 25, 2025
Merged
Hector Li (HectorSVC) merged 3 commits into
Hector Li (HectorSVC) merged 3 commits into
Conversation
- Implemented MeanOpBuilder to support ONNX Mean operator in QNN EP. - Decomposed Mean into a sequence of element-wise Add operations followed by a Div Op. - Added unit tests for Mean op running on HTP
Contributor
|
/azp run Linux QNN CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI,Windows ARM64 QNN CI Pipeline,Windows GPU Doc Gen CI Pipeline,Windows x64 QNN CI Pipeline |
|
Azure Pipelines successfully started running 5 pipeline(s). |
…uic-ashwshan/add_mean_op_support
Contributor
Author
|
Resolved merge conflict. |
Contributor
|
/azp run Linux QNN CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI,Windows ARM64 QNN CI Pipeline,Windows GPU Doc Gen CI Pipeline,Windows x64 QNN CI Pipeline |
|
Azure Pipelines successfully started running 5 pipeline(s). |
Contributor
Author
|
Looks like there is another merge conflict. Can this be resolved during merge? or do I need to pull latest change again? |
Contributor
Author
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,Windows x64 QNN CI Pipeline |
|
Azure Pipelines successfully started running 5 pipeline(s). |
Ashwath Shankarnarayan (quic-ashwshan)
requested a review
from Hector Li (HectorSVC)
June 24, 2025 16:54
Hector Li (HectorSVC)
approved these changes
Jun 25, 2025
ankus-qti
pushed a commit
to CodeLinaro/onnxruntime
that referenced
this pull request
Nov 25, 2025
- Implemented MeanOpBuilder to support ONNX Mean operator in QNN EP. - Decomposed Mean into a sequence of element-wise Add operations followed by a Div Op. - Added unit tests for Mean op running on HTP ### Description Adds support for the ONNX Mean operator in QNN EP via Add + Div decomposition. ### Motivation and Context Enables execution of models using Mean on QNN backend, improving Op support.
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
Adds support for the ONNX Mean operator in QNN EP via Add + Div decomposition.
Motivation and Context
Enables execution of models using Mean on QNN backend, improving Op support.