FreeRide: Harvesting Bubbles in Pipeline Parallelism
Jiashu Zhang, Zihan Pan, Molly (Yiming) Xu, Khuzaima Daudjee, Sihang, Liu

TL;DR
FreeRide is a system that efficiently harvests idle GPU resources during pipeline parallelism in LLM training to run side tasks, reducing costs with minimal overhead.
Contribution
It introduces a novel system, FreeRide, that simplifies programming and manages GPU resources to harvest pipeline bubbles for side tasks during LLM training.
Findings
Achieves 7.8% average cost savings in LLM training.
Maintains about 1% overhead during training.
Supports diverse side tasks like graph analytics and image processing.
Abstract
The occurrence of bubbles in pipeline parallelism is an inherent limitation that can account for more than 40% of the large language model (LLM) training time and is one of the main reasons for the underutilization of GPU resources in LLM training. Harvesting these bubbles for GPU side tasks can increase resource utilization and reduce training costs but comes with challenges. First, because bubbles are discontinuous with various shapes, programming side tasks becomes difficult while requiring excessive engineering effort. Second, a side task can compete with pipeline training for GPU resources and incur significant overhead. To address these challenges, we propose FreeRide, a system designed to harvest bubbles in pipeline parallelism for side tasks. FreeRide provides programmers with interfaces to implement side tasks easily, manages bubbles and side tasks during pipeline training, and…
Peer Reviews
Decision·ICLR 2025 Conference Withdrawn Submission
- Original piece of work - Experiment methodology is sound - All components are explained well
The total end-to-end cost savings from running additional tasks during pipeline bubbles are relatively modest, estimated to be under 10%. In practice, this figure could be even lower unless a workload consists of small tasks with precise memory requirements that align perfectly with the available bubbles. Such gains may not be sufficient to justify the complexity of implementing FreeRide. Additionally, if the implementation is not perfect, it could result in overheads that negate any cost saving
1. FreeRide introduces an effective approach for leveraging idle pipeline periods in LLM training by assigning side tasks to available GPUs. 2. The paper is well-organized and accessible, with a clear categorization of different bubble types and reasonable methods for utilizing these idle periods.
1. The experimental setup is questionable. Side tasks are run on an RTX3080, a GPU with lower computational capacity, whereas a fair comparison would require using the same GPU model (e.g., RTX 6000 Ada). 2. The experiments seem to be imaginary scenarios, which may not align with current industry practices. Probably utilizing bubbles for LLM inference or serving may be a more interesting use case. 3. Pipeline parallelism is primarily used in multi-machine settings, typically in combination with
* Significance: scheduling side tasks during bubbles is a generic way to improve gpu utilization. Bubbles exist not only in pipeline parallelsim but in any training jobs. One way to deal with bubble is to optimize the training itself. This paper focused on an alternative to schedule 3rd parity tasks during bubbles * Clear programming interface: user can annotate their trainin loop with context managers at init and step, according to the the iteractive programming interface. The amount of code ch
* Less details in estimating bubble shapes: It briefly mentioned the usage of pytorch profiler traces. But llm training job itself can be quite dynamic. bubble shapes can change due to stragglers, variable sequence length, and multi-tenant usage (including shared usage of CPUs). It would be great if the author could explain more on how indicative the profilter traces are to predict bubbles shape for future runs * Less details in fault tolerance: practically speaking, side tasks can be any 3rd pa
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPower Systems and Technologies · Smart Grid Security and Resilience
