LitGPT
Apache-2.0 library and CLI for finetuning and deploying 20+ LLMs
- #8 of 12 in best LLM fine-tuning tools
- Free and open source
- Free to use
- Open source
- Command line
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
| Product | Score | Price | Platforms | Training methods | Interface | GPU needed | Runs on your hardware | Exports GGUF |
|---|---|---|---|---|---|---|---|---|
| #6 | 80.5 | Free and open source | LinuxWebCommand line | LoRA, 8-bit, DPO, IPO, KTO | Web GUI and command line | Yes; NVIDIA driver 580 or newer | Yes | No |
| #7 | 79.0 | Free and open source | Command line | Full, LoRA, QLoRA, SFT, DPO, GRPO | Command line with YAML configs | Yes for training; GPU support is an install extra | Yes | No |
| #8LitGPT | 76.5 | Free and open source | Command line | LoRA, QLoRA, adapter | Python library and command line | Yes; one GPU to 1000+ GPUs or TPUs | Yes | No |
| #9 | 75.0 | Free and open source | macOSCommand line | LoRA, QLoRA | Command line and Python library | No; Apple silicon Mac | Yes | Yes |
| #10 | 72.5 | Pay as you go | WebCommand line | LoRA, full, SFT, DPO | Web console, CLI and API | No; trains on Together's GPUs | No | No |
The full comparison table for best LLM fine-tuning tools has all 12 products.
Alternatives to LitGPT
All 11 alternatives
UnslothAlso runs on Windows, macOS, Linux.- LLaMA-FactoryAlso runs on Web.
AxolotlYAML-configured framework for fine-tuning language and vision-language models
TRLHugging Face library for supervised, preference and reinforcement fine-tuning- Transformer LabAlso runs on macOS, Linux, Windows.
H2O LLM StudioAlso runs on Linux, Web.
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.
<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>