lightning-ai/litgpt

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 19 minutes ago
Added to GitGenius on September 4th, 2026
Created on May 4th, 2023
Open Issues & Pull Requests: 289 (+0)
GitHub issues: Enabled
Number of forks: 1,493
Total Stargazers: 13,654 (-1)
Total Subscribers: 119 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 24.0 hours
Mean response time: 31.9 days
90th percentile: 59.0 days
Tracked items: 251

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 98% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 7% of issues opened in the past year have been closed. Three people close 64% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 129
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 673 days
Stale 30+ days: 121
Stale 90+ days: 114

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 4
Events in 7 days: 4

Top labels

  • question (115)
  • bug (95)
  • enhancement (54)
  • help wanted (53)
  • waiting on author (9)
  • model-weights (7)
  • fine-tuning (6)
  • quantization (5)

Detailed Description

LitGPT is a framework for pretraining, finetuning, and deploying large language models at scale.

The tool addresses the need for accessible, high-performance LLM workflows by providing from-scratch implementations of over twenty models with no abstraction layers. This approach prioritizes transparency and control, allowing developers to understand and modify every component. The framework supports the full lifecycle of LLM work: pretraining from scratch, finetuning with techniques like LoRA and QLoRA, and deployment across single to thousands of GPUs or TPUs. It includes memory optimization through reduced precision formats and incorporates performance enhancements such as Flash Attention and fully sharded data parallel training.

Developers should choose this tool if they need direct control over model implementations and want to avoid hidden abstractions that complicate debugging. It suits projects ranging from research and experimentation to enterprise-scale training and inference. The framework is particularly valuable for teams that need to understand their models deeply or customize them significantly. The single-file implementations and minimal abstraction design make it accessible to beginners while remaining powerful enough for production deployments.

The project maintains active continuous integration testing across CPU environments. Development activity shows consistent engagement with the codebase through regular updates and maintenance of the training and inference pipelines. The tool is distributed under an Apache license permitting unlimited enterprise use.