paper-with-me

홈 › Papers

ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learning

2021-04-16 · Samyam Rajbhandari, Olatunji Ruwase, Jeff Rasley, Shaden Smith, Yuxiong He

In the last three years, the largest dense deep learning models have grown over 1000x to reach hundreds of billions of parameters, while the GPU memory has only grown by 5x (16 GB to 80 GB). Therefore, the growth in model scale has been supported primarily though system innovations that allow large models to fit in the aggregate GPU memory of multiple GPUs. However, we are getting close to the GPU memory wall. It requires 800 NVIDIA V100 GPUs just to fit a trillion parameter model for training, and such clusters are simply out of reach for most data scientists. In addition, training models at that scale requires complex combinations of parallelism techniques that puts a big burden on the data scientists to refactor their model. In this paper we present ZeRO-Infinity, a novel heterogeneous system technology that leverages GPU, CPU, and NVMe memory to allow for unprecedented model scale on limited resources without requiring model code refactoring. At the same time it achieves excellent training throughput and scalability, unencumbered by the limited CPU or NVMe bandwidth. ZeRO-Infinity can fit models with tens and even hundreds of trillions of parameters for training on current generation GPU clusters. It can be used to fine-tune trillion parameter models on a single NVIDIA DGX-2 node, making large models more accessible. In terms of training throughput and scalability, it sustains over 25 petaflops on 512 NVIDIA V100 GPUs(40% of peak), while also demonstrating super linear scalability. An open source implementation of ZeRO-Infinity is available through DeepSpeed, a deep learning optimization library that makes distributed training easy, efficient, and effective.

📄 PDF Abstract BibTeX arXiv:2104.07857

Code (0)

등록된 구현이 없습니다.

Tasks

CPUGPU

Methods 이 논문이 사용한 방법론

ZeRO-Infinity ZeRO-Infinity is a sharded data parallel system that extends ZeRO with new innovations in heterogeneous memory access called the…

Similar Papers 제목 키워드 기반

Breaking On-device Training Memory Wall: A Systematic Survey

2023-06-17 · Shitian Li, Chunlin Tian, Kahou Tam, Rui Ma 외

On-device training has become an increasingly popular approach to machine learning, enabling models to be trained directly on mobile and edge devices. However, a major challenge in this area is the limited memory availab…

NavigateSurvey

InfinityDrive: Breaking Time Limits in Driving World Models

2024-12-02 · Xi Guo, Chenjing Ding, Haoxuan Dou, Xin Zhang 외

Autonomous driving systems struggle with complex scenarios due to limited access to diverse, extensive, and out-of-distribution driving data which are critical for safe navigation. World models offer a promising solution…

Autonomous DrivingDiversityVideo Generation

Zeroth-Order Fine-Tuning of LLMs with Extreme Sparsity

2024-06-05 · Wentao Guo, Jikai Long, Yimeng Zeng, Zirui Liu 외

Zeroth-order optimization (ZO) is a memory-efficient strategy for fine-tuning Large Language Models using only forward passes. However, the application of ZO fine-tuning in memory-constrained settings such as mobile phon…

GPUQuantization

Breaking the Memory Wall: Exact Analytical Differentiation via Tiled Operator-Space Evolution

2025-12-28 · Shuhuan Wang, Yuzhen Xie, Jiayi Li, Yinliang Diao arxiv

Selective State Space Models (SSMs) achieve linear-time inference, yet their gradient-based sensitivity analysis remains bottlenecked by O(L) memory scaling during backpropagation. This memory constraint precludes genomi…

Breaking the Performance Ceiling in Complex Reinforcement Learning requires Inference Strategies

2025-05-27 · Felix Chalumeau, Daniel Rajaonarivonivelomanantsoa, Ruan de Kock, Claude Formanek 외

Reinforcement learning (RL) systems have countless applications, from energy-grid management to protein design. However, such real-world scenarios are often extremely difficult, combinatorial in nature, and require compl…

Protein DesignReinforcement Learning (RL)