PyTorch Distributed: Experiences on Accelerating Data Parallel Training
Paper · https://arxiv.org/abs/2006.15704
This paper presents the design, implementation, and evaluation of the PyTorch distributed data parallel module. PyTorch is a widely-adopted scientific computing package used in deep learning research and applications. Recent advances in deep learning argue for the value of large datasets and large models, which necessitates the ability to scale out model training to more computational resources. Data parallelism has emerged as a popular solution for distributed training thanks to its straightforward principle and broad applicability. In general, the technique of distributed data parallelism replicates the model on every computational resource to generate gradients independently and then communicates those gradients at each iteration to keep model replicas consistent. Despite the conceptual simplicity of the technique, the subtle dependencies between computation and communication make it non-trivial to optimize the distributed training efficiency. As of v1.5, PyTorch natively provides several techniques to accelerate distributed data parallel, including bucketing gradients, overlapping computation with communication, and skipping gradient synchronization. Evaluations show that, when configured appropriately, the PyTorch distributed data parallel module attains near-linear scalability using 256 GPUs.
First seen by Oriel on .
AI summary
This paper describes PyTorch’s distributed data parallel module and reports near-linear training scalability on 256 GPUs when its communication optimizations are configured appropriately.
- The module replicates the model across computational resources, computes gradients independently, and communicates gradients each iteration to keep replicas consistent.
- PyTorch v1.5 includes gradient bucketing, overlapping computation with communication, and skipping gradient synchronization to accelerate distributed training.
- The paper evaluates how dependencies between computation and communication affect efficiency and reports near-linear scalability with 256 GPUs.
- The approach targets deep learning workloads that need to scale training across more computational resources.
#pytorch #distributed training #data parallelism
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hugging Face Papers: 15, latest observation ; +1 over observed period since
Comments
Comment count reported by the source.
- Hugging Face Papers: 0, latest observation ; 0 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hugging Face Papers | 2006.15704 | https://arxiv.org/abs/2006.15704 Read discussion |