LitGPT
Lightning-AI / litgpt
Lightning AI’s lightweight recipes for LLM training, fine-tuning and deployment: 20+ models, pretraining, SFT, LoRA, quantisation and inference, with an emphasis on single-GPU runs and readable code.
Why choose it
- Recipes are readable and modifiable.
- Covers pretraining, SFT, LoRA and quantisation.
- Designed to run on a single GPU where possible.
Not for
You need a large-scale multi-node training framework.
You want a no-code fine-tuning product.
Many recipes; check parameters and data formats model by model.
Minimum setup
- Run the smallest SFT recipe on one GPU.
- Record memory, throughput and evaluation scores.
- Try LoRA and compare quality with full fine-tuning.
Dependencies and cost
Check runtime, model weights and external service dependencies in the README.
License and usage boundaries
Code is Apache-2.0; model weights, training data and generated content may have separate terms — check each before commercial use.
Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.
Alternatives and neighbors
- LLaMA-Factory — Start here,One setup for fine-tuning: LoRA, QLoRA, full-parameter and DPO, with a WebUI and model export.
- Unsloth — Start here,Accelerated QLoRA/LoRA fine-tuning: Triton kernels cut VRAM use and training time for 7B–70B models.
- torchtune — Scale / performance,A PyTorch-native fine-tuning recipe library: readable training loops, FSDP, activation checkpointing and common post-training recipes.
Next steps
- Open GitHub and read the README, LICENSE, latest release and issues first.
- Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
- Run a small sample first, then decide on production; never start with production data.