LlamaFactory vs DiffSynth-Studio

LlamaFactory and DiffSynth-Studio share 8 technologies: einops, torchvision, transformers, torch, accelerate, peft, safetensors, and ModelScope. 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)

Python76kRead on November 9, 2026, at commit 28462f1What is LlamaFactory built with?

Only in LlamaFactory

In common

Only in DiffSynth-Studio

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
LlamaFactory62,648 lines written194 code files
DiffSynth-Studio139,261 lines written308 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
DiffSynth-Studio1.6% of its commits signed by AIWith Gemini CLI and Claude Code
ActivityFrom GitHub and its history, on the day SeeRepo read it.
LlamaFactoryLast push November 9, 20262,772 commits75,956 stars
DiffSynth-StudioLast push November 9, 2026989 commits13,353 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
DiffSynth-Studio1 test file

Frequently asked questions

Which is bigger, LlamaFactory or DiffSynth-Studio?
DiffSynth-Studio, with 139,261 lines written; LlamaFactory has 62,648.

The proof: modelscope/DiffSynth-Studio's code at commit fdad57b

Which has more GitHub stars, LlamaFactory or DiffSynth-Studio?
LlamaFactory, with 75,956 stars; DiffSynth-Studio has 13,353.

The proof: hiyouga/LlamaFactory on GitHub

Which has more tests, LlamaFactory or DiffSynth-Studio?
LlamaFactory, with 62 test files; DiffSynth-Studio has 1.

The proof: hiyouga/LlamaFactory's code at commit 28462f1

Which was updated more recently, LlamaFactory or DiffSynth-Studio?
Both got their last push on November 9, 2026.

The proof: modelscope/DiffSynth-Studio's commits on GitHub

Which has more commits signed by AI, LlamaFactory or DiffSynth-Studio?
In both, an AI signed 1.6% of their commits.

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 →