PartIR: Composing SPMD Partitioning Strategies for Machine Learning

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.

Authors

Institutions

Publication Details

Published
2025-02-06
DOI
https://doi.org/10.1145/3669940.3707284
Citations
4
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
9.08
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PartIR: Composing SPMD Partitioning Strategies for Machine Learning

Adam Paszke, Juliana Franco, James Molloy, Xiaoyue Pan et al.
4 citations
Parallel Computing and Optimization Techniques
9.08
article

PartIR: Composing SPMD Partitioning Strategies for Machine Learning

Adam Paszke, Juliana Franco, James Molloy, Xiaoyue Pan, Tamara Norman, Dimitrios Vytiniotis, Bart Chrzaszcz, Norman A. Rink, Dougal Maclaurin, Tom Natan, Michael Schaarschmidt, Dominik Grewe, Sami Alabed, D. D. Belov, Timur Sitdikov, Agnieszka Swietlik, Joel Wee
article en
4 citations

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.

Google (United States) (US), Google DeepMind (United Kingdom) (GB), Google (United Kingdom) (GB)
Openalex Percentile: Top 3%
Parallel Computing and Optimization Techniques
9.08
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.