Onnxruntime

Latest version: v1.20.1

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

1.20.0

**Release Manager: apsonawane**

Announcements
- **All ONNX Runtime Training packages have been deprecated.** ORT 1.19.2 was the last release for which onnxruntime-training (PyPI), onnxruntime-training-cpu (PyPI), Microsoft.ML.OnnxRuntime.Training (Nuget), onnxruntime-training-c (CocoaPods), onnxruntime-training-objc (CocoaPods), and onnxruntime-training-android (Maven Central) were published.
- **ONNX Runtime packages will stop supporting Python 3.8 and Python 3.9.** This decision aligns with NumPy Python version support. To continue using ORT with Python 3.8 and Python 3.9, you can use ORT 1.19.2 and earlier.
- **ONNX Runtime 1.20 CUDA packages will include new dependencies that were not required in 1.19 packages.** The following dependencies are new: libcudnn_adv.so.9, libcudnn_cnn.so.9, libcudnn_engines_precompiled.so.9, libcudnn_engines_runtime_compiled.so.9, libcudnn_graph.so.9, libcudnn_heuristic.so.9, libcudnn_ops.so.9, libnvrtc.so.12, and libz.so.1.

Build System & Packages
- Python 3.13 support is included in PyPI packages.
- ONNX 1.17 support will be delayed until a future release, but the ONNX version used by ONNX Runtime has been patched to include a [shape inference change to the Einsum op](https://github.com/onnx/onnx/pull/6010).
- DLLs in the Maven build are now digitally signed (fix for issue reported [here](https://github.com/microsoft/onnxruntime/issues/19204)).
- (Experimental) vcpkg support added for the CPU EP. The DML EP does not yet support vcpkg, and other EPs have not been tested.

Core
- MultiLoRA support.
- Reduced memory utilization.
- Fixed alignment that was causing mmap to fail for external weights.
- Eliminated double allocations when deserializing external weights.
- Added ability to serialize pre-packed weights so that they don’t cause an increase in memory utilization when the model is loaded.
- Support bfloat16 and float8 data types in python I/O binding API.

Performance
- INT4 quantized embedding support on CPU and CUDA EPs.
- Miscellaneous performance improvements and bug fixes.

EPs

CPU
- FP16 support for MatMulNbits, Clip, and LayerNormalization ops.

CUDA
- Cudnn frontend integration for convolution operators.
- Added support of cuDNN Flash Attention and Lean Attention in MultiHeadAttention op.

TensorRT
- TensorRT [10.4](https://github.com/NVIDIA/TensorRT/releases/tag/v10.4.0) and [10.5](https://github.com/NVIDIA/TensorRT/releases/tag/v10.5.0) support.

QNN
- QNN HTP support for weight sharing across multiple ORT inference sessions. (See [ORT QNN EP documentation](https://onnxruntime.ai/docs/execution-providers/QNN-ExecutionProvider.html#qnn-ep-weight-sharing) for more information.)
- Support for QNN SDK 2.27.

OpenVINO
- Added support up to OpenVINO 2024.4.1.
- Compile-time memory optimizations.
- Enhancement of ORT EPContext Session option for optimized first inference latency.
- Added remote tensors to ensure direct memory access for inferencing on NPU.

DirectML
- [DirectML 1.15.2](https://www.nuget.org/packages/Microsoft.AI.DirectML/1.15.2) support.

Mobile
- Improved Android QNN support, including a pre-built Maven package and various performance improvements.
- FP16 support for ML Program models with CoreML EP.
- FP16 XNNPACK kernels to provide a fallback option if CoreML is not available at runtime.
- Initial support for using the native WebGPU EP on Android and iOS. _Note: The set of initial operators is limited, and the code is available from the main branch, not ORT 1.20 packages. See [22591](https://github.com/microsoft/onnxruntime/pull/22591) for more information.

Web
- Quantized embedding support.
- On-demand weight loading support (offloads Wasm32 heap and enables 8B-parameter LLMs).
- Integrated Intel GPU performance improvements.
- [Opset-21](https://github.com/onnx/onnx/releases/tag/v1.16.0) support (Reshape, Shape, Gelu).

GenAI
- MultiLoRA support.
- Generations can now be terminated mid-loop.
- Logit soft capping support in Group Query Attention (GQA).
- Additional model support, including Phi-3.5 Vision Multi-Frame, ChatGLM3, and Nemotron-Mini.
- Python package now available for Mac.
- Mac / iOS now available in NuGet packages.

_Full release notes for ONNX Runtime generate() API v0.5.0 can be found [here](https://github.com/microsoft/onnxruntime-genai/releases)._

Extensions
- Tokenization performance improvements.
- Support for latest Hugging Face tokenization JSON format (transformers>=4.45).
- Unigram tokenization model support.
- OpenCV dependency removed from C API build.

_Full release notes for ONNX Runtime Extensions v0.13 can be found [here](https://github.com/microsoft/onnxruntime-extensions/releases)._

Olive
- Olive command line interface (CLI) now available with support to execute well-defined, concrete workflows without the need to create or edit configs manually.
- Additional improvements, including support for YAML-based workflow configs, streamlined DataConfig management, simplified workflow configuration, and more.
- Llama and Phi-3 model updates, including an updated MultiLoRA example using the ORT generate() API.
_Full release notes for Olive v0.7.0 can be found [here](https://github.com/microsoft/Olive/releases/)._

Contributors
**Big thank you to the release manager apsonawane, as well as snnn, jchen351, sheetalarkadam, and everyone else who made this release possible!**

Tianlei Wu, Yi Zhang, Yulong Wang, Scott McKay, Edward Chen, Adrian Lizarraga, Wanming Lin, Changming Sun, Dmitri Smirnov, Jian Chen, Jiajia Qin, Jing Fang, George Wu, Caroline Zhu, Hector Li, Ted Themistokleous, mindest, Yang Gu, jingyanwangms, liqun Fu, Adam Pocock, Patrice Vignola, Yueqing Zhang, Prathik Rao, Satya Kumar Jandhyala, Sumit Agarwal, Xu Xing, aciddelgado, duanshengliu, Guenther Schmuelling, Kyle, Ranjit Ranjan, Sheil Kumar, Ye Wang, kunal-vaishnavi, mingyueliuh, xhcao, zz002, 0xdr3dd, Adam Reeve, Arne H Juul, Atanas Dimitrov, Chen Feiyue, Chester Liu, Chi Lo, Erick Muñoz, Frank Dong, Jake Mathern, Julius Tischbein, Justin Chu, Xavier Dupré, Yifan Li, amarin16, anujj, chenduan-amd, saurabh, sfatimar, sheetalarkadam, wejoncy, Akshay Sonawane, AlbertGuan9527, Bin Miao, Christian Bourjau, Claude, Clément Péron, Emmanuel, Enrico Galli, Fangjun Kuang, Hann Wang, Indy Zhu, Jagadish Krishnamoorthy, Javier Martinez, Jeff Daily, Justin Beavers, Kevin Chen, Krishna Bindumadhavan, Lennart Hannink, Luis E. P., Mauricio A Rovira Galvez, Michael Tyler, PARK DongHa, Peishen Yan, PeixuanZuo, Po-Wei (Vincent), Pranav Sharma, Preetha Veeramalai, Sophie Schoenmeyer, Vishnudas Thaniel S, Xiang Zhang, Yi-Hong Lyu, Yufeng Li, goldsteinn, mcollinswisc, mguynn-intc, mingmingtasd, raoanag, shiyi, stsokolo, vraspar, wangshuai09

**Full changelog: [v1.19.2...v1.20.0](https://github.com/microsoft/onnxruntime/compare/v1.19.2...v1.20.0)**

1.19.2

Announcements
* ORT 1.19.2 is a small patch release, fixing some broken workflows and introducing bug fixes.

Build System & Packages
* Fixed the signing of native DLLs.
* Disabled absl symbolize in Windows Release build to avoid dependency on dbghelp.dll.

Training
* Restored support for CUDA compute capability 7.0 and 7.5 with CUDA 12, and 6.0 and 6.1 with CUDA 11.
* Several fixes for training CI pipelines.

Mobile
* Fixed ArgMaxOpBuilder::AddToModelBuilderImpl() nullptr Node access for CoreML EP.

Generative AI
* Added CUDA kernel for Phi3 MoE.
* Added smooth softmax support in CUDA and CPU kernels for the GroupQueryAttention operator.
* Fixed number of splits calculations in GroupQueryAttention CUDA operator.
* Enabled causal support in the MultiHeadAttention CUDA operator.

Contributors
prathikr, mszhanyi, edgchen1, tianleiwu, wangyems, aciddelgado, mindest, snnn, baijumeswani, MaanavD

**Thanks to everyone who helped ship this release smoothly!**

**Full Changelog**: https://github.com/microsoft/onnxruntime/compare/v1.19.0...v1.19.2

1.19.0

Announcements
* Note that the wrong commit was initially tagged with v1.19.0. The final commit has since been correctly tagged: https://github.com/microsoft/onnxruntime/commit/26250ae74d2c9a3c6860625ba4a147ddfb936907. This shouldn't effect much, but sorry for the inconvenience!

Build System & Packages
* Numpy support for 2.x has been added
* Qualcomm SDK has been upgraded to 2.25
* ONNX has been upgraded from 1.16 → 1.16.1
* Default GPU packages use CUDA 12.x and Cudnn 9.x (previously CUDA 11.x/CuDNN 8.x) CUDA 11.x/CuDNN 8.x packages are moved to the aiinfra VS feed.
* TensorRT 10.2 support added
* Introduced Java CUDA 12 packages on Maven.
* Discontinued support for Xamarin. (Xamarin reached EOL on May 1, 2024)
* Discontinued support for macOS 11 and increasing the minimum supported macOS version to 12. (macOS 11 reached EOL in September 2023)
* Discontinued support for iOS 12 and increasing the minimum supported iOS version to 13.

Core
* Implemented DeformConv
* [Fixed big-endian](https://github.com/microsoft/onnxruntime/pull/21133) and support build on AIX

Performance
* Added QDQ support for INT4 quantization in CPU and CUDA Execution Providers
* Implemented FlashAttention on CPU to improve performance for GenAI prompt cases
* Improved INT4 performance on CPU (X64, ARM64) and NVIDIA GPUs

Execution Providers
* TensorRT
* Updated to support TensorRT 10.2
* Remove calls to deprecated api’s
* Enable refittable embedded engine when ONNX model provided as byte stream

* CUDA
* Upgraded cutlass to 3.5.0 for performance improvement of memory efficient attention.
* Updated MultiHeadAttention and Attention operators to be thread-safe.
* Added sdpa_kernel provider option to choose kernel for Scaled Dot-Product Attention.
* Expanded op support - Tile (bf16)

* CPU
* Expanded op support - GroupQueryAttention, SparseAttention (for Phi-3 small)

* QNN
* Updated to support QNN SDK 2.25
* Expanded op support - HardSigmoid, ConvTranspose 3d, Clip (int32 data), Matmul (int4 weights), Conv (int4 weights), prelu (fp16)
* Expanded fusion support – Conv + Clip/Relu fusion

* OpenVINO
* Added support for OpenVINO 2024.3
* Support for enabling EpContext using session options

* DirectML
* Updated DirectML from 1.14.1 → 1.15.1
* Updated ONNX opset from 17 → 20
* Opset 19 and Opset 20 are supported with known caveats:
* Gridsample 20: 5d not supported
* DeformConv not supported

Mobile
* Additional CoreML ML Program operators were added
* See supported operators list [here](https://github.com/microsoft/onnxruntime/blob/main/tools/ci_build/github/apple/coreml_supported_mlprogram_ops.md)
* Fixed packaging issue with macOS framework in onnxruntime-c cocoapod
* Removed Xamarin support
* Xamarin EOL was May 1, 2024
* [Xamarin official support policy | .NET (microsoft.com)](https://dotnet.microsoft.com/en-us/platform/support/policy/xamarin)

Web
* Updated JavaScript packaging to align with best practices, including slight incompatibilities when apps bundle onnxruntime-web
* Improved CPU operators coverage for WebNN (now supported by Chrome)

Training
* No specific updates

GenAI
* Support for new models Qwen, Llama 3.1, Gemma 2, phi3 small
* Support to build quantized models with method AWQ and GPTQ
* Performance improvements for Intel and Arm CPU
* Packing and language binding
* Added Java bindings (build from source)
* Separate OnnxRuntime.dll and directml.dll out of GenAI package to improve usability
* Publish packages for Win Arm
* Support for Android (build from source)
* Bug fixes, like the [long prompt correctness issue for](https://github.com/microsoft/onnxruntime-genai/issues/552) phi3.

Extensions
* Added C APIs for language, vision and audio processors including new FeatureExtractor for Whisper
* Support for Phi-3 Small Tokenizer and new OpenAI tiktoken format for fast loading of BPE tokenizers
* Added new CUDA custom operators such as MulSigmoid, Transpose2DCast, ReplaceZero, AddSharedInput and MulSharedInput
* Enhanced Custom Op Lite API on GPU and fused kernels for DORT
* Bug fixes, including null bos_token for Qwen2 tokenizer and SentencePiece converted FastTokenizer issue on non-ASCII characters, as well as necessary updates for MSVC 19.40 and numpy 2.0 release

Contributors
Changming Sun, Baiju Meswani, Scott McKay, Edward Chen, Jian Chen, Wanming Lin, Tianlei Wu, Adrian Lizarraga, Chester Liu, Yi Zhang, Yulong Wang, Hector Li, kunal-vaishnavi, pengwa, aciddelgado, Yifan Li, Xu Xing, Yufeng Li, Patrice Vignola, Yueqing Zhang, Jing Fang, Chi Lo, Dmitri Smirnov, mingyueliuh, cloudhan, Yi-Hong Lyu, Ye Wang, Ted Themistokleous, Guenther Schmuelling, George Wu, mindest, liqun Fu, Preetha Veeramalai, Justin Chu, Xiang Zhang, zz002, vraspar, kailums, guyang3532, Satya Kumar Jandhyala, Rachel Guo, Prathik Rao, Maximilian Müller, Sophie Schoenmeyer, zhijiang, maggie1059, ivberg, glen-amd, aamajumder, Xavier Dupré, Vincent Wang, Suryaprakash Shanmugam, Sheil Kumar, Ranjit Ranjan, Peishen Yan, Frank Dong, Chen Feiyue, Caroline Zhu, Adam Louly, Ștefan Talpalaru, zkep, winskuo-quic, wejoncy, vividsnow, vivianw-amd, moyo1997, mcollinswisc, jingyanwangms, Yang Gu, Tom McDonald, Sunghoon, Shubham Bhokare, RuomeiMS, Qingnan Duan, PeixuanZuo, Pavan Goyal, Nikolai Svakhin, KnightYao, Jon Campbell, Johan MEJIA, Jake Mathern, Hans, Hann Wang, Enrico Galli, Dwayne Robinson, Clément Péron, Chip Kerchner, Chen Fu, Carson M, Adam Reeve, Adam Pocock.

**Big thank you to everyone who contributed to this release!**

**Full Changelog**: https://github.com/microsoft/onnxruntime/compare/v1.18.1...v1.19.0

1.18.1

What's new?

**Announcements:**
- ONNX Runtime Python packages now have numpy dependency >=1.21.6, <2.0. Support for numpy 2.0 will be added in a future release.
- CUDA 12.x ONNX Runtime GPU packages are now built against cuDNN 9.x (1.18.0 packages previously depended on cuDNN 8.x). CUDA 11.x ONNX Runtime GPU packages continue to depend on CuDNN 8.x.
- Windows packages require installation of Microsoft Visual C++ Redistributable Runtime 14.38 or newer.

**TensorRT EP:**
- TensorRT Weightless API integration.
- Support for TensorRT hardware compatible engines.
- Support for INT64 types in TensorRT constant layer calibration.
- Now using latest commit of onnx-tensorrt parser, which includes several issue fixes.
- Additional TensorRT support and performance improvements.

**Packages:**
- Publish CUDA 12 Java packages to Azure DevOps feed.
- Various packaging pipeline fixes.

This patch release also features various other bug fixes, including a CUDA 12.5 build error fix.

**Big thank you to yf711 for driving this release as the release manager and to all our contributors!**

yf711 jchen351 mszhanyi snnn wangyems jywu-msft skottmckay chilo-ms moraxu kevinch-nv pengwa wejoncy pranavsharma Craigacp jslhcl adrianlizarraga inisis jeffbloo mo-ja kunal-vaishnavi sumitsays neNasko1 yufenglee dhruvbird wangshuai09 xiaoyu-work axinging yuslepukhin YUNQIUGUO shubhambhokare1 fs-eire afantino951 tboby HectorSVC baijumeswani

1.18.0

Announcements
* **Windows ARM32 support has been dropped at the source code level**.
* **Python version >=3.8 is now required for build.bat/build.sh** (previously >=3.7). *Note: If you have Python version <3.8, you can bypass the tools and use CMake directly.*
* **The [onnxruntime-mobile](https://mvnrepository.com/artifact/com.microsoft.onnxruntime/onnxruntime-mobile) Android package and onnxruntime-mobile-c/onnxruntime-mobile-objc iOS cocoapods are being deprecated**. Please use the [onnxruntime-android](https://mvnrepository.com/artifact/com.microsoft.onnxruntime/onnxruntime-android) Android package, and onnxruntime-c/onnxruntime-objc cocoapods, which support ONNX and ORT format models and all operators and data types. *Note: If you require a smaller binary size, a custom build is required. See details on creating a custom Android or iOS package on [Custom build | onnxruntime](https://onnxruntime.ai/docs/build/custom.html#custom-build-packages).*

Build System & Packages
* CoreML execution provider now depends on coremltools.
* Flatbuffers has been upgraded from 1.12.0 → 23.5.26.
* ONNX has been upgraded from 1.15 → 1.16.
* EMSDK has been upgraded from 3.1.51 → 3.1.57.
* Intel neural_speed library has been upgraded from v0.1.1 → v0.3 with several important bug fixes.
* There is a new onnxruntime_CUDA_MINIMAL CMake option for building ONNX Runtime CUDA execution provider without any operations apart from memcpy ops.
* Added support for Catalyst for macOS build support.
* Added initial support for RISC-V and three new build options for it: `--rv64`, `--riscv_toolchain_root`, and `--riscv_qemu_path`.
* Now you can build TensorRT EP with protobuf-lite instead of the full version of protobuf.
* Some security-related compile/link flags have been moved from the default setting → new build option: `--use_binskim_compliant_compile_flags`. *Note: All our release binaries are built with this flag, but when building ONNX Runtime from source, this flag is default OFF.*
* Windows ARM64 build now depends on PyTorch CPUINFO library.
* Windows OneCore build now uses “Reverse forwarding” apisets instead of “Direct forwarding”, so onnxruntime.dll in our Nuget packages will depend on kernel32.dll. *Note: Windows systems without kernel32.dll need to have reverse forwarders (see [API set loader operation - Win32 apps | Microsoft Learn](https://learn.microsoft.com/en-us/windows/win32/apiindex/api-set-loader-operation) for more information).*

Core
* Added ONNX 1.16 support.
* Added additional optimizations related to Dynamo-exported models.
* Improved testing infrastructure for EPs developed as shared libraries.
* Exposed Reserve() in OrtAllocator to allow custom allocators to work when session.use_device_allocator_for_initializers is specified.
* Improved lock contention due to memory allocations.
* Improved session creation time (graph and graph transformer optimizations).
* Added new SessionOptions config entry to disable specific transformers and rules.
* [C API] Exposed SessionOptions.DisablePerSessionThreads to allow sharing of threadpool between sessions.
* [Java API] Added CUDA 12 Java support.

Performance
* Improved 4bit quant support:
* Added HQQ quantization support to improve accuracy.
* Implemented general GEMM kernel and improved GEMV kernel performance on GPU.
* Improved GEMM kernel quality and performance on x64.
* Implemented general GEMM kernel and improved GEMV performance on ARM64.
* Improved MultiheadAttention performance on CPU.

Execution Providers
* TensorRT
* Added support for TensorRT 10.
* Finalized support for DDS ops.
* Added Python support for user provided CUDA stream.
* Fixed various bugs.

* CUDA
* Added support of multiple CUDA graphs.
* Added a provider option to disable TF32.
* Added Python support for user provided CUDA stream.
* Extended MoE to support of Tensor Parallelism and int4 quantization.
* Fixed bugs in BatchNorm and TopK kernel.

* QNN
* Added support for up to QNN SDK 2.22.
* Upgraded support from A16W8 → mixed 8/16-bit precision configurability per layer.
* Added fp16 execution support via enable_htp_fp16 option.
* Added multiple partition support for QNN context binary.
* Expanded operator support and fixed various bugs.
* Added support for per-channel quantized weights for Conv.
* Integration with Qualcomm’s AIHub.

* OpenVINO
* Added support for up to OpenVINO 2024.1.
* Added support for importing pre-compiled blob as EPContext blob.
* Separated device and precision as inputs by removing support for device_id in provider options and adding precision as separate CLI option.
* Deprecated CPU_FP32 and GPU_FP32 terminology and introduced CPU and GPU terminology.
* `AUTO:GPU,CPU` will only create GPU blob, not CPU blob.

* DirectML
* Additional ONNX operator support: Resize-18 and Resize-19, Col2Im-18, InNaN-20, IsInf-20, and ReduceMax-20.
* Additional contrib op support: SimplifiedLayerNormalization, SkipSimplifiedLayerNormalization, QLinearAveragePool, MatMulIntegerToFloat, GroupQueryAttention, DynamicQuantizeMatMul, and QAttention.

Mobile
* Improved performance of ARM64 4-bit quantization.
* Added support for building with QNN on Android.
* Added MacCatalyst support.
* Added visionOS support.
* Added initial support for creating ML Program format CoreML models.
* Added support for 1D Conv and ConvTranspose to XNNPACK EP.

Web
* Added WebNN EP preview.
* Improved WebGPU performance (MHA, ROE).
* Added more WebGPU and WebNN examples.
* Increased generative model support.
* Optimized Buffer management to reduce memory footprint.

Training
* Large Model Training
* Added optimizations for Dynamo-exported models.
* Added Mixtral integration using ORT backend.
* On-Device Training
* Added support for models >2GB to enable SLM training on edge devices.

GenAI
* Added additional model support: Phi-3, Gemma, LLama-3.
* Added DML EP support.
* Improved tokenizer quality.
* Improved sampling method and ORT model performance.

Extensions
* Created Java packaging pipeline and published to Maven repository.
* Added support for conversion of Huggingface FastTokenizer into ONNX custom operator.
* Unified the SentencePiece tokenizer with other Byte Pair Encoding (BPE) based tokenizers.
* Fixed Whisper large model pre-processing bug.
* Enabled eager execution for custom operator and refactored the header file structure.

Contributors
Yi Zhang, Yulong Wang, Adrian Lizarraga, Changming Sun, Scott McKay, Tianlei Wu, Peng Wang, Hector Li, Edward Chen, Dmitri Smirnov, Patrice Vignola, Guenther Schmuelling, Ye Wang, Chi Lo, Wanming Lin, Xu Xing, Baiju Meswani, Peixuan Zuo, Vincent Wang, Markus Tavenrath, Lei Cao, Kunal Vaishnavi, Rachel Guo, Satya Kumar Jandhyala, Sheil Kumar, Yifan Li, Jiajia Qin, Maximilian Müller, Xavier Dupré, Yi-Hong Lyu, Yufeng Li, Alejandro Cid Delgado, Adam Louly, Prathik Rao, wejoncy, Zesong Wang, Adam Pocock, George Wu, Jian Chen, Justin Chu, Xiaoyu, guyang3532, Jingyan Wang, raoanag, Satya Jandhyala, Hariharan Seshadri, Jiajie Hu, Sumit Agarwal, Peter Mcaughan, Zhijiang Xu, Abhishek Jindal, Jake Mathern, Jeff Bloomfield, Jeff Daily, Linnea May, Phoebe Chen, Preetha Veeramalai, Shubham Bhokare, Wei-Sheng Chin, Yang Gu, Yueqing Zhang, Guangyun Han, inisis, ironman, Ivan Berg, Liqun Fu, Yu Luo, Rui Ren, Sahar Fatima, snadampal, wangshuai09, Zhenze Wang, Andrew Fantino, Andrew Grigorev, Ashwini Khade, Atanas Dimitrov, AtomicVar, Belem Zhang, Bowen Bao, Chen Fu, Dhruv Matani, Fangrui Song, Francesco, Frank Dong, Hans Chen, He Li, Heflin Stephen Raj, Jambay Kinley, Masayoshi Tsutsui, Matttttt, Nanashi, Phoebe Chen, Pranav Sharma, Segev Finer, Sophie Schoenmeyer, TP Boudreau, Ted Themistokleous, Thomas Boby, Xiang Zhang, Yongxin Wang, Zhang Lei, aamajumder, danyue, Duansheng Liu, enximi, fxmarty, kailums, maggie1059, mindest, mo-ja, moyo1997
**Big thank you to everyone who contributed to this release!**

1.17.3

What's new?

**General:**
- Update copying API header files to make Linux logic consistent with Windows ([19736](https://github.com/microsoft/onnxruntime/pull/19736)) - mszhanyi
- Pin ONNX version to fix DML and Python packaging pipeline exceptions ([20073](https://github.com/microsoft/onnxruntime/pull/20073)) - mszhanyi

**Build System & Packages:**
- Fix minimal build with training APIs enabled bug affecting Apple framework ([19858](https://github.com/microsoft/onnxruntime/pull/19858)) - edgchen1

**Core:**
- Fix SplitToSequence op with string tensor bug ([19942](https://github.com/microsoft/onnxruntime/pull/19942)) - Craigacp

**CUDA EP:**
- Fix onnxruntime_test_all build break with CUDA ([19673](https://github.com/microsoft/onnxruntime/pull/19673)) - gedoensmax
- Fix broken pooling CUDA NHWC ops and ensure NCHW / NHWC parity ([19889](https://github.com/microsoft/onnxruntime/pull/19889)) - mtavenrath

**TensorRT EP:**
- Fix TensorRT build break caused by image update ([19880](https://github.com/microsoft/onnxruntime/pull/19880)) - jywu-msft
- Fix TensorRT custom op list concurrency bug ([20093](https://github.com/microsoft/onnxruntime/pull/20093)) - chilo-ms

**Web:**
- Add hardSigmoid op support and hardSigmoid activation for fusedConv ([19215](https://github.com/microsoft/onnxruntime/pull/19215), [#19233](https://github.com/microsoft/onnxruntime/pull/19233)) - qjia7
- Add support for WebNN async API with Asyncify ([19415](https://github.com/microsoft/onnxruntime/pull/19145)) - Honry
- Add uniform support for conv, conv transpose, conv grouped, and fp16 ([18753](https://github.com/microsoft/onnxruntime/pull/18753), [#19098](https://github.com/microsoft/onnxruntime/pull/19098)) - axinging
- Add capture and replay support for JS EP ([18989](https://github.com/microsoft/onnxruntime/pull/18989)) - fs-eire
- Add LeakyRelu activation for fusedConv ([19369](https://github.com/microsoft/onnxruntime/pull/19369)) - qjia7
- Add FastGelu custom op support ([19392](https://github.com/microsoft/onnxruntime/pull/19369)) - fs-eire
- Allow uint8 tensors for WebGPU ([19545](https://github.com/microsoft/onnxruntime/pull/19545)) - satyajandhyala
- Add and optimize MatMulNBits ([19852](https://github.com/microsoft/onnxruntime/pull/19852)) - satyajandhyala
- Enable ort-web with any Float16Array polyfill ([19305](https://github.com/microsoft/onnxruntime/pull/19305)) - fs-eire
- Allow multiple EPs to be specified in backend resolve logic ([19735](https://github.com/microsoft/onnxruntime/pull/19735)) - fs-eire
- Various bug fixes: ([19258](https://github.com/microsoft/onnxruntime/pull/19258)) - gyagp, ([#19201](https://github.com/microsoft/onnxruntime/pull/19201), [#19554](https://github.com/microsoft/onnxruntime/pull/19554)) - hujiajie, ([#19262](https://github.com/microsoft/onnxruntime/pull/19262), [#19981](https://github.com/microsoft/onnxruntime/pull/19981)) - guschmue, ([#19581](https://github.com/microsoft/onnxruntime/pull/19581), [#19596](https://github.com/microsoft/onnxruntime/pull/19596), [#19387](https://github.com/microsoft/onnxruntime/pull/19387)) - axinging, ([#19613](https://github.com/microsoft/onnxruntime/pull/19613)) - satyajandhyala
- Various improvements for performance and usability: ([19202](https://github.com/microsoft/onnxruntime/pull/19202)) - qjia7, ([#18900](https://github.com/microsoft/onnxruntime/pull/18900), [#19281](https://github.com/microsoft/onnxruntime/pull/19281), [#18883](https://github.com/microsoft/onnxruntime/pull/18883)) - axinging, ([#18788](https://github.com/microsoft/onnxruntime/pull/18788), [#19737](https://github.com/microsoft/onnxruntime/pull/19737)) - satyajandhyala, ([#19610](https://github.com/microsoft/onnxruntime/pull/19610)) - segevfiner, ([#19614](https://github.com/microsoft/onnxruntime/pull/19614), [#19702](https://github.com/microsoft/onnxruntime/pull/19702), [#19677](https://github.com/microsoft/onnxruntime/pull/19677), [#19857](https://github.com/microsoft/onnxruntime/pull/19857), [#19940](https://github.com/microsoft/onnxruntime/pull/19940)) - fs-eire, ([#19791](https://github.com/microsoft/onnxruntime/pull/19791)) - gyagp, ([#19868](https://github.com/microsoft/onnxruntime/pull/19868)) - guschmue, ([#19433](https://github.com/microsoft/onnxruntime/pull/19433)) - martholomew, ([#19932](https://github.com/microsoft/onnxruntime/pull/19932)) - ibelem

**Windows:**
- Fix Windows memory mapping bug affecting some larger models ([19623](https://github.com/microsoft/onnxruntime/pull/19623)) - yufenglee

**Kernel Optimizations:**
- Fix GQA and Rotary Embedding bugs affecting some models ([19801](https://github.com/microsoft/onnxruntime/pull/19801), [#19874](https://github.com/microsoft/onnxruntime/pull/19874)) - aciddelgado
- Update replacement of MultiHeadAttention (MHA) and GroupQueryAttention (GQA) ([19882](https://github.com/microsoft/onnxruntime/pull/19882)) - kunal-vaishnavi
- Add support for packed QKV input and Rotary Embedding with sm<80 using Memory Efficient Attention kernel ([20012](https://github.com/microsoft/onnxruntime/pull/20012)) - aciddelgado

**Models:**
- Add support for benchmarking LLaMA model end-to-end performance ([19985](https://github.com/microsoft/onnxruntime/pull/19985), [#20033](https://github.com/microsoft/onnxruntime/pull/20033), [#20149](https://github.com/microsoft/onnxruntime/pull/20149)) - kunal-vaishnavi
- Add example to demonstrate export of Open AI Whisper implementation with batched prompts ([19854](https://github.com/microsoft/onnxruntime/pull/19854)) - shubhambhokare1

This patch release also includes additional fixes by spampana95 and enximi. **Big thank you to all our contributors!**

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.