2022-04-19 18:15:47 +00:00
Welcome to ⚡ PyTorch Lightning
===============================
.. twocolumns ::
:left:
.. image :: https://pl-bolts-doc-images.s3.us-east-2.amazonaws.com/mov.gif
2023-01-19 17:08:20 +00:00
:alt: Animation showing how to convert standard training code to Lightning
2022-04-19 18:15:47 +00:00
:right:
PyTorch Lightning is the deep learning framework for professional AI researchers and machine learning engineers who need maximal flexibility without sacrificing performance at scale.
Lightning evolves with you as your projects go from idea to paper/production.
2019-11-28 17:48:55 +00:00
2022-03-28 12:35:59 +00:00
.. raw :: html
<div class="row" style='font-size: 14px'>
<div class='col-md-6'>
</div>
<div class='col-md-6'>
.. raw :: html
</div>
</div>
2022-04-19 18:15:47 +00:00
2022-03-28 12:35:59 +00:00
.. raw :: html
<hr class="docutils" style="margin: 50px 0 50px 0">
Install Lightning
-----------------
.. raw :: html
2022-04-19 18:15:47 +00:00
<div class="row" style='font-size: 16px'>
2022-03-28 12:35:59 +00:00
<div class='col-md-6'>
2022-04-19 18:15:47 +00:00
Pip users
2022-03-28 12:35:59 +00:00
.. code-block :: bash
2023-03-17 13:51:39 +00:00
pip install lightning
2022-03-28 12:35:59 +00:00
.. raw :: html
</div>
<div class='col-md-6'>
2022-04-19 18:15:47 +00:00
Conda users
2022-03-28 12:35:59 +00:00
.. code-block :: bash
2023-03-24 08:57:10 +00:00
conda install lightning -c conda-forge
2022-03-28 12:35:59 +00:00
.. raw :: html
</div>
</div>
Or read the `advanced install guide <starter/installation.html> `_
2023-12-01 16:28:29 +00:00
You can find the list of supported PyTorch versions in our :ref: `compatibility matrix <versioning:Compatibility matrix>` .
2022-12-17 07:27:21 +00:00
2022-03-28 12:35:59 +00:00
.. raw :: html
<hr class="docutils" style="margin: 50px 0 50px 0">
2022-04-19 18:15:47 +00:00
Get Started
-----------
2022-03-07 08:46:22 +00:00
.. raw :: html
<div class="tutorials-callout-container">
<div class="row">
.. Add callout items below this line
.. customcalloutitem ::
2022-04-19 18:15:47 +00:00
:description: Learn the 7 key steps of a typical Lightning workflow.
:header: Lightning in 15 minutes
2022-03-07 08:46:22 +00:00
:button_link: starter/introduction.html
2022-03-28 12:35:59 +00:00
2022-03-07 08:46:22 +00:00
.. customcalloutitem ::
2022-04-19 18:15:47 +00:00
:description: Learn how to benchmark PyTorch Lightning.
:header: Benchmarking
:button_link: benchmarking/benchmarks.html
2022-03-28 12:35:59 +00:00
2022-04-19 18:15:47 +00:00
.. raw :: html
2022-03-28 12:35:59 +00:00
2022-04-19 18:15:47 +00:00
</div>
</div>
2022-03-28 12:35:59 +00:00
2022-04-19 18:15:47 +00:00
.. End of callout item section
.. raw :: html
<hr class="docutils" style="margin: 50px 0 50px 0">
Current Lightning Users
-----------------------
.. raw :: html
<div class="tutorials-callout-container">
<div class="row">
.. Add callout items below this line
.. customcalloutitem ::
:description: Learn Lightning in small bites at 4 levels of expertise: Introductory, intermediate, advanced and expert.
:header: Level Up!
:button_link: expertise_levels.html
2022-03-28 12:35:59 +00:00
.. customcalloutitem ::
2022-04-19 18:15:47 +00:00
:description: Detailed description of API each package. Assumes you already have basic Lightning knowledge.
2022-03-28 12:35:59 +00:00
:header: API Reference
:button_link: api_references.html
2022-04-19 18:15:47 +00:00
.. customcalloutitem ::
:description: From NLP, Computer vision to RL and meta learning - see how to use Lightning in ALL research areas.
:header: Hands-on Examples
:button_link: tutorials.html
2022-03-28 12:35:59 +00:00
.. customcalloutitem ::
2022-07-15 15:07:40 +00:00
:description: Learn how to do everything from hyper-parameters sweeps to cloud training to Pruning and Quantization with Lightning.
2022-04-19 18:15:47 +00:00
:header: Common Workflows
2022-03-28 12:35:59 +00:00
:button_link: common_usecases.html
.. customcalloutitem ::
2022-04-19 18:15:47 +00:00
:description: Convert your current code to Lightning
:header: Convert code to PyTorch Lightning
:button_link: starter/converting.html
2022-03-28 12:35:59 +00:00
2022-03-07 08:46:22 +00:00
.. raw :: html
</div>
</div>
.. End of callout item section
2020-10-07 19:26:21 +00:00
2021-09-16 14:14:37 +00:00
.. raw :: html
<div style="display:none">
2019-12-07 05:23:48 +00:00
.. toctree ::
2020-01-17 11:03:31 +00:00
:maxdepth: 1
2019-12-07 05:23:48 +00:00
:name: start
2023-06-21 16:04:06 +00:00
:caption: Home
2019-12-07 05:23:48 +00:00
2022-03-03 10:19:05 +00:00
starter/introduction
2023-06-21 16:04:06 +00:00
Install <starter/installation>
2023-03-15 12:32:44 +00:00
upgrade/migration_guide
2022-04-19 18:15:47 +00:00
2020-08-30 15:01:16 +00:00
.. toctree ::
2022-04-19 18:15:47 +00:00
:maxdepth: 2
:name: levels
:caption: Level Up
2020-08-30 15:01:16 +00:00
2022-04-19 18:15:47 +00:00
levels/core_skills
levels/intermediate
levels/advanced
levels/expert
2020-10-12 15:13:26 +00:00
2020-08-30 13:31:36 +00:00
.. toctree ::
2023-04-05 16:06:40 +00:00
:maxdepth: 1
2020-08-30 13:31:36 +00:00
:name: pl_docs
2022-04-19 18:15:47 +00:00
:caption: Core API
2020-08-30 13:31:36 +00:00
2021-01-26 20:07:07 +00:00
common/lightning_module
common/trainer
2020-08-30 13:31:36 +00:00
2021-12-10 09:47:44 +00:00
.. toctree ::
2023-04-05 16:06:40 +00:00
:maxdepth: 1
2022-04-19 18:15:47 +00:00
:name: api
2023-04-05 16:06:40 +00:00
:caption: Optional API
2021-12-10 09:47:44 +00:00
2022-04-19 18:15:47 +00:00
api_references
2021-12-10 09:47:44 +00:00
2019-11-28 17:48:55 +00:00
.. toctree ::
:maxdepth: 1
2023-04-05 16:06:40 +00:00
:name: More
:caption: More
Community <community/index>
2023-06-21 16:04:06 +00:00
Examples <tutorials>
2023-04-05 16:06:40 +00:00
Glossary <glossary/index>
How to <common/index>
2019-11-28 17:48:55 +00:00
2021-09-16 14:14:37 +00:00
.. raw :: html
</div>
2022-11-03 14:55:30 +00:00
.. PyTorch-Lightning documentation master file, created by
sphinx-quickstart on Fri Nov 15 07:48:22 2019.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.