
PEFT is an open-source Python library for developers who want to adapt pretrained models on their own hardware with less compute and storage than full fine-tuning requires. It trains a small subset of parameters, often through adapters, while leaving the base model intact. It's licensed under Apache 2.0.
The library supports LoRA, soft prompts and IA3, with methods that can deliver results comparable to full fine-tuning. Small adapter checkpoints let you keep separate adaptations for different tasks without storing a complete model for each one. You can also combine PEFT with quantization to reduce memory needs further, including QLoRA training on consumer GPUs.
Its Hugging Face integrations cover several kinds of work. Transformers supports language model training and inference, while Diffusers handles adapters for models such as Stable Diffusion. Accelerate supports distributed training and inference across GPUs, TPUs and Apple Silicon. Through TRL, PEFT also works with preference training and RLHF workflows, including DPO for Mistral-7b.
Hardware needs depend on the model and training method. The examples include Llama-2-7b fine-tuning with QLoRA on a 16GB GPU and LoRA adaptations of Whisper for multilingual speech recognition. For deployment, PEFT supports loading and switching adapters, as well as merging an adapter into the base model.
Claim this page and we'll verify you by hand. PEFT gets the verified badge, and you can upgrade the listing to be featured on localhosted. Proud to be listed? Put our badge on your site.
Want more people to find PEFT?Promote it
Something wrong or outdated on this page?
12.2KUpdated 3 days agoMIT
macOS · Windows · Linux · Web#Hugging Face integration#Image-to-image#LoRA
AI Toolkit (ostris) is an MIT-licensed training suite for people who want to fine-tune image and video models on their own hardware or a self-hosted server. It targets consumer NVIDIA GPUs and runs on Linux and Windows, including ARM64 Linux systems such as DGX Spark. An experimental installer also supports Apple Silicon Macs. GPU memory needs depend on the model and training task.
19.4KUpdated 1 day agoApache-2.0
#Distributed execution#LoRA#Quantization
2.9KUpdated 19 hours agoAGPL-3.0
macOS · Docker · Web#ControlNet#Distributed execution#Human approval
63.5KUpdated 11 months agoMIT
macOS · Windows#Hugging Face integration
nanoGPT is a Python toolkit for developers and researchers who want to train GPT models on their own hardware or fine-tune existing GPT-2 checkpoints. Its author has deprecated the project and points readers to nanochat. The MIT-licensed code remains available for study and modification.
58.3KUpdated 3 months agoMIT
macOS#Code execution#Tool calling
12.5KUpdated 2 days agoApache-2.0
Docker#Distributed execution#Hugging Face integration#LoRA
TRL is a Python library for developers and researchers who want to adapt foundation models on their own hardware. It builds on Hugging Face Transformers and covers supervised fine-tuning, reinforcement learning and training from preference feedback. It's open source under Apache 2.0.
SimpleTuner is an open-source toolkit for fine-tuning image, video and audio generation models on your own hardware or GPU servers. It's for creators and researchers adapting models to their datasets, and teams sharing training infrastructure. A web dashboard manages training jobs.
nanochat is an MIT-licensed toolkit for training your own LLM and chatting with it on hardware you control. It's aimed at researchers and developers who want to study or modify the full training pipeline, with a small Python codebase built on PyTorch.
Axolotl is an open-source LLM fine-tuning framework for developers, researchers, and teams training models on their own data. It runs on local hardware or cloud infrastructure you control, including Docker and Kubernetes environments. The framework uses Apache 2.0, which permits commercial use.