跳到主要导航 跳到搜索 跳到主要内容

LLMC: Benchmarking Large Language Model Quantization with a Versatile Compression Toolkit

  • Ruihao Gong
  • , Yang Yong
  • , Shiqiao Gu
  • , Yushi Huang
  • , Chengtao Lv
  • , Yunchen Zhang
  • , Dacheng Tao
  • , Xianglong Liu*
  • *此作品的通讯作者
  • Beihang University
  • SenseTime Group Limited
  • Nanyang Technological University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

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 hardware, offering high extensibility from integer to floating-point quantization, from LLM to vision-language (VLM) model, from fixed-bit to mixed precision, and from quantization to sparsification. Powered by this versatile toolkit, our benchmark covers three key aspects: calibration data, algorithms (three strategies), and data formats, providing novel insights and detailed analyses for further research and practical guidance for users. Our toolkit is available at https://github.com/ModelTC/llmc.

源语言英语
主期刊名EMNLP 2024 - 2024 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Industry Track
编辑Franck Dernoncourt, Daniel Preotiuc-Pietro, Anastasia Shimorina
出版商Association for Computational Linguistics (ACL)
132-152
页数21
ISBN(电子版)9798891761667
DOI
出版状态已出版 - 2024
活动2024 Conference on Empirical Methods in Natural Language Processing: Industry Track, EMNLP 2024 - Miami, 美国
期限: 12 11月 202416 11月 2024

出版系列

姓名EMNLP 2024 - 2024 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Industry Track

会议

会议2024 Conference on Empirical Methods in Natural Language Processing: Industry Track, EMNLP 2024
国家/地区美国
Miami
时期12/11/2416/11/24

指纹

探究 'LLMC: Benchmarking Large Language Model Quantization with a Versatile Compression Toolkit' 的科研主题。它们共同构成独一无二的指纹。

引用此