#6 · Primary category: Deep Learning Frameworks

DeepSpeed

billion-parameters compression data-parallelism deep-learning gpu inference machine-learning mixture-of-experts model-parallelism pipeline-parallelism pytorch trillion-parameters zero

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

Project last updated:08/29/26

GitHub Stars

43.0K

Forks

4.9K

Contributors

506

License

Apache-2.0

Why we included this project

DeepSpeed is the library most large-model teams reach for when a single GPU stops being enough. Its ZeRO optimizer splits model states across devices, so models that would never fit on one card can train anyway, and when memory still runs short it can offload to CPU or NVMe. The same codebase covers serving: checkpoints trained with DeepSpeed, Megatron, or HuggingFace run inference without conversion, with partitioning, kernel injection, and quantization handled automatically. It also has optimizations for mixture-of-experts models and sparse attention, which is where training past the billion-parameter mark tends to get interesting. Because it plugs into PyTorch as an engine rather than a separate framework, existing training code mostly keeps working while the memory and throughput gains arrive.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category