Source: https://seerepo.com/compare/deepspeedai/DeepSpeed/vs/state-spaces/mamba
Markdown source: https://seerepo.com/compare/deepspeedai/DeepSpeed/vs/state-spaces/mamba.md
Description: DeepSpeed and mamba share 4 technologies: torch, transformers, triton, and einops. Both are written in Python.

# DeepSpeed vs mamba

DeepSpeed and mamba share 4 technologies: torch, transformers, triton, and einops. Both are written in Python.

- [deepspeedai/DeepSpeed](https://seerepo.com/r/deepspeedai/DeepSpeed): DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.
- [state-spaces/mamba](https://seerepo.com/r/state-spaces/mamba): Mamba SSM architecture

## What they share and what sets them apart

- In common: torch, transformers, triton, einops
- Only in DeepSpeed: sphinx-rtd-theme, accelerate, sentencepiece, diffusers, safetensors, comet-ml, liger-kernel, lm-eval, torchvision, xgboost, docutils, Pydantic, psutil
- Only in mamba: apache-tvm-ffi, quack-kernels

## Side by side

| | DeepSpeed | mamba |
|---|---|---|
| Size | 247,033 lines written, 760 code files | 28,235 lines written, 43 code files |
| Who writes it | 2.7% of its commits signed by AI. With GitHub Copilot, Cursor, and Claude Code | 0.5% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push November 6, 2026, 3,619 commits, 43,302 stars | Last push July 22, 2026, 219 commits, 18,976 stars |
| Tests | 395 test files. 33% of its code files have a test that imports them | 11 test files. 51.2% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, DeepSpeed or mamba?

DeepSpeed, with 247,033 lines written; mamba has 28,235.

The proof: [deepspeedai/DeepSpeed's code at commit f47dc3e](https://github.com/deepspeedai/DeepSpeed/tree/f47dc3e3d48e748d699720ea65eca1f45c136255)

### Which has more GitHub stars, DeepSpeed or mamba?

DeepSpeed, with 43,302 stars; mamba has 18,976.

The proof: [deepspeedai/DeepSpeed on GitHub](https://github.com/deepspeedai/DeepSpeed)

### Which has more tests, DeepSpeed or mamba?

DeepSpeed, with 395 test files; mamba has 11.

The proof: [deepspeedai/DeepSpeed's code at commit f47dc3e](https://github.com/deepspeedai/DeepSpeed/tree/f47dc3e3d48e748d699720ea65eca1f45c136255)

### Which was updated more recently, DeepSpeed or mamba?

DeepSpeed: its last push was on November 6, 2026, and mamba's on July 22, 2026.

The proof: [deepspeedai/DeepSpeed's commits on GitHub](https://github.com/deepspeedai/DeepSpeed/commits)

### Which has more commits signed by AI, DeepSpeed or mamba?

DeepSpeed: an AI signed 2.7% of its commits, with GitHub Copilot, Cursor, and Claude Code; in mamba, 0.5%.

The proof: [the commits each tool signed in deepspeedai/DeepSpeed](https://seerepo.com/r/deepspeedai/DeepSpeed/ai)

## Sources

- deepspeedai/DeepSpeed: Read on November 6, 2026, at commit f47dc3e (https://github.com/deepspeedai/DeepSpeed/tree/f47dc3e3d48e748d699720ea65eca1f45c136255)
- state-spaces/mamba: Read on November 6, 2026, at commit e9594ce (https://github.com/state-spaces/mamba/tree/e9594ce1c732d97440f0332fdc43170a2294dbfa)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
