Lightning-AI/litgpt
20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale. observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 98
- Release rhythm 90
- Longevity 86
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 16
- age_days: 1217
- days_rel: 65
- days_push: 16
- n_releases_24m: 16
Adoption not part of the score
13629 stars · 1488 forks observed · 2026-08-28
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-08-28 · 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 | 93 |
For agents
markdown · JSON · MCP: product_card(name="Lightning-AI/litgpt")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem