Comparison
loralib vs peft
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
PyTorch implementation of low-rank adaptation (LoRA), a parameter-efficient approach to adapt a large pre-trained deep learning model which obtains performance on-par with full fine-tuning.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install loralibParameter-Efficient Fine-Tuning (PEFT)
Actively maintained. Last release 11 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install peftIn short
- loralib is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- peft is the most used: 9.8M downloads a month, 94× more than loralib.
- peft also has the best Pythie’s Index (89).
- Safe default for a new project: peft.