TOAST: Fast and scalable auto-partitioning based on principled static analysis
Alabed, Sami, Grewe, Dominik, Rink, Norman Alexander, Samsikova, Masha, Sitdikov, Timur, Swietlik, Agnieszka, Vytiniotis, Dimitrios, Belov, Daniel
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Aug-26-2025
- Country:
- Asia > Middle East
- Jordan (0.04)
- Europe
- Germany > Bavaria
- Upper Bavaria > Munich (0.04)
- Italy > Calabria
- Catanzaro Province > Catanzaro (0.04)
- Netherlands > South Holland
- Rotterdam (0.04)
- Spain (0.04)
- United Kingdom > England
- Greater London > London (0.05)
- Germany > Bavaria
- North America > United States
- California
- San Diego County
- San Francisco County > San Francisco (0.14)
- Santa Clara County > Stanford (0.04)
- Florida > Orange County
- Orlando (0.04)
- Georgia > Chatham County
- Savannah (0.04)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- New York > New York County
- New York City (0.04)
- Virginia (0.04)
- California
- Asia > Middle East
- Genre:
- Research Report (0.50)
- Technology: