Skip to content
The Daily Repo

Fine-tune an LLM locally: best open-source tools (2026)

Our pick

Start with Unsloth if you want to fine-tune a model on your own computer with the least setup. It is a desktop app for Windows, macOS and Linux that runs and trains models with LoRA, QLoRA or full fine-tuning, and it also installs with Homebrew (brew install --cask unsloth) or winget. It runs on NVIDIA, AMD and Intel GPUs and on CPUs; its core package is Apache-2.0 licensed, and optional parts such as the Unsloth Studio UI are AGPL-3.0. The table shows its last commit and latest release, and how the other tools compare.

Best for

The repos compared

Checked on Dec 2, 2026: the oldest day any repo in the table was last read from GitHub.

Fine-tune an LLM locally: best open-source tools (2026): repos compared
RepoStarsLast commitLatest releaseLicenceNeeds
unslothai / unsloth

A desktop app and library to run and train LLMs locally, with LoRA, QLoRA and full fine-tuning.

80,606
GitHub (opens in new tab)
Active Dec 2, 2026v0.1.925-beta, Nov 25, 2026Apache-2.0
hiyouga / LlamaFactory

Fine-tunes many LLMs and vision models from a zero-code CLI or a web UI.

76,348
GitHub (opens in new tab)
Active Dec 1, 2026v0.9.5, May 30, 2026Apache-2.0
axolotl-ai-cloud / axolotl

A free, open-source LLM fine-tuning framework.

12,762
GitHub (opens in new tab)
Active Dec 1, 2026v0.21.1, Oct 27, 2026Apache-2.0
modelscope / ms-swift

A fine-tuning and deployment framework with a web UI for hundreds of text and multimodal models.

16,207
GitHub (opens in new tab)
Active Nov 28, 2026v4.6.1, Nov 13, 2026Apache-2.0
Lightning-AI / litgpt

Implementations of many LLMs with recipes to pretrain, fine-tune and deploy them.

13,770
GitHub (opens in new tab)
Active Nov 10, 2026v0.5.14, Nov 10, 2026Apache-2.0
huggingface / peft

Parameter-efficient fine-tuning methods such as LoRA, built to work with Transformers.

21,938
GitHub (opens in new tab)
Active Nov 27, 2026v0.22.0, Nov 19, 2026Apache-2.0
h2oai / h2o-llmstudio

A framework and no-code GUI for fine-tuning LLMs.

5,203
GitHub (opens in new tab)
Active Nov 19, 2026v1.15.5, Nov 19, 2026Apache-2.0
oumi-ai / oumi

An open-source platform for data preparation, training, evaluation and deployment of models.

9,439
GitHub (opens in new tab)
Active Dec 1, 2026v0.9, Sep 16, 2026Apache-2.0

Install commands

Copied from each repo. Read its setup steps before you run anything.

unslothai/unsloth

curl -fsSL https://unsloth.ai/install.sh | sh

hiyouga/LlamaFactory

docker run -it --rm --gpus=all --ipc=host hiyouga/llamafactory:latest

Questions

Can I fine-tune an LLM on my own computer?

Yes. Unsloth is a desktop app for Windows, macOS and Linux that trains models locally, and LlamaFactory, Axolotl and ms-swift run from the command line on your own GPU. Methods such as LoRA and QLoRA train only a small set of added weights instead of the whole model.

What is the easiest tool to fine-tune an LLM?

Tools with a graphical interface need no training code. Unsloth is a desktop app, LlamaFactory has a zero-code CLI and a web UI, and H2O LLM Studio is a no-code GUI.

What is the difference between PEFT and a framework like Axolotl?

PEFT is a library you call from your own Python code to add methods such as LoRA to a model. Axolotl, LlamaFactory and ms-swift are full frameworks that handle data, training and saving, and LlamaFactory lists Unsloth among its supported speed-up options.

Do these tools only fine-tune language models?

No. Unsloth also trains diffusion, audio and embedding models, and ms-swift covers hundreds of multimodal models. Oumi covers data preparation, training, evaluation and deployment.

Are these fine-tuning tools free?

All of them are open source, and the Licence column shows each licence. They are Apache-2.0 licensed, except that optional parts of Unsloth such as its Studio UI are AGPL-3.0. You still need hardware to run them: your own GPU, or a rented one.

More

Type to search.

Try