Source: https://seerepo.com/compare/hiyouga/LlamaFactory/vs/modelscope/DiffSynth-Studio
Markdown source: https://seerepo.com/compare/hiyouga/LlamaFactory/vs/modelscope/DiffSynth-Studio.md
Description: LlamaFactory and DiffSynth-Studio share 8 technologies: einops, torchvision, transformers, torch, accelerate, peft, safetensors, and ModelScope. Both are written in Python.

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

- [hiyouga/LlamaFactory](https://seerepo.com/r/hiyouga/LlamaFactory): Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)
- [modelscope/DiffSynth-Studio](https://seerepo.com/r/modelscope/DiffSynth-Studio): Enjoy the magic of Diffusion models!

## What they share and what sets them apart

- In common: einops, torchvision, transformers, torch, accelerate, peft, safetensors, ModelScope
- Only in LlamaFactory: FastAPI, uvicorn, Gradio, matplotlib, aqlm, eetq, gptqmodel, hqq, ktransformers, sentencepiece, tiktoken, triton-ascend, vector-quantize-pytorch, vocos, datasets, trl, badam, deepspeed, torch-npu, vLLM, fsdp-turbo, liger-kernel, openmind, torchaudio, adam-mini, apollo-torch, bitsandbytes, galore-torch, nltk, optimum, rouge-chinese, sglang, torchao, torchdata, transformer-engine, torchcodec, av, jsonschema-specifications, referencing, Pydantic, swanlab
- Only in DiffSynth-Studio: imageio

## Side by side

| | LlamaFactory | DiffSynth-Studio |
|---|---|---|
| Size | 62,648 lines written, 194 code files | 139,261 lines written, 308 code files |
| Who writes it | 1.6% of its commits signed by AI. With Gemini CLI, Claude Code, GitHub Copilot, and Cursor | 1.6% of its commits signed by AI. With Gemini CLI and Claude Code |
| Activity | Last push November 9, 2026, 2,772 commits, 75,956 stars | Last push November 9, 2026, 989 commits, 13,353 stars |
| Tests | 62 test files. 38.1% of its code files have a test that imports them | 1 test files |

- 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, 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](https://github.com/modelscope/DiffSynth-Studio/tree/fdad57bd94d3fbac8a72c44920dd0a23b719ebb9)

### 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](https://github.com/hiyouga/LlamaFactory)

### 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](https://github.com/hiyouga/LlamaFactory/tree/28462f15cc00b8233afab64c7712650d0a18a273)

### 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](https://github.com/modelscope/DiffSynth-Studio/commits)

### 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](https://seerepo.com/r/hiyouga/LlamaFactory/ai)

## Sources

- hiyouga/LlamaFactory: Read on November 9, 2026, at commit 28462f1 (https://github.com/hiyouga/LlamaFactory/tree/28462f15cc00b8233afab64c7712650d0a18a273)
- modelscope/DiffSynth-Studio: Read on November 10, 2026, at commit fdad57b (https://github.com/modelscope/DiffSynth-Studio/tree/fdad57bd94d3fbac8a72c44920dd0a23b719ebb9)

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