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 initonnxruntime 1403 changes
Breaking changes 25
The corresponding experimental lookup entries were removed as EPContext callback registration moved to stable APIs.
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.
CPU FP16 Gemm and MatMul execution is gated on hardware acceleration; CPU-assigned FP16 nodes without a matching kernel now fall back to FP32.
CUDA fpA-intB builds now default to a compact kernel set for FP16 activations, INT4/INT8 weights, scale-only quantization, and block_size=32.
ImageScaler now requires bias to match the channel count.
Validation rejects unregistered or mismatched data before graph transformation.
Negative CPU Split axes now produce an error instead of being accepted.
WebGPU now enables Cast to int64 by default and uses naive reduction.
CUDA_QUANT_PREPROCESS is now off by default.
Validates CSR indices and key lengths, and rejects zero-dimension block_row_indices.
The TensorRT fused causal attention kernels were removed from the CUDA EP.
MaxPoolGrad now validates indices bounds.
The WebNN pool2d property is renamed from roundingType to outputShapeRounding.
Python configuration no longer uses unrestricted setattr and instead uses an allowlist.
WebGPU and JavaScript RotaryEmbedding now validate position ID bounds.
ArmNN EP has been removed; users should remove --use_armnn build flags and migrate to the CPU EP or QNN EP as appropriate.
Building ONNX Runtime from source now requires C++20; prebuilt package users are unaffected.
The minimum CUDA version is now 12.0; CUDA 11.x is no longer supported.
The package requirement changed from Python >=3.10 to >=3.11, reflecting dropped Python 3.10 support.
Eigen ThreadPool becomes the default thread pool implementation.
The minimal supported gcc version is 4.8.2.
MLAS uses the thread-pool thread count plus one as its parallelism level; the notes give an example for configuring one thread per CPU.
The maximum optimization level is now 99, and 3 is invalid; the notes recommend running the tool with -o 99 in most cases.
Removes this CMake option because it is always ON.
TensorRT EP is updated to the TensorRT 6.0 libraries.
Security 35
Canonicalized external-data locations to harden model loading.
Added an allowlist of safe LoRA adapter parameter data types.
Limited nested model-graph depth to harden model loading.
Fusion now skips malformed Mul and Pow patterns.
DXGI device discovery is skipped in Windows processes under Win32k lockdown to prevent an access violation.
Col2Im inputs are validated to prevent heap over-read.
Hardened handling of malformed crop_size tensors.
Fixed type confusion that could cause an out-of-bounds write.
Scale handling no longer performs an out-of-bounds read.
SafeInt overflow protection and constant-folding output-size caps address overflow and oversized outputs.
Sparse tensor external file paths are validated, with additional external-path hardening.
Input validation and output-size computation were hardened.
Double-free during ownership transfer was prevented.
Additional overflow and bounds checks were added.
Label bounds validation prevents an out-of-bounds read.
The kernel now bounds total output allocation size.
Remaining calls now use
weights_only=True.A session use-after-free when using UserLoggingFunction was fixed.
Convolution bias shape validation prevents out-of-bounds reads.
An out-of-bounds write in attention mask indexing is fixed.
Float-to-int64 coordinate casts are hardened for NaN, Inf, and out-of-range values.
RNN sequence_lens handling is hardened against out-of-bounds reads and integer overflow.
Additional input validation hardening covers Tile, cross entropy, TreeEnsembleClassifier, AffineGrid, embedding and rotary position IDs, RoiAlign, MaxUnpool, QMoECPU, SVMClassifier, and Col2Im.
Fixed potential integer truncation that could lead to heap out-of-bounds reads or writes.
TensorProto data size is validated before allocation.
Addressed a vulnerability in Pad Reflect.
Shell command handling for constant strings was hardened.
A security fix was made to the transpose optimizer.
Fixed a null pointer dereference when iterating output spans.
Fixed integer truncation that could cause a heap out-of-bounds read or write.
Prevents heap out-of-bounds access from maliciously crafted adapters.
Fixed an out-of-bounds access in the Resize operation.
Fixed a heap out-of-bounds read caused by unchecked batch_indices.
Fixed a double-free in custom op domain Release functions.
Fixed an out-of-bounds read vulnerability.
Deprecations 7
ACL EP is deprecated and will be removed in a future release; source builds using --use_acl now receive a deprecation warning.
Source builds using this option now receive a deprecation warning.
onnxruntime-web has deprecated JSEP; the native WebGPU EP is the recommended path going forward.
onnxruntime-web has deprecated WebGL; the native WebGPU EP is the recommended path going forward.
SkipLayerNorm strict mode is deprecated.
CUDA 12 packages are deprecated; developers should move to CUDA 13. CUDA 12 package files are now explicitly named.
Support for CUDA 12 is announced for removal in the next release, which may affect CUDA deployment plans.
New APIs and options 158
Added as a weightless hyper-connection operator with CPU, CUDA, and WebGPU implementations.
Compilation can write external initializers and EP context data to buffers, enabling in-memory workflows for models larger than 2 GB.
CoreML is exposed through OrtEpFactory, device enumeration, SessionOptionsAppendExecutionProvider_V2, and EP selection policies; NPU and GPU selection have stated OS minimums.
Extended for Qwen4-Exp.
Added in Node.js/React Native, Objective-C/Swift, and Rust; JavaScript support is read-only and unsupported on Web/WASM.
Added callback support in C#, Python, and Java.
The activation attribute supports SiLU, its Swish alias, and Sigmoid gating across CPU, CUDA, and WebGPU; SiLU remains the default.
WebNN EP added support for GroupNorm.
WebNN EP added support for GroupNormalization.
Added to the standard, non-proxy ONNX Runtime Web run path.
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.
Disables telemetry.
This opt-in source-build option skips platform accelerator probing and reports only the CPU device.
Set to ON to select Windows TraceLogging telemetry.
Added as an override for the accelerated block-wise INT4/INT8 QMoE CPU expert path.
Plugin execution providers can be statically linked; a static WebGPU plugin build configuration was added.
CoreML can participate in device-based EP selection, including Apple Neural Engine selection through PREFER_NPU.
Added an accuracy_level attribute; INT4 uses FP32 activations by default, while accuracy_level=4 opts into INT8 activation computation.
Set to 1 to fail initialization on workspace declaration overruns or nonzero orphaned reservations; strict verification is unsupported for ORT-format model loads.
WebNN EP added support for SkipGroupNorm.
Added for packed DeepSeek Engram batching with request-local history.
Added the DeepSeek Engram contrib operator.
Added a compact operator and BFloat16 support for CUDA GatedDeltaNet.
Added Go bindings for the ONNX Runtime C API.
Extended memory importing with host-pointer support.
Added access to preallocated outputs through this API.
Source builds can disable FP4 QMoE kernels with -Donnxruntime_USE_FP4_QMOE=OFF.
Set this source-build option to retain the full CUDA fpA-intB kernel set instead of the compact default set.
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.
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.
Added INT4 paged KV caches with per-channel scales.
Added SkipLayerNormalization support to the WebNN execution provider.
Added an opt-in split-K GEMV path for small-N FP16 MatMul shapes.
Validated node references and bounded subtree comparison.
Added the operator for continuous batching and compact variable-length causal-convolution state updates.
Exposed safe graph-capture I/O in Python.
Added CPU support for attention_bias with a sliding-window KV cache, including explicit position IDs and post-eviction bias indexing.
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.
Added a backward-compatible causal attribute for bidirectional GroupQueryAttention support on CPU and CUDA, with explicit handling for unsupported execution paths.
The GroupQueryAttention unfused path now supports attention_bias.
TensorRT added a build option for fused-attention cubins.
WebGPU now supports DFT.
Added the GatedAdd contrib operator.
Added the GatedRMSNorm contrib operator.
WebGPU now supports HardSwish.
Added the LinearAttentionGate contrib operator.
WebNN added LpNormalization support.
Added the CUDA quantized FP4-weight MatMul operator.
Added the CUDA quantized FP8-weight MatMul operator.
WebGPU now supports MatMulBnb4.
Added a fused contrib operator for Qwen mRoPE variants.
The performance test tool supports multi-shape profiling through --data_shape.
Set this environment variable to 1 before initialization to disable non-Windows telemetry for the process.
Sets the default inter-op thread-pool size. Explicit thread settings take precedence, and 0 preserves machine-sized defaults.
Sets the default intra-op thread-pool size. Explicit thread settings take precedence, and 0 preserves machine-sized defaults.
Added CUDA PagedAttention with quantized KV cache, XQA decode, MLA, QK-Norm, and head-sink support.
Rotary embedding now has ONNX-domain support.
LinearAttention and CausalConvWithState now support state_window for MTP.
WebNN added support for uint8-packed 4-bit GatherBlockQuantized.
WebGPU supports device-free compile-only sessions for offline graph transformation.
Added the initial WebGPU PagedAttention implementation.
Compile-only sessions can transform graphs and serialize optimized models without access to GPU hardware.
Added ARM64 CPU kernels for 2-bit weights.
Added a CoreML EP builder for And.
Added CudaQuantizer to onnxruntime.quantization.
WebGPU supports INT64 for Equal, Sub, Where, and ReduceSum under this flag.
Enabled fpA_intB GEMM in CUDA builds with configurable options, prepacked weights, native SM90, block_size=32, and fused bias.
Added 2-bit quantization support to GatherBlockQuantized.
Added a Python API for allocating HOST_ACCESSIBLE OrtValue instances.
Added a Python API for allocating OrtValue objects with HOST_ACCESSIBLE allocation.
Added KV cache quantization for ORT WebGPU.
WebNN EP now supports 8-bit MatMulNBits.
The WebGPU setting is now configurable.
Added the ORT_DEVICE_RESET error code.
Added RVV INT8 GEMM/GEMV, M=1 routing, and activation kernels.
JavaScript now forwards WebGPU EP buffer cache mode options.
Added a CoreML EP builder for Where.
A new quantization option,
ActivationRestrictedAsymmetric, is available.CUDA EP adds support for ConvTranspose-22.
CoreML EP adds support for pre-opset-13 Split through its split attribute path and scalar Gather indices.
CoreML EP adds support for FusedConv, Identity, Ceil, Tile, Cast(bool), Sin, Cos, and GatherND.
CUDA Plugin EP provider options now support streams and external allocators.
WebGPU FlashAttention supports QKV bias for MultiHeadAttention.
ONNX Runtime adds FLOAT8E8M0 datatype support, including CPU Cast support.
GQA supports optional
present_keyandpresent_valueoutputs, including Gemma4 support.CUDA EP now supports LpNormalization.
The CPU LUT GEMM path for MatMulNBits now supports optional bias.
ONNX overloaded functions from IR v10 and later are supported.
WebGPU adds opset-24 and KV-shared decoder support for Gemma 4.
Plugin execution providers can implement the session-initialization-end callback.
Getters for plugin execution provider session options were added.
QDQ quantization supports the opset-21
block_sizeattribute.Static quantization now supports a calibration cache.
RISC-V adds RVV-optimized NCHWc convolution, pooling, and LLM operators.
WebGPU adds an environment variable for dumping shaders to files.
LSTM is now supported on WebGPU.
The CUDA plugin Execution Provider gains graph capture and replay support.
The CUDA plugin Execution Provider adds a profiling API.
WebGPU now supports GridSample.
Optional memory mapping is now available when loading .ort models.
CUDA adds support for opset 25.
The CPU Execution Provider now supports RISC-V Vector.
Adds the CausalConvState operator for Qwen3.5 model support.
Adds support for the Linear Attention signature.
Adds the LinearAttention operator for Qwen3.5 model support.
Adds Qwen3.5 model support on the WebGPU execution provider.
Adds support for Reshape opset 25.
Adds the RMSNorm operator.
Adds the RotaryEmbedding operator.
Adds support for Transpose opset 24.
Annotation-based graph partitioning is available with resource accounting.
CUDA adds Attention opset 23 support with GQA, boolean masks, softcap, and softmax precision.
WebGPU EP adds Conv3D support.
The first core CUDA Plugin EP implementation enables third-party CUDA-backed execution providers to be delivered as dynamically loaded plugins without rebuilding ORT.
TensorRT RTX EP adds D3D12 external resource import support.
DeformConv is supported on CPU and CUDA.
WebNN EP adds DepthToSpace support.
A session config can create weightless EPContext models during compilation.
Python and C# bindings are added for GetCompatibilityInfoFromModel and GetCompatibilityInfoFromModelBytes.
CUDA adds GQA with XQA and quantized KV cache support, including FP8 (E4M3) KV cache.
CUDA adds volumetric (3-D) GridSample support.
WebGPU EP adds Identity support.
C and C++ gain KernelInfo APIs for string-array attributes.
MLAS adds a backend kernel selector configuration so users can opt out of KleidiAI kernels on ARM platforms.
The EP API adapter adds LoggingManager::HasDefaultLogger.
WebGPU EP adds LpNorm support.
LpNormalization-22 support is added.
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.
The EP API adapter adds OpKernelInfo::GetConfigOptions.
Python exposes the OrtDeviceVendorId enum for vendor-aware OrtDevice aliases.
The Compile API now supports OrtModel inputs.
A per-session thread pool work callbacks API is available.
Plugin execution providers gain event profiling APIs.
Plugin execution providers can retrieve ONNX operator schemas through new APIs.
Plugin execution providers gain a sync API for synchronous execution.
The CUDA QMoE operator accepts an optional router_weights input.
The model optimizer adds Qwen3 model type support and RotaryEmbedding fusion for Qwen3 RoPE patterns.
RunOptions gains enable_profiling.
WebGPU EP adds Softplus support.
TensorScatter-24 is supported on CPU and CUDA.
WebGPU EP adds TopK support.
Added library_path metadata to OrtEpDevice instances for plugin and provider bridge EPs.
Added an API to prevent fatal errors on resolver conflict.
Allows a new memory info name for WebGPU.
Preview execution provider targets ARM CPUs and GPUs to optimize execution of ONNX operators using low-level libraries.
Python API gains the capability to register execution providers.
Allows overriding free dimensions on model inputs at runtime, enabling customizable shapes and optimizations when dimensions are known.
Allows configuring the number of threads used by intra- and inter-operator parallelism for sequential or concurrent inferencing.
Multiple threading can be disabled by setting the thread pool size to 1 and onnxruntime_USE_OPENMP to OFF.
The update adds operators for quantization and performance improvements for LSTM ops without peephole and the Pad op.
Adds CPU operator support for all opset 11 operators, including Sequence operators.
Adds the -y option to control inter_op_num_threads.
Adds the onnxruntime_USE_AUTOML CMake option.
Adds the onnxruntime_USE_DML CMake option.
Adds the onnxruntime_USE_GEMMLOWP CMake option.
Adds selective quantization for some nodes, Conv bias quantization, and node fusion for dynamic quantization.
C# API gains the ability to set additional run options.
Adds a session option for serializing optimized ONNX models.
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.
Added an opt-in CPU FP32 throughput path for eligible x86/x64 FP32-input, 4-bit, block-size-32, accuracy-level-4 nodes.
Added AVX2 LayerNorm/RMSNorm kernels.
Added fused CPU LinearAttention kernels for AVX-512, Arm64 NEON, and SVE.
Improved PagedAttention and added metadata, GPT-OSS support, and INT8 KV-cache block quantization.
Uses plugin Execution Provider device allocators for generated inputs, loaded test data, and pre-allocated outputs, avoiding unnecessary per-run host/device copies.
Added AVX512 and VNNI CPU kernels for 2-bit weights.
Added flash attention for non-quantized CPU GroupQueryAttention and a FP32 GEMV decode kernel.
Added decode-optimized LinearAttention (GatedDeltaNet) kernels.
Added a batched small-M GEMV path for 4-bit and 8-bit MatMulNBits.
CPU MatMulNBits now enables pre-packed weight sharing.
Added a fast path for batch-1 decode on the NVIDIA CUDA execution provider.
CPU GroupQueryAttention adds quantized KV-cache support with SIMD optimizations and tiled compute.
CPU QMoE adds 2-bit support and a LUT GEMM fast path.
CPU ScatterElements is parallelized; the MatMulNBits 2-bit float-zero-point path is also optimized.
CUDA EP uses chunked dequantization and GEMM to reduce peak GPU memory.
MLAS adds an NHWC convolution path to reduce transpose overhead.
WebGPU adds QKV and MLP layer fusions for Qwen3-style models.
Plugin execution providers can use zero-copy I/O with HOST_ACCESSIBLE memory.
Fuses operations to reduce GPU dispatches and improve performance for the QMoE 1-token decode path.
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.
WebGPU EP optimizes Gemm and MatMul using subgroup features.
Nemotron speech conformer encoder MHA fusion is added.
Java avoids provider resource extraction when the library already exists at onnxruntime.native.path.
A SpaceToDepth fusion pattern is supported.
Fixed the CPU operator and improved CPU performance, with up to 4x on 4-bit.
Fixed O(n²) model load time for categorical feature chains.
Enabled 64-bit UDMA mode for HTP target v81 or above.
Reduced resident memory by reusing weight files across shared contexts.
The EP update is reported to improve ONNX Model Zoo model latency by an average of 5–10%, up to 50%.
Behavior and default changes 47
Supported native builds now default to 1DS telemetry; Windows TraceLogging remains selectable and telemetry can be disabled.
Named read/write callbacks for application-managed storage are stable; EP support negotiation prevents registered callbacks from silently falling back to filesystem I/O.
Extended to FP8/FP4 data, full-axis blocks, and scale broadcasting; CPU UINT8 dequantization also improved.
Extended for Qwen4-Exp; packed hashing also supports head offsets, EOS resets, and segment boundaries.
Model-package consumers should use this stable API lookup and the stable OrtModelPackageApi table instead of experimental lookup entries.
The model-package C and C++ APIs are stable for loading packages, selecting compatible model variants, and creating sessions.
WebNN supports NHWC Resize by inferring resample2d axes.
Registered BFloat16 LayerNorm/RMSNorm kernels on the CPU execution provider.
FP4 QMoE kernels are enabled by default in CUDA builds; source builds can opt out with the CMake option.
Added INT64 Gather support in the WebGPU execution provider.
WebGPU now supports forwarding onnxruntime_perf_test -i options.
Extended convolution fusion with eight additional activations, fused activation handling in the im2col path, and uniform-based activation parameters for Conv/MatMul.
The CUDA collective operator now supports bfloat16.
CPU Cos now supports double.
CPU Trilu now supports int32.
XNNPACK now reads dynamic Gemm M from the input tensor at compute time.
EpContext nodes with zero inputs are now allowed.
Blob-backed external data is now loaded on demand in JSPI builds.
Weightless-model support now covers all initializer types.
EPContext nodes can have zero inputs, aligning their schema with support for compiling zero-input models.
cuDNN and cuFFT are optional at runtime for the CUDA EP, reducing the required CUDA redistributable footprint.
CPU support was added for int8 inputs.
The QNN transpose optimizer now has a Gather handler, enabling this operator to participate in transpose optimization.
Profiling output now includes memory statistics.
The path now supports depthwise convolutions, and NHWC convolution support gating was fixed.
WebGPU's default non-debug validation mode is now disabled.
Moved OrtModelPackageApi into the experimental C API surface; it may change in future releases.
CPU support was added for int8 and uint8 inputs.
The TensorArray custom op now supports Float16, BFloat16, and Float8.
XQA is enabled by default for FP16/BF16 GroupQueryAttention; decode also supports attention sink, sliding window, and QK-Norm.
ORT Training now has a CPU fallback for the FusedAdam optimizer.
sympy is now an optional runtime dependency for Python.
CUDA now supports LabelEncoder for numeric types.
WebGPU Split-K support now includes batch sizes greater than one.
CUDA TopK now supports INT8, INT16, and UINT8.
CUDA support is extended from opset 23 to opset 25.
CUDA graph capture is now compatible with LLM ops and pre-compiled paths.
WebNN EP broadens GQA support and improves MultiHeadAttention.
MobileClip attention fusion now supports both attention block patterns.
Attention fusion adds pre-layer normalization support.
Python builds no longer require sympy as a mandatory dependency.
WebGPU adds int64 and bool support for Range, Expand, Flatten, Gather, and Unsqueeze.
Offline x64 compilation with memhandle IO type is enabled by deferring rpcmem library loading until inference time.
Added support for architecture family codes with the suffix 'f' introduced in CUDA 12.9.
Most of the code is now C++11 compliant, whereas C++14 was previously required.
The 1.0 C API is stable and will maintain backwards compatibility; API versioning supports future updates.
C APIs are ABI compatible and follow Semantic Versioning, allowing linked programs to keep working with subsequent releases without client-code updates or relinking.
Tooling 1
The onnxruntime package now includes a PEP 561 marker for type information.
Fixes and other changes 100
Remains selectable for Windows TraceLogging telemetry.
Misuse now reports errors instead of terminating the process.
Rejected non-finite CPU RoiAlign coordinates.
Enabled WebGPU LayerNorm fusion to fix FP16 inference correctness.
Python asynchronous-run resources are retained and C# arguments are pinned until completion.
Made Rust string-tensor output extraction safe.
Validated Rust tensor element types.
Plugin EP packaging now supports Linux AArch64.
Fixed model serialization when output-model and custom initializer-location callbacks are used together, preventing duplicate graph fields in emitted models.
Avoids out-of-bounds reads in ConvTransposeWithDynamicPads.
Shape inference no longer performs an out-of-bounds read when beta is a scalar.
Shape inference was hardened for this applicable contrib operator.
Avoids an out-of-bounds read when a Loop body input is also an initializer.
Reusing a packed sub-byte buffer for a full-byte tensor no longer causes a heap buffer overflow.
Single-tensor data transfers now preserve streams during plugin EP execution.
Avoids an out-of-bounds read when a Scan body input is also an initializer.
Graph validation now rejects inputs to operator schemas that declare zero inputs.
Fixed callback serialization to prevent duplicate graph nodes, inputs, outputs, and value information in emitted optimized models, including models with embedded or external initializers.
Fixed CPU causal mask alignment.
Validates vocab_size against the logits width.
Checks output size against the input initializer before constant folding.
Conv and ConvTranspose rank is now recovered from weights when the input shape is unknown.
Fixed NaN output for right-padded batched prompts with rotary embeddings.
Fixed DropQDQ not removing Q/DQ around opset-22 MaxPool.
Validates kernel rank against input spatial rank.
This setting is now honored when loading models from file paths.
VitisAI now recognizes native-endian in-memory address tags.
Fusion to QGemm is rejected when alpha is not 1 with bias, and DQ scale and zero-point shapes are validated before fusion.
Fixed incorrect binary classification predictions.
Fixed incorrect QDQ Resize output for non-nearest interpolation modes when ORT_ENABLE_ALL is used.
Fixed zero outputs for zero-length sequences.
Fixed fusion when the Pow exponent is produced by a node.
CUDA EP support now covers Softplus and Softsign through opset 22.
Fixed complex input frame offsets.
Fixed a type error on DequantizeLinear nodes without a zero point.
Fixed target id validation and added input validation to LinearClassifier.
Fixed unbounded lifetime on WithOutputTensor in the Rust bindings.
Improved forward compatibility by capping the version instead of rejecting it.
Fixed a regression that caused graph-capture session initialization to reject an empty graph.
Fixed an igemm regression in the KleidiAI path.
Fixed a CPU livelock by eliminating nested intra-op parallelism.
Shift amounts greater than or equal to the bit width no longer cause undefined behavior.
Validation was added for CPU cache-indirection beam indices.
Int32 overflow for very large tensors was fixed in CUDA Cast and UnaryElementWise kernels.
CUDA EP fills opset gaps for LSTM, RNN, Reshape, Cast, Round/Equal, ReduceMax/ReduceMin, Sin/Cos, and Random operators.
Sequence bounds are validated against
cos_cache.A rank-underflow bug in trailing-dimension indexing was fixed.
Mask and input shape consistency checks were added.
A provider-library load reference-count leak was fixed.
CPU EP no longer returns NaN for infinite inputs.
CPU handling of distinct per-channel weight zero-point values was fixed.
Handling of
allowzero=1was fixed for chained zero-size tensors.Nearest-mode rounding for negative halfway values was fixed.
Unicode-path handling and AppContainer path canonicalization issues were fixed.
CoreML adds HardSigmoid, QuickGelu, and Pad reflect support.
The CUDA Gather int32 overflow issue is fixed.
GroupQueryAttention adds seqlens_k bounds validation and a compatibility follow-up.
WebGPU MHA correctness is fixed when present outputs are not requested.
Improves filesystem error messages during Linux device discovery to make debugging easier.
Android builds add 16KB page size alignment, required for Android 15 and later.
Fixed 3D attention mask broadcasting in MHA.
Fixed incorrect pad indices in count_include_pad computation, correcting a silent correctness issue.
BART attention fusion is fixed for the SDPA pattern from transformers 4.49 and later.
Fixed concat/slice and unsqueeze elimination involving optional attributes and invalid models.
Fixed bias input validation on CPU and CUDA.
Fixed an overflow issue in CPU Attention.
Fixed integer division or modulo by zero in CPU EP Div and Mod operators.
Fixed integer overflow issues in CPU LRN.
CUDA adds opset coverage for control flow, pooling, shape operations, TopK, GRU, Pad, Resize, and RoiAlign.
Fixed arithmetic overflow in the Det operator.
Fixed Einsum bugs affecting reduction and empty-input cases.
The EPContext error message is improved when a node is not assigned to an execution provider.
External data path validation was cleaned up.
Float16 tensor support is fixed in Node.js and React Native.
No-past GPT-2 attention fusion is fixed for transformers 4.27 and later.
Fixed shape inference for GQA present outputs.
Fixed a crash when using a model path containing non-ASCII Unicode.
The ORT API version is updated to 25.
OrtValue.from_dlpack no longer rejects zero-size tensors as non-contiguous.
Fixed run-level profiling for subgraph operators.
Fixed misaligned address reads for tensor attributes sourced from raw data buffers.
WebGPU EP is now compatible with the EP API.
Legacy WebGPU/WebNN memory info names are accepted again for backward compatibility.
GPU discovery in containerized Linux environments can fall back to PCI devices exposed via sysfs when nvidia-drm is not loaded.
Fused nodes in different GraphViews no longer receive duplicate MetaDef IDs that can cause session creation to fail with a conflicting kernel error.
Logging verbosity changes were reverted to avoid segmentation faults on backend destruction.
Fixed the NuGet DllImportResolver.
Fixed validation of external data paths for models loaded from bytes.
Fixed division by zero when batch dimensions mismatch.
Fixed a reference-count bug that caused a shutdown segmentation fault.
Fixed prepacking scales.
Fixed fusion being incorrectly applied when gamma or beta are not 1D.
Uses the embedded WASM module in Blob URL workers when provided, and fixes its use with a blob URL for .mjs.
Fixed bias validation in the TypeScript and C++ implementations.
Enabled robust symlink support for external data in the Huggingface Hub Cache.
Fixed Java support on macOS ARM64.
Fixed flakiness and accuracy issues in Lut GEMM.
Fixed native library loading issues on Linux and macOS.
Added boundary checks to improve robustness when converting sparse tensor protos to dense tensor protos.
The Android DNNLibrary version is updated.