Source: https://seerepo.com/compare/arcee-ai/mergekit/vs/hiyouga/LlamaFactory
Markdown source: https://seerepo.com/compare/arcee-ai/mergekit/vs/hiyouga/LlamaFactory.md
Description: mergekit and LlamaFactory share 8 technologies: datasets, sentencepiece, torch, transformers, safetensors, accelerate, peft, and Pydantic. Both are written in Python.

# mergekit vs LlamaFactory

mergekit and LlamaFactory share 8 technologies: datasets, sentencepiece, torch, transformers, safetensors, accelerate, peft, and Pydantic. Both are written in Python.

- [arcee-ai/mergekit](https://seerepo.com/r/arcee-ai/mergekit): Tools for merging pretrained large language models.
- [hiyouga/LlamaFactory](https://seerepo.com/r/hiyouga/LlamaFactory): Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

## What they share and what sets them apart

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

## Side by side

| | mergekit | LlamaFactory |
|---|---|---|
| Size | 20,478 lines written, 74 code files | 62,918 lines written, 194 code files |
| Who writes it | 0% of its commits signed by AI | 1.7% of its commits signed by AI. With Gemini CLI, Claude Code, GitHub Copilot, and Cursor |
| Activity | Last push October 31, 2026, 313 commits, 7,479 stars | Last push November 17, 2026, 2,783 commits, 76,077 stars |
| Tests | 21 test files. 36.5% of its code files have a test that imports them | 63 test files. 38.1% 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, mergekit or LlamaFactory?

LlamaFactory, with 62,918 lines written; mergekit has 20,478.

The proof: [hiyouga/LlamaFactory's code at commit 885a4ca](https://github.com/hiyouga/LlamaFactory/tree/885a4ca65cebf17a92e869af13c2ce42caca314a)

### Which has more GitHub stars, mergekit or LlamaFactory?

LlamaFactory, with 76,077 stars; mergekit has 7,479.

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

### Which has more tests, mergekit or LlamaFactory?

LlamaFactory, with 63 test files; mergekit has 21.

The proof: [hiyouga/LlamaFactory's code at commit 885a4ca](https://github.com/hiyouga/LlamaFactory/tree/885a4ca65cebf17a92e869af13c2ce42caca314a)

### Which was updated more recently, mergekit or LlamaFactory?

LlamaFactory: its last push was on November 17, 2026, and mergekit's on October 31, 2026.

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

### Which has more commits signed by AI, mergekit or LlamaFactory?

LlamaFactory: an AI signed 1.7% of its commits, with Gemini CLI, Claude Code, GitHub Copilot, and Cursor.

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

## Sources

- arcee-ai/mergekit: Read on November 19, 2026, at commit 0f1423e (https://github.com/arcee-ai/mergekit/tree/0f1423ecf0f06f46f17b045b333b6c445705390e)
- hiyouga/LlamaFactory: Read on November 17, 2026, at commit 885a4ca (https://github.com/hiyouga/LlamaFactory/tree/885a4ca65cebf17a92e869af13c2ce42caca314a)

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