ASTRA-sim2.0:为大规模大模型训练建模分层网络与解耦系统
ASTRA-sim2.0: Modeling Hierarchical Networks and Disaggregated Systems for Large-model Training at Scale
AI总结:
针对分布式训练软硬件协同设计栈复杂的问题,扩展开源ASTRA-sim基础设施为ASTRA-sim2.0,支持任意模型并行化策略、多维异构拓扑生成及解耦内存系统建模,助力系统设计人员高效开展大规模分布式训练平台的设计空间探索。
摘要:
随着深度学习模型和输入数据以前所未有的速度扩展,转向分布式训练平台以适配模型并提高训练吞吐量已成为必然。最先进的方法和技术(如晶圆级节点、多维网络拓扑、解耦内存系统和并行化策略)已被新兴分布式训练系统积极采用。这导致分布式训练的软硬件协同设计栈变得复杂,因此需要建模/仿真基础设施来支持设计空间探索。本文扩展了开源ASTRA-sim基础设施,使其具备对最先进及新兴分布式训练模型和平台进行建模的能力。具体而言,(i)通过基于图的训练循环实现,使ASTRA-sim支持任意模型并行化策略;(ii)实现了可参数化的多维异构拓扑生成基础设施,结合分析性能估计,能够对目标系统进行大规模仿真;(iii)增强了内存系统建模,以支持对网络内集合通信和解耦内存系统的准确建模。借助这些能力,我们针对新兴分布式模型和平台开展了全面的案例研究。该基础设施使系统设计人员能够快速遍历复杂的协同设计栈,并在设计和部署大规模分布式训练平台时提供有意义的见解。
英文摘要:
As deep learning models and input data are scaling at an unprecedented rate, it is inevitable to move towards distributed training platforms to fit the model and increase training throughput. State-of-the-art approaches and techniques, such as wafer-scale nodes, multi-dimensional network topologies, disaggregated memory systems, and parallelization strategies, have been actively adopted by emerging distributed training systems. This results in a complex SW/HW co-design stack of distributed training, necessitating a modeling/simulation infrastructure for design-space exploration. In this paper, we extend the open-source ASTRA-sim infrastructure and endow it with the capabilities to model state-of-the-art and emerging distributed training models and platforms. More specifically, (i) we enable ASTRA-sim to support arbitrary model parallelization strategies via a graph-based training-loop implementation, (ii) we implement a parameterizable multi-dimensional heterogeneous topology generation infrastructure with analytical performance estimates enabling simulating target systems at scale, and (iii) we enhance the memory system modeling to support accurate modeling of in-network collective communication and disaggregated memory systems. With such capabilities, we run comprehensive case studies targeting emerging distributed models and platforms. This infrastructure lets system designers swiftly traverse the complex co-design stack and give meaningful insights when designing and deploying distributed training platforms at scale.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。