mlsanityData to 14 Oct 2026

ZenFlow: Enabling Stall-Free Offloading for LLM Training

arXiv 2505.12242 ↗First posted 18 May 2025cs.DC cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Fine-tuning large language models (LLMs) often exceeds GPU memory limits, prompting systems to offload model states to CPU memory. However, existing offloaded training frameworks like ZeRO-Offload treat all parameters equally and update the full model on the CPU, causing severe GPU stalls, where fast, expensive GPUs sit idle, waiting for slow CPU updates and limited-bandwidth PCIe transfers. We present ZenFlow, a new offloaded training framework that decouples updates between GPU and CPU by prioritizing important gradients. ZenFlow performs in-place updates of important gradients on GPU while offloading and accumulating less important ones on CPU without blocking training iterations, fully overlapping CPU work with GPU computation. To make this importance-aware design scalable, ZenFlow leverages a novel spatio-temporal locality of important gradients, concentrated in specific positions that remain stable across iterations, to make important gradient identification efficient and lightweight while preserving fidelity. Evaluation shows that ZenFlow achieves up to 5x end-to-end speedup, 2x lower PCIe traffic, 85% less GPU stalls, and up to 72% lower cloud GPU cost, all while preserving accuracy.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 29 of its 54 references that are in the map. First posted on arXiv 18 May 2025.

Builds on

29 of 54 references.

References · 29

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2020Scaling Laws for Neural Language Modelscited by 6,586
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  6. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  7. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  8. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
  9. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  10. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
  11. 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 671
  12. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
17 more
  1. 2017Deep Gradient Compression: Reducing the Communication Bandwidth for Distributed Trainingcited by 478
  2. 2020Towards a Human-like Open-Domain Chatbotcited by 470
  3. 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
  4. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
  5. 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 256
  6. 2017Sparse Communication for Distributed Gradient Descentcited by 249
  7. 2015Asynchronous Parallel Stochastic Gradient for Nonconvex Optimizationcited by 116
  8. 2024The rising costs of training frontier AI modelscited by 95
  9. 2021Sparse is Enough in Scaling Transformerscited by 86
  10. 2020FedAT: A High-Performance and Communication-Efficient Federated Learning System with Asynchronous Tierscited by 64
  11. 2015Staleness-aware Async-SGD for Distributed Deep Learningcited by 43
  12. 2013Petuum: A New Platform for Distributed Machine Learning on Big Datacited by 35
  13. 2018Toward Understanding the Impact of Staleness in Distributed Machine Learningcited by 29
  14. 2023On Efficient Training of Large-Scale Deep Learning Models: A Literature Reviewcited by 26
  15. 2025A Multi-Power Law for Loss Curve Prediction Across Learning Rate Schedulescited by 22
  16. 2024Smart-Infinity: Fast Large Language Model Training using Near-Storage Processing on a Real Systemcited by 15
  17. 2024Breaking the Memory Wall: A Study of I/O Patterns and GPU Memory Utilization for Hybrid CPU-GPU Offloaded Optimizerscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.