AutoDDL:具有近最优带宽成本的自动分布式深度学习
AutoDDL: Automatic Distributed Deep Learning with Near-Optimal Bandwidth Cost
AI总结:
针对分布式系统训练大规模模型需复杂并行组合的问题,提出AutoDDL框架,利用OneFlow的SBP抽象描述并行方案,结合分析性能模型与定制坐标下降算法,实现近最优带宽成本的自动并行化,显著缩短训练时间。
摘要:
深度学习的最新进展由计算、数据和模型规模的不断增长推动。然而,在分布式系统上高效训练大规模模型需要数据、算子和流水线并行的复杂组合,这给机器学习从业者带来了沉重负担。为此,我们提出AutoDDL——一个分布式训练框架,可自动探索和利用带宽成本近最优的新型并行化方案。AutoDDL利用OneFlow的分割、广播和部分求和(SBP)抽象,便于不同方案的描述与实现。它配备了分析性能模型与定制坐标下降算法,大幅降低方案搜索开销。我们在多节点单GPU和多节点多GPU机器上用VGG和Transformer等模型进行评估,与专家优化实现相比,AutoDDL在两种并行系统上分别将Transformer的端到端训练时间最多减少31.1%和10%,将VGG的最多减少17.7%和71.5%。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。