peft vs unsloth

peft and unsloth share 10 technologies: Hugging Face, peft, torch, transformers, accelerate, safetensors, datasets, diffusers, pillow, and psutil. Both are written in Python.

Read it as markdown

What they share and what sets them apart

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

In common

unslothai

unsloth

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Python79.1kRead on November 4, 2026, at commit a1e340bWhat is unsloth built with?

Only in unsloth

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
peft166,024 lines written272 code files
unsloth3,889,108 lines written3,532 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.
peft0.1% of its commits signed by AIWith Cursor and Claude Code
unsloth1% of its commits signed by AIWith Claude Code, Gemini CLI, Cursor, Codex, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
peftLast push November 4, 20261,934 commits21,873 stars
unslothLast push November 4, 202612,770 commits79,050 stars
TestsThe files that test the code, and the share of code files a test imports.
peft75 test files0.7% of its code files have a test that imports them
unsloth5,718 test files60.3% of its code files have a test that imports them

Frequently asked questions

Which is bigger, peft or unsloth?
unsloth, with 3,889,108 lines written; peft has 166,024.

The proof: unslothai/unsloth's code at commit a1e340b

Which has more GitHub stars, peft or unsloth?
unsloth, with 79,050 stars; peft has 21,873.

The proof: unslothai/unsloth on GitHub

Which has more tests, peft or unsloth?
unsloth, with 5,718 test files; peft has 75.

The proof: unslothai/unsloth's code at commit a1e340b

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

The proof: huggingface/peft's commits on GitHub

Which has more commits signed by AI, peft or unsloth?
unsloth: an AI signed 1% of its commits, with Claude Code, Gemini CLI, Cursor, Codex, and GitHub Copilot; in peft, 0.1%.

The proof: the commits each tool signed in unslothai/unsloth

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 →