Skip to page content
SAVRN
Search Plan a project

Research paper · 2023-09-11

Optimize Weight Rounding via Signed Gradient Descent for the Quantization of LLMs

Wenhua Cheng, Weiwei Zhang, Haihao Shen, Yiyang Cai, Xin He, Kaokao Lv

7 open models in the SAVRN Model Hub cite Optimize Weight Rounding via Signed Gradient Descent for the Quantization of LLMs (2023). Together they draw 633 downloads a month. The most downloaded is Muse-Spark-Open-816B-A42B-INT4 by Intel AI (text generation, 152.4B parameters). They are used for text generation, image and text to text.

Published2023-09-11
Authors6
Citing Models7
arXiv2309.05516

Abstract

Large Language Models (LLMs) have proven their exceptional capabilities in performing language-related tasks. However, their deployment poses significant challenges due to their considerable memory and storage requirements. In response to this issue, weight-only quantization, particularly 3 and 4-bit weight-only quantization, has emerged as one of the most viable solutions. As the number of bits decreases, the quantization grid broadens, thus emphasizing the importance of up and down rounding. While previous studies have demonstrated that fine-tuning up and down rounding with the addition of perturbations can enhance accuracy in some scenarios, our study is driven by the precise and limited boundary of these perturbations, where only the threshold for altering the rounding value is of significance. Consequently, we propose a concise and highly effective approach for optimizing the weight rounding task. Our method, named SignRound, involves lightweight block-wise tuning using signed gradient descent, enabling us to achieve outstanding results within 400 steps. SignRound outperforms the established baseline of rounding-to-nearest (RTN) and competes impressively against recent methods, without introducing additional inference overhead. The source code will be publicly available at https://github.com/intel/neural-compressor soon.

Full paper on arXiv · Code

Details

arXiv identifier
2309.05516
Published
2023-09-11
Authors
Wenhua Cheng, Weiwei Zhang, Haihao Shen, Yiyang Cai, Xin He, Kaokao Lv

Open Models Built on This Paper

Every model in the SAVRN Model Hub whose card cites this paper, most downloaded first, with what it takes to run each one.

ModelTaskSizeLicenseMonthly downloadsCheapest setup at 16-bit
Muse-Spark-Open-816B-A42B-INT4
Intel AI
Text generation 152.4B other 294 2x MI300X $3.70/hr
Qwen3.8-Flash-Next-MXFP4-BF16Attn-CT-AutoRound
Intel AI
Text generation 180B other 74 2x MI325X $4.00/hr
Qwen3.8-Flash-Next-MXFP4-BF16Attn-MXFP8MTP-PLEMXFP8-CT-AutoRound
Intel AI
Text generation — other 63 —
Qwen3.8-Flash-Next-MXFP4-BF16SharedExperts-CT-AutoRound
Intel AI
Text generation — other 61 —
Muse-Spark-Open-816B-A42B-MXFP4
Intel AI
Text generation 822B other 50 8x MI325X $16.00/hr
Qwen3.8-Flash-Next-MXFP4-BF16Attn-MXFP8MTP-CT-AutoRound
Intel AI
Text generation — other 50 —
Inkling-Small-MXFP4-AutoRound
Intel AI
Image and text to text 266B apache-2.0 41 3x MI325X $6.00/hr

By task: Text generation (6) · Image and text to text (1)