#2323rd of 126 in Training and fine-tuning

llamafactory

Fine-tuning toolkit for 100+ LLMs with a CLI and Gradio web UI

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
76.3k
License
Apache-2.0
Last commit
Nov 2026
Last release
May 2026
Language
Python
Stars, last 35 weeks+8,167
24 Mar 2026: 68,149 stars31 Mar 2026: 68,502 stars7 Apr 2026: 68,935 stars14 Apr 2026: 69,367 stars21 Apr 2026: 69,709 stars28 Apr 2026: 70,018 stars5 May 2026: 70,268 stars12 May 2026: 70,546 stars19 May 2026: 70,804 stars26 May 2026: 71,036 stars2 Jun 2026: 71,270 stars9 Jun 2026: 71,506 stars16 Jun 2026: 71,721 stars23 Jun 2026: 71,940 stars30 Jun 2026: 72,390 stars7 Jul 2026: 72,618 stars14 Jul 2026: 72,857 stars21 Jul 2026: 73,028 stars28 Jul 2026: 73,217 stars4 Aug 2026: 73,418 stars11 Aug 2026: 73,679 stars18 Aug 2026: 73,922 stars25 Aug 2026: 74,091 stars1 Sept 2026: 74,260 stars8 Sept 2026: 74,431 stars15 Sept 2026: 74,589 stars22 Sept 2026: 74,790 stars29 Sept 2026: 75,054 stars6 Oct 2026: 75,204 stars13 Oct 2026: 75,354 stars20 Oct 2026: 75,529 stars27 Oct 2026: 75,692 stars3 Nov 2026: 75,846 stars10 Nov 2026: 75,989 stars17 Nov 2026: 76,121 stars24 Nov 2026: 76,316 stars

68,149 on 24 Mar 202676,316 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

LlamaFactory fine-tunes LLMs and multimodal models through YAML-driven CLI runs or the LLaMA Board Gradio UI. It covers pre-training, SFT, reward modeling, PPO, DPO, KTO and ORPO, with full-tuning, freeze, LoRA and 2 to 8-bit QLoRA. Trained models can be served through an OpenAI-style API using vLLM or SGLang workers.

Who it is for: Engineers fine-tuning open LLMs on their own GPUs, with or without code

Strengths

  • Covers SFT, reward modeling, PPO, DPO, KTO and ORPO in one framework
  • Supports QLoRA via AQLM, AWQ, GPTQ, LLM.int8, HQQ and EETQ
  • Integrates FlashAttention-2, Unsloth, Liger Kernel, GaLore, BAdam, APOLLO and Muon
  • Web UI plus OpenAI-style API with vLLM or SGLang inference backends

Weaknesses

  • Official documentation is marked WIP in the README
  • Many features are toggled through YAML flags, so you need to know the options
  • Newer backends such as Megatron-core are documented mainly through PR links

What it needs

  • GPU required
  • Docker + Compose
  • Needs PyTorch, Hugging Face Transformers, vLLM (optional), SGLang (optional)
  • Models: LLaMA, LLaVA, Mistral, Mixtral-MoE, Qwen3

What changed

  1. “Repository name updated: LLaMA-Factory → LlamaFactory”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Training and fine-tuning

See all 126
Also in Training and fine-tuning
RankProjectScore
#21sagemaker-python-sdkPython SDK for training, fine-tuning and deploying models on Amazon SageMaker2.3k starsApache-2.078 out of 100
#22h2o-llmstudioNo-code GUI and CLI for fine-tuning LLMs with LoRA and DPO5.2k starsApache-2.077 out of 100
#24fingptLoRA fine-tuned financial LLMs, datasets and notebooks for sentiment and forecasting Live demo ↗ (opens in a new tab)21.7k starsMIT75 out of 100
#25rlinfDistributed RL training framework for robot VLA policies and LLM agents5.7k starsApache-2.075 out of 100
#26fractalworkspaceFederated training and split-model inference across Android phones9.2k stars+1,527 (+20%) in 30 dayscustom license74 out of 100