atlas

Research map / Architectures and efficiency / Quantization

ZeRO++: Extremely Efficient Collective Communication for Large Model Training

ICLR 2024 · Architectures and efficiency › Quantization · approach: Post-training quantization of LLMs · 15 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ZeRO++, three communication-reduction techniques for ZeRO-3 (quantized weight all-gather, hierarchical weight partitioning, and all-to-all based INT4 quantized gradient reduction) that cut cross-node communication volume from 3M to 0.75M and speed up training on low-bandwidth clusters.

Problem

ZeRO-3 training becomes communication-bound on low-bandwidth cross-node networks and when per-GPU batch size is small at large scale, limiting effective throughput.

Approach

Combine block-wise INT8 quantization of weights for forward all-gather, a node-level secondary FP16 weight partition that removes cross-node all-gather in backward, and a 2-hop all-to-all INT4 gradient reduction (qgZ) that dequantizes before reduction, with tensor slice reordering for correct placement and overlapped intra/inter-node pipelining.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply ZeRO++ communication optimizationsZeRO-3 · 18B, 384 GPUs, 1 IB connection, 1K tokens/GPUthroughput: 14.15 -> 30.57; 2.16xHelped
apply ZeRO++ communication optimizationsZeRO-3 · 18B, 384 GPUs, 8 IB connections, 2K tokens/GPUthroughput: 47.31 -> 53.65; 1.13xHelped
enable optimized quantization kernel (ablation)ZeRO++ · 18B, 64 GPUsthroughput: 19.73 -> 31.40 TFLOPsHelped
enable fusion kernel (ablation)ZeRO++ · 18B, 64 GPUsthroughput: 19.73 -> 21.6 TFLOPsHelped
enable optimized quantization and fusion kernels (ablation)ZeRO++ · 18B, 64 GPUsthroughput: 19.73 -> 36.16 TFLOPsHelped
turn qgZ off throughout training (ablation)ZeRO++ with hpZ and qwZ · GPT-350M, 30B tokens, Pile validationLM loss: 2.165584 -> 2.121653Helped
use qgZ only for the first 50% of training (ablation)ZeRO++ with hpZ and qwZ · GPT-350M, 30B tokens, Pile validationLM loss: 2.165584 -> 2.134013Helped
use all three optimizations instead of ZeRO-3GPT-350M training · GPT-350M, 30B tokens, Pile validationLM loss: 2.121762 -> 2.165584Hurt
use basic non-blocked instead of block-based quantization (ablation)ZeRO++ · GPT-350M convergence trainingconvergenceHurt
use hpZ and qwZ without qgZ (ablation)ZeRO++ · GPT-350M, 30B tokens, Pile validationLM loss: 2.121762 -> 2.121653No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: The Pile

Benchmarks: The Pile (validation LM loss)

Metrics: TFLOPs percentage of peak performance speedup validation LM loss

Baselines: ZeRO-3 MiCS PyTorch quantization non-blocked quantization

Builds on: ZeRO MiCS 1-bit Adam Megatron-Turing NLG

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy