SimpleFSDP: Simpler Fully Sharded Data Parallel with torch.compile
Not on the map. Why?
Abstract (arXiv)
Distributed training of large models consumes enormous computation resources and requires substantial engineering efforts to compose various training techniques. This paper presents SimpleFSDP, a PyTorch-native compiler-based Fully Sharded Data Parallel (FSDP) framework, which has a simple implementation for maintenance and composability, allows full computation-communication graph tracing, and brings performance enhancement via compiler backend optimizations. SimpleFSDP's novelty lies in its unique torch.compile-friendly implementation of collective communications using existing PyTorch primitives, namely parametrizations, selective activation checkpointing, and DTensor. It also features the first-of-its-kind intermediate representation (IR) nodes bucketing and reordering in the TorchInductor backend for effective computation-communication overlapping. As a result, users can employ the aforementioned optimizations to automatically or manually wrap model components for minimal communication exposure. Extensive evaluations of SimpleFSDP on Llama 3 models (including the ultra-large 405B) using TorchTitan demonstrate up to 28.54% memory reduction and 68.67% throughput improvement compared to the most widely adopted FSDP2 eager framework, when composed with other distributed training techniques.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 20 of its 36 references that are in the map. First posted on arXiv 1 Nov 2024.
Builds on
20 of 36 references.
References · 20
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
- 2017Mixed Precision Trainingcited by 1,156
- 2016Training Deep Nets with Sublinear Memory Costcited by 848
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
8 more
- 2019NeMo: a toolkit for building AI applications using Neural Modulescited by 235
- 2023Multimodal C4: An Open, Billion-scale Corpus of Images Interleaved with Textcited by 208
- 2017Network Topology and Communication-Computation Tradeoffs in Decentralized Optimizationcited by 122
- 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 111
- 2024TorchTitan: One-stop PyTorch native solution for production ready LLM pre-trainingcited by 85
- 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 75
- 2024Optimus: Accelerating Large-Scale Multi-Modal LLM Training by Bubble Exploitationcited by 14
- 2023Slapo: A Schedule Language for Progressive Optimization of Large Deep Learning Model Trainingcited by 11
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 3.
7 papers.
- 2025MuonBP: Faster Muon via Block-Periodic Orthogonalizationcited by 35
- 2026Entropy-Preserving Reinforcement Learningcited by 11
- 2025Characterizing the Efficiency of Distributed Training: A Power, Performance, and Thermal Perspectivecited by 5
- 2024Hydraulis: Balancing Large Transformer Model Training via Co-designing Parallel Strategies and Data Assignmentcited by 3
- 2026Bergson: An Open Source Library for Data Attributioncited by 3
- 2026AutoSP: Unlocking Long-Context LLM Training Via Compiler-Based Sequence Parallelismcited by 1
- 2025Lingua Custodi's participation at the WMT 2025 Terminology shared taskcited by 0
- 2026Bergson: An Open Source Library for Data Attribution10 Jun 2026
- 2026AutoSP: Unlocking Long-Context LLM Training Via Compiler-Based Sequence Parallelism29 Apr 2026
- 2026Entropy-Preserving Reinforcement Learning12 Mar 2026
- 2025Lingua Custodi's participation at the WMT 2025 Terminology shared task20 Oct 2025
- 2025MuonBP: Faster Muon via Block-Periodic Orthogonalization19 Oct 2025
- 2025Characterizing the Efficiency of Distributed Training: A Power, Performance, and Thermal Perspective12 Sep 2025
- 2024Hydraulis: Balancing Large Transformer Model Training via Co-designing Parallel Strategies and Data Assignment10 Dec 2024