---
title: "UER-py vs DeepSpeed"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/dbiir-uer-py-vs-deepspeedai-deepspeed"
tools: ["dbiir-uer-py", "deepspeedai-deepspeed"]
---

# UER-py vs DeepSpeed

*GraphCanon updated Jul 11, 2026*

## Verdict

Pick UER-py when tags unique to UER-py: albert, bart, bert, chinese; pick DeepSpeed when tags unique to DeepSpeed: billion-parameters, compression, data-parallelism, deep-learning.

[UER-py](https://github.com/dbiir/UER-py/wiki) reports 3.1k GitHub stars, 520 forks, and 136 open issues, last pushed May 9, 2024. [DeepSpeed](https://www.deepspeed.ai/) has 43k stars, 4.9k forks, and 1.3k open issues, last pushed Jul 11, 2026. Figures are from public GitHub metadata via [UER-py's repository](https://github.com/dbiir/UER-py) and [DeepSpeed's repository](https://github.com/deepspeedai/DeepSpeed).

| | [UER-py](/tools/dbiir-uer-py.md) | [DeepSpeed](/tools/deepspeedai-deepspeed.md) |
| --- | --- | --- |
| Tagline | Open Source Pre-training Model Framework in PyTorch & Pre-trained Model Zoo | Deep learning optimization library for efficient distributed training and inference |
| Stars | 3,109 | 42,685 |
| Forks | 520 | 4,883 |
| Open issues | 136 | 1,302 |
| Language | Python | Python |
| Adopt for | - | Decisions for DeepSpeed use are driven by its capacity to handle large models efficiently using techniques such as data parallelism, model parallelism, pipeline parallelism, and compression. |
| Persona | - | - |
| Runtime | - | - |
| License | Apache-2.0 | Apache-2.0 |
| Categories | Model Training | Inference & Serving, Model Training |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [UER-py](/tools/dbiir-uer-py.md) | [DeepSpeed](/tools/deepspeedai-deepspeed.md) |
| --- | --- | --- |
| Maintenance | Dormant (18%) | Very active (96%) |
| Days since push | 793d | 0d |
| Open issues (now) | 136 | 1.3k |
| Full report | [trust report](/tools/dbiir-uer-py/trust.md) | [trust report](/tools/deepspeedai-deepspeed/trust.md) |

## Decision facts: DeepSpeed

- **Adopt for:** Decisions for DeepSpeed use are driven by its capacity to handle large models efficiently using techniques such as data parallelism, model parallelism, pipeline parallelism, and compression.

## Choose when

### Choose UER-py if…

- Tags unique to UER-py: albert, bart, bert, chinese.
- Leaner open-issue backlog (136).

### Choose DeepSpeed if…

- Tags unique to DeepSpeed: billion-parameters, compression, data-parallelism, deep-learning.
- Also covers Inference & Serving.
- - When training or inferring with PyTorch on large datasets or complex deep learning models (up to trillion parameters)

## When NOT to use UER-py

- Last GitHub push was 793 days ago (dormant maintenance, May 9, 2024). Validate activity before betting a new project on UER-py.
- Model Training: Try prompting and RAG first; fine-tuning is the answer to style/format, not missing knowledge.

## When NOT to use DeepSpeed

- - When you are working in an environment that only supports CPU-based training without access to CUDA or ROCm compatible GPUs
- - If your project's PyTorch version is less than 2.0, DeepSpeed may not support all of its features and optimizations effectively

## Common questions

### What is the difference between UER-py and DeepSpeed?

UER-py: Open Source Pre-training Model Framework in PyTorch & Pre-trained Model Zoo. DeepSpeed: Deep learning optimization library for efficient distributed training and inference. See the comparison table for live GitHub stats and shared categories.

### When should I choose UER-py over DeepSpeed?

Choose UER-py over DeepSpeed when Tags unique to UER-py: albert, bart, bert, chinese; Leaner open-issue backlog (136).

### When should I choose DeepSpeed over UER-py?

Choose DeepSpeed over UER-py when Tags unique to DeepSpeed: billion-parameters, compression, data-parallelism, deep-learning; Also covers Inference & Serving; - When training or inferring with PyTorch on large datasets or complex deep learning models (up to trillion parameters).

### When should I avoid UER-py?

Last GitHub push was 793 days ago (dormant maintenance, May 9, 2024). Validate activity before betting a new project on UER-py. Model Training: Try prompting and RAG first; fine-tuning is the answer to style/format, not missing knowledge.

### When should I avoid DeepSpeed?

- When you are working in an environment that only supports CPU-based training without access to CUDA or ROCm compatible GPUs - If your project's PyTorch version is less than 2.0, DeepSpeed may not support all of its features and optimizations effectively

### Is UER-py or DeepSpeed more popular on GitHub?

DeepSpeed has more GitHub stars (42,685 vs 3,109). Stars measure visibility, not whether either tool fits your constraints.

### Are UER-py and DeepSpeed open source?

Yes - both are open-source projects on GitHub (UER-py: Apache-2.0, DeepSpeed: Apache-2.0).

### Where can I find alternatives to UER-py or DeepSpeed?

GraphCanon lists graph-backed alternatives at [UER-py alternatives](/tools/dbiir-uer-py/alternatives) and [DeepSpeed alternatives](/tools/deepspeedai-deepspeed/alternatives) ([UER-py markdown twin](/tools/dbiir-uer-py/alternatives.md), [DeepSpeed markdown twin](/tools/deepspeedai-deepspeed/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/dbiir-uer-py-vs-deepspeedai-deepspeed.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, UER-py or DeepSpeed?

UER-py: Dormant. DeepSpeed: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for UER-py and DeepSpeed?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [UER-py trust report](/tools/dbiir-uer-py/trust); [DeepSpeed trust report](/tools/deepspeedai-deepspeed/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=dbiir-uer-py`](/api/graphcanon/graph?tool=dbiir-uer-py)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
