Repository navigation
ONNX Runtime Compatibility: >= 1.24.1 (compiled with v1.29.0)
QAIRT SDK Compatibility: 2.52.0
pip install onnxruntime==1.29.0
pip install onnxruntime-qnn==2.8.0
New Ops and Fusions
- QTI AISW block operators — Added plugin plumbing and op support for QTI AISW block operators. (#910, #911)
- Flatten-led Gemm fusions — Fuses supported Flatten-led Gemm patterns and emits warnings for unsupported groups. (#905)
- SpaceToDepth stem fusion — Adds QDQ-aware strided Slice+Concat stem fusion for SpaceToDepth. (#820)
For the full list of supported operators, see Supported ONNX Operators and for supported fusions, see Supported Operator Fusions.
Improvements
- Multi-core NPU support — Adds QNN EP support for multi-core NPU execution. (#790)
- ORT profiling timeline support — Adds ORT profiling timeline integration for QNN EP events. (#767)
- Cross-device preparation on WoS — Enables preparing QNN contexts on one Windows-on-Snapdragon device and running on another. (#771)
- SoC model to HTP architecture mapping — Adds SoC model mapping to select the corresponding HTP architecture. (#830)
- Faster compiled-model session initialization — Reuses the backend created during compatibility validation when loading EPContext models, avoiding a duplicate backend setup. (#1006)
- Compiled-model encryption sample apps — Wires the prepare and run encryption sample apps into the build. (#799)
- UDO reference sample scripts — Adds reference scripts for building and using UDO packages. (#757)
Op Translation Fixes
- Slice — Handles safe zero-sized Slice outputs used by Slice-to-Concat patterns and validates initializer lengths before indexing. (#875)
- Dynamic uint16 MatMul — Gates dynamic uint16 MatMul conversion and increases the accepted U16-to-U8 quantization-error threshold to 15%. (#793, #1030)
- MatMulNBits — Fixes padded zero-point handling. (#856)
- Gemm absorbed-Reshape path — Rejects dynamic bias in the absorbed Reshape to FullyConnected path instead of generating an invalid graph. (#860)
- GRU with dynamic input shapes — Rejects unsupported dynamic-shape GRU nodes during partitioning so they fall back to CPU instead of failing during QNN graph finalization. (#872)
- RMSNormalization — Decomposes broadcast-scale RMSNormalization as native RMSNorm plus scale for unsupported broadcast-scale cases. (#854)
- InstanceNormalization — Supports rank-5 InstanceNormalization by flattening to rank 4. (#897)
- ScaleSoftmax — Restricts the fusion to the last axis. (#899)
- HardSigmoidMul fusion — Fixes missing reversed Mul input ordering. (#535)
Bug Fixes
- SSR graph execute with EP context weight sharing — Fixes and re-enables the SSRGraphExecuteEpContextWeightSharing test path. (#732)
- Shared context singleton lifetime — Fixes a stale SharedContext singleton leak. (#822)
- Tensor and permutation validation — Validates tensor indices during setup and ChannelShuffle permutations during translation. (#913, #915)
- Android and Windows build fixes — Fixes Android builds when
JAVA_HOMEpoints to JDK < 17 and fixes a Windows ARM64 debug unreachable-code warning. (#814, #884)
Full Changelog: rel-2.7.0...rel-2.8.0
Contributors
This release includes contributions from:
Ashwath Shankarnarayan, Badri Narayanan, chunghow-qti, Calvin Nguyen, Chun-Chih Teng, Hua-Yu Chou, Hung-Jui Wang, Kuan-Yu Lin, Matthew Sinclair, Min Fong Hong, Nischay Mamidi, Pranjal Singh Thakur, Shubham Patel, Tirupathi Reddy T, Tzu-Hsuan Wei, Yu-Hung Chuang, Yuduo Wu