通过突发并行训练的高效强伸缩性
Efficient Strong Scaling Through Burst Parallel Training
摘要:
随着新兴深度神经网络(DNN)模型的规模不断增长,使用大型GPU集群来训练DNN正成为实现可接受的训练时间的基本要求。在本文中,我们考虑的情况下,未来的集群大小的增加将导致全球批量大小,可用于训练模型达到一个基本的限制:超过一定的点,更大的全球批量大小导致样本效率下降,增加整体时间的准确性。因此,为了进一步提高训练性能,我们必须考虑“强缩放”策略,保持全局批量大小不变,并将较小的批量分配给每个GPU。不幸的是,这使得有效地使用集群资源变得更加困难。我们提出了DeepPool,一个通过两个关键思想来解决这一效率挑战的系统。首先,突发并行性将大量GPU分配给突发中的前台作业,以利用跨层并行性的不均匀性。其次,GPU多路复用优先考虑前台训练作业的吞吐量,同时打包后台训练作业以回收未充分利用的GPU资源,从而提高整个集群的利用率。这两个想法使DeepPool能够在集群规模较大的情况下,通过单个任务实现比标准数据并行提高1.2 - 2.3倍的集群总吞吐量。
英文摘要:
As emerging deep neural network (DNN) models continue to grow in size, using large GPU clusters to train DNNs is becoming an essential requirement to achieving acceptable training times. In this paper, we consider the case where future increases in cluster size will cause the global batch size that can be used to train models to reach a fundamental limit: beyond a certain point, larger global batch sizes cause sample efficiency to degrade, increasing overall time to accuracy. As a result, to achieve further improvements in training performance, we must instead consider "strong scaling" strategies that hold the global batch size constant and allocate smaller batches to each GPU. Unfortunately, this makes it significantly more difficult to use cluster resources efficiently. We present DeepPool, a system that addresses this efficiency challenge through two key ideas. First, burst parallelism allocates large numbers of GPUs to foreground jobs in bursts to exploit the unevenness in parallelism across layers. Second, GPU multiplexing prioritizes throughput for foreground training jobs, while packing in background training jobs to reclaim underutilized GPU resources, thereby improving cluster-wide utilization. Together, these two ideas enable DeepPool to deliver a 1.2 - 2.3x improvement in total cluster throughput over standard data parallelism with a single task when the cluster scale is large.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。