deepspeedai/DeepSpeed

DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 43 minutes ago
Added to GitGenius on December 13th, 2023
Created on January 23rd, 2020
Open Issues & Pull Requests: 1,319 (+0)
Number of forks: 4,941
Total Stargazers: 42,983 (+0)
Total Subscribers: 355 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.3 days
Mean response time: 154.7 days
90th percentile: 553.0 days
Tracked items: 1,120

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 93% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "windows" is answered fastest, typically in about 2 days, while "deepspeed-chat" waits about 4 months. 71% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1,129
New in 7 days: 9
Closed in 7 days: 5
Avg open age: 942 days
Stale 30+ days: 1,109
Stale 90+ days: 1,094

Recent activity

Opened in 7 days: 6
Closed in 7 days: 5
Comments in 7 days: 13
Events in 7 days: 45

Top labels

  • bug (1,663)
  • training (963)
  • enhancement (417)
  • inference (300)
  • ci-failure (120)
  • deepspeed-chat (106)
  • compression (83)
  • build (42)

Detailed Description

DeepSpeed is a deep learning optimization library developed by Microsoft that enables efficient distributed training and inference of large-scale models. Written in Python and built on PyTorch, the library provides system-level innovations that have made it possible to train some of the world's largest language models, including MT-530B and BLOOM.

The core innovations in DeepSpeed include ZeRO, a memory optimization technique that reduces memory consumption during training, along with ZeRO-Infinity for handling extremely large models. The library also implements 3D-Parallelism, Ulysses Sequence Parallelism for handling long sequences, and DeepSpeed-MoE for mixture-of-experts models. Recent additions documented in the repository include SuperOffload for large-scale LLM training on superchips, ZenFlow as a stall-free offloading engine, Arctic Long Sequence Training for multi-million token sequences, and DeepCompile for compiler optimization in distributed training. The library supports various parallelism strategies including data parallelism, model parallelism, and pipeline parallelism, enabling training of models with parameters ranging from billions to trillions.

DeepSpeed has been integrated into major open-source frameworks including Hugging Face Transformers, Hugging Face Accelerate, PyTorch Lightning, MosaicML Composer, Determined, and MMEngine, making it accessible to practitioners across different training ecosystems. The library has powered training of numerous large-scale models such as Jurassic-1 (178B parameters), GLM (130B), YaLM (100B), and GPT-NeoX (20B), demonstrating its effectiveness across diverse model architectures and scales.

The repository shows active maintenance and community engagement.

The project maintains regular community engagement through monthly office hours held on the last Tuesday of each month, providing opportunities for users and developers to discuss development plans and ask questions. Recent work highlighted in the repository includes the Muon Optimizer integration, System DMA for ZeRO-3 on AMD GPUs, and DeepNVMe for affordable I/O scaling. The DeepSpeed team presented at ASPLOS 2026 and received an Honorable Mention for the Best Paper Award for SuperOffload work, demonstrating continued research contributions to the field. The library's classification spans memory efficiency, optimization techniques, mixed precision training, checkpointing strategies, performance scaling, and reduced communication overhead, positioning it as a comprehensive solution for large-scale deep learning infrastructure.