Source: https://seerepo.com/compare/deepseek-ai/DeepSpec/vs/NVIDIA/TensorRT-LLM
Markdown source: https://seerepo.com/compare/deepseek-ai/DeepSpec/vs/NVIDIA/TensorRT-LLM.md
Description: DeepSpec and TensorRT-LLM share 8 technologies: matplotlib, OpenAI, safetensors, sentencepiece, torch, transformers, datasets, and triton. Both are written in Python.

# DeepSpec vs TensorRT-LLM

DeepSpec and TensorRT-LLM share 8 technologies: matplotlib, OpenAI, safetensors, sentencepiece, torch, transformers, datasets, and triton. Both are written in Python.

- [deepseek-ai/DeepSpec](https://seerepo.com/r/deepseek-ai/DeepSpec): DeepSpec: a full-stack codebase for training and evaluating speculative decoding algorithms
- [NVIDIA/TensorRT-LLM](https://seerepo.com/r/NVIDIA/TensorRT-LLM): TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that orchestrate the inference execution in a performant way.

## What they share and what sets them apart

- In common: matplotlib, OpenAI, safetensors, sentencepiece, torch, transformers, datasets, triton
- Only in DeepSpec: None
- Only in TensorRT-LLM: FastAPI, blobfile, etcd-sdk-python, h5py, pyzmq, anyio, uvicorn, starlette, nvidia-sphinx-theme, Rich, Plotly, accelerate, apache-tvm-ffi, cuda-python, fla-core, flash-attn-4, flash-linear-attention, flashinfer-python, mooncake-transfer-engine-cuda13, nvidia-cudnn-frontend, nvidia-cutlass-dsl, nvidia-matmul-heuristics, openai-codex, openai-harmony, optimum, quack-kernels, rouge, rouge-score, tiktoken, torch-c-dlpack-ext, torchao, diffusers, einops, torchvision, flash-attn, llguidance, xgrammar, mistral-common, cache-dit, librosa, MCP, partial-json-parser, tritonclient, evaluate, lm-eval, lpips, polygraphy, smg-grpc-proto, jsonlines, myst-parser, pillow, jinja2, Pydantic, msgspec, jsonschema, opentelemetry-semantic-conventions-ai, psutil, prometheus-client, OpenTelemetry, prometheus-fastapi-instrumentator

## Side by side

| | DeepSpec | TensorRT-LLM |
|---|---|---|
| Size | 11,246 lines written, 58 code files | 3,884,835 lines written, 4,437 code files |
| Who writes it | 0% of its commits signed by AI | 1.7% of its commits signed by AI. With Claude Code, CodeRabbit, GitHub Copilot, and Cursor |
| Activity | Last push July 9, 2026, 16 commits, 7,324 stars | Last push November 25, 2026, 11,625 commits, 15,129 stars |
| Tests | 0 test files | 3,620 test files. 55.7% 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, DeepSpec or TensorRT-LLM?

TensorRT-LLM, with 3,884,835 lines written; DeepSpec has 11,246.

The proof: [NVIDIA/TensorRT-LLM's code at commit 6b40306](https://github.com/NVIDIA/TensorRT-LLM/tree/6b403062ec4783336acbc7f2f38dfb9bd18696f4)

### Which has more GitHub stars, DeepSpec or TensorRT-LLM?

TensorRT-LLM, with 15,129 stars; DeepSpec has 7,324.

The proof: [NVIDIA/TensorRT-LLM on GitHub](https://github.com/NVIDIA/TensorRT-LLM)

### Which has more tests, DeepSpec or TensorRT-LLM?

TensorRT-LLM, with 3,620 test files.

The proof: [NVIDIA/TensorRT-LLM's code at commit 6b40306](https://github.com/NVIDIA/TensorRT-LLM/tree/6b403062ec4783336acbc7f2f38dfb9bd18696f4)

### Which was updated more recently, DeepSpec or TensorRT-LLM?

TensorRT-LLM: its last push was on November 25, 2026, and DeepSpec's on July 9, 2026.

The proof: [NVIDIA/TensorRT-LLM's commits on GitHub](https://github.com/NVIDIA/TensorRT-LLM/commits)

### Which has more commits signed by AI, DeepSpec or TensorRT-LLM?

TensorRT-LLM: an AI signed 1.7% of its commits, with Claude Code, CodeRabbit, GitHub Copilot, and Cursor.

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

## Sources

- deepseek-ai/DeepSpec: Read on November 19, 2026, at commit 005e03b (https://github.com/deepseek-ai/DeepSpec/tree/005e03b81cec38b7da6399833d609ee89a2587f2)
- NVIDIA/TensorRT-LLM: Read on November 25, 2026, at commit 6b40306 (https://github.com/NVIDIA/TensorRT-LLM/tree/6b403062ec4783336acbc7f2f38dfb9bd18696f4)

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