arXiv · 2301.06813
AutoDDL: Automatic Distributed Deep Learning with Near-Optimal Bandwidth Cost
Abstract
Recent advances in deep learning are driven by the growing scale of computation, data, and models. However, efficiently training large-scale models on distributed systems requires an intricate combination of data, operator, and pipeline parallelism, which exerts heavy burden on machine learning practitioners. To this end, we propose AutoDDL, a distributed training framework that automatically explores and exploits new parallelization schemes with near-optimal bandwidth cost. AutoDDL facilitates the description and implementation of different schemes by utilizing OneFlow's Split, Broadcast, and Partial Sum (SBP) abstraction. AutoDDL is equipped with an analytical performance model combined with a customized Coordinate Descent algorithm, which significantly reduces the scheme searching overhead. We conduct evaluations on Multi-Node-Single-GPU and Multi-Node-Multi-GPU machines using different models, including VGG and Transformer. Compared to the expert-optimized implementations, AutoDDL reduces the end-to-end training time by up to 31.1% and 10% for Transformer and up to 17.7% and 71.5% for VGG on the two parallel systems, respectively.
Explore related subjects
Keep this discovery
Jinfan Chen, Shigang Li, Ran Gun, Jinhui Yuan, Torsten Hoefler. 2023-01-17. AutoDDL: Automatic Distributed Deep Learning with Near-Optimal Bandwidth Cost. https://doi.org/10.1109/tpds.2024.3397800
Cite the original work for its findings. Save a collection to share your selection of sources.