# DeepSpeed

框架 · https://godooo.ai/zh/framework/deepspeed

> DeepSpeed 是 Microsoft 出品的开源 AI 开发框架，2020 年推出，面向开发者、企业。

在多块 GPU 上训练和运行超大模型的优化库。

主打：模型训练。开源，可以免费使用。使用方式：自部署、本地离线运行、API。

## 速览

- **类别:** [框架](https://godooo.ai/zh/browse#framework)
- **出品方:** [Microsoft](https://godooo.ai/zh/org/microsoft)
- **推出于:** 2020
- **所属星系:** [模型与 API](https://godooo.ai/zh/galaxy/builders)
- **是否开源:** 是 · Apache-2.0
- **源代码:** [github.com/deepspeedai/DeepSpeed](https://github.com/deepspeedai/DeepSpeed)
- **GitHub 星标:** 43,158
- **使用方式:** 可自部署 · 可离线本地运行 · API
- **适合谁:** 开发者 · 企业
- **官网:** [deepspeed.ai](https://www.deepspeed.ai)

## 能做什么

- **[模型训练](https://godooo.ai/zh/capability/model-training)** — 主打, _由机器提出，尚待校准_. “DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective.” (摘自 [deepspeed.ai](https://www.deepspeed.ai/)，2026-09-24)

## 平替与同类

- **[PyTorch](https://godooo.ai/zh/framework/pytorch)** (开源免费): 同样能做：模型训练
- **[TensorFlow](https://godooo.ai/zh/framework/tensorflow)** (开源免费): 同样能做：模型训练
- **[Transformers](https://godooo.ai/zh/framework/transformers)** (开源免费): 同样能做：模型训练
- **[JAX](https://godooo.ai/zh/framework/jax)** (开源免费): 同样能做：模型训练
- **[Megatron-LM](https://godooo.ai/zh/framework/megatron-lm)** (开源免费): 同样能做：模型训练
- **[MLX](https://godooo.ai/zh/framework/mlx)** (开源免费): 同样能做：模型训练
- **[nanoGPT](https://godooo.ai/zh/framework/nanogpt)** (开源免费): 同样能做：模型训练
- **[Hugging Face](https://godooo.ai/zh/product/huggingface)** (免费版 + 付费升级): 同样能做：模型训练
- **[ModelScope](https://godooo.ai/zh/product/modelscope)** (开源免费): 同样能做：模型训练
- **[AudioCraft](https://godooo.ai/zh/framework/audiocraft)** (开源免费): 同样能做：模型训练
- **[Diffusers](https://godooo.ai/zh/framework/diffusers)** (开源免费): 同样能做：模型训练
- **[Kohya's GUI](https://godooo.ai/zh/product/kohya-ss)** (开源免费): 同样能做：模型训练

## 关系

- **基于…构建:** [PyTorch](https://godooo.ai/zh/framework/pytorch)

## 常见问题

### DeepSpeed 是什么？

DeepSpeed 是 Microsoft 出品的开源 AI 开发框架，2020 年推出，面向开发者、企业。在多块 GPU 上训练和运行超大模型的优化库。

### DeepSpeed 免费吗？

免费。DeepSpeed 是开源软件（Apache-2.0）。

### DeepSpeed 开源吗？

开源，许可证是 Apache-2.0。源代码在 https://github.com/deepspeedai/DeepSpeed。

### DeepSpeed 能本地运行吗？

能，可以在自己的电脑上离线运行。也可以部署在自己的服务器上。

### DeepSpeed 能做什么？

主打：模型训练。

### DeepSpeed 是谁开发的？

由 Microsoft 开发。

### DeepSpeed 有哪些开源替代品？

开源的有：PyTorch、TensorFlow、Transformers、JAX、Megatron-LM、MLX、nanoGPT、ModelScope。其他：Hugging Face。

## 来源

- [deepspeed.ai](https://www.deepspeed.ai/) — 核实于 2026-09-24
- [github.com](https://github.com/deepspeedai/DeepSpeed)

---

最后更新 2026-09-24 · 来源核实于 2026-09-24 · 这是 https://godooo.ai/zh/framework/deepspeed 的 Markdown 版本。本站每个页面都有：在地址后面加 .md。
