PipeFill: Using GPUs During Bubbles in Pipeline-parallel LLM Training
Daiyaan Arfeen, Zhen Zhang, Xinwei Fu, Gregory R. Ganger, Yida Wang
TL;DR
PipeFill tackles the inefficiency of pipeline-parallel LLM training by filling pipeline bubbles with independent fill jobs, reclaiming idle GPU time without harming the main training task. It introduces a Pipeline Bubble Instruction, a Fill Job Execution Plan Algorithm, and a Fill Job Scheduler, and integrates these components into a DeepSpeed-based system with GPipe and 1F1B schedules. Empirical results show substantial gains in GPU utilization (up to 63% at 8K GPUs) with minimal overhead (<2%), enabling significantly faster scaling of large models. The approach offers a practical, schedule-aware strategy to improve data-center GPU efficiency for ultra-large DNN training.
Abstract
Training Deep Neural Networks (DNNs) with billions of parameters generally involves pipeline-parallel (PP) execution. Unfortunately, PP model training can use GPUs inefficiently, especially at large scale, due to idle GPU time caused by pipeline bubbles, which are often 15-30% and can exceed 60% of the training job's GPU allocation. To improve the GPU utilization of PP model training, this paper describes PipeFill, which fills pipeline bubbles with execution of other pending jobs. By leveraging bubble GPU time, PipeFill reduces the GPU utilization sacrifice associated with scaling-up of large-model training. To context-switch between fill jobs and the main training job with minimal overhead to the main job, and maximize fill job efficiency, PipeFill carefully fits fill job work to measured bubble durations and GPU memory availability, introduces explicit pipeline-bubble instructions, and orchestrates placement and execution of fill jobs in pipeline bubbles. Experiments show that PipeFill can increase overall utilization by up to 63% for GPUs used in large-scale LLM training, with <2% slowdown of the training job, and 5-15% even for low-scale LLM training. For large-scale LLM training on 8K GPUs, the 63% increase translates to up to 2.6K additional GPUs worth of work completed.
