peft
by Community
π€ PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.
OSS
peft
Added 1 June 2026
Overview
PEFT is a Python library for parameter-efficient fine-tuning of large language models, enabling adaptation of pretrained models with minimal additional parameters. It implements techniques like LoRA, prefix tuning, and adapter modules to reduce memory and compute requirements during model customization.
Best for
Best for
Developers adapting large language models on resource-constrained hardware or managing multiple task-specific variants efficiently.
Use cases
- Fine-tune large models on consumer GPUs with limited VRAM
- Adapt pretrained models for domain-specific tasks without full retraining
- Deploy multiple task-specific model variants from a single base model
Notes
PEFT is a Python library for parameter-efficient fine-tuning of large language models, enabling adaptation of pretrained models with minimal additional parameters. It implements techniques like LoRA, prefix tuning, and adapter modules to reduce memory and compute requirements during model customization.
21,218 stars on GitHub. Last updated 2026-06-01. Licensed Apache-2.0.
Use cases
- Fine-tune large models on consumer GPUs with limited VRAM
- Adapt pretrained models for domain-specific tasks without full retraining
- Deploy multiple task-specific model variants from a single base model
Pros
- Significantly reduces memory footprint and training time compared to full fine-tuning
- Integrates with Hugging Face ecosystem and popular model architectures
- Supports multiple efficient tuning methods (LoRA, adapters, prefix tuning) in one library
Cons
- Requires familiarity with fine-tuning concepts and hyperparameter tuning
- Performance gains depend on task complexity and may not match full fine-tuning in all scenarios
- Limited to Python and requires compatible model implementations
Indexed from awesome-llmops and enriched against its public facts.
Pros
- Significantly reduces memory footprint and training time compared to full fine-tuning
- Integrates with Hugging Face ecosystem and popular model architectures
- Supports multiple efficient tuning methods (LoRA, adapters, prefix tuning) in one library
Cons
- Requires familiarity with fine-tuning concepts and hyperparameter tuning
- Performance gains depend on task complexity and may not match full fine-tuning in all scenarios
- Limited to Python and requires compatible model implementations
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Accelerate
Community
π A simple way to launch, train, and use PyTorch models on almost any device and distributed configuration, automatic mixed precision (including fp8), and easy-to-configure FSDP a
bitsandbytes
Community
Accessible large language models via k-bit quantization for PyTorch.
finetuning-scheduler
Community
A PyTorch Lightning extension that accelerates and enhances foundation model experimentation with flexible fine-tuning schedules.
Flyflow
Community
Open source, high performance fine tuning as a service for GPT4 quality models with 5x lower latency and 3x lower cost