LlamaFactory vs unsloth

LlamaFactory and unsloth share 14 technologies: FastAPI, uvicorn, matplotlib, einops, sentencepiece, tiktoken, transformers, torch, datasets, accelerate, peft, safetensors, av, and Pydantic. Both are written in Python.

Read it as markdown

What they share and what sets them apart

hiyouga

LlamaFactory

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

Python75.9kRead on November 4, 2026, at commit 702005cWhat is LlamaFactory built with?

Only in LlamaFactory

  • Gradio
  • torchvision
  • triton-ascend
  • trl
  • deepspeed
  • liger-kernel
  • ModelScope
  • torchaudio
  • bitsandbytes
  • nltk
  • torchdata
  • torchcodec
  • jsonschema-specifications
  • referencing

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.
LlamaFactory62,624 lines written194 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.
LlamaFactory1.6% of its commits signed by AIWith Gemini CLI, Claude Code, GitHub Copilot, and Cursor
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.
LlamaFactoryLast push November 4, 20262,769 commits75,890 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.
LlamaFactory62 test files38.1% 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, LlamaFactory or unsloth?
unsloth, with 3,889,108 lines written; LlamaFactory has 62,624.

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

Which has more GitHub stars, LlamaFactory or unsloth?
unsloth, with 79,050 stars; LlamaFactory has 75,890.

The proof: unslothai/unsloth on GitHub

Which has more tests, LlamaFactory or unsloth?
unsloth, with 5,718 test files; LlamaFactory has 62.

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

Which was updated more recently, LlamaFactory or unsloth?
Both got their last push on November 4, 2026.

The proof: unslothai/unsloth's commits on GitHub

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

The proof: the commits each tool signed in hiyouga/LlamaFactory

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 →