github ggml-org/llama.cpp b12398

latest releases: b12402, b12401, b12400...
pre-releaseone hour ago
Details

vulkan: optimize prompt processing Flash Attention for RDNA3 and RDNA4 (#31323)

  • vulkan: optimize Flash Attention cm1 for RDNA3 and RDNA4

  • reduce shmem use through buffer reuse

  • clean up and fixes

  • limit q_in_regs to prefill

  • vulkan: add flipped FA path, each subgroup owns 16 Q rows

  • cleanup

  • move flip shader into own file

  • replace kvsep with direct load mode

  • fix nvidia hang, tune AMD

  • only store pv in sfsh if necessary

  • fix skip condition

  • nvidia tuning

  • reduce occupancy on RDNA4 for large attention head sizes

  • fix sparse FA fp16 underflow bug

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI:

Don't miss a new llama.cpp release

NewReleases is sending notifications on new releases.