Skip to content
NewA calmer, faster ZeroHour

4-bit KV cache on Hopper outruns FP8 without FP4 hardware

Original title: Fast 4-bit KV-Cache Decoding on Hopper GPUs Without FP4 Hardware

Hugging Face daily papersby Jian Zhang ()1 min read
AI summary · x-ai/grok-4.7Summaries by Vani AI

A budget-aware decode kernel is 1.10–1.48× faster than native FP8 kernels and stores 1.63× more tokens.

On Hopper GPUs without FP4 hardware, current 4-bit KV-cache paths in vLLM are slower than FP8 because kernels exceed Hopper’s issue budget and serialize load, decode, and matmul. A kernel that stays in budget and overlaps decode with loading beats TensorRT-LLM XQA and FlashAttention-4 FP8 as a bare kernel, and in vLLM is faster than FlashInfer FP8 at batch 8 and above on Llama-3.1-8B. The cache holds 1.63× more tokens; on five models, 95% intervals exclude accuracy losses larger than about 3.5 points versus BF16 KV, with a larger drop at 120K tokens.

Unconfirmed: A higher sustained request rate was examined but not established, and the burst figure used mostly one seed.

Key facts
  • FlashInfer’s NVFP4 path on H200 reaches 10–19% of memory bandwidth.
  • vLLM decode on Llama-3.1-8B is 1.12–1.64× FlashInfer FP8 at batch 8 and above.
  • Gains are 1.04–1.18× on unnamed 32B and 72B models.
  • One H200 took 1.23–2.20× FP8’s request rate in 600-second bursts.
  • Keeping layer 0 in BF16 restores Qwen2 models that collapse under FP8 KV.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at huggingface.co

On Hopper GPUs, which have no FP4 hardware, a 4-bit KV cache is slower than FP8 in today's serving stacks: on H200 the FlashInfer kernel behind vLLM's NVFP4 KV cache reaches only 10-19% of memory bandwidth. We show that this is a property of current implementations, not of the format.

Hugging Face daily papers

By Jian Zhang · huggingface.co

Read the full article at Hugging Face daily papers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.