unstale

pypi / onnxruntime

onnxruntime

What changed in onnxruntime 1, from its official release notes, upgrade guides and advisories. Also covers onnxruntime-gpu. Sources checked 2026-11-17.

25 breaking35 security7 deprecations158 new APIs and options30 performance47 behavior and defaults1 tooling100 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

onnxruntime 1403 changes

Breaking changes 25

  • The corresponding experimental lookup entries were removed as EPContext callback registration moved to stable APIs.

    1.31.0release notes

  • Out-of-range indices now produce zero output slices on CPU, CUDA, and WebGPU for integer and floating-point quantized formats, differing deliberately from ONNX Gather error semantics.

    1.31.0release notes

  • CPU FP16 Gemm and MatMul execution is gated on hardware acceleration; CPU-assigned FP16 nodes without a matching kernel now fall back to FP32.

    1.30.0release notes

  • CUDA fpA-intB builds now default to a compact kernel set for FP16 activations, INT4/INT8 weights, scale-only quantization, and block_size=32.

    1.30.0release notes

  • ImageScaler now requires bias to match the channel count.

    1.30.0release notes

  • Validation rejects unregistered or mismatched data before graph transformation.

    1.28.1, 1.29.1release notesrelease notes

  • Negative CPU Split axes now produce an error instead of being accepted.

    1.29.0release notes

  • WebGPU now enables Cast to int64 by default and uses naive reduction.

    1.28.0release notes

  • CUDA_QUANT_PREPROCESS is now off by default.

    1.28.0release notes

  • Validates CSR indices and key lengths, and rejects zero-dimension block_row_indices.

    1.28.0release notes

  • The TensorRT fused causal attention kernels were removed from the CUDA EP.

    1.28.0release notes

  • MaxPoolGrad now validates indices bounds.

    1.26.0release notes

  • The WebNN pool2d property is renamed from roundingType to outputShapeRounding.

    1.26.0release notes

  • Python configuration no longer uses unrestricted setattr and instead uses an allowlist.

    1.26.0release notes

  • WebGPU and JavaScript RotaryEmbedding now validate position ID bounds.

    1.26.0release notes

  • ArmNN EP has been removed; users should remove --use_armnn build flags and migrate to the CPU EP or QNN EP as appropriate.

    1.25.0release notes

  • Building ONNX Runtime from source now requires C++20; prebuilt package users are unaffected.

    1.25.0release notes

  • The minimum CUDA version is now 12.0; CUDA 11.x is no longer supported.

    1.25.0release notes

  • The package requirement changed from Python >=3.10 to >=3.11, reflecting dropped Python 3.10 support.

    1.24.4release notes

  • Eigen ThreadPool becomes the default thread pool implementation.

    1.0.0release notes

  • The minimal supported gcc version is 4.8.2.

    1.0.0release notes

  • MLAS uses the thread-pool thread count plus one as its parallelism level; the notes give an example for configuring one thread per CPU.

    1.0.0release notes

  • The maximum optimization level is now 99, and 3 is invalid; the notes recommend running the tool with -o 99 in most cases.

    1.0.0release notes

  • Removes this CMake option because it is always ON.

    1.0.0release notes

  • TensorRT EP is updated to the TensorRT 6.0 libraries.

    1.0.0release notes

Security 35

  • Canonicalized external-data locations to harden model loading.

    1.30.0release notes

  • Added an allowlist of safe LoRA adapter parameter data types.

    1.30.0release notes

  • Limited nested model-graph depth to harden model loading.

    1.30.0release notes

  • Fusion now skips malformed Mul and Pow patterns.

    1.28.1, 1.29.1release notesrelease notes

  • DXGI device discovery is skipped in Windows processes under Win32k lockdown to prevent an access violation.

    1.28.1release notes

  • Col2Im inputs are validated to prevent heap over-read.

    1.28.0release notes

  • Hardened handling of malformed crop_size tensors.

    1.28.0release notes

  • Fixed type confusion that could cause an out-of-bounds write.

    1.28.0release notes

  • Scale handling no longer performs an out-of-bounds read.

    1.27.0release notes

  • SafeInt overflow protection and constant-folding output-size caps address overflow and oversized outputs.

    1.27.0release notes

  • Sparse tensor external file paths are validated, with additional external-path hardening.

    1.27.0release notes

  • Input validation and output-size computation were hardened.

    1.27.0release notes

  • Double-free during ownership transfer was prevented.

    1.27.0release notes

  • Additional overflow and bounds checks were added.

    1.27.0release notes

  • Label bounds validation prevents an out-of-bounds read.

    1.27.0release notes

  • The kernel now bounds total output allocation size.

    1.27.0release notes

  • Remaining calls now use weights_only=True.

    1.27.0release notes

  • A session use-after-free when using UserLoggingFunction was fixed.

    1.27.0release notes

  • Convolution bias shape validation prevents out-of-bounds reads.

    1.27.0release notes

  • An out-of-bounds write in attention mask indexing is fixed.

    1.26.0release notes

  • Float-to-int64 coordinate casts are hardened for NaN, Inf, and out-of-range values.

    1.26.0release notes

  • RNN sequence_lens handling is hardened against out-of-bounds reads and integer overflow.

    1.26.0release notes

  • Additional input validation hardening covers Tile, cross entropy, TreeEnsembleClassifier, AffineGrid, embedding and rotary position IDs, RoiAlign, MaxUnpool, QMoECPU, SVMClassifier, and Col2Im.

    1.25.0release notes

  • Fixed potential integer truncation that could lead to heap out-of-bounds reads or writes.

    1.25.0release notes

  • TensorProto data size is validated before allocation.

    1.25.0release notes

  • Addressed a vulnerability in Pad Reflect.

    1.25.0release notes

  • Shell command handling for constant strings was hardened.

    1.25.0release notes

  • A security fix was made to the transpose optimizer.

    1.25.0release notes

  • Fixed a null pointer dereference when iterating output spans.

    1.24.4release notes

  • Fixed integer truncation that could cause a heap out-of-bounds read or write.

    1.24.3release notes

  • Prevents heap out-of-bounds access from maliciously crafted adapters.

    1.24.3release notes

  • Fixed an out-of-bounds access in the Resize operation.

    1.24.3release notes

  • Fixed a heap out-of-bounds read caused by unchecked batch_indices.

    1.24.3release notes

  • Fixed a double-free in custom op domain Release functions.

    1.24.3release notes

  • Fixed an out-of-bounds read vulnerability.

    1.24.2release notes

Deprecations 7

  • ACL EP is deprecated and will be removed in a future release; source builds using --use_acl now receive a deprecation warning.

    1.31.0release notes

  • Source builds using this option now receive a deprecation warning.

    1.31.0release notes

  • onnxruntime-web has deprecated JSEP; the native WebGPU EP is the recommended path going forward.

    1.29.0release notes

  • onnxruntime-web has deprecated WebGL; the native WebGPU EP is the recommended path going forward.

    1.29.0release notes

  • SkipLayerNorm strict mode is deprecated.

    1.28.0release notes

  • CUDA 12 packages are deprecated; developers should move to CUDA 13. CUDA 12 package files are now explicitly named.

    1.27.0release notes

  • Support for CUDA 12 is announced for removal in the next release, which may affect CUDA deployment plans.

    1.26.0release notes

New APIs and options 158

  • Added as a weightless hyper-connection operator with CPU, CUDA, and WebGPU implementations.

    1.31.0release notes

  • Compilation can write external initializers and EP context data to buffers, enabling in-memory workflows for models larger than 2 GB.

    1.31.0release notes

  • CoreML is exposed through OrtEpFactory, device enumeration, SessionOptionsAppendExecutionProvider_V2, and EP selection policies; NPU and GPU selection have stated OS minimums.

    1.31.0release notes

  • Extended for Qwen4-Exp.

    1.31.0release notes

  • Added in Node.js/React Native, Objective-C/Swift, and Rust; JavaScript support is read-only and unsupported on Web/WASM.

    1.31.0release notes

  • Added callback support in C#, Python, and Java.

    1.31.0release notes

  • The activation attribute supports SiLU, its Swish alias, and Sigmoid gating across CPU, CUDA, and WebGPU; SiLU remains the default.

    1.31.0release notes

  • WebNN EP added support for GroupNorm.

    1.31.0release notes

  • WebNN EP added support for GroupNormalization.

    1.31.0release notes

  • Added to the standard, non-proxy ONNX Runtime Web run path.

    1.31.0release notes

  • Opt-in CPU MatMulNBits FP32 throughput mode for eligible x86/x64 nodes; it is session-wide, disabled by default, and trades single-request latency for batched throughput.

    1.31.0release notes

  • Disables telemetry.

    1.31.0release notes

  • This opt-in source-build option skips platform accelerator probing and reports only the CPU device.

    1.31.0release notes

  • Set to ON to select Windows TraceLogging telemetry.

    1.31.0release notes

  • Added as an override for the accelerated block-wise INT4/INT8 QMoE CPU expert path.

    1.31.0release notes

  • Plugin execution providers can be statically linked; a static WebGPU plugin build configuration was added.

    1.31.0release notes

  • CoreML can participate in device-based EP selection, including Apple Neural Engine selection through PREFER_NPU.

    1.31.0release notes

  • Added an accuracy_level attribute; INT4 uses FP32 activations by default, while accuracy_level=4 opts into INT8 activation computation.

    1.31.0release notes

  • Set to 1 to fail initialization on workspace declaration overruns or nonzero orphaned reservations; strict verification is unsupported for ORT-format model loads.

    1.31.0release notes

  • WebNN EP added support for SkipGroupNorm.

    1.31.0release notes

  • Added for packed DeepSeek Engram batching with request-local history.

    1.31.0release notes

  • Added the DeepSeek Engram contrib operator.

    1.30.0release notes

  • Added a compact operator and BFloat16 support for CUDA GatedDeltaNet.

    1.30.0release notes

  • Added Go bindings for the ONNX Runtime C API.

    1.30.0release notes

  • Extended memory importing with host-pointer support.

    1.30.0release notes

  • Added access to preallocated outputs through this API.

    1.30.0release notes

  • Source builds can disable FP4 QMoE kernels with -Donnxruntime_USE_FP4_QMOE=OFF.

    1.30.0release notes

  • Set this source-build option to retain the full CUDA fpA-intB kernel set instead of the compact default set.

    1.30.0release notes

  • Setting this environment variable to 1 opts into an FP8 DeepGEMM MoE decode path for supported fixed-shape QMoE workloads on Hopper GPUs; the path is disabled on Windows.

    1.30.0release notes

  • Extended paged XQA with speculative decoding, additional head-group and head-size support, FP16 caches for head size 256, and native block tables for 128-token pages.

    1.30.0release notes

  • Added INT4 paged KV caches with per-channel scales.

    1.30.0release notes

  • Added SkipLayerNormalization support to the WebNN execution provider.

    1.30.0release notes

  • Added an opt-in split-K GEMV path for small-N FP16 MatMul shapes.

    1.30.0release notes

  • Validated node references and bounded subtree comparison.

    1.30.0release notes

  • Added the operator for continuous batching and compact variable-length causal-convolution state updates.

    1.30.0release notes

  • Exposed safe graph-capture I/O in Python.

    1.30.0release notes

  • Added CPU support for attention_bias with a sliding-window KV cache, including explicit position IDs and post-eviction bias indexing.

    1.29.1release notes

  • Added a session option and Execution Provider metadata contract for using the BNHS Value KV-cache layout, with graph transformations that preserve compatibility with the existing BNSH operator schema.

    1.29.1release notes

  • Added a backward-compatible causal attribute for bidirectional GroupQueryAttention support on CPU and CUDA, with explicit handling for unsupported execution paths.

    1.29.1release notes

  • The GroupQueryAttention unfused path now supports attention_bias.

    1.29.0release notes

  • TensorRT added a build option for fused-attention cubins.

    1.29.0release notes

  • WebGPU now supports DFT.

    1.29.0release notes

  • Added the GatedAdd contrib operator.

    1.29.0release notes

  • Added the GatedRMSNorm contrib operator.

    1.29.0release notes

  • WebGPU now supports HardSwish.

    1.29.0release notes

  • Added the LinearAttentionGate contrib operator.

    1.29.0release notes

  • WebNN added LpNormalization support.

    1.29.0release notes

  • Added the CUDA quantized FP4-weight MatMul operator.

    1.29.0release notes

  • Added the CUDA quantized FP8-weight MatMul operator.

    1.29.0release notes

  • WebGPU now supports MatMulBnb4.

    1.29.0release notes

  • Added a fused contrib operator for Qwen mRoPE variants.

    1.29.0release notes

  • The performance test tool supports multi-shape profiling through --data_shape.

    1.29.0release notes

  • Set this environment variable to 1 before initialization to disable non-Windows telemetry for the process.

    1.29.0release notes

  • Sets the default inter-op thread-pool size. Explicit thread settings take precedence, and 0 preserves machine-sized defaults.

    1.29.0release notes

  • Sets the default intra-op thread-pool size. Explicit thread settings take precedence, and 0 preserves machine-sized defaults.

    1.29.0release notes

  • Added CUDA PagedAttention with quantized KV cache, XQA decode, MLA, QK-Norm, and head-sink support.

    1.29.0release notes

  • Rotary embedding now has ONNX-domain support.

    1.29.0release notes

  • LinearAttention and CausalConvWithState now support state_window for MTP.

    1.29.0release notes

  • WebNN added support for uint8-packed 4-bit GatherBlockQuantized.

    1.29.0release notes

  • WebGPU supports device-free compile-only sessions for offline graph transformation.

    1.29.0release notes

  • Added the initial WebGPU PagedAttention implementation.

    1.29.0release notes

  • Compile-only sessions can transform graphs and serialize optimized models without access to GPU hardware.

    1.28.1release notes

  • Added ARM64 CPU kernels for 2-bit weights.

    1.28.0release notes

  • Added a CoreML EP builder for And.

    1.28.0release notes

  • Added CudaQuantizer to onnxruntime.quantization.

    1.28.0release notes

  • WebGPU supports INT64 for Equal, Sub, Where, and ReduceSum under this flag.

    1.28.0release notes

  • Enabled fpA_intB GEMM in CUDA builds with configurable options, prepacked weights, native SM90, block_size=32, and fused bias.

    1.28.0release notes

  • Added 2-bit quantization support to GatherBlockQuantized.

    1.28.0release notes

  • Added a Python API for allocating HOST_ACCESSIBLE OrtValue instances.

    1.28.0release notes

  • Added a Python API for allocating OrtValue objects with HOST_ACCESSIBLE allocation.

    1.28.0release notes

  • Added KV cache quantization for ORT WebGPU.

    1.28.0release notes

  • WebNN EP now supports 8-bit MatMulNBits.

    1.28.0release notes

  • The WebGPU setting is now configurable.

    1.28.0release notes

  • Added the ORT_DEVICE_RESET error code.

    1.28.0release notes

  • Added RVV INT8 GEMM/GEMV, M=1 routing, and activation kernels.

    1.28.0release notes

  • JavaScript now forwards WebGPU EP buffer cache mode options.

    1.28.0release notes

  • Added a CoreML EP builder for Where.

    1.28.0release notes

  • A new quantization option, ActivationRestrictedAsymmetric, is available.

    1.27.0release notes

  • CUDA EP adds support for ConvTranspose-22.

    1.27.0release notes

  • CoreML EP adds support for pre-opset-13 Split through its split attribute path and scalar Gather indices.

    1.27.0release notes

  • CoreML EP adds support for FusedConv, Identity, Ceil, Tile, Cast(bool), Sin, Cos, and GatherND.

    1.27.0release notes

  • CUDA Plugin EP provider options now support streams and external allocators.

    1.27.0release notes

  • WebGPU FlashAttention supports QKV bias for MultiHeadAttention.

    1.27.0release notes

  • ONNX Runtime adds FLOAT8E8M0 datatype support, including CPU Cast support.

    1.27.0release notes

  • GQA supports optional present_key and present_value outputs, including Gemma4 support.

    1.27.0release notes

  • CUDA EP now supports LpNormalization.

    1.27.0release notes

  • The CPU LUT GEMM path for MatMulNBits now supports optional bias.

    1.27.0release notes

  • ONNX overloaded functions from IR v10 and later are supported.

    1.27.0release notes

  • WebGPU adds opset-24 and KV-shared decoder support for Gemma 4.

    1.27.0release notes

  • Plugin execution providers can implement the session-initialization-end callback.

    1.27.0release notes

  • Getters for plugin execution provider session options were added.

    1.27.0release notes

  • QDQ quantization supports the opset-21 block_size attribute.

    1.27.0release notes

  • Static quantization now supports a calibration cache.

    1.27.0release notes

  • RISC-V adds RVV-optimized NCHWc convolution, pooling, and LLM operators.

    1.27.0release notes

  • WebGPU adds an environment variable for dumping shaders to files.

    1.27.0release notes

  • LSTM is now supported on WebGPU.

    1.27.0release notes

  • The CUDA plugin Execution Provider gains graph capture and replay support.

    1.26.0release notes

  • The CUDA plugin Execution Provider adds a profiling API.

    1.26.0release notes

  • WebGPU now supports GridSample.

    1.26.0release notes

  • Optional memory mapping is now available when loading .ort models.

    1.26.0release notes

  • CUDA adds support for opset 25.

    1.26.0release notes

  • The CPU Execution Provider now supports RISC-V Vector.

    1.26.0release notes

  • Adds the CausalConvState operator for Qwen3.5 model support.

    1.25.1release notes

  • Adds support for the Linear Attention signature.

    1.25.1release notes

  • Adds the LinearAttention operator for Qwen3.5 model support.

    1.25.1release notes

  • Adds Qwen3.5 model support on the WebGPU execution provider.

    1.25.1release notes

  • Adds support for Reshape opset 25.

    1.25.1release notes

  • Adds the RMSNorm operator.

    1.25.1release notes

  • Adds the RotaryEmbedding operator.

    1.25.1release notes

  • Adds support for Transpose opset 24.

    1.25.1release notes

  • Annotation-based graph partitioning is available with resource accounting.

    1.25.0release notes

  • CUDA adds Attention opset 23 support with GQA, boolean masks, softcap, and softmax precision.

    1.25.0release notes

  • WebGPU EP adds Conv3D support.

    1.25.0release notes

  • The first core CUDA Plugin EP implementation enables third-party CUDA-backed execution providers to be delivered as dynamically loaded plugins without rebuilding ORT.

    1.25.0release notes

  • TensorRT RTX EP adds D3D12 external resource import support.

    1.25.0release notes

  • DeformConv is supported on CPU and CUDA.

    1.25.0release notes

  • WebNN EP adds DepthToSpace support.

    1.25.0release notes

  • A session config can create weightless EPContext models during compilation.

    1.25.0release notes

  • Python and C# bindings are added for GetCompatibilityInfoFromModel and GetCompatibilityInfoFromModelBytes.

    1.25.0release notes

  • CUDA adds GQA with XQA and quantized KV cache support, including FP8 (E4M3) KV cache.

    1.25.0release notes

  • CUDA adds volumetric (3-D) GridSample support.

    1.25.0release notes

  • WebGPU EP adds Identity support.

    1.25.0release notes

  • C and C++ gain KernelInfo APIs for string-array attributes.

    1.25.0release notes

  • MLAS adds a backend kernel selector configuration so users can opt out of KleidiAI kernels on ARM platforms.

    1.25.0release notes

  • The EP API adapter adds LoggingManager::HasDefaultLogger.

    1.25.0release notes

  • WebGPU EP adds LpNorm support.

    1.25.0release notes

  • LpNormalization-22 support is added.

    1.25.0release notes

  • Preview infrastructure can select compiled EPContext model variants from a package based on execution provider, device, and hardware constraints; the directory structure is not finalized.

    1.25.0release notes

  • The EP API adapter adds OpKernelInfo::GetConfigOptions.

    1.25.0release notes

  • Python exposes the OrtDeviceVendorId enum for vendor-aware OrtDevice aliases.

    1.25.0release notes

  • The Compile API now supports OrtModel inputs.

    1.25.0release notes

  • A per-session thread pool work callbacks API is available.

    1.25.0release notes

  • Plugin execution providers gain event profiling APIs.

    1.25.0release notes

  • Plugin execution providers can retrieve ONNX operator schemas through new APIs.

    1.25.0release notes

  • Plugin execution providers gain a sync API for synchronous execution.

    1.25.0release notes

  • The CUDA QMoE operator accepts an optional router_weights input.

    1.25.0release notes

  • The model optimizer adds Qwen3 model type support and RotaryEmbedding fusion for Qwen3 RoPE patterns.

    1.25.0release notes

  • RunOptions gains enable_profiling.

    1.25.0release notes

  • WebGPU EP adds Softplus support.

    1.25.0release notes

  • TensorScatter-24 is supported on CPU and CUDA.

    1.25.0release notes

  • WebGPU EP adds TopK support.

    1.25.0release notes

  • Added library_path metadata to OrtEpDevice instances for plugin and provider bridge EPs.

    1.24.3release notes

  • Added an API to prevent fatal errors on resolver conflict.

    1.24.3release notes

  • Allows a new memory info name for WebGPU.

    1.24.3release notes

  • Preview execution provider targets ARM CPUs and GPUs to optimize execution of ONNX operators using low-level libraries.

    1.0.0release notes

  • Python API gains the capability to register execution providers.

    1.0.0release notes

  • Allows overriding free dimensions on model inputs at runtime, enabling customizable shapes and optimizations when dimensions are known.

    1.0.0release notes

  • Allows configuring the number of threads used by intra- and inter-operator parallelism for sequential or concurrent inferencing.

    1.0.0release notes

  • Multiple threading can be disabled by setting the thread pool size to 1 and onnxruntime_USE_OPENMP to OFF.

    1.0.0release notes

  • The update adds operators for quantization and performance improvements for LSTM ops without peephole and the Pad op.

    1.0.0release notes

  • Adds CPU operator support for all opset 11 operators, including Sequence operators.

    1.0.0release notes

  • Adds the -y option to control inter_op_num_threads.

    1.0.0release notes

  • Adds the onnxruntime_USE_AUTOML CMake option.

    1.0.0release notes

  • Adds the onnxruntime_USE_DML CMake option.

    1.0.0release notes

  • Adds the onnxruntime_USE_GEMMLOWP CMake option.

    1.0.0release notes

  • Adds selective quantization for some nodes, Conv bias quantization, and node fusion for dynamic quantization.

    1.0.0release notes

  • C# API gains the ability to set additional run options.

    1.0.0release notes

  • Adds a session option for serializing optimized ONNX models.

    1.0.0release notes

Performance 30

  • Eligible CPU weight prepacking during session initialization is parallelized using the intra-op thread pool; cross-session shared caching retains its serialized path.

    1.31.0release notes

  • Added an opt-in CPU FP32 throughput path for eligible x86/x64 FP32-input, 4-bit, block-size-32, accuracy-level-4 nodes.

    1.31.0release notes

  • Added AVX2 LayerNorm/RMSNorm kernels.

    1.30.0release notes

  • Added fused CPU LinearAttention kernels for AVX-512, Arm64 NEON, and SVE.

    1.30.0release notes

  • Improved PagedAttention and added metadata, GPT-OSS support, and INT8 KV-cache block quantization.

    1.30.0release notes

  • Uses plugin Execution Provider device allocators for generated inputs, loaded test data, and pre-allocated outputs, avoiding unnecessary per-run host/device copies.

    1.29.1release notes

  • Added AVX512 and VNNI CPU kernels for 2-bit weights.

    1.28.0release notes

  • Added flash attention for non-quantized CPU GroupQueryAttention and a FP32 GEMV decode kernel.

    1.28.0release notes

  • Added decode-optimized LinearAttention (GatedDeltaNet) kernels.

    1.28.0release notes

  • Added a batched small-M GEMV path for 4-bit and 8-bit MatMulNBits.

    1.28.0release notes

  • CPU MatMulNBits now enables pre-packed weight sharing.

    1.28.0release notes

  • Added a fast path for batch-1 decode on the NVIDIA CUDA execution provider.

    1.27.1release notes

  • CPU GroupQueryAttention adds quantized KV-cache support with SIMD optimizations and tiled compute.

    1.27.0release notes

  • CPU QMoE adds 2-bit support and a LUT GEMM fast path.

    1.27.0release notes

  • CPU ScatterElements is parallelized; the MatMulNBits 2-bit float-zero-point path is also optimized.

    1.27.0release notes

  • CUDA EP uses chunked dequantization and GEMM to reduce peak GPU memory.

    1.27.0release notes

  • MLAS adds an NHWC convolution path to reduce transpose overhead.

    1.27.0release notes

  • WebGPU adds QKV and MLP layer fusions for Qwen3-style models.

    1.27.0release notes

  • Plugin execution providers can use zero-copy I/O with HOST_ACCESSIBLE memory.

    1.27.0release notes

  • Fuses operations to reduce GPU dispatches and improve performance for the QMoE 1-token decode path.

    1.25.1release notes

  • Fusion now covers additional quantized CPU inference patterns, including 2-bit and 8-bit weights, FP16 CPU models, quantized Gemm, and HQNBIT weights routed through the FP32 MLAS path.

    1.25.0release notes

  • WebGPU EP optimizes Gemm and MatMul using subgroup features.

    1.25.0release notes

  • Nemotron speech conformer encoder MHA fusion is added.

    1.25.0release notes

  • Java avoids provider resource extraction when the library already exists at onnxruntime.native.path.

    1.25.0release notes

  • A SpaceToDepth fusion pattern is supported.

    1.25.0release notes

  • Fixed the CPU operator and improved CPU performance, with up to 4x on 4-bit.

    1.24.3release notes

  • Fixed O(n²) model load time for categorical feature chains.

    1.24.3release notes

  • Enabled 64-bit UDMA mode for HTP target v81 or above.

    1.24.2release notes

  • Reduced resident memory by reusing weight files across shared contexts.

    1.24.2release notes

  • The EP update is reported to improve ONNX Model Zoo model latency by an average of 5–10%, up to 50%.

    1.0.0release notes

Behavior and default changes 47

  • Supported native builds now default to 1DS telemetry; Windows TraceLogging remains selectable and telemetry can be disabled.

    1.31.0release notes

  • Named read/write callbacks for application-managed storage are stable; EP support negotiation prevents registered callbacks from silently falling back to filesystem I/O.

    1.31.0release notes

  • Extended to FP8/FP4 data, full-axis blocks, and scale broadcasting; CPU UINT8 dequantization also improved.

    1.31.0release notes

  • Extended for Qwen4-Exp; packed hashing also supports head offsets, EOS resets, and segment boundaries.

    1.31.0release notes

  • Model-package consumers should use this stable API lookup and the stable OrtModelPackageApi table instead of experimental lookup entries.

    1.31.0release notes

  • The model-package C and C++ APIs are stable for loading packages, selecting compatible model variants, and creating sessions.

    1.31.0release notes

  • WebNN supports NHWC Resize by inferring resample2d axes.

    1.31.0release notes

  • Registered BFloat16 LayerNorm/RMSNorm kernels on the CPU execution provider.

    1.30.0release notes

  • FP4 QMoE kernels are enabled by default in CUDA builds; source builds can opt out with the CMake option.

    1.30.0release notes

  • Added INT64 Gather support in the WebGPU execution provider.

    1.30.0release notes

  • WebGPU now supports forwarding onnxruntime_perf_test -i options.

    1.30.0release notes

  • Extended convolution fusion with eight additional activations, fused activation handling in the im2col path, and uniform-based activation parameters for Conv/MatMul.

    1.30.0release notes

  • The CUDA collective operator now supports bfloat16.

    1.29.0release notes

  • CPU Cos now supports double.

    1.29.0release notes

  • CPU Trilu now supports int32.

    1.29.0release notes

  • XNNPACK now reads dynamic Gemm M from the input tensor at compute time.

    1.29.0release notes

  • EpContext nodes with zero inputs are now allowed.

    1.29.0release notes

  • Blob-backed external data is now loaded on demand in JSPI builds.

    1.29.0release notes

  • Weightless-model support now covers all initializer types.

    1.29.0release notes

  • EPContext nodes can have zero inputs, aligning their schema with support for compiling zero-input models.

    1.28.1release notes

  • cuDNN and cuFFT are optional at runtime for the CUDA EP, reducing the required CUDA redistributable footprint.

    1.28.0release notes

  • CPU support was added for int8 inputs.

    1.28.0release notes

  • The QNN transpose optimizer now has a Gather handler, enabling this operator to participate in transpose optimization.

    1.28.0release notes

  • Profiling output now includes memory statistics.

    1.28.0release notes

  • The path now supports depthwise convolutions, and NHWC convolution support gating was fixed.

    1.28.0release notes

  • WebGPU's default non-debug validation mode is now disabled.

    1.28.0release notes

  • Moved OrtModelPackageApi into the experimental C API surface; it may change in future releases.

    1.28.0release notes

  • CPU support was added for int8 and uint8 inputs.

    1.28.0release notes

  • The TensorArray custom op now supports Float16, BFloat16, and Float8.

    1.28.0release notes

  • XQA is enabled by default for FP16/BF16 GroupQueryAttention; decode also supports attention sink, sliding window, and QK-Norm.

    1.28.0release notes

  • ORT Training now has a CPU fallback for the FusedAdam optimizer.

    1.27.0release notes

  • sympy is now an optional runtime dependency for Python.

    1.27.0release notes

  • CUDA now supports LabelEncoder for numeric types.

    1.26.0release notes

  • WebGPU Split-K support now includes batch sizes greater than one.

    1.26.0release notes

  • CUDA TopK now supports INT8, INT16, and UINT8.

    1.26.0release notes

  • CUDA support is extended from opset 23 to opset 25.

    1.26.0release notes

  • CUDA graph capture is now compatible with LLM ops and pre-compiled paths.

    1.25.0release notes

  • WebNN EP broadens GQA support and improves MultiHeadAttention.

    1.25.0release notes

  • MobileClip attention fusion now supports both attention block patterns.

    1.25.0release notes

  • Attention fusion adds pre-layer normalization support.

    1.25.0release notes

  • Python builds no longer require sympy as a mandatory dependency.

    1.25.0release notes

  • WebGPU adds int64 and bool support for Range, Expand, Flatten, Gather, and Unsqueeze.

    1.25.0release notes

  • Offline x64 compilation with memhandle IO type is enabled by deferring rpcmem library loading until inference time.

    1.24.4release notes

  • Added support for architecture family codes with the suffix 'f' introduced in CUDA 12.9.

    1.24.2release notes

  • Most of the code is now C++11 compliant, whereas C++14 was previously required.

    1.0.0release notes

  • The 1.0 C API is stable and will maintain backwards compatibility; API versioning supports future updates.

    1.0.0release notes

  • C APIs are ABI compatible and follow Semantic Versioning, allowing linked programs to keep working with subsequent releases without client-code updates or relinking.

    1.0.0release notes

Tooling 1

  • The onnxruntime package now includes a PEP 561 marker for type information.

    1.27.0release notes

Fixes and other changes 100

  • Remains selectable for Windows TraceLogging telemetry.

    1.31.0release notes

  • Misuse now reports errors instead of terminating the process.

    1.30.0release notes

  • Rejected non-finite CPU RoiAlign coordinates.

    1.30.0release notes

  • Enabled WebGPU LayerNorm fusion to fix FP16 inference correctness.

    1.30.0release notes

  • Python asynchronous-run resources are retained and C# arguments are pinned until completion.

    1.30.0release notes

  • Made Rust string-tensor output extraction safe.

    1.30.0release notes

  • Validated Rust tensor element types.

    1.30.0release notes

  • Plugin EP packaging now supports Linux AArch64.

    1.30.0release notes

  • Fixed model serialization when output-model and custom initializer-location callbacks are used together, preventing duplicate graph fields in emitted models.

    1.29.1release notes

  • Avoids out-of-bounds reads in ConvTransposeWithDynamicPads.

    1.28.3release notes

  • Shape inference no longer performs an out-of-bounds read when beta is a scalar.

    1.28.3release notes

  • Shape inference was hardened for this applicable contrib operator.

    1.28.3release notes

  • Avoids an out-of-bounds read when a Loop body input is also an initializer.

    1.28.3release notes

  • Reusing a packed sub-byte buffer for a full-byte tensor no longer causes a heap buffer overflow.

    1.28.3release notes

  • Single-tensor data transfers now preserve streams during plugin EP execution.

    1.28.3release notes

  • Avoids an out-of-bounds read when a Scan body input is also an initializer.

    1.28.3release notes

  • Graph validation now rejects inputs to operator schemas that declare zero inputs.

    1.28.3release notes

  • Fixed callback serialization to prevent duplicate graph nodes, inputs, outputs, and value information in emitted optimized models, including models with embedded or external initializers.

    1.28.2release notes

  • Fixed CPU causal mask alignment.

    1.28.0release notes

  • Validates vocab_size against the logits width.

    1.28.0release notes

  • Checks output size against the input initializer before constant folding.

    1.28.0release notes

  • Conv and ConvTranspose rank is now recovered from weights when the input shape is unknown.

    1.28.0release notes

  • Fixed NaN output for right-padded batched prompts with rotary embeddings.

    1.28.0release notes

  • Fixed DropQDQ not removing Q/DQ around opset-22 MaxPool.

    1.28.0release notes

  • Validates kernel rank against input spatial rank.

    1.28.0release notes

  • This setting is now honored when loading models from file paths.

    1.28.0release notes

  • VitisAI now recognizes native-endian in-memory address tags.

    1.28.0release notes

  • Fusion to QGemm is rejected when alpha is not 1 with bias, and DQ scale and zero-point shapes are validated before fusion.

    1.28.0release notes

  • Fixed incorrect binary classification predictions.

    1.28.0release notes

  • Fixed incorrect QDQ Resize output for non-nearest interpolation modes when ORT_ENABLE_ALL is used.

    1.28.0release notes

  • Fixed zero outputs for zero-length sequences.

    1.28.0release notes

  • Fixed fusion when the Pow exponent is produced by a node.

    1.28.0release notes

  • CUDA EP support now covers Softplus and Softsign through opset 22.

    1.28.0release notes

  • Fixed complex input frame offsets.

    1.28.0release notes

  • Fixed a type error on DequantizeLinear nodes without a zero point.

    1.28.0release notes

  • Fixed target id validation and added input validation to LinearClassifier.

    1.28.0release notes

  • Fixed unbounded lifetime on WithOutputTensor in the Rust bindings.

    1.28.0release notes

  • Improved forward compatibility by capping the version instead of rejecting it.

    1.27.1release notes

  • Fixed a regression that caused graph-capture session initialization to reject an empty graph.

    1.27.1release notes

  • Fixed an igemm regression in the KleidiAI path.

    1.27.1release notes

  • Fixed a CPU livelock by eliminating nested intra-op parallelism.

    1.27.1release notes

  • Shift amounts greater than or equal to the bit width no longer cause undefined behavior.

    1.27.0release notes

  • Validation was added for CPU cache-indirection beam indices.

    1.27.0release notes

  • Int32 overflow for very large tensors was fixed in CUDA Cast and UnaryElementWise kernels.

    1.27.0release notes

  • CUDA EP fills opset gaps for LSTM, RNN, Reshape, Cast, Round/Equal, ReduceMax/ReduceMin, Sin/Cos, and Random operators.

    1.27.0release notes

  • Sequence bounds are validated against cos_cache.

    1.27.0release notes

  • A rank-underflow bug in trailing-dimension indexing was fixed.

    1.27.0release notes

  • Mask and input shape consistency checks were added.

    1.27.0release notes

  • A provider-library load reference-count leak was fixed.

    1.27.0release notes

  • CPU EP no longer returns NaN for infinite inputs.

    1.27.0release notes

  • CPU handling of distinct per-channel weight zero-point values was fixed.

    1.27.0release notes

  • Handling of allowzero=1 was fixed for chained zero-size tensors.

    1.27.0release notes

  • Nearest-mode rounding for negative halfway values was fixed.

    1.27.0release notes

  • Unicode-path handling and AppContainer path canonicalization issues were fixed.

    1.27.0release notes

  • CoreML adds HardSigmoid, QuickGelu, and Pad reflect support.

    1.26.0release notes

  • The CUDA Gather int32 overflow issue is fixed.

    1.26.0release notes

  • GroupQueryAttention adds seqlens_k bounds validation and a compatibility follow-up.

    1.26.0release notes

  • WebGPU MHA correctness is fixed when present outputs are not requested.

    1.26.0release notes

  • Improves filesystem error messages during Linux device discovery to make debugging easier.

    1.25.1release notes

  • Android builds add 16KB page size alignment, required for Android 15 and later.

    1.25.0release notes

  • Fixed 3D attention mask broadcasting in MHA.

    1.25.0release notes

  • Fixed incorrect pad indices in count_include_pad computation, correcting a silent correctness issue.

    1.25.0release notes

  • BART attention fusion is fixed for the SDPA pattern from transformers 4.49 and later.

    1.25.0release notes

  • Fixed concat/slice and unsqueeze elimination involving optional attributes and invalid models.

    1.25.0release notes

  • Fixed bias input validation on CPU and CUDA.

    1.25.0release notes

  • Fixed an overflow issue in CPU Attention.

    1.25.0release notes

  • Fixed integer division or modulo by zero in CPU EP Div and Mod operators.

    1.25.0release notes

  • Fixed integer overflow issues in CPU LRN.

    1.25.0release notes

  • CUDA adds opset coverage for control flow, pooling, shape operations, TopK, GRU, Pad, Resize, and RoiAlign.

    1.25.0release notes

  • Fixed arithmetic overflow in the Det operator.

    1.25.0release notes

  • Fixed Einsum bugs affecting reduction and empty-input cases.

    1.25.0release notes

  • The EPContext error message is improved when a node is not assigned to an execution provider.

    1.25.0release notes

  • External data path validation was cleaned up.

    1.25.0release notes

  • Float16 tensor support is fixed in Node.js and React Native.

    1.25.0release notes

  • No-past GPT-2 attention fusion is fixed for transformers 4.27 and later.

    1.25.0release notes

  • Fixed shape inference for GQA present outputs.

    1.25.0release notes

  • Fixed a crash when using a model path containing non-ASCII Unicode.

    1.25.0release notes

  • The ORT API version is updated to 25.

    1.25.0release notes

  • OrtValue.from_dlpack no longer rejects zero-size tensors as non-contiguous.

    1.25.0release notes

  • Fixed run-level profiling for subgraph operators.

    1.25.0release notes

  • Fixed misaligned address reads for tensor attributes sourced from raw data buffers.

    1.25.0release notes

  • WebGPU EP is now compatible with the EP API.

    1.25.0release notes

  • Legacy WebGPU/WebNN memory info names are accepted again for backward compatibility.

    1.25.0release notes

  • GPU discovery in containerized Linux environments can fall back to PCI devices exposed via sysfs when nvidia-drm is not loaded.

    1.24.4release notes

  • Fused nodes in different GraphViews no longer receive duplicate MetaDef IDs that can cause session creation to fail with a conflicting kernel error.

    1.24.4release notes

  • Logging verbosity changes were reverted to avoid segmentation faults on backend destruction.

    1.24.4release notes

  • Fixed the NuGet DllImportResolver.

    1.24.3release notes

  • Fixed validation of external data paths for models loaded from bytes.

    1.24.3release notes

  • Fixed division by zero when batch dimensions mismatch.

    1.24.3release notes

  • Fixed a reference-count bug that caused a shutdown segmentation fault.

    1.24.3release notes

  • Fixed prepacking scales.

    1.24.3release notes

  • Fixed fusion being incorrectly applied when gamma or beta are not 1D.

    1.24.3release notes

  • Uses the embedded WASM module in Blob URL workers when provided, and fixes its use with a blob URL for .mjs.

    1.24.3release notes

  • Fixed bias validation in the TypeScript and C++ implementations.

    1.24.2release notes

  • Enabled robust symlink support for external data in the Huggingface Hub Cache.

    1.24.2release notes

  • Fixed Java support on macOS ARM64.

    1.24.2release notes

  • Fixed flakiness and accuracy issues in Lut GEMM.

    1.24.2release notes

  • Fixed native library loading issues on Linux and macOS.

    1.24.2release notes

  • Added boundary checks to improve robustness when converting sparse tensor protos to dense tensor protos.

    1.24.2release notes

  • The Android DNNLibrary version is updated.

    1.0.0release notes