Searching Optimal Floating-Point Format for Sub-8-Bit Large Language Model Inference

  • Hwang, Youngdeok
  • Lee, Janghwan
  • Park, Jiwoong
  • Lim, Jieun
  • Choi, Jungwook
Citations

SCOPUS

0

초록

Large Language Models (LLMs) have shown remarkable success in various natural language processing tasks. However, their extensive parameter count leads to significant memory and computational demands. To tackle these challenges, there is growing interest in employing post-training quantization (PTQ) with reduced-precision floating-point (FP) operations. Yet, the optimal FP configuration remains a topic of debate. Existing studies often overlook a thorough analysis of the diverse data distributions found in LLMs and the crucial design choice, denormal. In this paper, we conduct a comprehensive examination of the various data distributions within LLMs and the significance of denormal representation, presenting a mixed-format floating-point framework. Our proposed framework allows for sub-8-bit inference with minimal performance degradation in language modeling and reasoning tasks across a broad spectrum of LLMs.

키워드

floating-pointLarge language modelmixed-formatpost-training quantization
제목
Searching Optimal Floating-Point Format for Sub-8-Bit Large Language Model Inference
저자
Hwang, YoungdeokLee, JanghwanPark, JiwoongLim, JieunChoi, Jungwook
DOI
10.1109/ICEIC61013.2024.10457111
발행일
2024-01
유형
Conference paper
저널명
2024 International Conference on Electronics, Information, and Communication, ICEIC 2024
페이지
1 ~ 4