TECHNOLOGY

FSDP-QLoRA on dual 24 GB GPUs: storage, loading and training scope

In this article
THE QUICK TAKE

The release demonstrates adapter fine-tuning under a complete configuration; summed VRAM alone does not explain the result.

The demonstrated training is adapter fine-tuning

Answer.AI’s original FSDP-QLoRA release reports fine-tuning a 70B model on two consumer GPUs with 24 GB each. The important distinction is what changes during optimisation: the quantised base weights remain frozen while LoRA adapters are trained. The result does not demonstrate full-parameter training or pretraining the same model from scratch within that memory budget.

QLoRA reduces the resident representation of base weights, while FSDP distributes supported state across devices. Merely adding the two board capacities is insufficient to explain feasibility. Activations, adapters, temporary gathered weights, communication buffers and loading peaks still consume memory. The LoRA memory guide explains why parameter representation and the complete training working set are different quantities.

Storage dtype is not weight precision

The bitsandbytes implementation guide describes a key compatibility change: quantised payloads can use a floating-point storage container that FSDP knows how to shard. Selecting such a storage dtype does not turn the frozen base model into ordinary full-precision weights. The kernel still unpacks and dequantises the payload into its computation dtype.

The guide distinguishes quantisation storage from computation dtype and requires compatible types across the wrapped model. A mismatch changes wrapping behaviour. The original release also describes preserving quantisation metadata as shards move and avoiding accidental repeated quantisation after CPU offload. These details explain why a generic sharding flag and a low-bit loading option were not sufficient by themselves.

Loading and activation memory remain separate problems

The original project needed layer-wise loading to avoid placing the complete model on one GPU during preparation. It combined sharding with CPU offload, activation checkpointing and an efficient attention implementation. Those techniques trade host memory, transfer work or recomputation against GPU residency. They should be recorded as part of the claimed configuration rather than omitted from a simple memory-capacity headline.

Activation checkpointing retains selected forward intermediates and recomputes others during backpropagation; it is not a general promise that gradients consume no memory. Sequence length, microbatch size and adapter targeting can still change the peak substantially. The release itself describes limits at longer sequences and labels its initial script an early preview, with fuller performance guidance deferred.

A fitting step is not an entire training assessment

The release establishes an engineering capability and integration path. It does not supply a universal training-speed multiplier, a fixed maximum sequence length for every architecture or evidence that the resulting adapter improves every task. Hardware communication paths and host resources matter even when a short training step fits successfully on both boards.

A useful comparison fixes the base revision, quantisation settings, adapter configuration, sequence lengths, effective batch and optimiser steps. It separately records loading peaks, steady training memory, elapsed time and held-out quality. The reproducible stack guide helps retain the participating library versions. Read the historical dual-GPU result as a concrete adapter-training configuration whose complete execution contract must be preserved, rather than a blanket capacity claim for any large model.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles