llama.cpp
8d19519d - HIP: few-row MMQ with WMMA for RDNA3.5 (#32224)

Commit
1 day ago
HIP: few-row MMQ with WMMA for RDNA3.5 (#32224) * HIP: few-row MMQ with WMMA for RDNA3.5 Port of the few-row MMQ kernel to RDNA3 with 16x16x16 int8 WMMA, for up to 16 src1 columns. src1 is the A operand and src0 the B operand so the row scales stay lane-local. src1 gets its own quantizer layout. Covers Q4_K, Q5_K, Q6_K and IQ4_NL. Enabled on RDNA3.5, where it was tuned. * Switch to mma.h and support rdna4 * HIP/CUDA: ensure that the wmma mmq_few kernel is only selected when ne0 is a multiple of the superblock size --------- Co-authored-by: Carl Philipp Klemm <carl@uvos.xyz>
Author
Parents
Loading