paper-with-me

Papers

PipeTransformer: Automated Elastic Pipelining for Distributed Training of Transformers

2021-02-05 · Chaoyang He, Shen Li, Mahdi Soltanolkotabi, Salman Avestimehr

The size of Transformer models is growing at an unprecedented pace. It has only taken less than one year to reach trillion-level parameters after the release of GPT-3 (175B). Training such models requires both substantial engineering efforts and enormous computing resources, which are luxuries most research teams cannot afford. In this paper, we propose PipeTransformer, which leverages automated and elastic pipelining and data parallelism for efficient distributed training of Transformer models. PipeTransformer automatically adjusts the pipelining and data parallelism by identifying and freezing some layers during the training, and instead allocates resources for training of the remaining active layers. More specifically, PipeTransformer dynamically excludes converged layers from the pipeline, packs active layers into fewer GPUs, and forks more replicas to increase data-parallel width. We evaluate PipeTransformer using Vision Transformer (ViT) on ImageNet and BERT on GLUE and SQuAD datasets. Our results show that PipeTransformer attains a 2.4 fold speedup compared to the state-of-the-art baseline. We also provide various performance analyses for a more comprehensive understanding of our algorithmic and system-wise design. We also develop open-sourced flexible APIs for PipeTransformer, which offer a clean separation among the freeze algorithm, model definitions, and training accelerations, hence allowing it to be applied to other algorithms that require similar freezing strategies.

📄 PDF Abstract BibTeX arXiv:2102.03161

Code (1)

Distributed-AI/PipeTransformer 공식 구현 jax

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
19 ways to contact How can I talk to an Delta Airlines agent for booking issues? 설명 없음
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
{Dispute@FaQ-s}How to file a dispute with Expedia? How to file a dispute with Expedia? To file a complaint against Expedia, first try contacting their customer service directly. You can reach them by phone at…

Similar Papers 제목 키워드 기반

The Streaming Batch Model for Efficient and Fault-Tolerant Heterogeneous Execution

2025-01-16 · Frank Sifei Luan, Ziming Mao, Ron Yifeng Wang, Charlotte Lin 외

While ML model training and inference are both GPU-intensive, CPU-based data processing is often the bottleneck. Distributed data processing systems based on the batch or stream processing models assume homogeneous resou…

CPUGPU

NestPipe: Large-Scale Recommendation Training on 1,500+ Accelerators via Nested Pipelining

2026-04-08 · Zhida Jiang, Zhaolong Xing, Huichao Chai, Tianxing Sun 외 arxiv

Modern recommendation models have increased to trillions of parameters. As cluster scales expand to O(1k), distributed training bottlenecks shift from computation and memory to data movement, especially lookup and commun…

Addressing Algorithmic Bottlenecks in Elastic Machine Learning with Chicle

2019-09-11 · Michael Kaufmann, Kornilios Kourtis, Celestine Mendler-Dünner, Adrian Schüpbach 외

Distributed machine learning training is one of the most common and important workloads running on data centers today, but it is rarely executed alone. Instead, to reduce costs, computing resources are consolidated and s…

BIG-bench Machine LearningFairness

STI: Turbocharge NLP Inference at the Edge via Elastic Pipelining

2022-07-11 · Liwei Guo, Wonkyo Choe, Felix Xiaozhu Lin

Natural Language Processing (NLP) inference is seeing increasing adoption by mobile applications, where on-device inference is desirable for crucially preserving user data privacy and avoiding network roundtrips. Yet, th…

CPUGPUManagement

SkipPipe: Partial and Reordered Pipelining Framework for Training LLMs in Heterogeneous Networks

2025-02-27 · Nikolay Blagoev, Lydia Yiyu Chen, Oğuzhan Ersoy

Data and pipeline parallelism are ubiquitous for training of Large Language Models (LLM) on distributed nodes. Driven by the need for cost-effective training, recent work explores efficient communication arrangement for …

Scheduling