ms-swift vs LocalAI

ms-swift and LocalAI share 17 technologies: FastAPI, uvicorn, matplotlib, OpenAI, sentencepiece, tiktoken, transformers, peft, ModelScope, accelerate, trl, datasets, safetensors, torchvision, torchaudio, einops, and pillow. ms-swift is written in Python and LocalAI in Go.

Read it as markdown

What they share and what sets them apart

modelscope

ms-swift

Use PEFT or Full-parameter to CPT/SFT/DPO/GRPO 600+ LLMs (Qwen3.8, DeepSeek-V4, GLM-5.1, InternLM3, Llama4, ...) and 300+ MLLMs (Qwen3-VL, Qwen3-Omni, InternVL3.5, Ovis2.5, GLM5.3, Gemma4, Llava, Phi4, ...) (AAAI 2025).

Python16.1kRead on November 7, 2026, at commit 47b437aWhat is ms-swift built with?

Only in ms-swift

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.3kRead on November 10, 2026, at commit 638bb56What is LocalAI built with?

Only in LocalAI

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
ms-swift165,674 lines written533 code files
LocalAI1,517,084 lines written3,281 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.
ms-swift0.3% of its commits signed by AIWith Claude Code, Gemini CLI, and Codex
LocalAI5.7% of its commits signed by AIWith Claude Code, GitHub Copilot, and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
ms-swiftLast push November 7, 20263,872 commits16,058 stars
LocalAILast push November 10, 20269,704 commits50,282 stars
TestsThe files that test the code, and the share of code files a test imports.
ms-swift249 test files24% of its code files have a test that imports them
LocalAI3,264 test files61.8% of its code files have a test that imports them

Frequently asked questions

Which is bigger, ms-swift or LocalAI?
LocalAI, with 1,517,084 lines written; ms-swift has 165,674.

The proof: mudler/LocalAI's code at commit 638bb56

Which has more GitHub stars, ms-swift or LocalAI?
LocalAI, with 50,282 stars; ms-swift has 16,058.

The proof: mudler/LocalAI on GitHub

Which has more tests, ms-swift or LocalAI?
LocalAI, with 3,264 test files; ms-swift has 249.

The proof: mudler/LocalAI's code at commit 638bb56

Which was updated more recently, ms-swift or LocalAI?
LocalAI: its last push was on November 10, 2026, and ms-swift's on November 7, 2026.

The proof: mudler/LocalAI's commits on GitHub

Which has more commits signed by AI, ms-swift or LocalAI?
LocalAI: an AI signed 5.7% of its commits, with Claude Code, GitHub Copilot, and Cursor; in ms-swift, 0.3%.

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 โ†’