Source: https://seerepo.com/compare/deepspeedai/DeepSpeed/vs/unslothai/unsloth
Markdown source: https://seerepo.com/compare/deepspeedai/DeepSpeed/vs/unslothai/unsloth.md
Description: DeepSpeed and unsloth share 9 technologies: accelerate, sentencepiece, torch, transformers, einops, diffusers, safetensors, Pydantic, and psutil. Both are written in Python.

# DeepSpeed vs unsloth

DeepSpeed and unsloth share 9 technologies: accelerate, sentencepiece, torch, transformers, einops, diffusers, safetensors, 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.
- [unslothai/unsloth](https://seerepo.com/r/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.

## What they share and what sets them apart

- In common: accelerate, sentencepiece, torch, transformers, einops, diffusers, safetensors, Pydantic, psutil
- Only in DeepSpeed: sphinx-rtd-theme, triton, comet-ml, liger-kernel, lm-eval, torchvision, xgboost, docutils
- Only in unsloth: React, FastAPI, Hugging Face, OpenAI, uvicorn, Tauri, Tokio, objc2-foundation, objc2-app-kit, anyio, fastmcp, TanStack, Vite, dexie, @tauri-apps/api, @assistant-ui/core, Rich, matplotlib, pyjwt, cryptography, peft, datasets, sentence-transformers, tokenizers, @assistant-ui/react, librosa, tiktoken, pillow, av, jinja2, structlog, gtk, tauri-plugin-dialog, webkit2gtk, webview2-com, objc2-web-kit, tauri-plugin-window-state, tauri-plugin-notification, hmac, openai-whisper, scikit-learn, timm, spandrel, markdown-it-py, mdurl, pymupdf, lxml, pymupdf4llm, python-docx, loguru, log, simplelog, class-variance-authority, Tailwind CSS, PostCSS, @tailwindcss/vite, postcss-selector-parser, tailwind-merge, Radix UI, xyflow, motion, sonner, @streamdown/code, recharts, cmdk, canvas-confetti, react-day-picker, react-resizable-panels, @dagrejs/dagre, @tauri-apps/plugin-notification, Base UI, hugeicons, Lucide, streamdown, mdast-util-from-markdown, mdast-util-gfm, mdast-util-math, micromark-extension-gfm, micromark-extension-math, unified, katex, remend, js-yaml, mammoth, react-pdf, react-qr-code, marked, micromark-util-types, unpdf, @tauri-apps/plugin-process

## Side by side

| | DeepSpeed | unsloth |
|---|---|---|
| Size | 247,033 lines written, 760 code files | 3,889,108 lines written, 3,532 code files |
| Who writes it | 2.7% of its commits signed by AI. With GitHub Copilot, Cursor, and Claude Code | 1% of its commits signed by AI. With Claude Code, Gemini CLI, Cursor, Codex, and GitHub Copilot |
| Activity | Last push November 6, 2026, 3,619 commits, 43,302 stars | Last push November 4, 2026, 12,770 commits, 79,050 stars |
| Tests | 395 test files. 33% of its code files have a test that imports them | 5,718 test files. 60.3% 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 unsloth?

unsloth, with 3,889,108 lines written; DeepSpeed has 247,033.

The proof: [unslothai/unsloth's code at commit a1e340b](https://github.com/unslothai/unsloth/tree/a1e340be0f78b5fa6d2538f6ad65bbc1837f83fd)

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

unsloth, with 79,050 stars; DeepSpeed has 43,302.

The proof: [unslothai/unsloth on GitHub](https://github.com/unslothai/unsloth)

### 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](https://github.com/unslothai/unsloth/tree/a1e340be0f78b5fa6d2538f6ad65bbc1837f83fd)

### 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](https://github.com/deepspeedai/DeepSpeed/commits)

### 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](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)
- unslothai/unsloth: Read on November 4, 2026, at commit a1e340b (https://github.com/unslothai/unsloth/tree/a1e340be0f78b5fa6d2538f6ad65bbc1837f83fd)

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