Echo:大规模分布式训练模拟
Echo: Simulating Distributed Training At Scale
AI总结:
Echo通过非现场追踪、高效通信估计和干扰感知,实现大规模分布式训练模拟,在GPT-175B上误差仅8%,比现有模拟器低3倍。
摘要:
模拟在枚举和外推方面具有独特价值,并且对于管理大规模机器学习(ML)集群和大型分布式训练任务变得越来越重要。在本文中,我们构建了Echo来解决大规模训练模拟中的三个关键挑战:(1)以非现场方式追踪每个设备上的运行时训练工作负载,以便我们能够使用单个设备获取1K-GPU训练的实际执行图;(2)在无离散事件网络模拟的高开销下,准确估计集合通信;(3)考虑同一设备上通信与计算内核重叠导致的干扰引起的计算减速。Echo在训练步骤上的平均误差为8%——大约比最先进的模拟器低3倍——对于在Megatron-LM上使用3D并行、在96-GPU H800集群上训练的GPT-175B,模拟时间不到2分钟。
英文摘要:
Simulation offers unique values for both enumeration and extrapolation purposes, and is becoming increasingly important for managing the massive machine learning (ML) clusters and large-scale distributed training jobs. In this paper, we build Echo to tackle three key challenges in large-scale training simulation: (1) tracing the runtime training workloads at each device in an ex-situ fashion so we can use a single device to obtain the actual execution graphs of 1K-GPU training, (2) accurately estimating the collective communication without high overheads of discrete-event based network simulation, and (3) accounting for the interference-induced computation slowdown from overlapping communication and computation kernels on the same device. Echo delivers on average 8% error in training step -- roughly 3x lower than state-of-the-art simulators -- for GPT-175B on a 96-GPU H800 cluster with 3D parallelism on Megatron-LM under 2 minutes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。