arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.04940cs.DCcs.LG
收藏

Blink:分布式ML的快速通用集合

Blink: Fast and Generic Collectives for Distributed ML

Microsoft Research(微软研究院);UC Berkeley(加州大学伯克利分校);University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Guanhua Wang, Shivaram Venkataraman, Amar Phanishayee, Jorgen Thelin, Nikhil Devanur, Ion Stoica

摘要:

跨GPU的模型参数同步为大规模数据并行训练引入了高开销。现有的参数同步协议不能有效地利用可用的网络资源,面对不断增加的硬件异构性。为了解决这个问题,我们提出了Blink,一个集体通信库,通过包装生成树动态生成最佳的通信原语。我们提出的技术,以尽量减少生成的树的数量和扩展Blink利用异构通信通道更快的数据传输。评估表明,与最先进的NCCL相比,Blink可以实现高达8倍的模型同步速度,并将图像分类任务的端到端训练时间减少高达40%。

英文摘要:

Model parameter synchronization across GPUs introduces high overheads for data-parallel training at scale. Existing parameter synchronization protocols cannot effectively leverage available network resources in the face of ever increasing hardware heterogeneity. To address this, we propose Blink, a collective communication library that dynamically generates optimal communication primitives by packing spanning trees. We propose techniques to minimize the number of trees generated and extend Blink to leverage heterogeneous communication channels for faster data transfers. Evaluations show that compared to the state-of-the-art (NCCL), Blink can achieve up to 8x faster model synchronization, and reduce end-to-end training time for image classification tasks by up to 40%.

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

↑