The llama.cpp project released build b10905, which includes specific tuning of Flash Attention for CUDA/HIP on the gfx1201 architecture. This update focuses on optimizing performance for AMD RDNA4 GPUs.
- HIP: Enables matrix multiply-accelerated (mma) Flash Attention for head size 256 on RDNA4 and tunes associated configurations.
- HIP: Prefers whole-tile Flash Attention grids over stream-k on AMD WMMA architectures.
- Revised the stream_k logic to improve execution flow.
- Revised kernel selection logic for better hardware targeting.
The release provides binaries for macOS, Linux, Windows, Android, and openEuler across various backends including CPU, CUDA, ROCm, Vulkan, OpenVINO, SYCL, and OpenCL.