llama.cpp b12118

b12118Pre-release
Added 3
  • Handle flash attention in the OpenCL backend for GQA ratio 2 and 6 with head size 256.
  • Handle flash attention in the OpenCL backend for GQA ratio 16 with head sizes 128 and 512.
  • Handle flash attention in the OpenCL backend for GQA ratio 2 with head size 512.
Changed 1
  • Use more workgroups for the q4_K gate up and GLU kernel in the OpenCL backend to improve decode performance.

From llama.cpp

opencl: improve decode perf with FA (#31633)

  • opencl: use more workgroups for q4_K gate up + GLU

Co-authored-by: Shaofei Qi shaoqi@qti.qualcomm.com

  • opencl: handle FA for GQA 2 and 6 with head size 256

Co-authored-by: Shaofei Qi shaoqi@qti.qualcomm.com

  • opencl: handle FA for GQA 16 with head size of 128, 512

Co-authored-by: Shaofei Qi shaoqi@qti.qualcomm.com

  • opencl: handle FA for GQA 2 with head size 512

Co-authored-by: Shaofei Qi shaoqi@qti.qualcomm.com


Co-authored-by: Li He lih@qti.qualcomm.com

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:

View original

Upgraded? How did it go?

Discussion