DeepSpeed vs unsloth

DeepSpeed and unsloth share 9 technologies: accelerate, sentencepiece, torch, transformers, einops, diffusers, safetensors, Pydantic, and psutil. Both are written in Python.

Read it as markdown

What they share and what sets them apart

deepspeedai

DeepSpeed

DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.

Python43.3kRead on November 6, 2026, at commit f47dc3eWhat is DeepSpeed built with?

Only in DeepSpeed

  • sphinx-rtd-theme
  • triton
  • comet-ml
  • liger-kernel
  • lm-eval
  • torchvision
  • xgboost
  • docutils

In common

unslothai

unsloth

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Python79.1kRead on November 4, 2026, at commit a1e340bWhat is unsloth built with?

Only in unsloth

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
DeepSpeed247,033 lines written760 code files
unsloth3,889,108 lines written3,532 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.
DeepSpeed2.7% of its commits signed by AIWith GitHub Copilot, Cursor, and Claude Code
unsloth1% of its commits signed by AIWith Claude Code, Gemini CLI, Cursor, Codex, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
DeepSpeedLast push November 6, 20263,619 commits43,302 stars
unslothLast push November 4, 202612,770 commits79,050 stars
TestsThe files that test the code, and the share of code files a test imports.
DeepSpeed395 test files33% of its code files have a test that imports them
unsloth5,718 test files60.3% of its code files have a test that imports them

Frequently asked questions

Which is bigger, DeepSpeed or unsloth?
unsloth, with 3,889,108 lines written; DeepSpeed has 247,033.

The proof: unslothai/unsloth's code at commit a1e340b

Which has more GitHub stars, DeepSpeed or unsloth?
unsloth, with 79,050 stars; DeepSpeed has 43,302.

The proof: unslothai/unsloth on GitHub

Which has more tests, DeepSpeed or unsloth?
unsloth, with 5,718 test files; DeepSpeed has 395.

The proof: unslothai/unsloth's code at commit a1e340b

Which was updated more recently, DeepSpeed or unsloth?
DeepSpeed: its last push was on November 6, 2026, and unsloth's on November 4, 2026.

The proof: deepspeedai/DeepSpeed's commits on GitHub

Which has more commits signed by AI, DeepSpeed or unsloth?
DeepSpeed: an AI signed 2.7% of its commits, with GitHub Copilot, Cursor, and Claude Code; in unsloth, 1%.

The proof: the commits each tool signed in deepspeedai/DeepSpeed

See inside your code, today.

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

Free, no account.

Or look inside SeeRepo's own →