Skip to content

chore(deps): bump tract-onnx from 0.23.10 to 0.23.11 in /rust_tract - #66

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust_tract/tract-onnx-0.23.11
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust_tract/tract-onnx-0.23.11

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps tract-onnx from 0.23.10 to 0.23.11.

Changelog

Sourced from tract-onnx's changelog.

0.23.11 - 2026-11-27

Mixture of experts

  • Routed MoE ops in any weight format. RouteSelect, RoutedLinear and RoutedCombine replace the Q4_0-only routed matmul: route selection with softmax, softmax-over-top-k, sigmoid and sigmoid_norm gates, per-expert projections over plain, f16, Q4_0 and Q2_0_T weights, and the weighted combine, with SwiGLU, clamped SwiGLU and relu2 expert activations. On the CPU, block-quantized experts run through per-expert plans. MoeFfn lowers through them on every backend.
  • CUDA, Metal and wgpu run the whole MoE block on the device: top-k route selection, GEMVs for decode-sized route lists, sorted tiled matmuls for prefill, a fused gate/up pair kernel for single-token decode, expert bias applied in the routed outputs, and one weight-format enum (GpuWeightFormat) shared by the dense and routed GGML kernels of all three backends. (Metal routing, expert kernels and fusions largely contributed by Julien Balian.)

Attention and recurrent ops

  • Sdpa carries per-head attention sinks, in the core op, in NNEF and on Metal, vector and prefill paths. Opt-in transforms recognize split-half rotary graphs as ApplyRope, and grouped-query, multi-head and split-QK (sink) attention graphs as Sdpa. (Contributed by Julien Balian.)
  • Mamba-2: Mamba2Recurrent, the Mamba-2 state-space recurrence, on the CPU, CUDA, Metal and wgpu; CausalConv1dUpdate takes an optional bias, on every backend.
  • Fixes: Metal's MLX attention indexed batched additive masks wrongly, and now accepts masks with symbolic dimensions (contributed by Julien Balian); CUDA flash attention honours a mask broadcast along the query axis; Metal softmax stays finite on rows masked with -inf.

GPU

  • More ops on the device: TopK over the last axis (CUDA, Metal, wgpu), ArgMax and ArgMin (CUDA, Metal), LogSoftmax (CUDA, Metal, wgpu), Tile and edge-mode Pad as shared tract-gpu copy ops, pools in every data format on Metal and wgpu, 1D transposed convolutions as a matmul on Metal, broadcast matmul batches the Metal GEMMs cannot take. Softmax rows run across several simdgroups on Metal, in one pass (split over several blocks for long rows) on CUDA, one workgroup per row on wgpu; a multi-axis softmax stays on the CPU.
  • Metal submission is bounded: at most TRACT_METAL_MAX_IN_FLIGHT (8) command buffers are outstanding, TRACT_METAL_COMMIT_EVERY_N_DISPATCHES submits by kernel launches, and an asynchronous command failure is reported instead of lost. Shape-only host branches no longer round-trip through the device. (Contributed by Julien Balian.)
  • Fix: the Metal and CUDA gather and gather_nd kernels read out of bounds on an out-of-range index, and the wgpu ones clamped or aliased it. Every device kernel now writes 0 for an index or coordinate outside its axis, NaN included (the CPU ops still reject it).
  • Fix: cloning a GPU state shared the device buffers of its delay, pulse pad, deconv delay, KV cache and ring states, so the clone wrote into the original's buffers.
  • KV caches carrying fused input axis ops are windowed on the device; Metal holds a pulsed attention window as a ring its GEMM turns.

WebGPU (wgpu)

  • Cooperative-matrix GEMM and 3x3 convolution, natively and in the browser, behind TRACT_WGPU_SUBGROUPS (experimental, with subgroup GEMVs). (Largely contributed by Ckristian Zoli.)
  • TRACT_WGPU_ALLOW_F16_ACCUMULATION lets f16 convolutions and matmuls accumulate in f16 in the blocked, split-K and direct kernels; f32 accumulation stays the default. (Contributed by Ckristian Zoli.)
  • Faster kernels: vec4 lanes in the tiled GEMM core and the per-pixel convolution, vec4 staging of contiguous operands, register-blocked depthwise and a channel-walking channels-last depthwise (3x3 and 5x5), direct 3x3 tiled over two output rows with packed weights, split-K for long reductions on small maps, lane-parallel GEMVs (with vec4 loads for strided activations, and taking weight-first skinny products), coalesced skinny matmuls, Q4 row walking for few-row activations, the block-quant GEMV for a single transposed row, and a tiled block-quant matmul for f16 activations, past rank 3. Bilinear resize writes straight into the concat that follows, trailing f16 means fuse, and Iff of a float comparison is one device op. (Largely contributed by Ckristian Zoli.)
  • f16 matmuls computed in f32 run on the device; the tanh of the f16 and fast GELU paths is clamped.

CPU / linalg

  • Lazy packing: large activation operands are packed one panel at a time inside the matmul (LazyPackedInput, from TRACT_LAZY_PACK_MIN_BYTES), and lazy im2col reads padded convolutions' input unpadded, gathering runs of points with vector loads.
  • f16 on aarch64: f16 depthwise kernels with a vectorised tail, f16 softmax through the f32 kernels, f16 nearest upsample on the plane-walking path, f16 max pooling as ordered integers, 16x8 tiles stored to column-contiguous outputs, short-K f16 products kept off AMX, and a packed f16 SiLU table lookup.
  • x86: an f16-weights path for the AVX-512 128x1 mat-vec kernel and the 16x1 kernel kept up to m = 64 off Intel (contributed by nemec.jiri); panel extractors targeting the FMA kernels' f32 packing. aarch64: a NEON panel extractor from Q2_0_T to f32.
  • By-scalar and unicast Div kernels; heavy products below the MMM panel gate are threaded; max pooling splits row spans across threads and folds kernel rows then columns; a matrix kernel behind an extractor beats a GEMV for n > 1.
  • Fixes: AMX kernels overwrote instead of accumulating into an existing tile; the SME sme_qmmm_i32_32x32 add_unicast read its operand at the wrong item size, the AVX-512 16x1 kernel did not zero its partial sums, and pick_by_shape could pick a mat-vec tile that padded m to twice its size (contributed by nemec.jiri). Assembly kernels are marked as not needing an executable stack.

Core

  • Layout propagation: MaxPool, SumPool, Deconv, NearestUpsample, Resize, Downsample and Iff carry channel moves and batch-axis changes, and an op can hand new values for its constant inputs on an axis change. TRACT_DISABLE_DEPTHWISE_CHANNEL_LAST stops depthwise convolutions from asking for a channel-last layout.
  • Symbolic shapes: Pow evaluates on symbolic dimensions, Max and Min are bounded, ONNX Pad accepts symbolic constant-mode amounts, StridedSlice takes ONNX open-ended sentinels in symbolic ends, depthwise convolutions handle symbolic shapes, and ONNX reshape checks compare expanded polynomials.
  • The tanh GELU is detected from its Tanh, and an expanded hard-swish folds into one op (contributed by Ckristian Zoli). The float precision transforms gain keep_io, and keep Resize scales at their declared type (contributed by Ckristian Zoli). A constant quantized matmul operand is summed at codegen instead of at run time (contributed by Øystein Krog). TopK orders totally, NaN after every number. Weights whose k is not whole Q4 blocks stay unquantized. Concat einsums with narrow slices stay whole (TRACT_CONCAT_EINSUM_MIN_SLICE).
  • tract-data: TensorView is split into a byte-slice TensorView and TensorViewMut, its slice and element accesses are bounded to the tensor's storage, and unsafe code current Rust no longer needs is gone.
  • Fixes: EinSum dropped a broadcast its output depends on; Conv's data-input rules moved the bias axis (contributed by Amlandeep Bhadra); a product assertion could prove facts about its symbols.

Streaming / pulse

  • Edge padding is absorbed into the convolution it feeds. tract compare --stream streams whole Blockify chunks.

NNEF / ONNX / TFLite

... (truncated)

Commits
  • f521482 release 0.23.11
  • e0b5980 log changes
  • 9e91a93 wgpu: run a weight-first skinny product on the lane-parallel GEMV
  • d15ce2d wgpu: vec4 loads in the lane-parallel GEMV for a strided activation
  • 997043f ci/affected.py: ignore examples/web-demos
  • f1e3ddd wgpu: let a single transposed row take the block-quant GEMV
  • 9e2daf8 examples: add Bezier Piano, a webcam instrument whose hand tracking runs Medi...
  • 4be3d78 gpu: gather kernels read out of bounds on out-of-range indices
  • 9f17547 AGENTS.md: knobs default to Default::default()
  • 27cd3ba core/conv: knob to disable the depthwise channel-last suggestion
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tract-onnx](https://github.com/sonos/tract) from 0.23.10 to 0.23.11.
- [Release notes](https://github.com/sonos/tract/releases)
- [Changelog](https://github.com/sonos/tract/blob/main/CHANGELOG.md)
- [Commits](sonos/tract@v0.23.10...v0.23.11)

---
updated-dependencies:
- dependency-name: tract-onnx
  dependency-version: 0.23.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, security. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants