#55th of 126 in Training and fine-tuning

deepspeed

PyTorch library for distributed training of very large models with ZeRO

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
43.4k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 35 weeks+1,885
24 Mar 2026: 41,491 stars31 Mar 2026: 41,553 stars7 Apr 2026: 41,625 stars14 Apr 2026: 41,738 stars21 Apr 2026: 41,806 stars28 Apr 2026: 41,864 stars5 May 2026: 41,930 stars12 May 2026: 41,996 stars19 May 2026: 42,055 stars26 May 2026: 42,105 stars2 Jun 2026: 42,176 stars9 Jun 2026: 42,225 stars16 Jun 2026: 42,285 stars23 Jun 2026: 42,335 stars30 Jun 2026: 42,410 stars7 Jul 2026: 42,463 stars14 Jul 2026: 42,512 stars21 Jul 2026: 42,582 stars28 Jul 2026: 42,649 stars4 Aug 2026: 42,693 stars11 Aug 2026: 42,745 stars18 Aug 2026: 42,803 stars25 Aug 2026: 42,851 stars1 Sept 2026: 42,914 stars8 Sept 2026: 42,956 stars15 Sept 2026: 43,004 stars22 Sept 2026: 43,044 stars29 Sept 2026: 43,066 stars6 Oct 2026: 43,114 stars13 Oct 2026: 43,156 stars20 Oct 2026: 43,191 stars27 Oct 2026: 43,234 stars3 Nov 2026: 43,269 stars10 Nov 2026: 43,307 stars17 Nov 2026: 43,340 stars24 Nov 2026: 43,376 stars

41,491 on 24 Mar 202643,376 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

DeepSpeed is a PyTorch library that makes large-model training fit and scale across GPUs using ZeRO, ZeRO-Infinity offload, 3D parallelism, Ulysses sequence parallelism and DeepSpeed-MoE. It is configured through a JSON file and integrates with Hugging Face Transformers, Accelerate, Lightning, MosaicML Composer, Determined and MMEngine. C++/CUDA ops are built just-in-time with ninja by default.

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

Strengths

  • Used to train models such as BLOOM 176B and Megatron-Turing NLG 530B
  • Integrates with Hugging Face Transformers and Accelerate, Lightning, Composer and Determined
  • Supports NVIDIA, AMD, Intel Gaudi and XPU, Huawei Ascend NPU and CPU accelerators
  • Installs with pip install deepspeed; ds_report checks which ops are compatible

Weaknesses

  • PyTorch must be installed first, and a CUDA or ROCm compiler is needed for JIT ops
  • Windows lacks async IO and GDS support
  • Tested mainly on NVIDIA Pascal to Hopper and AMD MI100/MI200; other hardware is less validated
  • Training-focused; tuning requires understanding the JSON config and ZeRO stages

What it needs

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

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Head to head

Also in Training and fine-tuning

See all 126
Also in Training and fine-tuning
RankProjectScore
3megatron-lmNVIDIA's library for training large transformer models across many GPUs18.6k starscustom license89 out of 100
#4unslothDesktop and web app to run and fine-tune local models Live demo ↗ (opens in a new tab)80.5k starsApache-2.088 out of 100
#6axolotlYAML-driven framework for fine-tuning and post-training LLMs Live demo ↗ (opens in a new tab)12.8k stars+123 (+1.0%) in 30 daysApache-2.088 out of 100
#7soupCLI for fine-tuning and post-training LLMs from a single YAML config10.9k starsApache-2.086 out of 100
#8ms-swiftFine-tuning, RLHF, quantization and deployment framework for 1,000+ open LLMs16.2k starsApache-2.085 out of 100