About Anaconda Help Download Anaconda

conda-forge / packages / pytorch-lightning 2.5.0

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

copied from cf-staging / pytorch-lightning

Installers

  • noarch v2.5.0

conda install

To install this package run one of the following:
conda install conda-forge::pytorch-lightning

Description

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.

Documentation

  • https://pytorch-lightning.readthedocs.io/en/latest
  • https://pytorch-lightning.readthedocs.io/en/stable

© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy