Add QNN EP documentation to OGA including Genie note - #2158
Merged
baijumeswani merged 5 commits intoMay 18, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new documentation page describing how to run ONNX Runtime GenAI models on Qualcomm Snapdragon NPUs using the QNN Execution Provider, including prerequisites, Python usage, and common provider options.
Changes:
- Introduces
docs/qnn.mdwith QNN EP overview and prerequisites (packages + model format). - Provides a Python example showing EP plugin registration and model execution.
- Documents a small set of QNN provider options and how to set them via
og.Config.
…rify EP naming - Use TokenizerStream for token-by-token decode (Tokenizer.decode expects an array, not a scalar) - Expand Genie API description: define it, note transparency to users, and clarify that only newer QAIRT-targeting Olive recipes produce the DLC EPContext type; older QNN recipes do not - Add comment clarifying QNNExecutionProvider (registration) vs QNN (options)
qti-kromero
commented
May 13, 2026
qti-kromero
left a comment
Contributor
Author
There was a problem hiding this comment.
Addressed all three review comments. See inline notes for details.
qti-kromero
commented
May 14, 2026
Replace hardcoded EP name and library path with onnxruntime_qnn.get_ep_name() and onnxruntime_qnn.get_library_path(), which are platform-aware and self-documenting.
baijumeswani
approved these changes
May 18, 2026
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.
No description provided.