LitGPT

Apache-2.0 library and CLI for finetuning and deploying 20+ LLMs

76.5
Score in best LLM fine-tuning tools
Check github.com (opens in a new tab)AlternativesCompareShare

Opens the official site in a new tab. Check current plans and terms there; nothing is purchased on listme.name.

Ranked 8 of 12 in best LLM fine-tuning tools

Readable from-scratch model code with LoRA, QLoRA and adapter finetuning, and multi-GPU support. It lists fewer preference-tuning methods than TRL or Axolotl, so it suits supervised work better.

Best for Readable code for supervised finetuning

About LitGPT

LitGPT provides from-scratch implementations of popular models, and its README says the code has no abstraction layers between the user and the training code. It offers workflows for finetuning, pretraining, evaluation, testing and deployment, and a Python call to load a model in a few lines.

The README states support from one GPU up to 1000 or more GPUs or TPUs. Because the emphasis is on code and recipes, LitGPT suits people who want to read the training code and run it on their own hardware. Its README lists fewer training methods than TRL or Axolotl, so check the list before choosing it for preference tuning.

Key features

  • From-scratch model code
  • LoRA, QLoRA and adapters
  • FSDP multi-GPU training
  • Python LLM API
  • Command-line tools
  • Pretraining recipes

Strengths

  • Readable from-scratch model code with few abstractions
  • LoRA, QLoRA and adapter finetuning for 20+ models
  • Scales from one GPU to 1000+ GPUs or TPUs per the README

Limits

  • Fewer preference-tuning methods listed than TRL or Axolotl
  • Command-line and Python use only, with no graphical interface

Where LitGPT ranks

How LitGPT compares

ProductScorePricePlatformsTraining methodsInterfaceGPU neededRuns on your hardwareExports GGUF
#6H2O LLM Studio80.5Free and open sourceLinuxWebCommand lineLoRA, 8-bit, DPO, IPO, KTOWeb GUI and command lineYes; NVIDIA driver 580 or newerYesNo
#7Oumi79.0Free and open sourceCommand lineFull, LoRA, QLoRA, SFT, DPO, GRPOCommand line with YAML configsYes for training; GPU support is an install extraYesNo
#8LitGPT76.5Free and open sourceCommand lineLoRA, QLoRA, adapterPython library and command lineYes; one GPU to 1000+ GPUs or TPUsYesNo
#9MLX LM75.0Free and open sourcemacOSCommand lineLoRA, QLoRACommand line and Python libraryNo; Apple silicon MacYesYes
#10Together AI72.5Pay as you goWebCommand lineLoRA, full, SFT, DPOWeb console, CLI and APINo; trains on Together's GPUsNoNo

The full comparison table for best LLM fine-tuning tools has all 12 products.

Questions about LitGPT

Is LitGPT free?
LitGPT can be used without paying: Free under Apache-2.0; training costs are your own hardware or cloud. Check the vendor’s pricing page for current limits.
Is LitGPT open source?
Yes. LitGPT publishes its source code under the Apache-2.0 license.
Which platforms does LitGPT support?
LitGPT is available on: Command line.
What is LitGPT best for?
Readable code for supervised finetuning. In our ranking of LLM fine-tuning tools it is number 8 of 12 with a score of 76.5.
What are the best alternatives to LitGPT?
The highest-ranked alternatives on listme.name are Unsloth, LLaMA-Factory, Axolotl, TRL.

Show this ranking on your site

If you make or maintain LitGPT, this badge links back to this page and shows its current rank. It updates when the ranking does.

Ranked #8 of 12 LLM fine-tuning tools on listme.name
<a href="https://listme.name/software/litgpt"><img src="https://listme.name/badge/litgpt.svg" height="28" alt="Ranked #8 of 12 LLM fine-tuning tools on listme.name"></a>