Efficient Training on Multiple Consumer GPUs with RoundPipe
AuthorsYibin Luo, Shiwei Gao, Huichuan Zheng, Youyou Lu, Jiwu Shu
Resources
RoundPipe is a new way to fine-tune huge language models efficiently on cheap GPUs by dynamically rotating work across devices to cut pipeline bubbles and boost throughput.
Key results
RoundPipe over state-of-the-art baselines on 8×RTX 4090 for 1.7B to 32B models
Maximum trainable sequence length gain on 8×RTX 4090
Maximum trainable sequence length gain on 8×A800 SXM
Absolute bubble ratio with asynchronous optimizer updates
Event-based parameter consistency protocol reduces per-iteration overhead by up to 14 seconds
What the paper found
RoundPipe, from Tsinghua University, tackles the main bottleneck in fine-tuning large language models on consumer GPUs: PCIe-limited communication combined with stage imbalance in pipeline parallelism. The paper argues that CPU offloading makes pipeline stages stateless, so a layer no longer has to stay pinned to one GPU. RoundPipe exploits that by dispatching stages round-robin across devices, using asymmetric forward/backward partitioning to equalize stage time, a priority-aware multi-stream transfer scheduler to hide parameter and gradient movement behind activation traffic, and a fine-grained event-based consistency protocol that preserves staleness-1 asynchronous optimizer semantics without global barriers. On an 8×RTX 4090 server, it achieves 1.48–2.16× higher throughput than state-of-the-art baselines on 1.7B to 32B models, and it is the only system reported to LoRA-fine-tune Qwen3-235B-A22B on 24 GB GPUs with 31K context. It also extends maximum trainable sequence length by 4.7–7.3× on 4090s and 1.19–5.62× on 8×A800 SXM servers, while strong-scaling nearly linearly from 1 to 8 GPUs. The ablation studies show that the asynchronous optimizer removes inter-iteration bubbles to below 4.5%, and the event-based parameter protocol saves 2.6–14 seconds per iteration depending on model size.
Original abstract
Fine-tuning Large Language Models (LLMs) on consumer-grade GPUs is highly cost-effective, yet constrained by limited GPU memory and slow PCIe interconnects. Pipeline parallelism combined with CPU offloading mitigates these hardware bottlenecks by reducing communication overhead. However, existing PP schedules suffer from an inherent limitation termed the weight binding issue. Binding uneven model stages (e.g., the LM head is large) to GPUs limits the pipeline's throughput to that of the GPU with the heaviest load, leading to severe pipeline bubbles. In this paper, we propose RoundPipe, a novel pipeline schedule that breaks the weight binding constraint on consumer GPU servers. RoundPipe treats GPUs as a pool of stateless execution workers and dynamically dispatches computation stages across devices in a round-robin manner, achieving a near-zero-bubble pipeline. To ensure training correctness and system efficiency, RoundPipe integrates a priority-aware transfer scheduling engine, a fine-grained distributed event-based synchronization protocol, and an automated layer partitioning algorithm. Evaluations on an 8$\times$ RTX 4090 server demonstrate that RoundPipe achieves 1.48--2.16$\times$ speedups over state-of-the-art baselines when fine-tuning 1.7B to 32B models. Remarkably, RoundPipe enables LoRA fine-tuning of the Qwen3-235B model with 31K sequence length on a single server. RoundPipe is publicly available as an open-source Python library with comprehensive documentation.
Read the original paperMore in Efficient AI
Browse all 79 papers →Latent Feedback Is a Compute and Data Amplifier
Benhao Huang, Chaitanya Dwivedi, Xuezhe Ma, Alexander Moreno, Hector Liu
Latent feedback may let language models get more value from each training token and FLOP than simply repeating the data.
MACaQ: Fast, Model Agnostic Calibrated Quantization for Low-Precision Weights and Activations
Lorenz K. Muller, Philippe Bich, Chiara Boretti, Hyun-Min Chang, Jiawei Zhuang, Lukas Cavigelli
MACaQ aims to make large neural networks cheaper to run by quantizing their weights and activations quickly, with little added inference overhead.
Mobile AI Factory: Building Specialized Language Models for Your Mobile Device
Evan Li, Krishna Deshpande, Wen Cheng, Shyamnath Gollakota
Mobile AI Factory automatically builds and tunes a small language model for a specific task and phone, aiming to deliver strong performance with less compute.