CPU, GPU AND RAM

ChunkFT: rotating full fine-tuning chunks and CPU optimizer state

In this article
THE QUICK TAKE

ChunkFT eventually updates all parameters but activates only one chunk at a time; its memory savings do not imply dense AdamW updates or a universal GPU minimum.

Fine-tuning a large language model needs memory beyond its weights. The optimizer keeps additional parameter copies and statistics from previous updates, while backpropagation produces gradients and intermediate data. A model that fits in VRAM for inference may therefore be too large to train.

On 20 May 2026, researchers presented ChunkFT, a preprint proposing to reduce this burden by splitting parameters into small pieces and training only an active piece at a time. Optimizer state for the remaining pieces stays in CPU memory. The authors call this full-parameter training because the schedule eventually covers all trainable parameters. It does not mean they are all updated simultaneously, as in ordinary dense AdamW.

The authors report adapting Llama 3-8B on one RTX 4090 with 24 GB VRAM and Llama 3-70B on two H800 cards with 80 GB each. These are the researchers’ own results, and their hardware description contains an important ambiguity discussed below. An implementation repository is public.

How the active working set operates

ChunkFT divides trainable tensors into chunks according to approximate memory cost in bytes. A large tensor can be split into slices, so chunk boundaries need not follow layer boundaries. One chunk stays active for a specified number of updates before the schedule moves to the next. Other weights participate in the forward pass but are not updated during this stage. A sufficiently long training schedule can pass through every part of the model. Paper Algorithm 1.

Special backward operators produce gradients for active slices, and the optimizer uses their preserved AdamW moments. Inactive 32-bit master weights and moments remain on CPU. At a chunk transition, the required state moves to GPU and the completed state returns to CPU. Asynchronous prefetching and offloading seek to overlap transfer with computation. However, the memory model keeps the entire current FP16 model on GPU: offloading optimizer state does not remove the requirement to fit the model itself. Sections 3 and 3.3.

The difference from ordinary AdamW also affects optimization: only the current piece receives an update from a particular example, while another piece is updated later, potentially using other data. The objective may be unchanged, but the optimization trajectory and updates per parameter differ. The authors provide a deterministic convergence analysis under stated assumptions; this does not guarantee identical quality for every model and dataset. Appendix G.

Under mixed precision, the authors estimate weights, gradients and optimizer-state memory as 2M + 16M/K GB, where M is billions of parameters and K is the number of equal chunks. Dense training in the same accounting model requires approximately 18M GB. This is an analytical estimate of those components, not total peak VRAM: activations, temporary buffers and implementation details also matter. More chunks reduce active state while changing update frequency, requiring quality and performance checks. Sections 3.3 and 4.3.

What the authors measured

The memory comparison used Llama 2-7B on BoolQ with maximum sequence length 1024, gradient checkpointing enabled and no DeepSpeed memory optimizations. The authors report 13.72 GB for ChunkFT at batch size 1 in FP32. This is one measurement, not a universal requirement for any seven-billion-parameter model or context. Peak memory was measured through torch.cuda.max_memory_allocated(), rather than the entire allocation reserved by the driver. Table 2 and Appendix D.

Hardware attribution needs care. The abstract claims Llama 3-8B on an RTX 4090, while the experiment section assigns RoBERTa-large to the 4090 and other experiments to H800. The appendix also places other methods on H800. The 13.72 GB Llama 2-7B result therefore cannot confidently be described as a direct RTX 4090 measurement. The paper also discusses batch size 8 within a 24 GB budget, but that does not resolve the machine used for a particular measurement. Abstract, Section 4 and Appendix D.

The speed comparison is clearer: Llama 2-7B, BoolQ, 1000 training examples, 500 validation examples, three epochs and one H800 with 80 GB. At batch size 8, the authors report average epoch times of 4855 seconds for ChunkFT, 5690 for BAdam and 6501 for HiFT. LoRA was faster in this comparison while training a different parameter set. These figures belong to that test; they do not promise the same speedup on a home system or longer sequences. Table 3 and Section 4.1.

The authors evaluated quality on language understanding, mathematical benchmarks and MT-Bench. For Llama 2-7B, for example, they report an average language-understanding score of 84.9 against 83.6 for Adam and HiFT. The appendix describes averaging over five random seeds. This is an encouraging author comparison, not evidence of superiority on arbitrary tasks. Independent reproduction of the claimed results was not established in this review. Section 4.2 and Appendix D.

Where the approach helps and what it costs

ChunkFT may interest teams that need to change original model weights but lack VRAM for dense training. By contrast, LoRA generally freezes base weights and trains added low-rank matrices. It remains a useful alternative when quality is sufficient: fewer trainable parameters often make it economical. ChunkFT’s repository also contains optional PEFT modules, so an adapter configuration should not automatically be treated as the paper’s full fine-tuning mode. README.

Moving computation or state to CPU is not new. In 2021, ZeRO-Offload already described using CPU resources to reduce GPU pressure. ChunkFT’s particular contribution combines rotating parameter slices, their gradients and preserved optimizer state.

VRAM savings shift some demand to RAM and the CPU–GPU link. Runtime gains depend on their bandwidth and effective prefetching; unusual architectures may need additional backward implementations. The authors explicitly discuss these limits. Before adoption, measure peak GPU and host memory, complete training time and task quality against appropriate baselines. The available description does not establish comparable total project cost or independent verification across many configurations.

The repository provides a launcher, chunk-count and rotation-interval settings, and offload and prefetch switches. Available code helps start an experiment but does not itself prove published results reproducible. Independent testing was not established.

Sources

The AdamW explanation describes why preserved optimizer state matters. Offload assessment also needs separate accounting for RAM and VRAM.

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