peft vs unsloth

Two of the top projects in Training and fine-tuning, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.

11st of 126 in Training and fine-tuning

peft

Python library for LoRA and other parameter-efficient fine-tuning methods

#44th of 126 in Training and fine-tuning

unsloth

Desktop and web app to run and fine-tune local models

Verdict

peft ranks higher, 91 to 88. Of the 4 score parts we measure for both, peft leads on 1, unsloth on 2 and 1 is even.

  • Adoptionunsloth leads by 9 points, 99 to 90.
  • FreshnessEven at 100.
  • Maintenanceunsloth leads by 7 points, 96 to 89.
  • Agent-readypeft leads by 70 points, 70 to 0: a wide gap.

Pick peft if you are

ML engineers fine-tuning large models on limited GPU memory

  • Adapter checkpoints are a few MB instead of GBs, per the T0_3B and Stable Diffusion examples
  • LoRA trains bigscience/mt0-xxl (12B) in 56GB GPU where full fine-tuning runs out of memory

Pick unsloth if you are

Self-hosters and ML engineers who run and fine-tune open models locally

  • Covers both running and fine-tuning models, with export to GGUF, NVFP4 and FP8
  • Supports NVIDIA, AMD, Intel GPUs, CPU and Vulkan on Windows, Linux, WSL and macOS
peft vs unsloth: score parts and facts
What we comparepeftunsloth
Score parts, out of 100
Adoption90, widely used99, widely used
Freshness100, active100, active
Maintenance89, healthy96, healthy
Agent-ready70, partly0, none
Facts from GitHub and the README
Stars21.9k80.5k
LicenseApache-2.0 (permissive)Apache-2.0 (permissive)
Last commitNov 2026Nov 2026
Last releaseNov 2026Nov 2026
LanguagePythonPython
DockerYesYes
GPUOptionalOptional
arm64 or Apple SiliconMentionedMentioned

peft

PEFT wraps a pretrained model with adapter methods such as LoRA, soft prompts and IA3 through get_peft_model, so only a small set of extra parameters is trained. Adapters are saved as small checkpoints (19MB versus 11GB for T0_3B in the README) and reloaded with PeftModel.from_pretrained. It integrates with Transformers, Diffusers, Accelerate and TRL, and combines with quantization for QLoRA-style training.

Who it is for: ML engineers fine-tuning large models on limited GPU memory

Strengths

  • Adapter checkpoints are a few MB instead of GBs, per the T0_3B and Stable Diffusion examples
  • LoRA trains bigscience/mt0-xxl (12B) in 56GB GPU where full fine-tuning runs out of memory
  • Integrates with Transformers, Diffusers, Accelerate and TRL; installs with pip
  • Combines with quantization, e.g. QLoRA on Llama-2-7b with a 16GB GPU

Weaknesses

  • Library only: no training UI, you write the loop or use Trainer or TRL
  • Transformers integration lacks some PEFT features, such as merging adapters into the base model
  • Models not officially supported need manual target-module configuration
  • lora-t0-3b scored 0.863 versus 0.892 for Flan-T5 in the README's RAFT table
  • GPU optional
  • Docker
  • Needs PyTorch, Transformers
  • Models: LoRA, Soft prompts, IA3, Transformers models, Stable Diffusion

unsloth

Unsloth ships as a native desktop app, a web UI (Unsloth Studio) and a Python library (Unsloth Core). It runs GGUF, MLX, diffusion, audio and embedding models, serves them over an OpenAI-compatible API, and fine-tunes them with LoRA, QLoRA, full fine-tuning, GRPO, DPO and FP8. The README claims 2x faster training with 70% less VRAM.

Who it is for: Self-hosters and ML engineers who run and fine-tune open models locally

Strengths

  • Covers both running and fine-tuning models, with export to GGUF, NVFP4 and FP8
  • Supports NVIDIA, AMD, Intel GPUs, CPU and Vulkan on Windows, Linux, WSL and macOS
  • Free Colab and Kaggle notebooks for many models, including GRPO and TTS
  • `unsloth start` connects Claude Code, Codex and other agents to local models

Weaknesses

  • Speed and VRAM figures (2x, 70% less) are the project's own claims
  • Server-side tools are on by default; exposing it needs a password or --disable-tools
  • Three install paths (Desktop, Studio, Core) with many environment flags add complexity
  • GPU optional
  • Docker
  • Needs PyTorch, llama.cpp, Cloudflare (optional remote access), Docker (optional)
  • Models: GGUF, MLX, LLMs, diffusion, audio/TTS
  • port 8000

More in Training and fine-tuning

Building with these?

We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.