The llama.cpp project released version b10791, introducing significant OpenCL optimizations for quantized language model heads and decoding GEMV operations. This update also includes medium-batch GEMM improvements relevant to speculative decoding and multi-token prediction.

  • Optimizes opencl quant lm_head / decode GEMV and medium-batch GEMM for speculative decoding/MTP.
  • Guards q4_K/q6_K tiled_ns convert-kernel registration for non-Adreno builds.
  • Gates q4_K MUL_MAT+GLU fusion dispatch specifically to Adreno hardware.
  • Requires the noshuffle weight layout in the q4_K GLU fusion gate.
  • Prevents taking the vectorized f16 mrow GEMV path on unaligned row strides.
  • Enables q4_K split-K decode GEMV only where performance gains are measured.
  • Restricts tiled lm_head/embed GEMV defaults to X2E/A8X architectures.

The release provides binaries for macOS, iOS, Linux, Windows, Android, and openEuler across CPU, GPU, and various accelerator backends.