llama.cpp b12122

b12122Pre-release
Added 1
  • Fused NVFP4 gate/up matmuls and GLU operation in the CUDA MMQ kernels
Changed 2
  • Fused gate/up MMQ honors the requested src1 precision
  • NVFP4 scale checks are shared between kernels and unused fused FP4 kernels are skipped
Fixed 1
  • Gate scale is checked before loading the fused NVFP4 gate scale

From llama.cpp

Title: CUDA: fuse NVFP4 gate/up matmuls and GLU in MMQ (#31296)

  • cuda: fuse NVFP4 gate/up and GLU in MMQ

  • cuda: honor the requested src1 precision in fused gate/up MMQ

  • cuda: share NVFP4 scale checks, skip unused fused FP4 kernels

  • cuda: test NVFP4 fused MMQ at W4A8 without scales and with batches, clean up naming

  • cuda: check gate_scale before loading the fused NVFP4 gate scale

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