Running a model needs only its weights, plus a KV cache. Training it needs far more, because every step has to remember more than the weights themselves.
For each weight, training keeps its value, its gradient from backpropagation, and the optimiser’s running state. The popular Adam optimiser keeps two running averages for every weight. The standard recipe for large models trains in mixed precision: 16-bit weights and gradients at 2 bytes each, plus a 32-bit master copy of the weights and Adam’s two 32-bit running averages at 4 bytes each. That adds up to 16 bytes per parameter, and the activations saved for the backward pass come on top.
Compare that with inference. Running the same model at 16-bit takes 2 bytes per parameter, and a 4-bit quantised copy much less. So a model that runs comfortably on one home graphics card can need many times that memory to train in full. That is why almost nobody fully fine-tunes large models at home.
The common way round it is to train only a little. LoRA freezes the base model and trains small adapter matrices beside it. QLoRA also stores the frozen base in a 4-bit format. Backpropagation still runs through the whole network, but gradients and optimiser state are kept only for the adapters, which is what makes fine-tuning fit on a single home GPU.
The explainer works out training and running memory for real model sizes, so you can see where the gap comes from.