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

The original dual-GPU demonstration depends on frozen low-bit weights, trainable adapters, metadata-preserving sharding and memory-aware loading.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/fsdp-qlora-dual-24gb-storage-loading-training-boundary/
Language: en

## The demonstrated training is adapter fine-tuning

Answer.AI's [original FSDP-QLoRA release](https://www.answer.ai/posts/2024-03-06-fsdp-qlora.html) 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](/journal/lora-qlora-memory/) explains why parameter representation and the complete training working set are different quantities.

## Storage dtype is not weight precision

The [bitsandbytes implementation guide](https://huggingface.co/docs/bitsandbytes/fsdp_qlora) 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](/journal/software-stack-reproducibility/) 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.
