BitDecoding: Unlocking Tensor Cores for Long-Context LLMs with Low-Bit KV Cache

计算机科学 物理 隐藏物 张量(固有定义) 地质学 噪音(视频) 钥匙(锁) 遥感 芯(光纤) 集合(抽象数据类型)
作者
Dayou Du,Shijie Cao,Jianyi Cheng,Luo Mai,Ting Cao,Mao Yang
标识
DOI:10.1109/hpca68181.2026.11408481
摘要

The rise of long-context Large Language Models (LLMs) amplifies memory and bandwidth demands during autoregressive decoding, as the Key-Value (KV) cache grows with each generated token. Low-bit KV-cache quantization (e.g., 4-bit or 2-bit) can reduce memory footprint while preserving accuracy, but existing systems suffer from slow decoding due to their exclusive reliance on CUDA cores, neglecting Tensor Cores—the primary source of compute on modern GPUs. We present BitDecoding, a new long-context LLMs inference system with low-bit KV cache. BitDecoding enables efficient low-bit KV cache decoding by cooperatively leveraging CUDA Cores and Tensor Cores. It introduces methods for automatically inducing optimized layouts to exploit Tensor Cores, along with novel warp-level parallelization strategies for dequantization. For unified system support, BitDecoding includes a query transformation module supporting diverse attention variants, a quantization kernel to support both tensor-wise and channelwise scaling used in various quantization algorithms with high performance, and a dequantization kernel with a softwaredefined pipeline to coordinate CUDA and Tensor Cores execution for mix-precision operations. In addition, architecture-specific optimizations leverage Hopper's warpgroup tensor instructions and Blackwell's native low-precision tensor formats to maximize decoding throughput on the latest GPU generations. Evaluated on Blackwell, Hopper, Ada, and Ampere architectures, BitDecoding attains on average a 7.5× decoding speedup over FP16 FlashDecoding-v2, and further reaches up to 8.6× with native MXFP4 formats on Blackwell, while surpassing the state-of-the-art low-bit system QServe by up to 4.3×. On LLaMA-3.1-8B with a 128K context, BitDecoding reduces singlebatch decoding latency by 3×, demonstrating substantial improvements for long-context generation, and is open sourced at https://github.com/OpenBitSys/BitDecoding.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
希望天下0贩的0应助sy采纳,获得10
1秒前
1秒前
阿rain完成签到,获得积分10
1秒前
3秒前
3秒前
doocan发布了新的文献求助10
3秒前
lailight完成签到,获得积分10
3秒前
咕叽咕咚发布了新的文献求助30
4秒前
4秒前
隐形曼青应助zyz采纳,获得10
5秒前
明理的踏歌完成签到,获得积分10
6秒前
haodong应助Zach采纳,获得30
6秒前
8秒前
YYZZYY发布了新的文献求助10
8秒前
8秒前
mehdi69发布了新的文献求助10
9秒前
科研通AI6.2应助lixuran1998采纳,获得10
9秒前
鑫鑫完成签到 ,获得积分10
10秒前
夏槐应助沉寂的秋采纳,获得10
12秒前
12秒前
14秒前
14秒前
14秒前
15秒前
咕叽咕咚完成签到,获得积分10
15秒前
16秒前
17秒前
17秒前
lixuran1998完成签到,获得积分10
17秒前
yao完成签到,获得积分10
17秒前
搜集达人应助驴小兔子采纳,获得10
18秒前
20秒前
20秒前
Docter发布了新的文献求助10
21秒前
Tia发布了新的文献求助10
21秒前
zyz发布了新的文献求助10
22秒前
Orange应助沉静的南松采纳,获得10
22秒前
23秒前
23秒前
23秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Autoparametric Resonance in Mechanical Systems 1000
Cosmos as Art Object: Studies in Plato's Timaeus and Other Dialogues 600
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
基于锂离子电池正极材料回收的绿色溶剂开发及工程化应用研究 500
Auslegungsgeschichte 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7643654
求助须知:如何正确求助?哪些是违规求助? 9216703
关于积分的说明 19772934
捐赠科研通 7209050
什么是DOI,文献DOI怎么找? 3276704
关于科研通互助平台的介绍 2438276
邀请新用户注册赠送积分活动 2274480