Fast 4-bit KV-Cache Decoding on Hopper GPUs: Why Existing Kernels Are Slow and How to Fix Them
New in Efficient LLM inference and serving; no direction yet. Efficient LLM inference and serving
Abstract (arXiv)
A 4-bit KV cache reads about half the bytes of FP8, but Hopper GPUs have no FP4 hardware and little instruction-issue capacity per byte of memory bandwidth, so 4-bit values must be decoded in software. On H200, vLLM's NVFP4 KV path (FlashInfer's decode) reaches 10-20% of memory bandwidth and is up to 1.7x slower than FP8. NVBit instruction counts show two causes: the kernels behind vLLM's 4-bit paths (FlashInfer NVFP4, Triton UltraQuant) execute 2-6x Hopper's issue budget per byte and serialize loading, decoding and matrix multiplies. Our Hopper-native decode kernel overlaps a TMA producer warp with two compute warpgroups, lays the cache out at write time so decoded values feed the tensor cores from registers, and swaps the matrix operands so small query groups need no padding. On H200 it reaches 67-75% of peak bandwidth at batch 32-128 and at all 11 shapes is 1.12-1.49x faster than the faster of XQA and FlashAttention-4's proposed native FP8. Inside vLLM, with an accuracy recipe (K mean removal and rotation, 4 BF16 sink tokens, BF16 layer 0), it decodes 1.12-1.64x faster per step on Llama-3.1-8B than vLLM's FlashInfer FP8 path at batch 8 and above (1.04-1.24x over FlashAttention-4's FP8), is level at batch 1, and holds 1.63x as many tokens. On one H200 under a reasoning-like request stream, the highest rate at which 99% of requests meet the latency targets is 1.23-1.32x FP8's on Llama-3.1-8B and 1.67-2.20x on Qwen2.5-72B, as the cache becomes the limit; prefill-heavy streams are worse (7% slower prefill). On five 7B-32B models, repeated runs show no significant accuracy difference from BF16 KV. In Qwen2-family models, whose reasoning variants collapse under FP8 KV, layer 0's key mean is almost entirely the key-projection bias identified by prior work, seen through RoPE and computable from the weights alone; keeping that layer in BF16 restores FP8 KV and, with K mean removal, 4-bit KV.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 37 of its 60 references that are in the map. Submitted 23 Nov 2026, announced 24 Nov 2026.
Builds on
37 of 60 references.
References · 37
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,852
- 2023Let's Verify Step by Stepcited by 4,259
- 2016Pointer Sentinel Mixture Modelscited by 3,344
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 717
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 670
25 more
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 330
- 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Servingcited by 240
- 2023Microscaling Data Formats for Deep Learningcited by 195
- 2024SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Accelerationcited by 191
- 2025Pretraining Large Language Models with NVFP4cited by 102
- 2026FlashAttention-4: Algorithm and Kernel Pipelining Co-Design for Asymmetric Hardware Scalingcited by 99
- 2025Quantization Hurts Reasoning? An Empirical Study on Quantized Reasoning Modelscited by 86
- 2024MARLIN: Mixed-Precision Auto-Regressive Parallel Inference on Large Language Modelscited by 60
- 2024IntactKV: Improving Large Language Model Quantization by Keeping Pivot Tokens Intactcited by 57
- 2022Who Says Elephants Can't Run: Bringing Large Scale MoE Models into Cloud Scale Productioncited by 31
- 2025BitDecoding: Unlocking Tensor Cores for Long-Context LLMs with Low-Bit KV Cachecited by 13
- 2025LiquidGEMM: Hardware-Efficient W4A8 GEMM Kernel for High-Performance LLM Servingcited by 9
- 2026SAW-INT4: System-Aware 4-Bit KV-Cache Quantization for Real-World LLM Servingcited by 9
- 2026Alignment Collapse Under KV Cache Quantization: Diagnosis and Mitigationcited by 6
- 2025Accurate Models of NVIDIA Tensor Corescited by 4
- 2025FireQ: Fast INT4-FP8 Kernel and RoPE-aware Quantization for LLM Inference Accelerationcited by 3
- 2025Reasoning Language Model Inference Serving Unveiled: An Empirical Studycited by 2
- 2026KV4-RL: Unlocking Faster Asynchronous Rollouts for RLVR with INT4 KV Cache Quantizationcited by 2
- 2026UltraQuant: 4-bit KV Caching for Context-Heavy Agentscited by 1
- 2026FuTransformer: FP8 prefill and INT4 decode for Llama-style inference on Hoppercited by 1
- 2026Jet-QSparse: Accelerating Agentic LLM Inference with 4-Bit Sparse Attentioncited by 1
- 2026FlagRot: Selective Rotation for Low-Bit KV Cachescited by 1
- 2026FOSCAR: Accelerating Decode Attention over 2- and 4-Bit KV Caches through Affine Foldingcited by 1
- 2026BitDecoding-FP4: Native FP4 KV Cache Decoding via Algorithm-System Co-Designcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026More GPUs or a Smaller Cache? Tensor Parallelism versus KV Compression for Memory-Bound LLM Serving
- 2025TraCT: Disaggregated LLM Serving with CXL Shared Memory KV Cache at Rack-Scale
- 2026Efficient Remote KV Cache Reuse with GPU-native Video Codec
- 2026PulseInfer: I/O-Centric Sparse KV Cache Offloading for Efficient Long-Context LLM Decoding
- 2026Interface-Aware KV Cache Quantization for Dense On-Chip NVM in Long-Context LLM Decoding
- 2026KV-CoRE: Benchmarking Data-Dependent Low-Rank Compressibility of KV-Caches in LLMs
- 2026Dissecting GPU Utilization for LLM Inference on Nvidia Hopper
- 2026SplitZip: Ultra Fast Lossless KV Compression for Disaggregated LLM Serving