vLLM's 4-bit KV cache runs 1.7× slower than FP8; new Hopper kernel fixes it

AccBalanced · x · 2026-12-02

@YuvrajInfer shows vLLM's 4-bit KV-cache path is up to 1.7× slower than 8-bit FP8 on Hopper GPUs: quantizing halves memory bytes, but existing decode kernels burn so many instructions unpacking 4-bit values that the bandwidth win is erased.

A new Hopper decode kernel rebuilt from scratch, on NVIDIA H200 (batch sizes 32–128), achieves:

Since H200 lacks native 4-bit tensor instructions, old kernels stalled on serialized loads and bit-unpacking; the new kernel overlaps a TMA memory producer with two compute warpgroups and rearranges K/V layouts directly for Tensor Cores.

Original post →

More from Infra

Infra channel →