PipeDAP: An Efficient Communication Framework for Scheduling Decoupled All-Reduce Primitives in Distributed DNN Training
Communication scheduling effectively improves the scalability of distributed deep learning by overlapping computation and communication tasks during training. However, existing communication scheduling frameworks based on tensor partitioning suffer from two fundamental issues: (1) partitioning schemes at the data volume level introduce extensive startup overheads leading to higher energy consumption, and (2) partitioning schemes at the communication primitive level do not provide optimal scheduling resulting in longer training time. In this paper, we propose an efficient communication mechanism, namely PipeDAP, which schedules decoupled all-reduce operations in a near-optimal order to minimize the time and energy consumption of training DNN models. We build the mathematical model for PipeDAP and derive the near-optimal scheduling order of the reduce-scatter and all-gather operations. Meanwhile, we leverage simultaneous communication of reduce-scatter and all-gather operations to further reduce the startup overheads. We implement the PipeDAP architecture on PyTorch framework, and apply it for distributed training of benchmark DNN models. Experimental results on two GPU clusters demonstrate that PipeDAP achieves up to 1.82x speedup and saves up to 45.4% of energy consumption compared to the state-of-the-art communication scheduling frameworks. PipeDAP's code is available at <uri xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">https://github.com/ZJU-CNLAB/PipeDAP</uri>.
Authors
- Yunqi Gao (ORCID: https://orcid.org/0009-0003-0599-8383)
- Mahdi Boloursaz Mashhadi (ORCID: https://orcid.org/0000-0001-9948-9165)
- Rahim Tafazolli (ORCID: https://orcid.org/0000-0002-6062-8639)
- Mérouane Debbah (ORCID: https://orcid.org/0000-0001-8941-8080)
- Wei Wang (ORCID: https://orcid.org/0000-0003-2153-9075)
- Bing Hu (ORCID: https://orcid.org/0000-0002-0594-8998)
Institutions
- Khalifa University of Science and Technology (AE)
- University of Surrey (GB)
- Zhejiang University (CN)
Publication Details
- Journal
- IEEE Transactions on Emerging Topics in Computing
- Published
- 2025-06-02
- DOI
- https://doi.org/10.1109/tetc.2025.3573522
- Citations
- 1
- Primary Topic
- IoT and Edge/Fog Computing
- Type
- article
- Field-Weighted Citation Impact
- 1.49