peft vs verl
Two of the top projects in Training and fine-tuning, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.
peft
Python library for LoRA and other parameter-efficient fine-tuning methods
verl
RL post-training library for LLMs with PPO, GRPO, FSDP and Megatron
Verdict
peft ranks higher, 91 to 89. Of the 4 score parts we measure for both, peft leads on 1, verl on 2 and 1 is even.
- Adoptionverl leads by 1 point, 92 to 91: close to even.
- FreshnessEven at 100.
- Maintenancepeft leads by 11 points, 88 to 77.
- Agent-readyverl leads by 15 points, 85 to 70: a wide gap.
Pick peft if you are
ML engineers fine-tuning large models on limited GPU memory
- Adapter checkpoints are a few MB instead of GBs, per the T0_3B and Stable Diffusion examples
- LoRA trains bigscience/mt0-xxl (12B) in 56GB GPU where full fine-tuning runs out of memory
Pick verl if you are
ML engineers running RL post-training of LLMs on GPU clusters
- FSDP, FSDP2 and Megatron-LM training with vLLM, SGLang or HF rollout
- Covers PPO, GRPO, RLOO, ReMax and REINFORCE++, plus multi-turn tool-calling RL
| What we compare | peft | verl |
|---|---|---|
| Score parts, out of 100 | ||
| Adoption | 91, widely used | 92, widely used |
| Freshness | 100, active | 100, active |
| Maintenance | 88, healthy | 77, fair |
| Agent-ready | 70, partly | 85, ready |
| Facts from GitHub and the README | ||
| Stars | 21.9k | 24.4k |
| License | Apache-2.0 (permissive) | Apache-2.0 (permissive) |
| Last commit | Dec 2026 | Dec 2026 |
| Last release | Nov 2026 | Dec 2026 |
| Language | Python | Python |
| Docker | Yes | Yes |
| GPU | Optional | Required |
| arm64 or Apple Silicon | Mentioned | Not stated |
peft
PEFT wraps a pretrained model with adapter methods such as LoRA, soft prompts and IA3 through get_peft_model, so only a small set of extra parameters is trained. Adapters are saved as small checkpoints (19MB versus 11GB for T0_3B in the README) and reloaded with PeftModel.from_pretrained. It integrates with Transformers, Diffusers, Accelerate and TRL, and combines with quantization for QLoRA-style training.
Who it is for: ML engineers fine-tuning large models on limited GPU memory
Strengths
- Adapter checkpoints are a few MB instead of GBs, per the T0_3B and Stable Diffusion examples
- LoRA trains bigscience/mt0-xxl (12B) in 56GB GPU where full fine-tuning runs out of memory
- Integrates with Transformers, Diffusers, Accelerate and TRL; installs with pip
- Combines with quantization, e.g. QLoRA on Llama-2-7b with a 16GB GPU
Weaknesses
- Library only: no training UI, you write the loop or use Trainer or TRL
- Transformers integration lacks some PEFT features, such as merging adapters into the base model
- Models not officially supported need manual target-module configuration
- lora-t0-3b scored 0.863 versus 0.892 for Flan-T5 in the README's RAFT table
- GPU optional
- Docker
- Needs PyTorch, Transformers
- Models: LoRA, Soft prompts, IA3, Transformers models, Stable Diffusion
verl
verl is the open-source implementation of the HybridFlow paper from ByteDance Seed. It runs reinforcement learning and supervised fine-tuning for LLMs, using FSDP, FSDP2 or Megatron-LM for training and vLLM, SGLang or HF Transformers for rollout generation. It covers PPO, GRPO, RLOO, ReMax and REINFORCE++ with verifiable or model-based rewards.
Who it is for: ML engineers running RL post-training of LLMs on GPU clusters
Strengths
- FSDP, FSDP2 and Megatron-LM training with vLLM, SGLang or HF rollout
- Covers PPO, GRPO, RLOO, ReMax and REINFORCE++, plus multi-turn tool-calling RL
- README states scaling to 671B models via expert parallelism, with LoRA RL to save memory
- Runs on NVIDIA, AMD and Huawei Ascend; Intel XPU via a plugin
Weaknesses
- Realistic runs need multiple GPUs; not a single-machine tool
- Fully async and one-step-off trainers moved to verl-recipe, pinned to v0.9.1
- Several algorithms (DAPO, GSPO, PRIME) live in the separate verl-recipe repository
- Inference engine versions matter; README warns vLLM 0.7.x has bugs causing OOMs
- GPU required
- Docker
- Needs PyTorch, vLLM or SGLang, Megatron-LM (optional)
- Models: Hugging Face Transformers, ModelScope, Qwen3.5, Qwen3, Qwen2.5
More in Training and fine-tuning
Building with these?
We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.
AI app development →Send a project brief (opens in a new tab)