QLoRA vs. LoRA: which one should you use?
Published 25 November 2026
Both LoRA and QLoRA freeze the pretrained weights and train two small matrices per layer, A and B, whose product is added to the frozen weight: W' = W + (α / r) · B·A. The difference is how the frozen W is stored.
LoRA
The base model stays in full precision. In the browser that means float32, i.e. 4 bytes per parameter: a 0.6B model already needs about 2.4 GB just for its weights. LoRA gives the most exact gradients and is a good choice for small models (≤ 500M parameters).
QLoRA
QLoRA (Dettmers et al., 2023) quantizes the frozen weights to 4-bit NormalFloat. Each block of 64 weights shares one scale (its absolute maximum), and every weight is mapped to one of 16 levels that are spaced like a normal distribution. During the forward and backward pass the weights are dequantized on the fly, the LoRA matrices stay in full precision, so gradients still flow in 32-bit.
Tunewerk stores NF4 codes packed eight per 32-bit word and dequantizes them with a dedicated WebGPU shader. Memory per parameter:
- LoRA (float32): 4 bytes
- QLoRA (NF4 + block scales): ≈ 0.56 bytes
In the QLoRA paper, 4-bit fine-tuning matched 16-bit fine-tuning on standard benchmarks. In practice the difference is far smaller than the effect of dataset quality or learning rate.
Which one to choose
- QLoRA (default): any model above ~500M parameters, or whenever GPU memory is tight.
- LoRA: tiny models such as SmolLM2-135M/360M, or if you want the exact full-precision forward pass.
Either way the merged export is computed from the original full-precision checkpoint, so the quantization only affects training, not the weights you download.
Try it yourself – free, in your browser.
Open the studio