Lightning-AI/litgpt
20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.
From the publisher
README & documentation
Source previewRead the project’s overview, installation instructions and usage examples. The original README is the source of truth.
20+ high-performance LLMs with recipes to pretrain, finetune, and deploy at scale. ✅ From scratch implementations ✅ No abstractions ✅ Beginner friendly ✅ Flash attention ✅ FSDP ✅ LoRA, QLoRA, Adapter ✅ Reduce GPU memory (fp4/8/16/32) ✅ 1-1000+ GPUs/TPUs ✅ 20+ LLMs Quick start • Models • Finetune • Deploy • All workflows • Features • Recipes (YAML) • Lightning AI • Over 340,000 developers use Lightning Cloud - purpose-built for PyTorch and PyTorch Lightning. Every LLM is implemented from scratch with no abstractions and full control, making them blazing fast, minimal, and performant at enterprise scale. ✅ Enterprise ready - Apache 2.0 for unlimited enterprise use. ✅ Developer friendly - Easy debugging with no abstraction layers and single file implementations. ✅ Optimized performance - Models designed to maximize performance, reduce costs, and speed up training. ✅ Proven recipes - Highly-optimized training/finetuning recipes tested at enterprise scale. …
Read the full README ↗ · Preview checked 2026-10-28T03:37:51.802Z
Inside the original README — Document outline
- ⚡ LitGPT
- Looking for GPUs?
- Finetune, pretrain, and inference LLMs Lightning fast ⚡⚡
- Quick start
- Choose from 20+ LLMs
- All models
- Workflows
- All workflows
- Finetune an LLM
- Deploy an LLM
- Evaluate an LLM
- Test an LLM
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the README
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
Documentation belongs to its respective authors. Reported project/model license: Apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
What this repository does
20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.
Repository facts
- Owner
- Lightning-AI
- Primary language
- Python
- Stars
- 13,740
- Forks
- 1,538
- Open issues + pull requests
- 329
- License
- Apache-2.0
- Archived
- No
- Default branch
- main
- Created
- 2023-05-04T17:46:11.000Z
- Last push
- 2026-11-01T10:26:54.000Z
Topics and intended use
Owner-supplied topics: ai, artificial-intelligence, deep-learning, large-language-models, llm, llm-inference, llms
Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.
Evaluate before installing
Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.
Source and freshness
Source: GitHub. Metadata observed 2026-11-01T13:20:54.848Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.
Related repositories
EbookFoundation/free-programming-books
donnemartin/system-design-primer