huggingface/peft
🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning. observed · 2026-10-17
Health v2 · maintenance only
95/100
- Activity 100
- Release rhythm 86
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 39.0
- age_days: 1426
- days_rel: 19
- days_push: 4
- n_releases_24m: 15
Adoption not part of the score
21795 stars · 2624 forks observed · 2026-10-17
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.98
🤗 PEFT is a Python library that provides state‑of‑the‑art parameter‑efficient fine‑tuning methods for large pretrained models. It integrates with Transformers, Diffusers and Accelerate to simplify training and inference of adapters, LoRA, IA³ and other PEFT techniques.
Use cases
- Fine‑tune a large language model on a downstream task while using only a fraction of the model's parameters.
- Apply LoRA or adapter modules to a pretrained model to reduce GPU memory consumption.
- Train multiple task‑specific adapters for the same base model and switch between them at inference time.
- Add soft prompts or IA³ modules to a model for prompt‑engineering without full model retraining.
- Run distributed fine‑tuning of billion‑parameter models using DeepSpeed or FSDP with PEFT.
- Experiment with different PEFT methods quickly via the unified API.
When to choose
- You have limited GPU/VRAM resources but need to adapt large LLMs.
- You want to train many task‑specific models without storing full copies of the base model.
- You need a library that works out‑of‑the‑box with Hugging Face Transformers and Accelerate.
- You prefer a Python‑centric ecosystem with strong community support and frequent updates.
When to avoid
- Your workflow requires full‑model fine‑tuning for maximal performance on a very specialized task.
- You are using frameworks other than PyTorch (e.g., TensorFlow or JAX) without community adapters.
- You need a production‑grade inference server that does not rely on PEFT‑specific wrappers.
Facets
library · maturity active
llm-training llm-inference prompt-engineering artificial-intelligence large-language-models machine-learning python windows parameter-efficient-fine-tuning peft lora adapters transformers-integration accelerate-support adapter retrieval-augmented-generation linux macos
10 sources
- readme: https://github.com/huggingface/peft · fetched 2026-10-17 · 4b6da58c2cc5
- homepage: https://huggingface.co/docs/peft · fetched 2026-10-05 · 91117f893530
- site_page: https://huggingface.co/docs · fetched 2026-10-05 · bdec26667b98
- site_page: https://huggingface.co/docs/peft/quicktour · fetched 2026-10-05 · aa65b4d63c79
- site_page: https://huggingface.co/docs/peft/guides/peft_model_config · fetched 2026-10-05 · 686f486955c8
- site_page: https://huggingface.co/docs/peft/guides/peft_integrations · fetched 2026-10-05 · cbe8e93a1306
- site_page: https://huggingface.co/docs/peft/accelerate/deepspeed · fetched 2026-10-05 · 0a0468372e7f
- site_page: https://huggingface.co/docs/peft/accelerate/fsdp · fetched 2026-10-05 · 7fd4bf0ff9e9
- site_page: https://huggingface.co/docs/peft/install · fetched 2026-10-05 · 18e8a4546f49
- registry_pypi: https://pypi.org/pypi/peft/json · fetched 2026-10-05 · ae1f857913a4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| huggingface/peft | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="huggingface/peft")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem