paper-with-me

Papers

BitPipe: Bidirectional Interleaved Pipeline Parallelism for Accelerating Large Models Training

2024-10-25 · Houming Wu, Ling Chen, Wenjie Yu

With the increasing scale of models, the need for efficient distributed training has become increasingly urgent. Recently, many synchronous pipeline parallelism approaches have been proposed to improve training throughput. However, these approaches still suffer from two major issues, i.e., pipeline bubbles caused by periodic flushing and extra communication due to the increasing number of pipeline stages. To this end, we propose BitPipe, a bidirectional interleaved pipeline parallelism for accelerating large models training. Specifically, a hybrid scheme of fusing interleaved pipelines with bidirectional pipelines is proposed to reduce the computational time of each single micro-batch and multiply the number of devices executing simultaneously. A V-shaped schedule with eager gradient synchronization is introduced to reduce and overlap the communication between devices. Experiments conducted on up to 32 GPUs show that BitPipe improves the training throughput of GPT-style and BERT-style models by 1.05x-1.28x compared to the state-of-the-art synchronous approaches. The code of our implementation is available at https://github.com/wuhouming/BitPipe.

📄 PDF Abstract BibTeX arXiv:2410.19367

Code (1)

wuhouming/bitpipe 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LM

2021-04-09 · Deepak Narayanan, Mohammad Shoeybi, Jared Casper, Patrick Legresley 외

Large language models have led to state-of-the-art accuracies across a range of tasks. However, training these models efficiently is challenging for two reasons: a) GPU memory capacity is limited, making it impossible to…

GPULanguage ModelingLanguage Modelling

Deep Bidirectional Transformers for SoC Flow Specification Mining

2022-03-09 · Md Rubel Ahmed, Hao Zheng

High-quality system-level message flow specifications can lead to comprehensive validation of system-on-chip (SoC) designs. We propose a disruptive method that utilizes an attention mechanism to produce accurate flow spe…

Accelerating Sparse Ternary GEMM for Quantized ML on Apple Silicon

2025-10-08 · Baraq Lipshitz, Alessio Melone, Charalampos Maraziaris, Muhammed Bilal arxiv

Sparse Ternary General Matrix-Matrix Multiplication (GEMM) remains under-optimized in existing libraries for Apple Silicon CPUs. We present a Sparse Ternary GEMM kernel optimized specifically for Apple's M-series process…

Chimera: Efficiently Training Large-Scale Neural Networks with Bidirectional Pipelines

2021-07-14 · Shigang Li, Torsten Hoefler

Training large deep learning models at scale is very challenging. This paper proposes Chimera, a novel pipeline parallelism scheme which combines bidirectional pipelines for efficiently training large-scale models. Chime…

GPUScheduling

FedBit: Accelerating Privacy-Preserving Federated Learning via Bit-Interleaved Packing and Cross-Layer Co-Design

2025-09-27 · Xiangchen Meng, Yangdi Lyu arxiv

Federated learning (FL) with fully homomorphic encryption (FHE) effectively safeguards data privacy during model aggregation by encrypting local model updates before transmission, mitigating threats from untrusted server…

Federated Learning