LLaMA-Factory
Unified fine-tuning for 100+ LLMs and VLMs with a no-code web UI.
- Stars
- 75.5K
- Forks
- 9.3K
- Open issues
- 1.2K
- Last commit
- 2026-10-10
Live from the GitHub API · updated 2026-10-15
What is LLaMA-Factory?
LLaMA-Factory supports SFT, reward modeling, DPO, PPO and more across a wide range of models, with LoRA/QLoRA and a Gradio “LlamaBoard” UI for configuring and launching runs.
Key features
- 100+ supported models
- No-code LlamaBoard UI
- LoRA, QLoRA and full training
- Preference optimization
System requirements
- Platforms
- Linux · Windows · macOS
- GPU
- NVIDIA recommended
- Python
- 3.9+
How to install LLaMA-Factory
Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.
From source
- 1Clone and install.
git clone --depth 1 https://github.com/hiyouga/LLaMA-Factory.git cd LLaMA-Factory pip install -e ".[torch,metrics]" - 2Start the web UI.
llamafactory-cli webui
Strengths
- Broadest model coverage
- No-code UI
Limitations
- Many options to tune
LLaMA-Factory alternatives compared
| Software | Stars | License | Platforms | VRAM |
|---|---|---|---|---|
| LLaMA-Factory Unified fine-tuning for 100+ LLMs and VLMs with a no-code web UI. | 75.5K | Apache-2.0 | — | |
| Unsloth Fine-tune LLMs 2× faster with up to 70% less memory. | 78K | Apache-2.0 | 3 GB+ depending on model size | |
| Axolotl Config-driven LLM fine-tuning for many models and techniques. | 12.6K | Apache-2.0 | — | |
| TRL Hugging Face’s library for post-training LLMs: SFT, DPO, GRPO. | 19.5K | Apache-2.0 | — | |
| Kohya’s GUI GUI for training LoRA, DreamBooth and fine-tunes for SD, SDXL and FLUX. | 12.6K | Apache-2.0 | 8 GB+ for SD1.5 LoRA; 12–24 GB for SDXL/FLUX | |
| OneTrainer One-stop trainer for diffusion models with a desktop UI. | 3.2K | AGPL-3.0 | 8 GB+ |
FAQ
Is LLaMA-Factory free?
Yes — LLaMA-Factory is open-source software released under the Apache-2.0 license. Check the license (and any model weight licenses) before commercial use.
Does LLaMA-Factory run on Windows, Mac and Linux?
LLaMA-Factory supports: Linux, Windows, macOS.
What hardware do I need for LLaMA-Factory?
NVIDIA recommended
How do I install LLaMA-Factory?
1. Clone and install. 2. Start the web UI.
What are the best LLaMA-Factory alternatives?
Popular alternatives include Unsloth, Axolotl, TRL, Kohya’s GUI. See the comparison table on this page.