mlsanityData to 14 Oct 2026

TOAST: Fast and scalable auto-partitioning based on principled static analysis

arXiv 2508.15010 ↗First posted 20 Aug 2025cs.LG cs.DCcited by 0

Not on the map. Why?

Abstract (arXiv)

Partitioning large machine learning models across distributed accelerator systems is a complex process, requiring a series of interdependent decisions that are further complicated by internal sharding ambiguities. Consequently, existing auto-partitioners often suffer from out-of-memory errors or are prohibitively slow when exploring the exponentially large space of possible partitionings. To mitigate this, they artificially restrict the search space, but this approach frequently yields infeasible solutions that violate device memory constraints or lead to sub-optimal performance. We propose a system that combines a novel static compiler analysis with a Monte Carlo Tree Search. Our analysis constructs an efficient decision space by identifying (i) tensor dimensions requiring identical sharding, and (ii) partitioning "conflicts" that require resolution. Our system significantly outperforms state-of-the-art industrial methods across diverse hardware platforms and model architectures, discovering previously unknown, superior solutions, and the process is fully automated even for complex and large models.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 45 references that are in the map. First posted on arXiv 20 Aug 2025.

Builds on

19 of 45 references.

References · 19

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  6. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  7. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
  8. 2020Learning to Simulate Complex Physics with Graph Networkscited by 880
  9. 2017Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithmcited by 734
  10. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
  11. 2020UNet 3+: A Full-Scale Connected UNet for Medical Image Segmentationcited by 332
  12. 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
7 more
  1. 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 202
  2. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 179
  3. 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 169
  4. 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 111
  5. 2021Automap: Towards Ergonomic Automated Parallelism for ML Modelscited by 12
  6. 2024PartIR: Composing SPMD Partitioning Strategies for Machine Learningcited by 10
  7. 2022Automatic Discovery of Composite SPMD Partitioning Strategies in PartIRcited by 2

Built on by

Not cited yet.