AI INFRA DeepInMind Benchmarks
Home / AI Infra Calculators / Fine-Tuning VRAM Calculator

LLM Fine-Tuning VRAM Calculator (Full FT vs LoRA vs QLoRA)

Estimate training memory across base weights, trainable adapters, AdamW / 8-bit optimizer states, gradients, and sequence activations for Axolotl, Unsloth, LLaMA-Factory, and DeepSpeed ZeRO.

Training Configuration

Peak Training VRAM14.8 GB
Base Weights8.2 GB
Gradients + Optimizer1.9 GB
Activations (Grad Ckpt)4.7 GB

FAQ: LoRA, QLoRA & DeepSpeed ZeRO-3

Why does Full Fine-Tuning require 4x more VRAM than BF16 inference?
In mixed-precision Full Fine-Tuning with AdamW, GPU memory must hold FP16 weights (2B/param), FP16 gradients (2B/param), plus FP32 master weights, momentum, and variance states (12B/param)—totaling ~16–18 bytes per parameter before activations!
How much VRAM does QLoRA save with Unsloth or Axolotl?
QLoRA freezes the base model in 4-bit NormalFloat (NF4, ~0.55 bytes/param) and trains tiny LoRA rank adapters (typically 1%–2% of parameters) with 8-bit PagedAdamW and gradient checkpointing, allowing 70B QLoRA fine-tuning on a single 48GB GPU.