Lightning-AI/litgpt
20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale. observed · 2026-10-20
Health v2 · maintenance only
87/100
- Activity 99
- Release rhythm 71
- Longevity 90
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 37
- age_days: 1265
- days_rel: 113
- days_push: 7
- n_releases_24m: 12
Adoption not part of the score
13718 stars · 1664 forks observed · 2026-10-20
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
LitGPT is a Python library providing from-scratch, hackable implementations of 20+ open-source large language models with recipes for pretraining, finetuning (LoRA, QLoRA, adapters), and deployment at scale. It supports distributed training on 1-1000+ GPUs/TPUs with features like Flash attention, FSDP, and fp4/8/16/32 quantization.
Use cases
- finetune an open-source LLM with LoRA or QLoRA
- pretrain a large language model from scratch on multiple GPUs
- run fast LLM inference locally
- deploy a finetuned LLM as an API
- reduce GPU memory usage with quantization
- read clean from-scratch transformer implementations for learning
- scale LLM training across hundreds of GPUs
When to choose
- you want full control and readable, abstraction-free LLM code
- you need to pretrain or finetune LLMs at scale with FSDP
- you want Apache-2.0 licensed enterprise-ready LLM tooling
- you want to experiment with many open LLM architectures in one library
When to avoid
- you just want a plug-and-play inference server with the widest model coverage
- you need a high-level API with minimal configuration
- you are not working with PyTorch or GPUs
Facets
library · maturity active
llm-training llm-inference machine-learning deep-learning cli large-language-models deep-learning machine-learning artificial-intelligence python cli cross-platform pytorch finetuning pretraining lora flash-attention fsdp model-deployment open-source-llms gpu
3 sources
- readme: https://github.com/Lightning-AI/litgpt · fetched 2026-10-20 · 1bbd861fefbd
- homepage: https://lightning.ai · fetched 2026-08-29 · 21f0a0890a80
- registry_pypi: https://pypi.org/pypi/litgpt/json · fetched 2026-08-29 · 501fc1ce43d1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Lightning-AI/litgpt | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="Lightning-AI/litgpt")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem