OviStack
  1. Home
  2. Free tools
  3. Model fine-tuning resource estimator

Model fine-tuning resource estimator

Estimate GPU memory for full fine-tuning, LoRA and QLoRA, with our own measured run as a reference point.

Model architecture (filled in by the preset)

Estimated peak GPU memory

–

Base weights
Trainable + optimiser
Activations + logits
Runtime overhead

Real reference point

We fine-tuned Qwen3-1.7B with QLoRA on an NVIDIA GTX 1660 with 6GB of VRAM: 30 steps in 14 minutes 31 seconds. Details are in our Labs write-up. The rank, sequence length and batch size of that run are not recorded there, so treat it as evidence that small-model QLoRA fits in 6GB, not as a calibration of this calculator.

How this is calculated

  • Base weights: 2 bytes per parameter in 16-bit, about 0.55 bytes per parameter for 4-bit QLoRA (including quantisation constants).
  • Trainable parameters: all of them for a full fine-tune; for LoRA, rank × layers × the input and output sizes of each targeted layer. Each trainable parameter needs about 16 bytes for its weight, gradient and AdamW states (full fine-tunes keep 16-bit weights and 14 bytes of training state).
  • Activations: an approximation based on batch × sequence × hidden size × layers, much lower with gradient checkpointing, plus the full-precision output logits, which are large for models with big vocabularies.

Limitations

Training memory depends heavily on the framework, attention implementation, optimiser (8-bit and paged optimisers use much less) and settings. Expect real usage to differ by 20% or more in either direction, and test with a few steps before a long run.