Skip to content

b12836

  • b12836
  • 8d19519
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • b12836
  • 8d19519
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@am17an am17an tagged this 28 Nov 12:27
* 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>
Assets 2
Loading