Domino:通过通用张量切片与重叠消除 LLM 训练中的通信
Domino: Eliminating Communication in LLM Training via Generic Tensor Slicing and Overlapping
AI总结:
本文提出 Domino 框架,通过通用张量切片将批次训练拆分为独立片段并实现细粒度通信与计算重叠,有效消除分布式 LLM 训练中的通信开销,在 Nvidia DGX-H100 GPU 上较 Megatron-LM 实现最高 1.3 倍加速。
摘要:
鉴于生成式 AI 的普及,大型语言模型(LLMs)通常消耗数百或数千个 GPU 来并行并加速训练过程。大规模训练 LLMs 时,通信开销变得更加显著。为了消除分布式 LLM 训练中的通信开销,我们提出了 Domino,它提供了一种通用方案将通信隐藏在计算之后。通过将单个批次训练的数据依赖打破为更小的独立片段,Domino 将这些独立片段的训练流水线化,并提供了细粒度通信与计算重叠的通用策略。大量结果表明,与 Megatron-LM 相比,Domino 在 Nvidia DGX-H100 GPU 上进行 LLM 训练实现了高达 1.3 倍的加速。
英文摘要:
Given the popularity of generative AI, Large Language Models (LLMs) often consume hundreds or thousands of GPUs for parallelizing and accelerating the training process. Communication overhead becomes more pronounced when training LLMs at scale. To eliminate communication overhead in distributed LLM training, we propose Domino, which provides a generic scheme to hide communication behind computation. By breaking data dependency of a single batch training into smaller independent pieces, Domino pipelines these independent pieces training and provides generic strategy of fine-grained communication and computation overlapping. Extensive results show that, comparing with Megatron-LM, Domino achieves up to 1.3x speedup for LLM training on Nvidia DGX-H100 GPUs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。