paper-with-me

Papers

GPU-Accelerated INT8 Quantization for KV Cache Compression in Large Language Models

2026-01-08 · Maanas Taneja, Purab Shingvi arxiv

The key-value (KV) cache in large language models presents a significant memory bottleneck during inference, growing linearly with sequence length and often exceeding the memory footprint of model weights themselves. We implement and evaluate GPU-accelerated INT8 quantization for KV cache compression, achieving 4$\times$ memory reduction with minimal accuracy degradation. We develop four CUDA kernel variants -- naive, tiled, coarsened, and vectorized -- and benchmark them across realistic workload sizes up to 1 billion elements. Our vectorized kernel achieves up to 1,694$\times$ speedup over CPU baselines while maintaining reconstruction error below 0.004 and attention score error below 0.1 even for 8K-dimensional heads. These results demonstrate that INT8 quantization provides a practical approach for reducing memory pressure in LLM inference with negligible computational overhead (6--58ms) and minimal impact on downstream model behavior

📄 PDF Abstract BibTeX arXiv:2601.04719

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SVDq: 1.25-bit and 410x Key Cache Compression for LLM Attention

2025-02-21 · Hong Yankun, Li Xing, Zhen Hui-Ling, Yu Xianzhi 외

For the efficient inference of Large Language Models (LLMs), the effective compression of key-value (KV) cache is essential. Three main types of KV cache compression techniques, namely sparsity, channel compression, and …

Quantization

VQKV: High-Fidelity and High-Ratio Cache Compression via Vector-Quantization

2026-03-17 · Yixuan Wang, Qingyu Shi, Jiayu Zhou, Dianbo Liu 외 arxiv

The growing context length of Large Language Models (LLMs) enlarges the Key-Value (KV) cache, limiting deployment in resource-limited environments. Prior training-free approaches for KV cache compression typically rely o…

Residual vector quantization for KV cache compression in large language model

2024-10-21 · Ankur Kumar

KV cache compression methods have mainly relied on scalar quantization techniques to reduce the memory requirements during decoding. In this work, we apply residual vector quantization, which has been widely used for hig…

Audio CompressionLanguage ModelingLanguage ModellingLarge Language Model+1

QET: Enhancing Quantized LLM Parameters and KV cache Compression through Element Substitution and Residual Clustering

2024-07-04 · Yanshu Wang, Wang Li, Zhaoqian Yao, Tong Yang

The matrix quantization entails representing matrix elements in a more space-efficient form to reduce storage usage, with dequantization restoring the original matrix for use. We formulate the Quantization Error Minimiza…

Computational EfficiencyEdge-computingImage CompressionLarge Language Model+4

TaDA: Training-free recipe for Decoding with Adaptive KV Cache Compression and Mean-centering

2025-06-05 · Vinay Joshi, Pratik Prabhanjan Brahma, Zicheng Liu, Emad Barsoum

The key-value (KV) cache in transformer models is a critical component for efficient decoding or inference, yet its memory demands scale poorly with sequence length, posing a major challenge for scalable deployment of la…

Quantization