mlsanityData to 14 Oct 2026

SimpleFSDP: Simpler Fully Sharded Data Parallel with torch.compile

arXiv 2411.00284 ↗First posted 1 Nov 2024cs.DC cs.AIcited by 7

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

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  3. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  4. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
  5. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  6. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
  7. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
  8. 2017Mixed Precision Trainingcited by 1,156
  9. 2016Training Deep Nets with Sublinear Memory Costcited by 848
  10. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
  11. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
  12. 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
8 more
  1. 2019NeMo: a toolkit for building AI applications using Neural Modulescited by 235
  2. 2023Multimodal C4: An Open, Billion-scale Corpus of Images Interleaved with Textcited by 208
  3. 2017Network Topology and Communication-Computation Tradeoffs in Decentralized Optimizationcited by 122
  4. 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 111
  5. 2024TorchTitan: One-stop PyTorch native solution for production ready LLM pre-trainingcited by 85
  6. 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 75
  7. 2024Optimus: Accelerating Large-Scale Multi-Modal LLM Training by Bubble Exploitationcited by 14
  8. 2023Slapo: A Schedule Language for Progressive Optimization of Large Deep Learning Model Trainingcited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 3.

7 papers.