LLMC: Benchmarking Large Language Model Quantization with a Versatile Compression Toolkit
Ruihao Gong, Yang Yong, Shiqiao Gu, Yushi Huang, Chengtao Lv, Yunchen, Zhang, Xianglong Liu, Dacheng Tao

TL;DR
LLMC is a comprehensive benchmarking toolkit for quantization of large language models, enabling systematic evaluation of various algorithms, configurations, and hardware impacts to guide efficient model compression.
Contribution
Introduces LLMC, a versatile, plug-and-play toolkit that systematically benchmarks LLM quantization across multiple algorithms, models, and hardware, facilitating fair comparisons and practical insights.
Findings
Provides detailed analysis of quantization impacts on LLMs.
Offers insights into calibration data and algorithm choices.
Enables fair comparison across diverse quantization methods.
Abstract
Recent advancements in large language models (LLMs) are propelling us toward artificial general intelligence with their remarkable emergent abilities and reasoning capabilities. However, the substantial computational and memory requirements limit the widespread adoption. Quantization, a key compression technique, can effectively mitigate these demands by compressing and accelerating LLMs, albeit with potential risks to accuracy. Numerous studies have aimed to minimize the accuracy loss associated with quantization. However, their quantization configurations vary from each other and cannot be fairly compared. In this paper, we present LLMC, a plug-and-play compression toolkit, to fairly and systematically explore the impact of quantization. LLMC integrates dozens of algorithms, models, and hardwares, offering high extensibility from integer to floating-point quantization, from LLM to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling
MethodsFocus
