Lattice
Skip to content

PEFT

librarySelf-hostedgithub.com

PEFT is a self-hosted library in the Fine-tuning & Training layer of the AI stack. Parameter-efficient fine-tuning methods such as LoRA and QLoRA.

By Facts verifiedmethod

Licence
BSD-3-Clause
Language
Python
Cost
free
Owned by
Applied Engineering

Use PEFT when

Parameter-efficient fine-tuning, LoRA and variants, on limited hardware.

Skip PEFT when

You need to change the model's capabilities, not bolt on an adapter.

Produces the weights that layer 1 serves. See every training tool.

Badge this entry
Lattice badge: PEFT verified 2026-09
[![PEFT on Lattice: verified 2026-09](https://lattice.kunjshah.in/fine-tuning/peft/badge.svg)](https://lattice.kunjshah.in/fine-tuning/peft)

Rules of thumb

  • Fine-tuning teaches behaviour, not facts. If the answer changes monthly, it belongs in retrieval instead.
  • Exhaust prompting and retrieval before training. A fine-tune is a model you now have to version, evaluate and serve.
  • Hold out an eval set before the first training run. Without it you cannot tell a better model from a different one.

Quick answers

Is PEFT open source?
Yes. PEFT is open source under the BSD-3-Clause licence. It is free to use.
What are the alternatives to PEFT?
The closest alternatives to PEFT are Unsloth and TRL.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.

Reading on training

Alternatives to PEFT

Listed as an alternative to

  • Unsloth
  • TRL

Also in training

  • Unsloth
  • Axolotl
  • LLaMA-Factory
  • TRL
  • DeepSpeed
  • Megatron-LM
  • torchtune
  • Hugging Face TRL
  • Colab
  • Replicate
  • Weights & Biases Launch