#4343rd of 126 in Training and fine-tuning
litgpt
PyTorch LLM implementations with CLI recipes to pretrain, finetune and serve
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts litgpt on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.litgpt is on your watch list. Its new releases and problems show there.
- Stars
- 13.8k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
13,132 on 25 Mar 202613,768 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Lightning AI is hiring: 49 open roles
Overview
LitGPT reimplements 20+ open LLM families (Llama, Gemma, Phi, Qwen, Mistral, Falcon and others) from scratch in PyTorch, without abstraction layers. A single `litgpt` CLI and a Python `LLM` API cover pretraining, continued pretraining, finetuning (LoRA, QLoRA, adapter), evaluation, chat and serving. Training scales with FSDP, and quantization reduces memory use.
Who it is for: ML engineers pretraining or finetuning open LLMs on their own GPUs
Strengths
- Single-file model implementations are easy to read and debug
- One CLI covers finetune, pretrain, evaluate, chat and serve
- Supports LoRA, QLoRA, adapter, FSDP and fp4/8/16/32 precision
- Apache-2.0 license with YAML training recipes
Weaknesses
- Only covers the architectures reimplemented in the repo, not arbitrary checkpoints
- `litgpt serve` shows a simple /predict endpoint, not an OpenAI-style API
- README repeatedly promotes Lightning Cloud GPU and hosting products
- No Docker image or compose file in the repo
What it needs
- GPU optional
- Needs PyTorch, Hugging Face Hub (weight downloads)
- Models: Llama 2/3.x, Gemma 1/2/3, Phi 1.5-4, Qwen2.5/Qwen3, Mistral/Mixtral
- port 8000
What changed
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| Rank | Project | Score |
|---|---|---|
| #41 | getiPlatform for annotating, training and deploying computer vision models | 69 out of 100 |
| #42 | colossalaiDistributed training library for large models with many parallelism strategies | 68 out of 100 |
| #44 | verl-omniRL post-training framework for diffusion and omni-modal models, built on verl | 68 out of 100 |
| #45 | nnunetSelf-configuring U-Net framework for biomedical image segmentation | 67 out of 100 |
| #46 | saelensPython library for training and analysing sparse autoencoders on language models | 67 out of 100 |