E+GEMM & Attention KernelsPreprint
FOSCAR reports decode-attention kernels that run directly on 2-bit and 4-bit KV caches on H100 and B200
Zhuang, Ponnusamy, Wu, Song and Zhou replace per-value dequantization of a quantized KV cache with what they call affine folding, which applies the scale and offset to the other operand or to the output of the attention matrix products. On H100 they report geometric-mean speedups of 3.36 times (INT2) and 2.83 times (INT4) over FlashInfer BF16, and on B200 2.67 and 2.30 times over FlashInfer BF16 and 1.16 and 1.00 times over TensorRT-LLM NVFP4. The abstract says the kernels are open source, but the repository it names returned a 404 error when DARC checked on 10 November. The numbers are the authors' own and have not been reproduced.
Please note. Posted publicly but not yet peer reviewed. Not checked by DAH.
- Source Zhuang, Ponnusamy, Wu, Song and Zhou, FOSCAR (arXiv:2611.09722) (arxiv.org) ↗