# QLoRA

> QLoRA is a fine-tuning method that keeps a pretrained model frozen in 4-bit quantized form and trains low-rank adapters on top of it, backpropagating gradients through the quantized weights, which greatly reduces the memory needed to fine-tune large models.

- Identifier: PTL-0241
- Category: Prompt Optimization
- Canonical URL: https://protologue.com/t/qlora/
- Also known as: quantized LoRA, quantized low-rank adaptation
- Introduced: 2023

## Description

It introduced a 4-bit data type called NormalFloat (NF4) designed for normally distributed weights, double quantization, which also quantizes the quantization constants, and paged optimizers that absorb memory spikes during training. With these, the authors fine-tuned a 65-billion-parameter model on a single 48 GB GPU with performance they reported as matching 16-bit fine-tuning. Their Guanaco models, trained this way in about 24 hours on one GPU, reached 99.3% of ChatGPT's performance on the Vicuna benchmark in their evaluation. QLoRA made fine-tuning of large open-weight models practical on modest hardware.

## Broader terms

- [Low-Rank Adaptation](https://protologue.com/t/low-rank-adaptation/)

## Related terms

- [Quantization](https://protologue.com/t/quantization/)
- [Parameter-Efficient Fine-Tuning](https://protologue.com/t/parameter-efficient-fine-tuning/)
- [Fine-Tuning](https://protologue.com/t/fine-tuning/)

## Sources

- Dettmers et al. (2023). QLoRA: Efficient Finetuning of Quantized LLMs. https://arxiv.org/abs/2305.14314

## Cite this entry

Protologue. (2026). QLoRA. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.7.0, PTL-0241). https://protologue.com/t/qlora/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
