L
hiyouga/LlamaFactory★ 76,384 · Python
A unified Python framework for LLM and VLM fine-tuning with pluggable inference
Apache-2.0 · Commercial Friendlyv0.9.5
Side-by-side 2026 comparison in LLMs & Inference: hiyouga/LlamaFactory leads both total GitHub adoption (★ 76.4k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
A unified Python framework for LLM and VLM fine-tuning with pluggable inference
Transformers-native post-training for fine-tuning, preference alignment, and RL
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | hiyouga/LlamaFactory | huggingface/trl |
|---|---|---|
| Total GitHub Stars | ★ 76,384 | ★ 19,899 |
| 24h / 7d Velocity | +28 / +86 | +6 / +54 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 92/100 | A+ · 100/100 |
| Deployment Signals | Docker · CLI · GPU | CLI · GPU |
| Primary Language | Python | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated 3d ago | Updated today |
| Latest Release | v0.9.5 | v1.19.0 |
| Best For | Teams comparing LLM or VLM fine-tuning recipes across model families and validating the resulting checkpoints through a local UI, CLI, or self-hosted API | Teams already using Transformers that need to compare supervised tuning, preference alignment, or reward-driven training on their own datasets and GPUs |
deepseek3, deepseekr1, gemma3, and glm4_moe.git clone --depth 1 https://github.com/hiyouga/LlamaFactory.git cd LlamaFactory pip install -e . pip install -r requirements/metrics.txt
pip install trlSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy