ONNX Runtime v1.0.0 adds stable C ABI, four new execution providers, free dimension override, and new build/perf options.
$ git clone --branch v1.0.0 https://github.com/microsoft/onnxruntime.git # already have the repo? check out this version: $ git checkout v1.0.0
onnxruntime_perf_tool.$ onnxruntime_perf_tool -m model.onnx -o 99 -y 4
- ›Adds free dimension override, letting callers supply statically-unknown tensor shapes (e.g. batch size) before inference to unlock ahead-of-time optimizations.
- ›Adds ability to set intra- and inter-operator thread counts independently to tune sequential vs. concurrent inferencing workloads.
- ›Adds new cmake build options
onnxruntime_USE_GEMMLOWP,onnxruntime_USE_AUTOML, andonnxruntime_USE_DMLfor controlling optional EP dependencies. - ›Adds
-yflag toonnxruntime_perf_toolfor controllinginter_op_num_threads; maximum optimization level is now99(previously3). - ›Adds new session option for serializing optimized ONNX models to disk.
+12 moreshow less
- ›Enables registration of execution providers through the Python API and setting additional run options through the C# API.
- ›Stabilizes the C API at v1.0 with ABI compatibility and Semantic Versioning guarantees — programs linked against this release will not require re-linking for future releases.
- ›Adds [Preview] NUPHAR execution provider, a TVM- and LLVM-based EP that JIT-compiles subgraph nodes into optimized functions for model acceleration.
- ›Adds [Preview] DirectML execution provider for hardware-accelerated GPU inference via DirectX 12 on Windows across a broad range of hardware and drivers.
- ›Adds [Preview] ARM Compute Library (ACL) execution provider targeting ARM CPUs and GPUs.
- ›Adds [Preview] OpenVINO support for Intel Arria 10 FPGA.
- ›Promotes OpenVINO EP to General Availability for Intel CPU, Integrated Graphics, Neural Compute Stick 2, and Movidius Myriad VPU targets.
- ›Adds quantization tool support for selective node quantization, bias quantization for Conv nodes, and node fusion for dynamic quantization.
- ›Adds ONNX 1.6 / opset 11 operator support on CPU, including Sequence ops.
- ›Adds component-level telemetry via Windows Trace Logging for Windows builds.
- ›Adds Gelu fusion optimizer for CPU/GPU inference.
- ›Switches default thread pool to Eigen ThreadPool; adds ability to disable multi-threading by setting pool size to
1andonnxruntime_USE_OPENMPtoOFF.
- !cmake options
onnxruntime_USE_MLASandonnxruntime_USE_EIGEN_THREADPOOLare removed; both are now always enabled and specifying them will break builds. - !In
onnxruntime_perf_tool, optimization level3is no longer valid; the maximum is now99. - !Minimum supported gcc version is raised to 4.8.2.