#6363rd of 433 in ML frameworks and libraries

pytorch-lightning

PyTorch training framework that automates multi-GPU, precision and logging boilerplate

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

Stars
31.5k
License
Apache-2.0
Last commit
Nov 2026
Last release
Sep 2026
Language
Python
Stars, last 35 weeks+720
24 Mar 2026: 30,760 stars31 Mar 2026: 30,783 stars7 Apr 2026: 30,816 stars14 Apr 2026: 30,857 stars21 Apr 2026: 30,882 stars28 Apr 2026: 30,908 stars5 May 2026: 30,938 stars12 May 2026: 30,965 stars19 May 2026: 30,986 stars26 May 2026: 31,008 stars2 Jun 2026: 31,033 stars9 Jun 2026: 31,047 stars16 Jun 2026: 31,067 stars23 Jun 2026: 31,084 stars30 Jun 2026: 31,104 stars7 Jul 2026: 31,118 stars14 Jul 2026: 31,137 stars21 Jul 2026: 31,150 stars28 Jul 2026: 31,170 stars4 Aug 2026: 31,190 stars11 Aug 2026: 31,211 stars18 Aug 2026: 31,225 stars25 Aug 2026: 31,245 stars1 Sept 2026: 31,256 stars8 Sept 2026: 31,276 stars15 Sept 2026: 31,293 stars22 Sept 2026: 31,317 stars29 Sept 2026: 31,334 stars6 Oct 2026: 31,354 stars13 Oct 2026: 31,377 stars20 Oct 2026: 31,402 stars27 Oct 2026: 31,420 stars3 Nov 2026: 31,437 stars10 Nov 2026: 31,450 stars17 Nov 2026: 31,460 stars24 Nov 2026: 31,480 stars

30,760 on 24 Mar 202631,480 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Lightning AI is hiring: 49 open roles

Overview

PyTorch Lightning structures PyTorch code into a LightningModule and a Trainer that handles the training loop, mixed precision, checkpointing, early stopping and logging. The same code runs on CPU, GPU, TPU or multi-node setups by changing Trainer arguments. The repo also ships Lightning Fabric, a lower-level API that keeps your own training loop while handling device placement, DDP, FSDP and DeepSpeed.

Who it is for: ML engineers training or finetuning PyTorch models across GPUs or nodes

Strengths

  • Scales from CPU to multi-node GPU or TPU by changing Trainer arguments, not model code
  • Fabric keeps a custom training loop with few changes to plain PyTorch
  • Built-in loggers for TensorBoard, Weights & Biases, Comet and MLflow
  • Exports trained modules to TorchScript and ONNX

Weaknesses

  • Requires restructuring code into LightningModule and Trainer conventions
  • README states about 300 ms per epoch overhead versus plain PyTorch
  • README promotes Lightning Cloud and Studios for examples and GPUs
  • PyTorch only; no support for other tensor frameworks

What it needs

  • GPU optional
  • Needs PyTorch, torchvision (for examples)
  • Models: PyTorch nn.Module, TorchScript export, ONNX export, DDP, FSDP

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 ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#61isaacsimNVIDIA robotics simulator on Omniverse with RTX sensors and GPU physics4.6k stars+173 (+3.9%) in 30 dayscustom license79 out of 100
#62transformerengineNVIDIA library for FP8 and FP4 Transformer training in PyTorch and JAX3.6k starsApache-2.079 out of 100
#64paddleDeep learning framework with dynamic/static graphs and automatic parallel training24.2k starsApache-2.078 out of 100
#65ggmlC/C++ tensor library for ML inference with quantization and many backends16.3k starsMIT78 out of 100
#66sentencepieceSubword tokenizer that trains BPE and unigram models from raw text12.2k starsApache-2.078 out of 100