PEFT
Hugging Face’s parameter-efficient fine-tuning: LoRA, QLoRA, IA3 and more.
- Stars
- 21.9K
- Forks
- 2.7K
- Open issues
- 127
- Last commit
- 2026-11-27
Live from the GitHub API · updated 2026-11-30
What is PEFT?
PEFT fine-tunes large models by training only a small number of extra parameters with methods such as LoRA, DoRA, prefix tuning and IA3. It integrates with Transformers, Diffusers, TRL and Accelerate and is the basis of most LoRA workflows.
Key features
- LoRA, DoRA, AdaLoRA, IA3 and more
- QLoRA with bitsandbytes
- Works with Transformers and Diffusers
- Adapter merging and hot-swapping
System requirements
- Platforms
- Windows · macOS · Linux
- Python
- 3.9+
How to install PEFT
Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.
pip
- 1Install the library.
pip install peft
Strengths
- Standard LoRA implementation
- Huge ecosystem
Limitations
- Library only — you write the training loop or use TRL
PEFT alternatives compared
| Software | Stars | License | Platforms | VRAM |
|---|---|---|---|---|
| PEFT Hugging Face’s parameter-efficient fine-tuning: LoRA, QLoRA, IA3 and more. | 21.9K | Apache-2.0 | — | |
| TRL Hugging Face’s library for post-training LLMs: SFT, DPO, GRPO. | 19.9K | Apache-2.0 | — | |
| Unsloth Fine-tune LLMs 2× faster with up to 70% less memory. | 80.5K | Apache-2.0 | 3 GB+ depending on model size | |
| LLaMA-Factory Unified fine-tuning for 100+ LLMs and VLMs with a no-code web UI. | 76.3K | Apache-2.0 | — | |
| Axolotl Config-driven LLM fine-tuning for many models and techniques. | 12.8K | Apache-2.0 | — | |
| Kohya’s GUI GUI for training LoRA, DreamBooth and fine-tunes for SD, SDXL and FLUX. | 12.7K | Apache-2.0 | 8 GB+ for SD1.5 LoRA; 12–24 GB for SDXL/FLUX |
FAQ
Is PEFT free?
Yes — PEFT is open-source software released under the Apache-2.0 license. Check the license (and any model weight licenses) before commercial use.
Does PEFT run on Windows, Mac and Linux?
PEFT supports: Windows, macOS, Linux.
How do I install PEFT?
1. Install the library.
What are the best PEFT alternatives?
Popular alternatives include TRL, Unsloth, LLaMA-Factory, Axolotl. See the comparison table on this page.