ggml released 1.1.0, expanding graph operations for new model families and execution paths in hardware-specific implementations called backends. Model engine developers can express more operations as graphs. They can also apply environment-specific optimizations and fixes across backends, from CUDA to mobile and embedded systems.

1. Express operations for new models as graphs

This release adds an operation that pauses execution. The sigmoid function, which produces values between 0 and 1, gains a backward operation for computing changes in reverse. This gives developers more options when organizing model computations into graphs.

Flash attention, which accelerates attention calculations reflecting relationships between input elements, gains indexed bias support. A bias is a correction value added to a calculation.

Gated DeltaNet, an operation that filters and accumulates information through gates, gains an extended API for replaying pending tokens. Developers adopting this feature can consider the extended function instead of the deprecated one.

A host input copy feature adds asynchronous copying of inputs from CPU memory. Backends can advertise support, and copy ordering is coordinated with graph execution.

Graph optimization also gains support for backends to reserve temporary memory in advance. Separate from input copying, this connects workspace reservation to graph optimization.

2. Refine work partitioning and data validation

The scheduler partitions graph work across backends. It now starts a new segment upon encountering incompatible weights, even in segments without inputs.

Remote procedure calls, which execute functions on other servers over a network, gain typed request helpers and a single validation stage. The server also reuses one context when handling request tensors, the multidimensional arrays used for computation.

When reading GGUF, a file format for model data, the library rejects invalid enum values derived from untrusted data. Input validation is thus strengthened alongside execution-path improvements.

3. Group operations and revise memory access

IQ2 quantization, which approximates values using fewer bits, gains caching to store and reuse recurring patterns. Unlike the offset and scale fixes below, this improves execution efficiency by reusing work rather than correcting calculated values.

CPU and CUDA gain BF16 support for some operations. BF16 is a 16-bit floating-point data type.

CUDA and HIP gain a fused path for normalization, multiplication, and positional encoding. Normalization adjusts input magnitudes to a common standard. Positional encoding incorporates token positions into calculations. The new path fuses consecutive normalization, multiplication, and positional encoding instead of running positional encoding separately after multiplying normalized values. Rather than adding individual operation support, it merges execution boundaries between operations.

Quantized matrix multiplication support for small numbers of rows is also added.

NVFP4, a 4-bit floating-point format, now processes eight dequantization blocks per work group. Dequantization converts low-bit stored values into numbers for computation. This change concerns execution efficiency through batching.

For computational correctness, matrix offsets, which represent distances from a reference position, now use 64 bits to fix integer overflow. AMD CDNA3 gets a fix for halving NVFP4 quantization scales twice. Unlike block batching or operation fusion, these fixes correct the representable range of address calculations and the scale calculation, respectively.

Metal now splits graphs into chunks and submits command buffers from a single thread. Command buffers collect GPU work commands for submission. Vulkan supports a split matrix multiplication path and Gated DeltaNet replay. Both backends revise how computation is grouped and divided for execution.

4. Weigh broader support against adoption work

Developers replaying pending tokens with Gated DeltaNet should first review migration to the extended function and Vulkan replay support. For consecutive normalization, multiplication, and positional encoding on CUDA or HIP, check the fused path. For NVFP4 on AMD CDNA3, prioritize the scale calculation fix and output validation. Advance temporary-memory reservation is another option to integrate into backend implementations.

Feature availability depends on each backend's implementation. The release notes provide no throughput or latency measurements, so the execution changes alone do not establish a specific speedup.

5. Check function migration and build and test settings

The ggml_ftype type name is marked deprecated, while version component macros and tensor pointer aliases are added. Alongside code using Gated DeltaNet, references to the existing type name warrant review for updates.

Build and continuous integration environments also change. Continuous integration automatically builds and checks code when it changes. Updates include LLVM 22.1.8, and the required ROCm version is 6.3. Backend operation tests now fail for unsupported data types or backends, so settings passed to automated tests also need checking.

Vulkan's top-k selection, which picks a specified number of the highest-scoring items, now returns consistent selections for the same input even with ties. Teams evaluating an upgrade should test these selection results alongside speed measurements.

ggml 1.1.0 expands both graph expressiveness and hardware-specific execution paths, making backend support and build and test environments important checks when adopting it.