#4343rd of 126 in Training and fine-tuning

litgpt

PyTorch LLM implementations with CLI recipes to pretrain, finetune and serve

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
13.8k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 35 weeks+636
25 Mar 2026: 13,132 stars1 Apr 2026: 13,152 stars8 Apr 2026: 13,170 stars15 Apr 2026: 13,191 stars22 Apr 2026: 13,211 stars29 Apr 2026: 13,223 stars6 May 2026: 13,238 stars13 May 2026: 13,253 stars20 May 2026: 13,278 stars27 May 2026: 13,293 stars3 Jun 2026: 13,315 stars10 Jun 2026: 13,338 stars17 Jun 2026: 13,353 stars24 Jun 2026: 13,363 stars1 Jul 2026: 13,380 stars8 Jul 2026: 13,399 stars15 Jul 2026: 13,413 stars22 Jul 2026: 13,424 stars29 Jul 2026: 13,531 stars5 Aug 2026: 13,546 stars12 Aug 2026: 13,563 stars19 Aug 2026: 13,575 stars26 Aug 2026: 13,589 stars2 Sept 2026: 13,608 stars9 Sept 2026: 13,622 stars16 Sept 2026: 13,635 stars23 Sept 2026: 13,655 stars30 Sept 2026: 13,663 stars7 Oct 2026: 13,676 stars14 Oct 2026: 13,689 stars21 Oct 2026: 13,709 stars28 Oct 2026: 13,724 stars4 Nov 2026: 13,737 stars11 Nov 2026: 13,745 stars18 Nov 2026: 13,756 stars25 Nov 2026: 13,768 stars

13,132 on 25 Mar 202613,768 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Lightning AI is hiring: 49 open roles

Overview

LitGPT reimplements 20+ open LLM families (Llama, Gemma, Phi, Qwen, Mistral, Falcon and others) from scratch in PyTorch, without abstraction layers. A single `litgpt` CLI and a Python `LLM` API cover pretraining, continued pretraining, finetuning (LoRA, QLoRA, adapter), evaluation, chat and serving. Training scales with FSDP, and quantization reduces memory use.

Who it is for: ML engineers pretraining or finetuning open LLMs on their own GPUs

Strengths

  • Single-file model implementations are easy to read and debug
  • One CLI covers finetune, pretrain, evaluate, chat and serve
  • Supports LoRA, QLoRA, adapter, FSDP and fp4/8/16/32 precision
  • Apache-2.0 license with YAML training recipes

Weaknesses

  • Only covers the architectures reimplemented in the repo, not arbitrary checkpoints
  • `litgpt serve` shows a simple /predict endpoint, not an OpenAI-style API
  • README repeatedly promotes Lightning Cloud GPU and hosting products
  • No Docker image or compose file in the repo

What it needs

  • GPU optional
  • Needs PyTorch, Hugging Face Hub (weight downloads)
  • Models: Llama 2/3.x, Gemma 1/2/3, Phi 1.5-4, Qwen2.5/Qwen3, Mistral/Mixtral
  • port 8000

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Training and fine-tuning

See all 126
Also in Training and fine-tuning
RankProjectScore
#41getiPlatform for annotating, training and deploying computer vision models1.4k starsApache-2.069 out of 100
#42colossalaiDistributed training library for large models with many parallelism strategies Live demo ↗ (opens in a new tab)41.4k starsApache-2.068 out of 100
#44verl-omniRL post-training framework for diffusion and omni-modal models, built on verl1.6k starsApache-2.068 out of 100
#45nnunetSelf-configuring U-Net framework for biomedical image segmentation9.1k starsApache-2.067 out of 100
#46saelensPython library for training and analysing sparse autoencoders on language models1.6k starsMIT67 out of 100