×

Lightning is a way to organize your PyTorch code to decouple the science code from the engineering. It's more of a style-guide than a framework. In Lightning, you organize your code into 3 distinct categories: 1. Research code (goes in the LightningModule). 2. Engineering code (you delete, and is handled by the Trainer). 3. Non-essential research code (logging, etc. this goes in Callbacks). Although your research/production project might start simple, once you add things like GPU AND TPU training, 16-bit precision, etc, you end up spending more time engineering than researching. Lightning automates AND rigorously tests those parts for you. Overall, Lightning guarantees rigorously tested, correct, modern best practices for the automated parts.

Uploaded Mon Mar 31 23:51:19 2025
md5 checksum 3f32490e5c5de38b63773e7ab7ad4706
arch x86_64
build py312h06a4308_0
depends fsspec >=2022.5.0, lightning-utilities >=0.10.0, packaging >=20.0, python >=3.12,<3.13.0a0, pytorch >=2.1.0, pyyaml >=5.4, torchmetrics >=0.7.0, tqdm >=4.57.0, typing-extensions >=4.4.0
license Apache-2.0
license_family Apache
md5 3f32490e5c5de38b63773e7ab7ad4706
name pytorch-lightning
platform linux
sha1 406b60055a3fd531169b8da8fd60c494a9ac1152
sha256 0bf8daa49c63f4919aa30d72431fd94efa703e6857175518a8ceb19ed10545c6
size 1118412
subdir linux-64
timestamp 1741103648383
version 2.5.0.post0