QLoRA
QLoRA (Quantized Low-Rank Adaptation) is a parameter-efficient fine-tuning method for large language models that combines model quantization with Low-Rank Adaptation (LoRA). Its core mechanism quantizes pretrained model weights into a low-precision format (e.g., 4-bit) to substantially reduce memory usage, while training only a small number of learnable low-rank adapter parameters. This approach achieves performance close to full fine-tuning while significantly reducing computational resource requirements, making large-scale language model fine-tuning feasible on limited hardware.
Core Facts
LoRA reduces fine-tuning costs by training only a small number of adapter layers (low-rank matrix bypass training).
QLoRA quantizes the base model to 4-bit precision for storage, while applying LoRA adapters on top of the quantized model for training.
QLoRA introduces 4-bit quantization technology, making it possible to fine-tune models with 65 billion parameters on a single RTX 3090/4090 GPU with 24 GB of VRAM.
Timeline (last 90 days)
On the held-out variants, the E2B model's pass rate improved from 18/66 to 37/66 (LoRA and QLoRA gave identical results).
The 8-bit int8 quantization mentioned in the text is an inference optimization at the deployment stage, which is a different step from the 4-bit quantization at the QLoRA training stage.
On the held-out variants, the E4B model (QLoRA) pass rate improved from 32/66 to 47/66.
Fine-tuning used two lightweight methods, LoRA and QLoRA, and was completed on a laptop's integrated GPU.
After QLoRA fine-tuning, all eight LLMs with at least 13B total parameters surpassed the BERT baseline under a larger output limit, reaching relaxed F1 of 0.882-0.914 and exact surface F1 of 0.840-0.880.
The HandsOnAid project uses a 4-bit quantized Gemma 2B model, fine-tuned via QLoRA on the FirstAidQA dataset.
QLoRA further incorporates quantization, making single-GPU fine-tuning possible.
The QLoRA reward margin differs by up to 3.4× between nf4 quantized training and unquantized fp16 measurement, and the gap depends on the measurement axis.
LoRA and QLoRA update only a small number of additional parameters rather than the entire model, significantly reducing memory and storage requirements compared with full fine-tuning.
QLoRA makes three key improvements on top of LoRA: 4-bit NormalFloat (NF4) quantization, double quantization, and a paged optimizer.
27 more timeline events
All Facts (20)
LoRA reduces fine-tuning costs by training only a small number of adapter layers (low-rank matrix bypass training).
90%VerifiedQLoRA quantizes the base model to 4-bit precision for storage, while applying LoRA adapters on top of the quantized model for training.
90%VerifiedQLoRA introduces 4-bit quantization technology, making it possible to fine-tune models with 65 billion parameters on a single RTX 3090/4090 GPU with 24 GB of VRAM.
90%VerifiedUnsloth is an open-source tooling team focused on large model quantization and fine-tuning acceleration, providing GGUF quantized versions for mainstream open-source models.
85%VerifiedQLoRA was proposed by a research team at the University of Washington in 2023, quantizing base model weights to 4-bit (NF4 format)
85%VerifiedQLoRA quantizes the base model weights in 4-bit NF4 format, making it possible to fine-tune a 13-billion-parameter model on a single GPU.
80%VerifiedLoRA and QLoRA are the currently mainstream parameter-efficient fine-tuning methods, allowing fine-tuning to be completed on consumer-grade GPUs.
80%VerifiedLoRA reduces the number of trainable parameters by injecting low-rank decomposition matrices into the model's weight matrices, making it possible to fine-tune models with billions of parameters on consumer-grade GPUs.
80%VerifiedNF4 (4-bit NormalFloat) is an information-theoretically optimal data type proposed in the QLoRA paper (Dettmers et al., 2023).
80%VerifiedThe parameter-efficient fine-tuning (PEFT) field includes methods such as LoRA, QLoRA, Prefix Tuning, Adapter, and IA³, with a shared design philosophy of freezing most parameters and training only a small number of newly added parameters.
75%VerifiedQLoRA quantizes pre-trained model weights to 4-bit, making it possible to fine-tune a 65-billion-parameter large language model on a single consumer-grade GPU with 24GB of VRAM
75%VerifiedQLoRA introduces 4-bit quantization on top of LoRA, further compressing memory requirements to a fraction of the original.
65%VerifiedQLoRA was proposed in 2023 by Tim Dettmers and colleagues at the University of Washington.
65%VerifiedQLoRA combines 4-bit quantization, making it possible to fine-tune 70B parameter models on consumer-grade GPUs.
65%UnverifiedThe PEFT library supports parameter-efficient fine-tuning methods such as LoRA and QLoRA, reducing the number of parameters that need to be updated from billions to millions
90%UnverifiedQLoRA (Quantized Low-Rank Adaptation) is a technique proposed by the University of Washington in 2023.
90%UnverifiedUnsloth内置LoRA/QLoRA参数高效微调方法支持
85%UnverifiedGitHub上的开源项目unsloth-llama3-alpaca-lora提供了一套完整的4-bit QLoRA微调流水线,专门针对LLaMA 3 8B模型做了优化
85%Unverified大模型部署调优的核心技能包括使用Ollama、vLLM等框架部署开源模型,通过LoRA、QLoRA进行参数高效微调,以及利用RAG技术结合企业私有知识库
85%UnverifiedQLoRA technology can reduce the VRAM usage of a 7B parameter model from approximately 28GB to under 6GB.
80%