PEFT
Hugging Face library for parameter-efficient fine-tuning methods such as LoRA, so large models can be adapted on modest hardware.
PEFT (Parameter-Efficient Fine-Tuning) trains a small set of extra parameters — LoRA, prefix tuning, IA3 and others — instead of all model weights. Adapters are small files that can be shared, merged or swapped at inference time. It integrates with Transformers, Diffusers and Accelerate and pairs with quantisation for QLoRA-style training.
- Type
- Library
- Category
- AI & ML
- Maintainer
- Hugging Face
- First released
- 2023
- License
- Open source (Apache-2.0)
- Pricing
- Open source
- Level
- Advanced
- Technologies
- python, pytorch, llm, fine-tuning
- GitHub stars
- 21,950
- Weekly downloads
- 2,676,706 (pypi)
- Latest release
- [object Object]
- Last verified
- 26 Nov 2026
What PEFT is used for
- LoRA fine-tuning of LLMs
- Domain adaptation on a single GPU
- Shipping small task-specific adapters
Strengths
- Large memory savings
- Many methods behind one API
- Adapters are easy to share
Limitations
- Adapter quality depends on data and rank choices
- Some methods are experimental
PEFT alternatives
How it relates to other tools
- PEFT works with Hugging Face Transformers
- PEFT works with Diffusers
- PEFT works with Accelerate
- Works with PEFT: Unsloth