PipeMare: Asynchronous Pipeline Parallel DNN Training
Bowen Yang, Jian Zhang, Jonathan Li, Christopher R\'e, Christopher R., Aberger, Christopher De Sa

TL;DR
PipeMare introduces an asynchronous pipeline parallel training method for neural networks that maintains efficiency and model quality, enabling significant reductions in memory usage and increases in pipeline utilization.
Contribution
It presents a novel asynchronous training approach for pipeline parallelism that avoids sacrificing hardware efficiency or memory, unlike previous methods.
Findings
Up to 2.7x less memory usage with PipeMare.
Up to 4.3x higher pipeline utilization.
Maintains similar model quality to synchronous methods.
Abstract
Pipeline parallelism (PP) when training neural networks enables larger models to be partitioned spatially, leading to both lower network communication and overall higher hardware utilization. Unfortunately, to preserve the statistical efficiency of sequential training, existing PP techniques sacrifice hardware efficiency by decreasing pipeline utilization or incurring extra memory costs. In this paper, we investigate to what extent these sacrifices are necessary. We devise PipeMare, a simple yet robust training method that tolerates asynchronous updates during PP execution without sacrificing utilization or memory, which allows efficient use of fine-grained pipeline parallelism. Concretely, when tested on ResNet and Transformer networks, asynchrony enables PipeMare to use up to less memory or get higher pipeline utilization, with similar model quality, when…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Domain Adaptation and Few-Shot Learning · Stochastic Gradient Optimization Techniques
MethodsLinear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · PipeMare · Average Pooling · 1x1 Convolution · Batch Normalization · Bottleneck Residual Block · Global Average Pooling · Residual Block
