LlamaFactory vs peft

LlamaFactory and peft share 9 technologies: Gradio, torchvision, transformers, torch, datasets, accelerate, peft, safetensors, and bitsandbytes. 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

In common

huggingface

peft

🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.

Python21.9kRead on November 5, 2026, at commit 574c7caWhat is peft built with?

Only in peft

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
LlamaFactory62,624 lines written194 code files
peft166,024 lines written272 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
peft0.1% of its commits signed by AIWith Cursor and Claude Code
ActivityFrom GitHub and its history, on the day SeeRepo read it.
LlamaFactoryLast push November 4, 20262,769 commits75,890 stars
peftLast push November 4, 20261,934 commits21,873 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
peft75 test files0.7% of its code files have a test that imports them

Frequently asked questions

Which is bigger, LlamaFactory or peft?
peft, with 166,024 lines written; LlamaFactory has 62,624.

The proof: huggingface/peft's code at commit 574c7ca

Which has more GitHub stars, LlamaFactory or peft?
LlamaFactory, with 75,890 stars; peft has 21,873.

The proof: hiyouga/LlamaFactory on GitHub

Which has more tests, LlamaFactory or peft?
peft, with 75 test files; LlamaFactory has 62.

The proof: huggingface/peft's code at commit 574c7ca

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

The proof: huggingface/peft's commits on GitHub

Which has more commits signed by AI, LlamaFactory or peft?
LlamaFactory: an AI signed 1.6% of its commits, with Gemini CLI, Claude Code, GitHub Copilot, and Cursor; in peft, 0.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 →