Skip to content

Commit 59ce90d

Browse files
minjiazjeffra
andauthored
Minjiaz/zero offload (deepspeedai#382)
Co-authored-by: Jeff Rasley <jerasley@microsoft.com>
1 parent be4b94b commit 59ce90d

3 files changed

Lines changed: 23 additions & 1 deletion

File tree

docs/_pages/features.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ during the backward computation, the activation gradients are short lived while
103103
gradients are long lived. CMO transfers activation checkpoints and parameter gradients
104104
to contiguous buffers preventing memory fragmentation.
105105

106+
## ZeRO-Offload
107+
108+
ZeRO-Offload pushes the boundary of the maximum model size that can be trained efficiently using minimal GPU resources, by exploiting computational and memory resources on both GPUs and their host CPUs. It allows training up to 13-billion-parameter models on a single NVIDIA V100 GPU, 10x larger than the state-of-the-art, while retaining high training throughput of over 30 teraflops per GPU.
109+
110+
For more details see the [ZeRO-Offload release blog]( https://www.microsoft.com/en-us/research/?p=689370&secret=iSlooB), and [tutorial](/tutorials/zero-offload/) on integration with DeepSpeed.
111+
106112
## Additional Memory and Bandwidth Optimizations
107113

108114
### Smart Gradient Accumulation
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: single
3+
title: "10x bigger model training on a single GPU with ZeRO-Offload"
4+
excerpt: ""
5+
categories: news
6+
new_post: true
7+
date: 2020-09-09 00:00:00
8+
---
9+
10+
We introduce a new technology called ZeRO-Offload to enable **10X bigger model training on a single GPU**. ZeRO-Offload extends ZeRO-2 to leverage both CPU and GPU memory for training large models. Using a machine with **a single GPU**, our users now can run **models of up to 13 billion parameters** without running out of memory, 10x bigger than the existing approaches, while obtaining competitive throughput. This feature democratizes multi-billion-parameter model training and opens the window for many deep learning practitioners to explore bigger and better models.
11+
12+
* For more information on ZeRO-Offload, see our [press release]( {{ site.press_release_v3 }} ).
13+
* For more information on how to use ZeRO-Offload, see our [ZeRO-Offload tutorial](https://www.deepspeed.ai/tutorials/zero-offload/).
14+
* The source code for ZeRO-Offload can be found in the [DeepSpeed repo](https://github.com/microsoft/deepspeed).

docs/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ efficient, and effective.
1010
<p align="center"><i><b>10x Larger Models</b></i></p>
1111
<p align="center"><i><b>10x Faster Training</b></i></p>
1212
<p align="center"><i><b>Minimal Code Change</b></i></p>
13-
1413
DeepSpeed can train DL models with over a hundred billion parameters on current
1514
generation of GPU clusters, while achieving over 10x in system performance
1615
compared to the state-of-art. Early adopters of DeepSpeed have already produced
@@ -157,6 +156,9 @@ overview](/features/) for descriptions and usage.
157156
* Activation Partitioning
158157
* Constant Buffer Optimization
159158
* Contiguous Memory Optimization
159+
* [ZeRO-Offload](/features/#zero-offload)
160+
* Leverage both CPU/GPU memory for model training
161+
* Support 10B model training on a single GPU
160162
* [Additional Memory and Bandwidth Optimizations](/features/#additional-memory-and-bandwidth-optimizations)
161163
* Smart Gradient Accumulation
162164
* Communication/Computation Overlap

0 commit comments

Comments
 (0)