huggingface/peft
🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning. observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 83
- Longevity 98
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 42.0
- age_days: 1377
- days_rel: 36
- days_push: 7
- n_releases_24m: 15
Adoption not part of the score
21598 stars · 2452 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PEFT is a Python library from Hugging Face providing state-of-the-art parameter-efficient fine-tuning methods (LoRA, adapters, soft prompts, IA3) for adapting large pretrained models. It integrates with Transformers, Diffusers, and Accelerate to make fine-tuning large models feasible on consumer hardware.
Use cases
- fine-tune an LLM with LoRA on a single GPU
- train a diffusion model adapter for custom image styles
- reduce GPU memory needed to fine-tune large models
- swap multiple task adapters on one base model
- fine-tune Llama with QLoRA and quantization
- train only a small fraction of model parameters for a downstream task
When to choose
- you want to fine-tune large language or diffusion models cheaply on limited hardware
- you use the Hugging Face Transformers/Diffusers ecosystem
- you need to train and store many task-specific adapters from one base model
- you want a reference implementation of LoRA and other PEFT methods
When to avoid
- you need to fully fine-tune all model parameters
- you work outside PyTorch/Hugging Face tooling
- you only need inference of pre-trained models without adaptation
Facets
library · maturity stable
llm-training machine-learning deep-learning sdk large-language-models machine-learning deep-learning artificial-intelligence python cross-platform lora parameter-efficient-fine-tuning adapters hugging-face pytorch transformers diffusion qlora prompt-tuning gpu
10 sources
- readme: https://github.com/huggingface/peft · fetched 2026-08-28 · 4b6da58c2cc5
- homepage: https://huggingface.co/docs/peft · fetched 2026-08-29 · ba3a4d9aede9
- site_page: https://huggingface.co/docs · fetched 2026-08-29 · bdec26667b98
- site_page: https://huggingface.co/docs/peft/quicktour · fetched 2026-08-29 · efe64cfc29d0
- site_page: https://huggingface.co/docs/peft/install · fetched 2026-08-29 · fcf21f84007a
- site_page: https://huggingface.co/docs/peft/guides/peft_model_config · fetched 2026-08-29 · 82d99f7a6c85
- site_page: https://huggingface.co/docs/peft/guides/peft_integrations · fetched 2026-08-29 · 431068b80f0a
- site_page: https://huggingface.co/docs/peft/accelerate/deepspeed · fetched 2026-08-29 · 90acef5dea32
- site_page: https://huggingface.co/docs/peft/accelerate/fsdp · fetched 2026-08-29 · 7819d6d99afc
- registry_pypi: https://pypi.org/pypi/peft/json · fetched 2026-08-29 · caa5ba1033a5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| huggingface/peft | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="huggingface/peft")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem