arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.08941cs.LGcs.DC
收藏

使用异构计算系统的分布式优化

Distributed Optimization using Heterogeneous Compute Systems

Indian Institute of Science(印度科学研究所)

Vineeth S

摘要:

近年来,硬件计算能力以前所未有的速度增长。在学术界和工业界,利用这些进步在用更少的时间取得更好的成果方面发挥着关键作用。然而,将现有硬件与同一生态系统中的最新硬件合并是一项具有挑战性的任务。在这种情况下,关键挑战之一是不同的计算能力。在本文中,我们考虑在具有不同计算能力的分布式系统上训练深度神经网络。同步分布式训练的简单实现将导致更快的工作者等待最慢的工作者完成处理。为了缓解这个问题,我们建议在训练过程中动态调整为每个工人分配的数据。我们为每个工作者分配一个与其计算能力成比例的总数据分区。我们的实验表明,动态调整数据分区有助于提高系统的利用率,并显着减少训练所需的时间。代码可在存储库中获得:\url{https://github.com/vineeths96/Heterogeneous-Systems}。

英文摘要:

Hardware compute power has been growing at an unprecedented rate in recent years. The utilization of such advancements plays a key role in producing better results in less time -- both in academia and industry. However, merging the existing hardware with the latest hardware within the same ecosystem poses a challenging task. One of the key challenges, in this case, is varying compute power. In this paper, we consider the training of deep neural networks on a distributed system of workers with varying compute power. A naive implementation of synchronous distributed training will result in the faster workers waiting for the slowest worker to complete processing. To mitigate this issue, we propose to dynamically adjust the data assigned for each worker during the training. We assign each worker a partition of total data proportional to its computing power. Our experiments show that dynamically adjusting the data partition helps to improve the utilization of the system and significantly reduces the time taken for training. Code is available at the repository: \url{https://github.com/vineeths96/Heterogeneous-Systems}.

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

↑