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:
- 67–75% of peak HBM bandwidth, up from 10–20% in vLLM's NVFP4 path
- Half the KV-cache bytes of FP8 without the unpacking tax
- Restored 4-bit accuracy on Qwen2 reasoning models by computing the layer-0 key-projection bias directly from weights, keeping that single layer in BF16
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.
More from Infra
- China pours billions into optical chips for AI data centers despite US curbs threat — pstAsiatech · 2026-12-02
- Air New Zealand to roll out free Starlink-powered inflight Wi-Fi starting 2027 — elonmusk · 2026-12-02
- Nvidia B300 claimed 5-6x more efficient than China GPUs, but revenue gap is only ~3x — teortaxesTex · 2026-12-02
- Crucible Capital: capital intensity is the moat of the AI infrastructure era — AccBalanced · 2026-12-02
- Startup unveils 8192-core CPU, arguing the ASIC-vs-CPU gap is only 10x — AccBalanced · 2026-12-02
- Redditor Uses Free GPU From Gemini Subscription to Fine-Tune Parakeet for Lightning-Fast Local Speech Recognition — GabGarrett · 2026-12-02