# QFT: Quantized Full-parameter Tuning of LLMs with Affordable Resources

Source: [QFT: Quantized Full-parameter Tuning of LLMs with Affordable Resources](<https://www.sota2.com/research/paper/68fa78b31e209131cea79d9d>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-03-20T05:00:04.947Z

Authors: Zhikai Li, Xiaoxuan Liu, Banghua Zhu, Zhen Dong, Qingyi Gu, Kurt Keutzer

Published: 2023-10-11T02:47:40.000Z

## Abstract

Large Language Models (LLMs) have showcased remarkable impacts across a wide spectrum of natural language processing tasks. Fine-tuning these pretrained models on downstream datasets provides further significant performance gains; however, this process typically requires a large number of expensive, high-end GPUs. Although there have been efforts focused on parameter-efficient fine-tuning, they cannot fully unlock the powerful potential of full-parameter fine-tuning. In this paper, we propose QFT, a Quantized Full-parameter Tuning framework for LLMs that quantizes and stores all training states, including weights, gradients, and optimizer states, in INT8 format to reduce training memory, thereby enabling full-parameter fine-tuning on existing GPUs at an affordable cost. To ensure training performance, we make two key efforts: i) for quantized gradients and optimizer states, we theoretically prove that the Lion optimizer, with its property of consistent update magnitudes, is highly robust to quantization; ii) and for quantized weights, we employ the hybrid feature quantizer, which identifies and protects a small subset of sparse critical features while quantizing the remaining dense features, thus ensuring accurate weight updates without FP32 backups. Moreover, to support backpropagation in the integer context, we develop a stack-based gradient flow scheme with O(1) complexity, forming a unified integer training pipeline. As a result, QFT reduces the model state memory to 21% of the standard solution while achieving comparable performance, e.g., tuning a LLaMA-7B model requires only \<30GB of memory, making it feasible on a single A6000 GPU.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Fine-tuning Resource Usage on LLaMA-2-7B](<https://www.sota2.com/research/sota/fine-tuning-resource-usage-on-llama-2-7b.md>): Fine-tuning; LLaMA-2-7B; Weights Memory Usage: 7.42.

- [Conversational Language Modeling on MT-Bench GPT-4 evaluator (test)](<https://www.sota2.com/research/sota/conversational-language-modeling-on-mt-bench-gpt-4-evaluator-test.md>): Conversational Language Modeling; MT-Bench GPT-4 evaluator (test); MT-Bench Score: 6.27.

- [General Language Understanding on Open LLM Leaderboard HuggingFace 2023a (test)](<https://www.sota2.com/research/sota/general-language-understanding-on-open-llm-leaderboard-huggingface-2023a-test.md>): General Language Understanding; Open LLM Leaderboard HuggingFace 2023a (test); ARC-c Accuracy (25-shot): 56.2.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2310.07147>)

[PDF](<https://arxiv.org/pdf/2310.07147.pdf>)
