22nd of 5 in Training and fine-tuning

deepspeed

PyTorch library for distributed training of large models with ZeRO

Stars
43.2k
License
Apache-2.0
Last commit
Oct 2026
Last release
Sep 2026
Language
Python
Stars, last 29 weeks+1,666
24 Mar 2026: 41,563 stars31 Mar 2026: 41,625 stars7 Apr 2026: 41,697 stars14 Apr 2026: 41,810 stars21 Apr 2026: 41,878 stars28 Apr 2026: 41,936 stars5 May 2026: 42,002 stars12 May 2026: 42,068 stars19 May 2026: 42,127 stars26 May 2026: 42,177 stars2 Jun 2026: 42,248 stars9 Jun 2026: 42,297 stars16 Jun 2026: 42,357 stars23 Jun 2026: 42,407 stars30 Jun 2026: 42,482 stars7 Jul 2026: 42,535 stars14 Jul 2026: 42,584 stars21 Jul 2026: 42,654 stars28 Jul 2026: 42,721 stars4 Aug 2026: 42,765 stars11 Aug 2026: 42,817 stars18 Aug 2026: 42,875 stars25 Aug 2026: 42,923 stars1 Sept 2026: 42,986 stars8 Sept 2026: 43,028 stars15 Sept 2026: 43,076 stars22 Sept 2026: 43,117 stars29 Sept 2026: 43,139 stars6 Oct 2026: 43,187 stars13 Oct 2026: 43,229 stars

41,563 on 24 Mar 202643,229 on 13 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

DeepSpeed is a PyTorch optimization library for training large deep learning models across many GPUs. It provides ZeRO memory partitioning with CPU and NVMe offload, 3D parallelism, Ulysses sequence parallelism and MoE support, configured through a JSON file. It integrates with Hugging Face Transformers and Accelerate, Lightning, MosaicML Composer, Determined and MMEngine.

Who it is for: ML engineers training or fine-tuning large models on multi-GPU clusters

Strengths

  • Used to train models such as BLOOM 176B and Megatron-Turing NLG 530B
  • Integrates with Hugging Face Transformers/Accelerate, Lightning, Composer, Determined and MMEngine
  • Supports NVIDIA, AMD, Intel Gaudi/XPU/CPU, Huawei Ascend NPU and Tecorigin accelerators
  • Installs from PyPI; C++/CUDA ops are JIT-compiled or pre-built

Weaknesses

  • Needs PyTorch installed first and a CUDA or ROCm compiler for JIT ops
  • Mainly tested on NVIDIA Pascal to Hopper and AMD MI100/MI200
  • Windows lacks async IO and GDS support
  • Large JSON config surface; ZeRO and offload tuning requires reading the docs

What it needs

  • GPU optional
  • Docker
  • Needs PyTorch, CUDA or ROCm compiler (nvcc/hipcc), ninja
  • Models: PyTorch models, Hugging Face Transformers

Head to head

Also in Training and fine-tuning

See all 5
Also in Training and fine-tuning
RankProjectScore
1llamafactoryFine-tuning toolkit for 100+ LLMs with a CLI and Gradio web UI Live demo ↗ (opens in a new tab)75.5k starsApache-2.074 out of 100
3minimindTrain a 64M-parameter LLM from scratch in plain PyTorch Live demo ↗ (opens in a new tab)63.7k starsApache-2.064 out of 100
#4nanochatMinimal PyTorch codebase to train and chat with a small GPT-2-class LLM58.6k starsMIT49 out of 100
#5colossalaiDistributed training library for large models with many parallelism strategies Live demo ↗ (opens in a new tab)41.4k starsApache-2.043 out of 100