paper-with-me

Papers

PipeOffload: Improving Scalability of Pipeline Parallelism with Memory Optimization

2025-03-03 · Xinyi Wan, Penghui Qi, Guangxing Huang, Jialin Li, Min Lin

Pipeline parallelism (PP) is widely used for training large language models (LLMs), yet its scalability is often constrained by high activation memory consumption as the number of in-flight microbatches grows with the degree of PP. In this paper, we focus on addressing this challenge by leveraging the under-explored memory offload strategy in PP. With empirical study, we discover that in the majority of standard configurations, at least half, and potentially all, of the activations can be offloaded with negligible overhead. In the cases where full overload is not possible, we introduce a novel selective offload strategy that decreases peak activation memory in a better-than-linear manner. Furthermore, we integrate memory offload with other techniques to jointly consider overall throughput and memory limitation. Our experiments proves that the per-device activation memory effectively reduces with the total number of stages, making PP a stronger alternative than TP, offering up to a 19\% acceleration with even lower memory consumption. The implementation is open-sourced at \href{https://github.com/sail-sg/zero-bubble-pipeline-parallelism}{this url}.

📄 PDF Abstract BibTeX arXiv:2503.01328

Code (1)

sail-sg/zero-bubble-pipeline-parallelism 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

HelixPipe: Efficient Distributed Training of Long Sequence Transformers with Attention Parallel Pipeline Parallelism

2025-07-01 · Geng Zhang, Shenggan Cheng, Xuanlei Zhao, Ziming Liu 외 arxiv

As transformer sequence lengths grow, existing pipeline parallelisms incur suboptimal performance due to the quadratic attention computation and the substantial memory overhead. To relieve these challenges, we propose He…

EnergonAI: An Inference System for 10-100 Billion Parameter Transformer Models

2022-09-06 · Jiangsu Du, Ziming Liu, Jiarui Fang, Shenggui Li 외

Large transformer models display promising performance on a wide range of natural language processing (NLP) tasks. Although the AI community has expanded the model scale to the trillion parameter level, the practical dep…

BlockingGPU

AsyncMesh: Fully Asynchronous Optimization for Data and Pipeline Parallelism

2026-01-30 · Thalaiyasingam Ajanthan, Sameera Ramasinghe, Gil Avraham, Hadi Mohaghegh Dolatabadi 외 arxiv

Data and pipeline parallelism are key strategies for scaling neural network training across distributed devices, but their high communication cost necessitates co-located computing clusters with fast interconnects, limit…

NEST: Network- and Memory-Aware Device Placement For Distributed Deep Learning

2026-03-06 · Irene Wang, Vishnu Varma Venkata, Arvind Krishnamurthy, Divya Mahajan arxiv

The growing scale of deep learning demands distributed training frameworks that jointly reason about parallelism, memory, and network topology. Prior works often rely on heuristic or topology-agnostic search, handling co…

TawPipe: Topology-Aware Weight Pipeline Parallelism for Accelerating Long-Context Large Models Training

2025-11-12 · Houming Wu, Ling Chen arxiv

Training large language models (LLMs) is fundamentally constrained by limited device memory and costly inter-device communication. Although pipeline parallelism alleviates memory pressure by partitioning models across de…