🤖 AI Summary
Existing simulators for distributed machine learning struggle to faithfully model latency-sensitive collective communications and fine-grained interactions between GPUs and infrastructure, limiting system-level design space exploration. This work proposes a high-fidelity simulation framework that enables accurate co-simulation of collective communication algorithms, network requirements, and GPU architectures through cache-line-granularity communication modeling, a fine-grained GPU execution model, and a standardized InfraGraph representation of infrastructure. By integrating these components, the framework significantly enhances simulation accuracy and generality, offering a powerful tool for efficiently exploring and optimizing distributed machine learning systems.
📝 Abstract
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.