ASTRA-sim 3.0高保真模拟分布式训练,助力优化算法与硬件设计。
ASTRA-sim 3.0: Next-Level Distributed Machine Learning Simulations via High-Fidelity GPU and Infrastructure Modeling

- 采用缓存行级粒度与详细GPU执行模型,兼顾仿真精度与效率。
- 提出InfraGraph标准表示法,精确刻画分布式网络基础设施。
- 适合系统架构师与算法工程师探索高效通信与硬件优化方案。
分布式机器学习是当前大规模人工智能应用的关键范式。随着模型推理成为重要场景,对延迟敏感的集体通信进行真实建模变得尤为关键。因此,必须以高保真度捕捉设备架构,并建模控制与数据通路。建立统一、详细的分布式机器学习基础设施表示也至关重要。本文重新审视开源社区驱动的仿真器ASTRA-sim。针对现有版本的局限性,我们为其新增功能:支持细粒度、高保真度仿真,并引入标准化基础设施表示,开辟新的设计空间探索可能。提出在缓存行大小负载-存储粒度下进行仿真,结合详尽的图形处理器(GPU)执行模型,在仿真可扩展性与保真度间取得平衡。同时引入InfraGraph,一种标准化表示方法,以细节化描述分布式机器学习网络基础设施。使用更新后的ASTRA-sim 3.0,我们展示了优化集体通信算法、网络需求及GPU架构的设计空间探索实例。
原文摘要 · Abstract (English)
Distributed machine learning (ML) is a key paradigm for today's large-scale artificial intelligence applications. As model inference arises as an important use case, faithful modeling of latency-sensitive collective communication has never been more important. Capturing the device architecture and modeling control and data paths at high fidelity is therefore a necessity today. Having a common, detailed representation for distributed ML infrastructure is also crucial. We revisit the promising open-source, community-driven simulator: ASTRA-sim. In this work, we identify limitations of the current ASTRA-sim simulator and augment it with new features. To this end, we enable fine-grained, high-fidelity simulation with a standardized infrastructure representation, opening new design space exploration opportunities. We propose the simulation at cache-line-sized load-store granularity, with a detailed graphics processing unit (GPU) execution model, to balance simulation scalability and fidelity. We also introduce InfraGraph, a standardized representation to capture distributed ML network infrastructure in detail. Using the updated ASTRA-sim 3.0 simulator, we showcase interesting design space explorations for designing optimized collective algorithms, network requirements, and GPU architectures.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。