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

用于深度学习的分层系统上的综合最优矩阵放置和约简策略

Synthesizing Optimal Parallelism Placement and Reduction Strategies on Hierarchical Systems for Deep Learning

University of Cambridge(剑桥大学);DeepMind

Ningning Xie, Tamara Norman, Dominik Grewe, Dimitrios Vytiniotis

摘要:

我们提出了一种新的表征的映射到分层加速器系统的多个并行形式(例如,数据和模型并行)是层次意识,大大减少了空间的软件到硬件的映射。我们通过实验验证了这些映射对全归约性能的实质性影响(高达448倍)。我们提供了一个新的语法指导的程序合成框架,能够分解减少一个或多个并行轴的集体序列的层次结构和映射感知的方式。对于69%的并行放置和用户请求的减少,我们的框架合成的程序在不同的GPU层次结构上进行评估时,性能优于默认的所有减少实现(最大2.04倍,平均1.27倍)。我们补充了我们的合成工具,模拟器超过90%的前10名的准确性,因此减少了对合成结果进行大量评估以确定一小部分最佳程序和映射的需要。

英文摘要:

We present a novel characterization of the mapping of multiple parallelism forms (e.g. data and model parallelism) onto hierarchical accelerator systems that is hierarchy-aware and greatly reduces the space of software-to-hardware mapping. We experimentally verify the substantial effect of these mappings on all-reduce performance (up to 448x). We offer a novel syntax-guided program synthesis framework that is able to decompose reductions over one or more parallelism axes to sequences of collectives in a hierarchy- and mapping-aware way. For 69% of parallelism placements and user requested reductions, our framework synthesizes programs that outperform the default all-reduce implementation when evaluated on different GPU hierarchies (max 2.04x, average 1.27x). We complement our synthesis tool with a simulator exceeding 90% top-10 accuracy, which therefore reduces the need for massive evaluations of synthesis results to determine a small set of optimal programs and mappings.

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

↑