QLoRA (Quantized LoRA)
Short Summary
QLoRA is LoRA on top of a pre-quantized base model. It allows fine-tuning the model on a regular PC or in free Google Colab.
What's Different from LoRA
Regular LoRA keeps the base model in full precision (16 bits). QLoRA compresses it to 4 bits (NF4) before freezing. This reduces video memory consumption by 3–4 times.
Why It Works
Base weights do not get trained; they just participate in computations. Therefore, they can be stored in a compressed format: precision is only needed for small trainable matrices, not the entire frozen model.
Results
A model like Llama 3 8B or Mistral 7B can be fine-tuned on a regular gaming PC or free Colab. The adapter file takes up tens of megabytes.