LLaMA-Factory
fine-tuning71,961Apache-2.0

LLaMA-Factory

Easy-to-use LLM fine-tuning framework with web UI, supporting 100+ models and multiple training methods.

Updated Jun 7, 2026
Platforms
linux, docker, windows
Pricing
free-open-source
Status
active
License
Apache-2.0

What it does

Core capabilities at a glance

  • Web UI for no-code fine-tuning
  • 100+ model architectures supported
  • Full fine-tuning, LoRA, QLoRA, GaLore, and more
  • Pre-built dataset templates for common tasks
  • Model export to GGUF, Ollama, and vLLM format
  • Multi-GPU and DeepSpeed support

Deep dive

The full breakdown - performance, comparisons, and setup

LLaMA-Factory

LLaMA-Factory is the most user-friendly fine-tuning framework because it offers a proper web UI. You don't need to write YAML configs or Python scripts - configure your training run through a browser interface.

What it is

LLaMA-Factory is a comprehensive fine-tuning framework that combines a web UI with powerful training capabilities. It was created by hiyouga and has grown rapidly to become one of the most popular fine-tuning tools, ranking among the top on GitHub.

How it stacks up

LLaMA-FactoryUnslothAxolotlLitGPT
Web UI
Ease of useHighestHighMediumMedium
Model coverage100+20+100+20+
GGUF export
Best forNo-code trainingSpeedResearchPretraining

Get started

git clone https://github.com/hiyouga/LLaMA-Factory.git
cd LLaMA-Factory
pip install -r requirements.txt
python src/train_web.py
# Open http://localhost:7860 in your browser

When to use something else

Frequently asked

Quick answers to common questions

What is LLaMA-Factory?

LLaMA-Factory is a fine-tuning tool for local AI workloads. Easy-to-use LLM fine-tuning framework with web UI, supporting 100+ models and multiple training methods.

Is LLaMA-Factory free and open source?

Yes, LLaMA-Factory has 71,961 GitHub stars and is licensed under Apache-2.0. You can self-host it for free on linux, docker, windows.

What platforms does LLaMA-Factory support?

LLaMA-Factory runs on linux, docker, windows.

What hardware do I need for LLaMA-Factory?

The hardware requirements depend on which models you run. Check our hardware directory for compatible GPUs and systems. LLaMA-Factory has 71,961 GitHub stars and an active community.

Does LLaMA-Factory support GPU acceleration?

LLaMA-Factory supports GPU acceleration via CUDA, Metal, or Vulkan depending on your platform. For the best performance, pair it with an NVIDIA RTX 4090 or 5090.

What are the best alternatives to LLaMA-Factory?

Popular alternatives include other fine-tuning tools in our directory. Browse our full collection at /tool for comparisons, community reviews, and benchmark data to find the right fit for your workflow.

How much does LLaMA-Factory cost?

LLaMA-Factory is free-open-source. It is completely free and open source to self-host.

Pairs well with

Complementary tools, models, and hardware

Comments coming soon

Configure NEXT_PUBLIC_GISCUS_REPO_ID and NEXT_PUBLIC_GISCUS_CATEGORY_ID at giscus.app to enable.