ONNX Runtime v1.7.0 adds audio operators, QDQ quantization, Model Building API, CUDA 11, and broader platform support.
$ git clone --branch v1.7.0 https://github.com/microsoft/onnxruntime.git # already have the repo? check out this version: $ git checkout v1.7.0
- ›Experimental audio operators — Fourier Transforms (
DFT,IDFT,STFT), Windowing Functions (Hann, Hamming, Blackman), andMelWeightMatrix— added under thecom.microsoft.experimentaldomain, buildable with thems_experimentalbuild flag. - ›Experimental Model Building API available under the
Microsoft.AI.MachineLearning.Experimentalnamespace (included in theMicrosoft.AI.MachineLearningNuGet package) for creating dynamic models on the fly with hardware-accelerated tensor featurization. - ›WinML
ImageFeatureDescriptorruntimeclass gains a newImageNominalPixelRangeproperty exposing native support for pixel ranges[0..1]and[-1..1]in image models, alongside existingBitmapPixelFormatandBitmapAlphaModeproperties. - ›Quantization tool now supports QDQ (
QuantizeLinear-DequantizeLinear) format models. - ›Python transformer optimizer tool now supports fusion for BART models.
+12 moreshow less
- ›New CPU profiling tool (
profiler.py) added for transformer models. - ›Python 3.8 and 3.9 support added across all platforms.
- ›ARM32/64 Windows builds now included in the CPU NuGet and zip packages.
- ›WinML gains .NET 5 support via .NET Standard 2.0 projections.
- ›Custom operators now supported in the ONNX Runtime Mobile build.
- ›Custom op support extended to dynamic input.
- ›CUDA EP official GPU build now targets CUDA 11.
- ›OpenVINO EP updated to support OpenVINO 2021.2 and adds OpenVINO EP options in the
onnxruntime_perf_testtool. - ›TensorRT EP updated to support TensorRT 7.2.
- ›DirectML EP updated to support DirectML 1.4.2 and adds PIX markers for operator-level profiling.
- ›NNAPI EP adds support for per-channel quantization for
QlinearConvand new operators Min, Max, and Pow. - ›Mobile build gains ability to reduce operator kernel types to only those required by target models, yielding a 25–33% binary size reduction in tested models (MobileNet v2, SSD MobileNet, MobileBERT).
- !All ONNX Runtime CPU packages are now built without OpenMP by default; users requiring OpenMP must switch to the
Microsoft.ML.OnnxRuntime.OpenMPNuGet package or theonnxruntime-openmpPyPI package. - !Python 3.5 support has been removed from all platforms.
- !MKLML, openblas, and jemalloc build configurations have been removed.
- !Dependency on gemmlowp has been removed.
- !OpenVINO 2020.2 support has been deprecated in the OpenVINO EP.