microsoft / microsoft/onnxruntime
[Feature Request] Support optrace profiling with QNNExecutionProvider in the published onnxruntime-qnn wheels
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
### Describe the feature request
It appears that the latest onnxruntime-qnn package on pypi.org (version 1.23.2, released in October 2025) does not support optrace-level profiling when using the QNNExecutionProvider. Is this to be expected?
In the QNNExecutionProvider documentation [optrace-level-profiling](https://onnxruntime.ai/docs/execution-providers/QNN-ExecutionProvider.html#optrace-level-profiling), it states, "This feature is only available with the QAIRT 2.39 SDK and later." However, it does not specify which version was used to compile the published onnxruntime-qnn Python wheels, whether optrace-level profiling is supported in the published onnxruntime-qnn package, or, if so, from which version. Explicitly providing this information in the documentation would be very helpful.
Thank you!
### Describe scenario use case
I want to profile my models on NPU and get detailed logs I can visualize in perfetto.
Contributor guide
Research direction
Start with the QNN Execution Provider documentation section on optrace-level profiling and compare its QAIRT 2.39 requirement with the published onnxruntime-qnn 1.23.2 wheel. Check the wheel build information to identify the QAIRT SDK version and supported optrace availability, then update the documentation to state those details clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- documentation, machine-learning
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100