The llama.cpp project released version b10955, which includes a critical fix for heap corruption within the ggml-cpu backend. The update disables the precompiled header (PCH) and removes an ambiguous CACHE_LINE_SIZE definition to resolve memory safety issues.

  • Disabling the ggml-cpu PCH restores natural include order, ensuring ops.h is processed before hardware interference headers.
  • Removing the std::hardware_destructive_interference_size branch makes CACHE_LINE_SIZE deterministic and independent of include order.
  • The fix resolves a mismatch where C++ kernels used 256-byte cache lines while C code used 64-byte fallbacks, which previously undersized rope work buffers.
  • This correction prevents heap-buffer-overflow crashes in ggml_compute_forward_rope_flt caused by the buffer size discrepancy.

The release provides binaries for macOS (Apple Silicon and Intel), Linux (x64, arm64, s390x), Windows (CPU, CUDA, Vulkan, ROCm, OpenVINO, SYCL), Android, and openEuler platforms.