lightning 2.2.1


The Deep Learning framework to train, deploy, and ship AI products Lightning fast.

The Deep Learning framework to train, deploy, and ship AI products Lightning fast.

Stars: 26707, Watchers: 26707, Forks: 3234, Open Issues: 738

The Lightning-AI/pytorch-lightning repo was created 5 years ago and the last code push was 7 hours ago.
The project is extremely popular with a mindblowing 26707 github stars!

How to Install lightning

You can install lightning using pip

pip install lightning

or add it to a project with poetry

poetry add lightning

Package Details

Lightning AI et al.
GitHub Repo:


  • Scientific/Engineering/Artificial Intelligence
  • Scientific/Engineering/Information Analysis
No  lightning  pypi packages just yet.


A list of common lightning errors.

Code Examples

Here are some lightning code examples and snippets.

GitHub Issues

The lightning package has 738 open issues on GitHub

  • relax App dependencies for lightning [wip]
  • Meta device initialization for FSDP in Trainer
  • Cosmic Ray Observatories Data Public
  • tests: changed mocked dir tmpdir to tmp_path
  • Organize strategy tests folder
  • docs: updating logos
  • Feature 18367 configurable metric formatting
  • WandBLogger: Can't set log_model from LightningCLI due to problem in type hint
  • Customizable Metric Formatting for Rich Progress Bar
  • Fabric + FSDP + load_raw before setup edge case
  • Memory Leak when instantiating Fabric multiple times
  • barebones mode should be more forceful
  • Update sphinx requirement from <6.0,>5.0 to >5.0,<8.0 in /requirements
  • Bump click from 8.1.6 to 8.1.7 in /requirements
  • Update fastapi requirement from <0.100.0,>=0.92.0 to >=0.92.0,<0.102.0 in /requirements

See more issues on GitHub

Related Packages & Articles

pytorch-lightning 2.2.1

PyTorch Lightning is the lightweight PyTorch wrapper for ML researchers. Scale your models. Write less boilerplate.

flwr 1.8.0

Flower: A Friendly Federated Learning Framework

deeplake 3.9.0

Deep Lake is a Database for AI powered by a unique storage format optimized for deep-learning and Large Language Model (LLM) based applications. It simplifies the deployment of enterprise-grade LLM-based products by offering storage for all data types (embeddings, audio, text, videos, images, pdfs, annotations, etc.), querying and vector search, data streaming while training models at scale, data versioning and lineage for all workloads, and integrations with popular tools such as LangChain, LlamaIndex, Weights & Biases, and many more.

thinc 8.2.3

A refreshing functional take on deep learning, compatible with your favorite libraries

spacy 3.7.4

Industrial-strength Natural Language Processing (NLP) in Python

ludwig 0.10.3

Declarative machine learning: End-to-end machine learning pipelines using data-driven configurations.

recommenders 1.1.1

Microsoft Recommenders - Python utilities for building recommender systems