arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.12090cs.DC
收藏

使用StableHLO评估分布式机器学习工作负载的跨架构性能建模

Evaluating Cross-Architecture Performance Modeling of Distributed ML Workloads Using StableHLO

imec;Georgia Institute of Technology(佐治亚理工学院)

Jonas Svedas, Nathan Laubeuf, Ryan Harvey, Arjun Singh, Changhai Man, Abubakr Nada, Tushar Krishna, James Myers, Debjyoti Bhattacharjee

AI总结:

本文评估StableHLO是否能作为统一的工作负载表示,用于跨架构和跨保真度的分布式机器学习工作负载性能建模,通过建立基于StableHLO的模拟方法,展示了在不同架构和保真度下的性能评估结果。

摘要:

预测大规模分布式机器学习(ML)工作负载在多种加速器架构上的性能仍然是ML系统设计中的核心挑战。现有的GPU和TPU专用模拟器通常具有架构特定性,而分布式训练模拟器依赖于工作负载特定的分析模型或昂贵的后执行跟踪,限制了可移植性和跨平台比较。本文评估MLIR的StableHLO方言是否能作为统一的工作负载表示,用于跨架构和跨保真度的分布式ML工作负载性能建模。研究建立了一种基于StableHLO的模拟方法,将单一的工作负载表示映射到多个性能模型上,涵盖分析型、基于跟踪的和模拟驱动的预测器。使用该方法,工作负载可以在GPU和TPU上进行评估,而无需访问扩展的物理系统,从而在不同建模保真度之间实现系统比较。覆盖分布式GEMM内核、ResNet和大语言模型训练工作负载的实证评估表明,StableHLO在不同架构和保真度上保留了相对性能趋势,同时暴露了准确率权衡和模拟器限制。在评估的场景中,预测误差仍保持在早期设计探索的实用范围内,而该方法揭示了现有GPU模拟器在保真度依赖方面的局限性。这些结果表明,StableHLO为跨加速器架构和模拟器的统一、分布式ML性能建模提供了可行的基础,支持可重用的评估工作流程和整个ML系统设计过程中的交叉验证。

英文摘要:

Predicting the performance of large-scale distributed machine learning (ML) workloads across multiple accelerator architectures remains a central challenge in ML system design. Existing GPU and TPU focused simulators are typically architecture-specific, while distributed training simulators rely on workload-specific analytical models or costly post-execution traces, limiting portability and cross-platform comparison. This work evaluates whether MLIR's StableHLO dialect can serve as a unified workload representation for cross-architecture and cross-fidelity performance modeling of distributed ML workloads. The study establishes a StableHLO-based simulation methodology that maps a single workload representation onto multiple performance models, spanning analytical, profiling-based, and simulator-driven predictors. Using this methodology, workloads are evaluated across GPUs and TPUs without requiring access to scaled-out physical systems, enabling systematic comparison across modeling fidelities. An empirical evaluation covering distributed GEMM kernels, ResNet, and large language model training workloads demonstrates that StableHLO preserves relative performance trends across architectures and fidelities, while exposing accuracy trade-offs and simulator limitations. Across evaluated scenarios, prediction errors remain within practical bounds for early-stage design exploration, and the methodology reveals fidelity-dependent limitations in existing GPU simulators. These results indicate that StableHLO provides a viable foundation for unified, distributed ML performance modeling across accelerator architectures and simulators, supporting reusable evaluation workflows and cross-validation throughout the ML system design process.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑