ggml Hits 1.0.0: Deprecated API Pruned, FP8 Lands in CUDA, and the RPC Protocol Breaks Old Peers
ggml, the C tensor library that llama.cpp, whisper.cpp and most local-inference tooling build on, tagged v1.0.0 after v0.29.0. The version number is the headline, but the release notes are more interesting: the 1.0 cut removes things.
What breaks
- The deprecated public API is pruned, including the legacy
DIAG_MASK_INFandDIAG_MASK_ZEROops. Downstream code that still builds causal masks with those ops will not compile against 1.0. - The RPC protocol moves to v9 and rejects incompatible peers. Anyone running ggml’s RPC backend to split a model across machines needs every node on the same release, since the bump is designed to reject incompatible peers. The same change adds faster loading and graceful failure on unreachable endpoints.
The project’s maintainers have been moving toward semantic versioning since llama.cpp tagged its own v0.1.0 in August. A 1.0 on ggml is the first signal that the lower layer intends to treat API removal as a versioned event instead of a drive-by commit.
What is new
Precision. CUDA gains OCP FP8 support, alongside fused NVFP4 gate/up matmuls with GLU in the quantized matmul path. A separate llama.cpp commit in the changelog adds FP8 KV-cache support. A new ggml_rope_set_truncate / ggml_rope_get_truncate pair controls YaRN correction-bound rounding, with the setting wired into Vulkan, WebGPU and OpenVINO.
Small-batch speed. CUDA adds few-row MMQ kernels for batch sizes 2 to 24 and a BF16 few-row matmul path. That range is where speculative decoding and small concurrent request batches live, and it has historically fallen between the single-token and large-batch kernels.
MoE. The scheduler can now compute a share of MoE cache misses on the CPU and copy results back asynchronously. Metal fuses MoE routing, SYCL gets a device-side MoE scheduler, and CUDA skips empty stream-k tiles in the MMQ fixup and linearizes the MoE layout.
Non-NVIDIA backends.
- Vulkan: an Intel FlashAttention kernel for prefill, dequantized KV with CM2, RDNA3/4 large-tile split-K, and a cap of 8 rows for scalar FlashAttention on large heads on Qualcomm.
- OpenCL: decomposed FlashAttention for Adreno, new q6_k, q8_0 and q5_k GEMV kernels, and multi-column GEMV on by default for Adreno X2.
- Hexagon: Q5_0 and Q5_1 support, conv_3d, and a fix for 64-bit FastRPC handle truncation.
- WebGPU: batched tensor API plus GROUP_NORM, MEAN, COUNT_EQUAL and PAD_REFLECT_1D kernels.
- CPU: RISC-V kernels from SpacemiT for GATED_DELTA_NET and Q4_1, and a 4x4 SIMD GEMM tile on ARM NEON.
Scheduler. The backend scheduler skips uploading inputs that are never read and prefetches only inputs produced by earlier graph splits, which cuts redundant host-to-device copies on multi-backend setups.
Reading the release
The release notes do not publish throughput numbers, so none of the performance claims above are quantified. The pattern is still clear: most of the work targets hardware outside the CUDA monoculture, namely Intel Arc, Qualcomm Adreno and Hexagon, RISC-V and browser WebGPU. That lines up with where open-weight inference is spreading, from phones to TV boxes, and with the low-bit formats (FP8, NVFP4, Q5) that make larger models fit.
For maintainers of wrappers, the practical checklist is short: grep for ggml_diag_mask_inf, pin RPC nodes to one version, and re-test YaRN long-context models, since the new truncation control changes how correction bounds are rounded.