Source: https://seerepo.com/compare/deepspeedai/DeepSpeed/vs/vllm-project/vllm
Markdown source: https://seerepo.com/compare/deepspeedai/DeepSpeed/vs/vllm-project/vllm.md
Description: DeepSpeed and vllm share 9 technologies: sentencepiece, torch, transformers, triton, einops, safetensors, torchvision, Pydantic, and psutil. Both are written in Python.

# DeepSpeed vs vllm

DeepSpeed and vllm share 9 technologies: sentencepiece, torch, transformers, triton, einops, safetensors, torchvision, Pydantic, and psutil. 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.
- [vllm-project/vllm](https://seerepo.com/r/vllm-project/vllm): A high-throughput and memory-efficient inference and serving engine for LLMs

## What they share and what sets them apart

- In common: sentencepiece, torch, transformers, triton, einops, safetensors, torchvision, Pydantic, psutil
- Only in DeepSpeed: sphinx-rtd-theme, accelerate, diffusers, comet-ml, liger-kernel, lm-eval, xgboost, docutils
- Only in vllm: FastAPI, axum, gitdb, pyzmq, Hugging Face, Tokio, starlette, Ray, AIOHTTP, tower, mkdocs-material, indicatif, NVIDIA, OpenAI, peft, quack-kernels, datasets, torchaudio, MCP, tokenizers, tiktoken, markdown, markupsafe, pymdown-extensions, pillow, image, jinja2, msgspec, jsonschema, pydantic-core, opentelemetry-api, python-json-logger, tracing, prometheus-client, tracing-subscriber, OpenTelemetry, opentelemetry-sdk, prometheus-fastapi-instrumentator

## Side by side

| | DeepSpeed | vllm |
|---|---|---|
| Size | 247,033 lines written, 760 code files | 2,375,117 lines written, 3,289 code files |
| Who writes it | 2.7% of its commits signed by AI. With GitHub Copilot, Cursor, and Claude Code | 12.8% of its commits signed by AI. With Claude Code, Codex, Gemini CLI, Cursor, GitHub Copilot, Devin, Mistral Vibe, CodeRabbit, Factory, and Qwen Code |
| Activity | Last push November 6, 2026, 3,619 commits, 43,302 stars | Last push November 4, 2026, 24,593 commits, 96,302 stars |
| Tests | 395 test files. 33% of its code files have a test that imports them | 2,419 test files. 60.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 vllm?

vllm, with 2,375,117 lines written; DeepSpeed has 247,033.

The proof: [vllm-project/vllm's code at commit 75f6761](https://github.com/vllm-project/vllm/tree/75f67614971a44050140e3422c1a65fe5004a72b)

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

vllm, with 96,302 stars; DeepSpeed has 43,302.

The proof: [vllm-project/vllm on GitHub](https://github.com/vllm-project/vllm)

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

vllm, with 2,419 test files; DeepSpeed has 395.

The proof: [vllm-project/vllm's code at commit 75f6761](https://github.com/vllm-project/vllm/tree/75f67614971a44050140e3422c1a65fe5004a72b)

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

DeepSpeed: its last push was on November 6, 2026, and vllm's on November 4, 2026.

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

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

vllm: an AI signed 12.8% of its commits, with Claude Code, Codex, Gemini CLI, Cursor, GitHub Copilot, Devin, Mistral Vibe, CodeRabbit, Factory, and Qwen Code; in DeepSpeed, 2.7%.

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

## Sources

- deepspeedai/DeepSpeed: Read on November 6, 2026, at commit f47dc3e (https://github.com/deepspeedai/DeepSpeed/tree/f47dc3e3d48e748d699720ea65eca1f45c136255)
- vllm-project/vllm: Read on November 4, 2026, at commit 75f6761 (https://github.com/vllm-project/vllm/tree/75f67614971a44050140e3422c1a65fe5004a72b)

## 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.
