Quantized LoRA (QLoRA)

Fine-tunes large AI models on consumer hardware by holding the frozen model in a compressed form while training small adapter layers at full precision.

Technically: Quantized LoRA loads the frozen base model in 4-bit NF4 (Normal Float 4) with double quantization, while training the LoRA adapters in 16-bit bfloat16. Paged optimizers offload optimizer states to CPU RAM when GPU memory is tight. QLoRA reported fine-tuning a 65B model on a single 48 GB GPU, putting open-weight specialization within reach.

Category: Training & Optimization

Related ideas