ggml handles tensor computations such as model matrix multiplication. This release expands support for applying scales to model weights stored at low precision. Scale handling now links common calls to CPU computation and cross-device splitting.

1. Applying scales to values stored at low precision

Released on December 4, this version centers on quantization scales for low-precision FP8 (8-bit) and NVFP4 (4-bit) formats. A quantization scale is a multiplier applied when computing with low-precision values. The new extended matrix multiplication path passes scales for an entire tensor, an array holding data. It also passes scales per channel, a data group within a tensor, and per expert, a component sharing the model's computations.

The new API handles regular and per-expert matrix multiplication separately. A new scale-checking function lets developers identify operations needing scales and connect them to the extended path (API changes, llama/28898).

Scaling also reaches CPU matrix multiplication and meta-backend splitting across devices (Core changes, llama/28898). Beyond accepting scale arguments, multiplication and tensor splitting must handle the granularity at which scales apply. This is why common calls were added alongside changes to computation and splitting logic.

2. More device-specific paths handle scales

Backend support differs. Vulkan adds FP8 and scaled matrix multiplication. OpenCL lists scaled matrix multiplication. Hexagon lists quantization scale support. CPU and meta-backend computation and splitting connect the common scaling path. These backend additions determine which formats and operations each device can execute.

WebGPU adds weight scaling to existing regular and per-expert matrix multiplication. It also skips unused expert slots.

CUDA adds a quantized matrix multiplication path for NVFP4 with few rows. It also expands fused paths that combine operations and ways to execute multiple computations at once. Related code has been separated into its own implementation units.

Metal now detects neural accelerators instead of hard-coding specific chip names. By updating both device detection and computation paths, these backend changes go beyond adding quantized operations.

3. Calling interfaces and remote operation support checks change

Multiplication scale parameters were renamed to match their operands (API changes, llama/33431). The new names show which multiplication input each scale corresponds to.

RPC, the protocol for requesting operations on remote devices, moves to 11.0. A new command checks whether a remote device supports an operation. Devices can preprocess graphs, which describe connections between operations, before scheduling. A path also caches tensor placement data to prefetch support-check results (API and RPC changes, llama/32532).

The meta and tensor-parallel backends, which split tensors across devices, now offer an option to place an entire tensor on one device. Placement can thus specify keeping a tensor together on one device as well as splitting it.

Computation paths also received fixes. CUDA fixes an execution issue with certain addition operations above 65535 tokens. NVFP4 fixes out-of-bounds access when reading scales.

4. Consider expanded coverage alongside cleanup of existing paths

To connect scales to existing matrix multiplication calls, first check whether they are needed with ggml_needs_scale. Use ggml_mul_mat_ext for regular operations and ggml_mul_mat_id_ext for per-expert operations.

Support is also being trimmed. Metal removes quantized FlashAttention kernels for head sizes that are not multiples of 32. Heads are parallel computation units in attention. This directly affects existing configurations that used these kernels with such head sizes.

The release notes provide no performance measurements or measurement conditions.

This release extends scale handling for low-precision models from the calling interface to actual computation and cross-device splitting.