Lightning-AI/litgpt

20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.

Open original source ↗

From the publisher

README & documentation

Source preview

Read 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.  …

Lightning-AI/litgpt on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-28T03:37:51.802Z

Inside the original README — Document outline
  1. ⚡ LitGPT
  2. Looking for GPUs?
  3. Finetune, pretrain, and inference LLMs Lightning fast ⚡⚡
  4. Quick start
  5. Choose from 20+ LLMs
  6. All models
  7. Workflows
  8. All workflows
  9. Finetune an LLM
  10. Deploy an LLM
  11. Evaluate an LLM
  12. 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.

README and project files

Issues and maintenance discussion

Releases and changelog

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.

Open original source

Related repositories

public-apis/public-apis

EbookFoundation/free-programming-books

donnemartin/system-design-primer

vinta/awesome-python

practical-tutorials/project-based-learning

NousResearch/hermes-agent