English

Any-Precision LLM: Low-Cost Deployment of Multiple, Different-Sized LLMs

Machine Learning 2024-06-24 v4

Abstract

Recently, considerable efforts have been directed towards compressing Large Language Models (LLMs), which showcase groundbreaking capabilities across diverse applications but entail significant deployment costs due to their large sizes. Meanwhile, much less attention has been given to mitigating the costs associated with deploying multiple LLMs of varying sizes despite its practical significance. Thus, this paper introduces \emph{any-precision LLM}, extending the concept of any-precision DNN to LLMs. Addressing challenges in any-precision LLM, we propose a lightweight method for any-precision quantization of LLMs, leveraging a post-training quantization framework, and develop a specialized software engine for its efficient serving. As a result, our solution significantly reduces the high costs of deploying multiple, different-sized LLMs by overlaying LLMs quantized to varying bit-widths, such as 3, 4, ..., nn bits, into a memory footprint comparable to a single nn-bit LLM. All the supported LLMs with varying bit-widths demonstrate state-of-the-art model quality and inference throughput, proving itself to be a compelling option for deployment of multiple, different-sized LLMs. Our code is open-sourced and available online.

Keywords

Cite

@article{arxiv.2402.10517,
  title  = {Any-Precision LLM: Low-Cost Deployment of Multiple, Different-Sized LLMs},
  author = {Yeonhong Park and Jake Hyun and SangLyul Cho and Bonggeun Sim and Jae W. Lee},
  journal= {arXiv preprint arXiv:2402.10517},
  year   = {2024}
}

Comments

To appear at ICML 2024. Code is available at https://github.com/SNU-ARC/any-precision-llm

R2 v1 2026-06-28T14:50:28.156Z