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

训练DNN模型于异构集群中实现最优性能

Training DNN Models over Heterogeneous Clusters with Optimal Performance

Chengyi Nie, Jessica Maghakian, Zhenhua Liu

AI总结:

针对异构集群中分布式DNN训练性能不佳的问题,提出Cannikin系统,通过建模最优性能与预测自适应批大小,实现接近最优的训练效率,实验显示训练时间显著降低。

摘要:

调整批大小并自适应地调整其他超参数可以显著加速深度神经网络(DNN)的训练。尽管异构集群普遍存在,现有的自适应DNN训练技术仅考虑同构环境。在异构集群上优化分布式DNN训练在技术上具有挑战性,直接适配现有技术会导致利用率低和性能差。为解决此问题,我们引入了Cannikin——一种新颖的数据并行分布式训练系统。Cannikin通过精确建模最优系统性能并预测异构集群中DNN的自适应批大小训练指标,实现了高效且接近最优的性能。我们在PyTorch中实现了Cannikin,并在Chameleon上使用16块GPU进行了实验。实证结果表明,与最先进的自适应训练系统相比,Cannikin在异构集群中将DNN训练时间减少了高达52%,与原生PyTorch DistributedDataParallel相比减少了高达85%。

英文摘要:

Adjusting batch sizes and adaptively tuning other hyperparameters can significantly speed up deep neural network (DNN) training. Despite the ubiquity of heterogeneous clusters, existing adaptive DNN training techniques solely consider homogeneous environments. Optimizing distributed DNN training over heterogeneous clusters is technically challenging, and directly adapting existing techniques results in low utilization and poor performance. To solve this problem, we introduce Cannikin -- a novel data-parallel distributed training system. Cannikin achieves efficient and near-optimal performance by accurately modeling the optimal system performance and predicting adaptive batch size training metrics for DNNs in heterogeneous clusters. We implemented Cannikin in PyTorch and conducted experiments over 16 GPUs in Chameleon. Empirical results show that Cannikin reduces DNN training in heterogeneous clusters by up to $52\%$ compared to the state-of-the-art adaptive training system and up to $85\%$ compared to native PyTorch DistributedDataParallel.

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

↑