The llama.cpp project released version b10246, which includes a fix for OpenCL performance on specific model configurations. The update addresses an issue where the original dimension condition was insufficient for handling large weights.

  • Routes large q6_K lm_head tensors to flat GEMV instead of gemv_noshuffle.
  • Adds a direct size condition to prevent slowdowns with models like gemma-4 E2B, which has dimensions [1536, 262144].
  • Provides binaries for macOS (Apple Silicon and Intel), Linux (CPU, Vulkan, ROCm, OpenVINO, SYCL), Android, Windows (CPU, CUDA, Vulkan, OpenVINO, SYCL, HIP), and openEuler.

This change ensures that large weight matrices are processed efficiently on OpenCL devices without triggering performance bottlenecks.