The llama.cpp project has released version b10538, introducing a key optimization to the metal backend. This update enables dequantization of the key-value (KV) cache exclusively for large batch sizes.

  • The primary change is in the metal backend, which now applies dequantized KV caching only when processing large batches.
  • Binaries are available for macOS (Apple Silicon and Intel), iOS, Linux (CPU, Vulkan, OpenVINO, SYCL), Android, Windows (CPU, CUDA 12/13, Vulkan, OpenVINO, SYCL, ROCm), and openEuler.
  • KleidiAI support on macOS Apple Silicon and ROCm 7.14 on Ubuntu are disabled in this release.

This optimization aims to improve memory efficiency or performance for workloads involving large batch sizes on compatible hardware.