Layer-streamed QLoRA matches standard QLoRA with less GPU memory
Original title: Fine-Tuning Large Models on Smaller GPUs: Does Streaming the Model One Layer at a Time (Layer-Streamed QLoRA) Match Standard QLoRA?
Streaming cut peak GPU memory on 12 Phi-3 and Qwen runs but made same-GPU training 1.05× to 4.99× slower.
The paper compares standard QLoRA with layer-streamed QLoRA, which keeps only some layers on the GPU and moves others between CPU and GPU. Twelve configurations from the Phi-3, Qwen3, and Qwen3.5 families, from 0.6B to 32B parameters, were fine-tuned on Dolly-15k. Benchmark gaps were small, with the largest at 0.0099 on GSM8K and 0.0026 on MMLU and no consistent winner. Streaming lowered peak GPU memory in every configuration while training on the same GPU took 1.05× to 4.99× longer.
- Ten configurations used the same GPU; the two largest standard runs used a second GPU.
- Initial-run final evaluation loss relative differences stayed below 0.003.
- Logits and trained checkpoints were not numerically identical.
- Models spanned 0.6B to 32B parameters and were fine-tuned on Dolly-15k.
From the original article
1 min read at arxiv.orgFine-tuning adapts pretrained large language models (LLMs) to specific tasks and domains, but full-parameter fine-tuning requires substantial GPU memory and computational resources. Low-Rank Adaptation (LoRA) addresses this limitation by freezing pretrained weights and learning lightweight low-rank matrices.
By Ashwini Mandal · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.