DeepSpec vs ktransformers

DeepSpec and ktransformers share 7 technologies: OpenAI, safetensors, sentencepiece, torch, transformers, datasets, and triton. Both are written in Python.

Read it as markdown

What they share and what sets them apart

deepseek-ai

DeepSpec

DeepSpec: a full-stack codebase for training and evaluating speculative decoding algorithms

Python7.3kRead on November 19, 2026, at commit 005e03bWhat is DeepSpec built with?

Only in DeepSpec

In common

kvcache-ai

ktransformers

A Flexible Framework for Experiencing Heterogeneous LLM Inference/Fine-tune Optimizations

Python19.7kRead on November 22, 2026, at commit 3a78b9aWhat is ktransformers built with?

Only in ktransformers

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
DeepSpec11,246 lines written58 code files
ktransformers202,724 lines written410 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
DeepSpec0% of its commits signed by AI
ktransformers2.3% of its commits signed by AIWith Claude Code, Gemini CLI, Cursor, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
DeepSpecLast push July 9, 202616 commits7,324 stars
ktransformersLast push November 22, 2026944 commits19,692 stars
TestsThe files that test the code, and the share of code files a test imports.
DeepSpec0 test files
ktransformers181 test files6.3% of its code files have a test that imports them

Frequently asked questions

Which is bigger, DeepSpec or ktransformers?
ktransformers, with 202,724 lines written; DeepSpec has 11,246.

The proof: kvcache-ai/ktransformers's code at commit 3a78b9a

Which has more GitHub stars, DeepSpec or ktransformers?
ktransformers, with 19,692 stars; DeepSpec has 7,324.

The proof: kvcache-ai/ktransformers on GitHub

Which has more tests, DeepSpec or ktransformers?
ktransformers, with 181 test files.

The proof: kvcache-ai/ktransformers's code at commit 3a78b9a

Which was updated more recently, DeepSpec or ktransformers?
ktransformers: its last push was on November 22, 2026, and DeepSpec's on July 9, 2026.

The proof: kvcache-ai/ktransformers's commits on GitHub

Which has more commits signed by AI, DeepSpec or ktransformers?
ktransformers: an AI signed 2.3% of its commits, with Claude Code, Gemini CLI, Cursor, and GitHub Copilot.

The proof: the commits each tool signed in kvcache-ai/ktransformers

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Or look inside SeeRepo's own →