QLoRA
Category: Generative AI / LLM
A memory-efficient fine-tuning technique that combines LoRA with 4-bit quantization of the base model, enabling fine-tuning of large models on a single GPU.
Full Explanation
QLoRA (Quantized LoRA) makes fine-tuning of very large language models accessible by combining LoRA with aggressive 4-bit quantization of the frozen base model weights. It introduces three key innovations: a new 4-bit NormalFloat data type that is information-theoretically optimal for normally distributed weights, double quantization to reduce memory footprint of quantization constants, and paged optimizers using unified memory to handle memory spikes. QLoRA enables fine-tuning a 65B parameter model on a single 48GB GPU while maintaining full 16-bit fine-tuning performance. The technique democratized LLM fine-tuning, enabling researchers and hobbyists to customize large models without expensive hardware. QLoRA has been instrumental in the open-source LLM community, powering many community-created model variants and adaptations.
Related Terms
More in Generative AI / LLM
Explore More
- AI Tools Library — Discover AI tools related to QLoRA
- AI Education — Courses to learn about Generative AI / LLM
- AI News — Latest news and updates