DeepSpeed vs LocalAI

DeepSpeed and LocalAI share 8 technologies: accelerate, sentencepiece, torch, transformers, einops, diffusers, safetensors, and torchvision. DeepSpeed is written in Python and LocalAI in Go.

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
  • xgboost
  • docutils
  • Pydantic
  • psutil

In common

mudler

LocalAI

LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.

Go50.2kRead on November 5, 2026, at commit efc6f93What is LocalAI built with?

Only in LocalAI

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
DeepSpeed247,033 lines written760 code files
LocalAI1,389,292 lines written2,979 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
LocalAI3.7% of its commits signed by AIWith Claude Code, GitHub Copilot, and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
DeepSpeedLast push November 6, 20263,619 commits43,302 stars
LocalAILast push November 5, 20269,317 commits50,214 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
LocalAI2,911 test files60.8% of its code files have a test that imports them

Frequently asked questions

Which is bigger, DeepSpeed or LocalAI?
LocalAI, with 1,389,292 lines written; DeepSpeed has 247,033.

The proof: mudler/LocalAI's code at commit efc6f93

Which has more GitHub stars, DeepSpeed or LocalAI?
LocalAI, with 50,214 stars; DeepSpeed has 43,302.

The proof: mudler/LocalAI on GitHub

Which has more tests, DeepSpeed or LocalAI?
LocalAI, with 2,911 test files; DeepSpeed has 395.

The proof: mudler/LocalAI's code at commit efc6f93

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

The proof: deepspeedai/DeepSpeed's commits on GitHub

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

The proof: the commits each tool signed in mudler/LocalAI

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 →