MAD Max 超越单节点:在分布式系统上实现大型机器学习模型加速
MAD Max Beyond Single-Node: Enabling Large Machine Learning Model Acceleration on Distributed Systems
AI总结:
针对大规模机器学习训练与部署中通信开销大、GPU 利用率低的问题,本文提出性能建模框架 MAD-Max,通过优化并行化策略和软硬件协同设计,在真实 GPU 集群上实现预训练最高 2.24 倍、推理最高 5.2 倍的吞吐量提升。
摘要:
训练和部署大规模机器学习模型耗时较长,需要大量的分布式计算基础设施,并产生高昂的运营成本。我们基于数据中心级基础设施上真实大规模模型训练的分析表明,14%~32% 的 GPU 小时都花费在通信上,且没有与计算重叠。为了最小化这一突出的通信延迟以及其他固有的规模化低效问题,我们引入了一个敏捷的性能建模框架 MAD-Max。该框架旨在优化并行化策略,并促进硬件-软件协同设计机会。通过将 MAD-Max 应用于最先进 GPU 集群上的一系列真实大规模机器学习模型,我们展示了预训练场景下最高可达 2.24 倍、推理场景下最高可达 5.2 倍的潜在吞吐量提升。
英文摘要:
Training and deploying large-scale machine learning models is time-consuming, requires significant distributed computing infrastructures, and incurs high operational costs. Our analysis, grounded in real-world large model training on datacenter-scale infrastructures, reveals that 14~32% of all GPU hours are spent on communication with no overlapping computation. To minimize this outstanding communication latency and other inherent at-scale inefficiencies, we introduce an agile performance modeling framework, MAD-Max. This framework is designed to optimize parallelization strategies and facilitate hardware-software co-design opportunities. Through the application of MAD-Max to a suite of real-world large-scale ML models on state-of-the-art GPU clusters, we showcase potential throughput enhancements of up to 2.24x for pre-training and up to 5.2x for inference scenarios, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。