Source: https://seerepo.com/compare/hiyouga/LlamaFactory/vs/mlc-ai/mlc-llm
Markdown source: https://seerepo.com/compare/hiyouga/LlamaFactory/vs/mlc-ai/mlc-llm.md
Description: LlamaFactory and mlc-llm share 8 technologies: FastAPI, uvicorn, sentencepiece, tiktoken, transformers, torch, datasets, and safetensors. Both are written in Python.

# LlamaFactory vs mlc-llm

LlamaFactory and mlc-llm share 8 technologies: FastAPI, uvicorn, sentencepiece, tiktoken, transformers, torch, datasets, and safetensors. Both are written in Python.

- [hiyouga/LlamaFactory](https://seerepo.com/r/hiyouga/LlamaFactory): Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)
- [mlc-ai/mlc-llm](https://seerepo.com/r/mlc-ai/mlc-llm): Universal LLM Deployment Engine with ML Compilation

## What they share and what sets them apart

- In common: FastAPI, uvicorn, sentencepiece, tiktoken, transformers, torch, datasets, safetensors
- Only in LlamaFactory: Gradio, matplotlib, einops, torchvision, triton-ascend, accelerate, trl, peft, deepspeed, liger-kernel, ModelScope, torchaudio, bitsandbytes, nltk, torchdata, torchcodec, av, jsonschema-specifications, referencing, Pydantic
- Only in mlc-llm: Jetpack Compose, androidx.core:core-ktx, androidx.navigation:navigation-compose, lifecycle-runtime-ktx, appcompat, com.google.android.material:material, ui-graphics, MarkdownUI, prompt-toolkit, androidx.compose.material:material-icons-extended, apache-tvm-ffi, flashinfer-python, OpenAI

## Side by side

| | LlamaFactory | mlc-llm |
|---|---|---|
| Size | 62,624 lines written, 194 code files | 80,952 lines written, 325 code files |
| Who writes it | 1.6% of its commits signed by AI. With Gemini CLI, Claude Code, GitHub Copilot, and Cursor | 0.2% of its commits signed by AI. With Claude Code, Gemini CLI, and GitHub Copilot |
| Activity | Last push November 4, 2026, 2,769 commits, 75,890 stars | Last push October 30, 2026, 1,823 commits, 23,302 stars |
| Tests | 62 test files. 38.1% of its code files have a test that imports them | 69 test files. 16.3% of its code files have a test that imports them |

- 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 mlc-llm?

mlc-llm, with 80,952 lines written; LlamaFactory has 62,624.

The proof: [mlc-ai/mlc-llm's code at commit 44fd06d](https://github.com/mlc-ai/mlc-llm/tree/44fd06d04f22c87820e205b0f2b2e5e6a1f6ca85)

### Which has more GitHub stars, LlamaFactory or mlc-llm?

LlamaFactory, with 75,890 stars; mlc-llm has 23,302.

The proof: [hiyouga/LlamaFactory on GitHub](https://github.com/hiyouga/LlamaFactory)

### Which has more tests, LlamaFactory or mlc-llm?

mlc-llm, with 69 test files; LlamaFactory has 62.

The proof: [mlc-ai/mlc-llm's code at commit 44fd06d](https://github.com/mlc-ai/mlc-llm/tree/44fd06d04f22c87820e205b0f2b2e5e6a1f6ca85)

### Which was updated more recently, LlamaFactory or mlc-llm?

LlamaFactory: its last push was on November 4, 2026, and mlc-llm's on October 30, 2026.

The proof: [hiyouga/LlamaFactory's commits on GitHub](https://github.com/hiyouga/LlamaFactory/commits)

### Which has more commits signed by AI, LlamaFactory or mlc-llm?

LlamaFactory: an AI signed 1.6% of its commits, with Gemini CLI, Claude Code, GitHub Copilot, and Cursor; in mlc-llm, 0.2%.

The proof: [the commits each tool signed in hiyouga/LlamaFactory](https://seerepo.com/r/hiyouga/LlamaFactory/ai)

## Sources

- hiyouga/LlamaFactory: Read on November 4, 2026, at commit 702005c (https://github.com/hiyouga/LlamaFactory/tree/702005ce5237ae10f3c572c3f7741ecfd1422fc9)
- mlc-ai/mlc-llm: Read on November 4, 2026, at commit 44fd06d (https://github.com/mlc-ai/mlc-llm/tree/44fd06d04f22c87820e205b0f2b2e5e6a1f6ca85)

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