Scaling Laws for Post Training Quantized Large Language Models

Zifei Xu, Alexander Lan, Wanzin Yazar, Tristan Webb, Sayeh Sharify +1 more
10/15/2024
cs.LGcs.CL

No confident code implementation found for this paper. 7 possible matches can be shown below.

Abstract

Generalization abilities of well-trained large language models (LLMs) are known to scale predictably as a function of model size. In contrast to the existence of practical scaling laws governing pre-training, the quality of LLMs after post-training compression remains highly unpredictable, often requiring case-by-case validation in practice. In this work, we attempted to close this gap for post-training weight quantization of LLMs by conducting a systematic empirical study on multiple LLM families quantized to numerous low-precision tensor data types using popular weight quantization techniques. We identified key scaling factors pertaining to characteristics of the local loss landscape, based on which the performance of quantized LLMs can be reasonably well predicted by a statistical model.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 7 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2024scaling,
  title  = {Scaling Laws for Post Training Quantized Large Language Models},
  author = {Zifei Xu and Alexander Lan and Wanzin Yazar and Tristan Webb and Sayeh Sharify and Xin Wang},
  year   = {2024},
  eprint = {2410.12119},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.12119v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.12119.svg)](https://codeofpaper.com/paper/2410.12119)

Discussion