arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.06126cs.LGcs.DC
收藏

利用设备拓扑感知图部署加速分布式DNN训练

Expediting Distributed DNN Training with Device Topology-Aware Graph Deployment

Shiwei Zhang, Xiaodong Yi, Lansong Diao, Chuan Wu, Siyu Wang, Wei Lin

摘要:

本文介绍了TAG,这是一个自动系统,用于导出优化的DNN训练图及其部署到任何设备拓扑结构上,以加快设备和拓扑异构ML集群的训练。我们新颖地将DNN计算图和设备拓扑图作为输入组合到图神经网络(GNN)中,并将GNN与基于搜索的方法相结合,以快速识别优化的分布式训练策略。为了减少异构集群中的通信,我们进一步探索了无损梯度压缩技术,并解决了一个组合优化问题,以自动应用该技术的训练时间最小化。我们使用各种具有代表性的DNN模型和设备拓扑来评估TAG,结果表明,与现有方案相比,它可以实现高达4.56倍的训练速度。TAG可以为看不见的DNN模型和看不见的设备拓扑生成有效的部署策略,而无需进行大量的微调。

英文摘要:

This paper presents TAG, an automatic system to derive optimized DNN training graph and its deployment onto any device topology, for expedited training in device- and topology- heterogeneous ML clusters. We novelly combine both the DNN computation graph and the device topology graph as input to a graph neural network (GNN), and join the GNN with a search-based method to quickly identify optimized distributed training strategies. To reduce communication in a heterogeneous cluster, we further explore a lossless gradient compression technique and solve a combinatorial optimization problem to automatically apply the technique for training time minimization. We evaluate TAG with various representative DNN models and device topologies, showing that it can achieve up to 4.56x training speed-up as compared to existing schemes. TAG can produce efficient deployment strategies for both unseen DNN models and unseen device topologies, without heavy fine-tuning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑