11st of 126 in Training and fine-tuning
peft
Python library for LoRA and other parameter-efficient fine-tuning methods
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts peft on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.peft is on your watch list. Its new releases and problems show there.
- Stars
- 21.9k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
20,660 on 25 Mar 202621,932 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
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
What it needs
- GPU optional
- Docker
- Needs PyTorch, Transformers
- Models: LoRA, Soft prompts, IA3, Transformers models, Stable Diffusion
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Head to head
Also in Training and fine-tuning
See all 126| Rank | Project | Score |
|---|---|---|
| 2 | trlPython library for post-training LLMs with SFT, DPO, GRPO and KTO | 91 out of 100 |
| 3 | megatron-lmNVIDIA's library for training large transformer models across many GPUs | 89 out of 100 |
| #4 | unslothDesktop and web app to run and fine-tune local models | 88 out of 100 |
| #5 | deepspeedPyTorch library for distributed training of very large models with ZeRO | 88 out of 100 |
| #6 | axolotlYAML-driven framework for fine-tuning and post-training LLMs | 88 out of 100 |