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

迈向深度学习集合算法的标准化表示

Towards a Standardized Representation for Deep Learning Collective Algorithms

Georgia Institute of Technology(佐治亚理工学院);NVIDIA(英伟达)

Jinsun Yoo, William Won, Meghan Cowan, Nan Jiang, Benjamin Klenk, Srinivas Sridharan, Tushar Krishna

AI总结:

针对分布式深度学习集合算法表示不统一的问题,提出基于 Chakra Execution Trace 的标准化工作流,解耦生产与消费工具,并通过 MSCCLang 与 ASTRA-sim 模拟验证其可行性。

摘要:

机器学习模型规模的爆炸式增长导致其在分布式集群上以非常大的规模执行。许多工作试图优化生成集合算法和运行集合通信的过程,而集合通信是分布式机器学习的瓶颈。然而,不同的工作使用各自的集合算法表示,这阻碍了集合通信与工作负载其余部分的协同优化。缺乏标准化的集合算法表示也阻碍了集合算法生产者和消费者之间的互操作性。此外,对于每对生产和消费集合算法的工具,都必须进行特定于工具的转换和修改,这增加了工程工作量。\n 在这篇立场论文中,我们提出了一种利用通用集合算法表示的标准化工作流。上游生产者和下游消费者汇聚到基于 Chakra Execution Trace 的通用表示格式,Chakra Execution Trace 是一种常用的基于图的分布式机器学习工作负载表示。这种通用表示使我们能够将集合通信与工作负载操作置于同一层级进行查看,并解耦生产者和消费者工具,增强互操作性,并减轻用户必须关注下游实现的负担。我们通过使用各种网络配置,通过 ASTRA-sim 分布式机器学习模拟器模拟由 MSCCLang 领域特定语言生成的集合算法,提供了这种标准化工作流的概念验证。

英文摘要:

The explosion of machine learning model size has led to its execution on distributed clusters at a very large scale. Many works have tried to optimize the process of producing collective algorithms and running collective communications, which act as a bottleneck to distributed machine learning. However, different works use their own collective algorithm representation, pushing away from co-optimizing collective communication and the rest of the workload. The lack of a standardized collective algorithm representation has also hindered interoperability between collective algorithm producers and consumers. Additionally, tool-specific conversions and modifications have to be made for each pair of tools producing and consuming collective algorithms which adds to engineering efforts. In this position paper, we propose a standardized workflow leveraging a common collective algorithm representation. Upstream producers and downstream consumers converge to a common representation format based on Chakra Execution Trace, a commonly used graph based representation of distributed machine learning workloads. Such a common representation enables us to view collective communications at the same level as workload operations and decouple producer and consumer tools, enhance interoperability, and relieve the user from the burden of having to focus on downstream implementations. We provide a proof-of-concept of this standardized workflow by simulating collective algorithms generated by the MSCCLang domain-specific language through the ASTRA-sim distributed machine learning simulator using various network configurations.

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

↑