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

MCR-DL:用于深度学习的混合匹配通信工具

MCR-DL: Mix-and-Match Communication Runtime for Deep Learning

The Ohio State University(俄亥俄州立大学);Microsoft Corporation(微软公司)

Quentin Anthony, Ammar Ahmad Awan, Jeff Rasley, Yuxiong He, Aamir Shafi, Mustafa Abduljabbar, Hari Subramoni, Dhabaleswar Panda

摘要:

近年来,许多最先进的深度学习(DL)模型的训练需求已经超出了单个处理器的计算和存储能力,并且需要在处理器之间进行分布。训练如此庞大的模型需要高级并行策略来保持效率。然而,这样的分布式DL并行策略需要跨越宽范围的消息大小和规模的集合和点对点通信操作的各种混合。使用高级并行策略的模型的示例包括深度学习推荐模型(DLRM)和专家混合模型(MoE)。通信库的性能在不同的通信操作、规模和消息大小之间存在很大差异。我们建议MCR-DL:一种可扩展的DL通信框架,支持所有点对点和集体操作,同时使用户能够动态混合和匹配给定操作的通信后端,而不会出现死锁。MCR-DL还打包了一个调优套件,用于为给定的输入张量动态选择最佳通信后端。我们选择DeepSpeed-MoE和DLRM作为候选DL模型,并在Lassen HPC系统上的256个V100 GPU上证明了DS-MoE吞吐量提高了31%。此外,我们在密集Megatron-DeepSpeed模型中实现了20%的吞吐量提升,并在32个A100 GPU上使用Theta-GPU HPC系统实现了DLRM吞吐量提升25%。

英文摘要:

In recent years, the training requirements of many state-of-the-art Deep Learning (DL) models have scaled beyond the compute and memory capabilities of a single processor, and necessitated distribution among processors. Training such massive models necessitates advanced parallelism strategies to maintain efficiency. However, such distributed DL parallelism strategies require a varied mixture of collective and point-to-point communication operations across a broad range of message sizes and scales. Examples of models using advanced parallelism strategies include Deep Learning Recommendation Models (DLRM) and Mixture-of-Experts (MoE). Communication libraries' performance varies wildly across different communication operations, scales, and message sizes. We propose MCR-DL: an extensible DL communication framework that supports all point-to-point and collective operations while enabling users to dynamically mix-and-match communication backends for a given operation without deadlocks. MCR-DL also comes packaged with a tuning suite for dynamically selecting the best communication backend for a given input tensor. We select DeepSpeed-MoE and DLRM as candidate DL models and demonstrate a 31% improvement in DS-MoE throughput on 256 V100 GPUs on the Lassen HPC system. Further, we achieve a 20% throughput improvement in a dense Megatron-DeepSpeed model and a 25% throughput improvement in DLRM on 32 A100 GPUs with the Theta-GPU HPC system.

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

↑