[QNN EP] Default to HTP instead of using last provided device - #26696
Merged
edgchen1 merged 1 commit intoJan 12, 2026
Merged
Conversation
quic-tirupath
approved these changes
Dec 2, 2025
quic-tirupath
left a comment
Contributor
There was a problem hiding this comment.
since QNN EP supports either NPU or GPU and if 2 devices are provided, QNN EP use NPU (preferred default).
- When multiple devices are provided in AppendExecutionProviders_V2, default to the NPU device, instead of picking the last device in the list.
qti-mattsinc
force-pushed
the
dev/mattsinc/default-to-htp-in-v2-api
branch
from
January 7, 2026 18:16
423b45a to
d1636ea
Compare
qti-mattsinc
marked this pull request as ready for review
January 7, 2026 18:17
Contributor
Author
|
Ready for MSFT review. This change was previously cherry-picked onto the branch for the 1.8.30 EP build and can be mainlined now. @edgchen1 / others, PTAL |
qti-mattsinc
commented
Jan 7, 2026
edgchen1
reviewed
Jan 7, 2026
Contributor
|
/azp run Linux QNN CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI,Windows GPU Doc Gen CI Pipeline |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Contributor
|
/azp run Windows ARM64 QNN CI Pipeline |
|
Azure Pipelines successfully started running 1 pipeline(s). |
edgchen1
approved these changes
Jan 10, 2026
alex-spacemit
pushed a commit
to spacemit-com/onnxruntime
that referenced
this pull request
Jan 20, 2026
…oft#26696) ### Description When multiple devices are provided in `AppendExecutionProviders_V2`, default to the NPU device, instead of picking the last device in the list.
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
When multiple devices are provided in
AppendExecutionProviders_V2, default to the NPU device, instead of picking the last device in the list.