paperbot · PL 论文追踪

全部论文 待读 收藏

P2 PartIR: Composing SPMD Partitioning Strategies for Machine Learning

PartIR:为机器学习组合 SPMD 分区策略
ASPLOS Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 12025匹配度 3/10 · 该论文属于程序语言/编译技术与机器学习系统的交叉,涉及 IR 重写与 SPMD 分片策略,但与用户核心方向(静态分析、形式化验证、Agentic/LLM 程序、浮点程序分析、贝叶斯程序分析)没有直接关系,仅能算边缘相关。引用 16 inbox
Sami Alabed, Daniel Belov, Bart Chrzaszcz, Juliana Franco, Dominik Grewe, Dougal Maclaurin, James Molloy, Tom Natan, Tamara Norman, Xiaoyue Pan, Adam Paszke, Norman A. Rink, Michael Schaarschmidt, Timur Sitdikov, Agnieszka Swietlik, Dimitrios Vytiniotis, Joel Wee
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出硬件/运行时无关的 PartIR,用可组合 SPMD 分片策略与增量 IR 重写实现可预测的神经网络分区。

训练现代大型神经网络需要组合数据、模型或优化器分片等多种并行化策略,策略复杂度不断上升。PartIR 是硬件与运行时无关的神经网络分区系统,其核心特点是:允许用户定义或自动推导的多种分片策略组合;将策略与机器学习实现解耦;并依据一组明确定义的通用规则进行分区,从而保证可预测性。它采用类似 schedule 的 API,在每种策略后增量重写 ML 程序的中间表示(IR),使模拟器和用户能够验证策略性能。PartIR 已用于训练大模型并覆盖多样模型架构,展示了其可预测性、表达力和性能。

问题
大型神经网络训练需组合多种并行/分片策略,但现有方式难以表达、解耦和预测这些策略的组合效果。
方法
PartIR 以硬件/运行时无关的方式,通过 schedule 式 API 在 ML IR 上增量应用并组合用户定义或自动推导的 SPMD 分区策略,且策略与 ML 实现解耦。
评估
作者将 PartIR 用于训练大型模型和多种模型架构,验证其可预测性、表达力与性能。
原文摘要(Abstract)

Training modern large neural networks (NNs) requires a combination of parallelization strategies, including data, model, or optimizer sharding. To address the growing complexity of these strategies, we introduce PartIR, a hardware-and-runtime agnostic NN partitioning system. PartIR is: 1) Expressive: It allows for the composition of multiple sharding strategies, whether user-defined or automatically derived; 2) Decoupled: the strategies are separate from the ML implementation; and 3) Predictable: It follows a set of well-defined general rules to partition the NN. PartIR utilizes a schedule-like API that incrementally rewrites the ML program intermediate representation (IR) after each strategy, allowing simulators and users to verify the strategy's performance. PartIR has been successfully used both for training large models and across diverse model architectures, demonstrating its predictability, expressiveness, and performance.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{abs-2401-11202,
  title = {PartIR: Composing SPMD Partitioning Strategies for Machine Learning},
  author = {Sami Alabed and Daniel Belov and Bart Chrzaszcz and Juliana Franco and Dominik Grewe and Dougal Maclaurin and James Molloy and Tom Natan and Tamara Norman and Xiaoyue Pan and Adam Paszke and Norman A. Rink and Michael Schaarschmidt and Timur Sitdikov and Agnieszka Swietlik and Dimitrios Vytiniotis and Joel Wee},
  booktitle = {ASPLOS},
  year = {2025},
  doi = {10.1145/3669940.3707284}
}