Skip to content

Commit 2f39bb6

Browse files
Bordapre-commit-ci[bot]carmocca
authored
docs: migration guide to the latest [1/n] (#17034)
* docs: migration guide - structure * update * try * ... * 1.9 * 1.8 * 1.7 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * cleaning 1.9 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * crosslink * ... * placeholder * 1.6 * placeholders * 1.5 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * 1.4 * Apply suggestions from code review Co-authored-by: Carlos Mocholí <[email protected]> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Carlos Mocholí <[email protected]>
1 parent 077106d commit 2f39bb6

29 files changed

+1595
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ test: clean
4747
python -m coverage report
4848

4949
docs: clean
50-
pip install -e . --quiet -r requirements/app/docs.txt
51-
cd docs/source-app && $(MAKE) html
50+
pip install -e . --quiet -r requirements/pytorch/docs.txt
51+
cd docs/source-pytorch && $(MAKE) html --jobs $(nproc)
5252

5353
update:
5454
git submodule update --init --recursive --remote

docs/source-pytorch/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ Current Lightning Users
155155

156156
starter/introduction
157157
starter/installation
158+
upgrade/migration_guide
158159

159160

160161
.. toctree::

docs/source-pytorch/past_versions.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,24 @@ Past PyTorch Lightning versions
33

44
PyTorch Lightning evolved over time. Here's the complete history of versions with links to their respective docs.
55

6+
TO help you with keeping up to spead, check :doc:`Migration guide <./upgrade/migration_guide>`.
67

78
.. list-table:: Past versions
8-
:widths: 10 50 40
9+
:widths: 5 50 30 15
910
:header-rows: 1
1011

1112
* - Version
1213
- Title
1314
- Bug-fix versions
15+
- Upgrade guide
1416

1517
* - `1.9 <https://github.com/Lightning-AI/lightning/releases/tag/1.9.0>`_
1618
- `Stability and additional improvements <https://pytorch-lightning.readthedocs.io/en/1.9.3>`_
1719
- `1.9.0 <https://pytorch-lightning.readthedocs.io/en/1.9.0>`_,
1820
`1.9.1 <https://pytorch-lightning.readthedocs.io/en/1.9.1>`_,
1921
`1.9.2 <https://pytorch-lightning.readthedocs.io/en/1.9.2>`_,
2022
`1.9.3 <https://pytorch-lightning.readthedocs.io/en/1.9.3>`_
23+
- :doc:`from 1.9 to 2.0 <upgrade/from_1_9>`
2124

2225
* - `1.8 <https://github.com/Lightning-AI/lightning/releases/tag/1.8.0>`_
2326
- `Colossal-AI Strategy, Commands and Secrets for Apps, FSDP Improvements and More! <https://pytorch-lightning.readthedocs.io/en/1.8.6>`_
@@ -28,6 +31,7 @@ PyTorch Lightning evolved over time. Here's the complete history of versions wit
2831
`1.8.4 <https://pytorch-lightning.readthedocs.io/en/1.8.4>`_,
2932
`1.8.5 <https://pytorch-lightning.readthedocs.io/en/1.8.5>`_,
3033
`1.8.6 <https://pytorch-lightning.readthedocs.io/en/1.8.6>`_
34+
- :doc:`from 1.8 to 2.0 <upgrade/from_1_8>`
3135

3236
* - `1.7 <https://github.com/Lightning-AI/lightning/releases/tag/1.7.0>`_
3337
- `Apple Silicon support, Native FSDP, Collaborative training, and multi-GPU support with Jupyter notebooks <https://pytorch-lightning.readthedocs.io/en/1.7.7>`_
@@ -39,6 +43,7 @@ PyTorch Lightning evolved over time. Here's the complete history of versions wit
3943
`1.7.5 <https://pytorch-lightning.readthedocs.io/en/1.7.5>`_,
4044
`1.7.6 <https://pytorch-lightning.readthedocs.io/en/1.7.6>`_,
4145
`1.7.7 <https://pytorch-lightning.readthedocs.io/en/1.7.7>`_
46+
- :doc:`from 1.7 to 2.0 <upgrade/from_1_7>`
4247

4348
* - `1.6 <https://github.com/Lightning-AI/lightning/releases/tag/1.6.0>`_
4449
- `Support Intel's Habana Accelerator, New efficient DDP strategy (Bagua), Manual Fault-tolerance, Stability and Reliability <https://pytorch-lightning.readthedocs.io/en/1.6.5>`_
@@ -48,6 +53,7 @@ PyTorch Lightning evolved over time. Here's the complete history of versions wit
4853
`1.6.3 <https://pytorch-lightning.readthedocs.io/en/1.6.3>`_,
4954
`1.6.4 <https://pytorch-lightning.readthedocs.io/en/1.6.4>`_,
5055
`1.6.5 <https://pytorch-lightning.readthedocs.io/en/1.6.5>`_
56+
- :doc:`from 1.6 to 2.0 <upgrade/from_1_6>`
5157

5258
* - `1.5 <https://github.com/Lightning-AI/lightning/releases/tag/1.5.0>`_
5359
- `LightningLite, Fault-Tolerant Training, Loop Customization, Lightning Tutorials, LightningCLI v2, RichProgressBar, CheckpointIO Plugin, and Trainer Strategy Flag <https://pytorch-lightning.readthedocs.io/en/1.5.10>`_
@@ -62,6 +68,7 @@ PyTorch Lightning evolved over time. Here's the complete history of versions wit
6268
`1.5.8 <https://pytorch-lightning.readthedocs.io/en/1.5.8>`_,
6369
`1.5.9 <https://pytorch-lightning.readthedocs.io/en/1.5.9>`_,
6470
`1.5.10 <https://pytorch-lightning.readthedocs.io/en/1.5.10>`_
71+
- :doc:`from 1.5 to 2.0 <upgrade/from_1_5>`
6572

6673
* - `1.4 <https://github.com/Lightning-AI/lightning/releases/tag/1.4.0>`_
6774
- `TPU Pod Training, IPU Accelerator, DeepSpeed Infinity, Fully Sharded Data Parallel <https://pytorch-lightning.readthedocs.io/en/1.4.9>`_
@@ -75,6 +82,7 @@ PyTorch Lightning evolved over time. Here's the complete history of versions wit
7582
`1.4.7 <https://pytorch-lightning.readthedocs.io/en/1.4.7>`_,
7683
`1.4.8 <https://pytorch-lightning.readthedocs.io/en/1.4.8>`_,
7784
`1.4.9 <https://pytorch-lightning.readthedocs.io/en/1.4.9>`_
85+
- :doc:`from 1.4 to 2.0 <upgrade/from_1_4>`
7886

7987
* - `1.3 <https://github.com/Lightning-AI/lightning/releases/tag/1.3.0>`_
8088
- `Lightning CLI, PyTorch Profiler, Improved Early Stopping <https://pytorch-lightning.readthedocs.io/en/1.3.8>`_
@@ -87,6 +95,7 @@ PyTorch Lightning evolved over time. Here's the complete history of versions wit
8795
`1.3.6 <https://pytorch-lightning.readthedocs.io/en/1.3.6>`_,
8896
`1.3.7 <https://pytorch-lightning.readthedocs.io/en/1.3.7>`_,
8997
`1.3.8 <https://pytorch-lightning.readthedocs.io/en/1.3.8>`_
98+
-
9099

91100
* - `1.2 <https://github.com/Lightning-AI/lightning/releases/tag/1.2.0>`_
92101
- `Pruning & Quantization & SWA <https://pytorch-lightning.readthedocs.io/en/1.2.10>`_
@@ -101,6 +110,7 @@ PyTorch Lightning evolved over time. Here's the complete history of versions wit
101110
`1.2.8 <https://pytorch-lightning.readthedocs.io/en/1.2.8>`_,
102111
`1.2.9 <https://pytorch-lightning.readthedocs.io/en/1.2.9>`_,
103112
`1.2.10 <https://pytorch-lightning.readthedocs.io/en/1.2.10>`_
113+
-
104114

105115
* - `1.1 <https://github.com/Lightning-AI/lightning/releases/tag/1.1.0>`_
106116
- `Model Parallelism Training and More Logging Options <https://pytorch-lightning.readthedocs.io/en/1.1.8>`_
@@ -113,6 +123,7 @@ PyTorch Lightning evolved over time. Here's the complete history of versions wit
113123
`1.1.6 <https://pytorch-lightning.readthedocs.io/en/1.1.6>`_,
114124
`1.1.7 <https://pytorch-lightning.readthedocs.io/en/1.1.7>`_,
115125
`1.1.8 <https://pytorch-lightning.readthedocs.io/en/1.1.8>`_
126+
-
116127

117128
* - `1.0 <https://github.com/Lightning-AI/lightning/releases/tag/1.0.0>`_
118129
- `General availability <https://pytorch-lightning.readthedocs.io/en/1.0.8>`_
@@ -125,3 +136,4 @@ PyTorch Lightning evolved over time. Here's the complete history of versions wit
125136
`1.0.6 <https://pytorch-lightning.readthedocs.io/en/1.0.6>`_,
126137
`1.0.7 <https://pytorch-lightning.readthedocs.io/en/1.0.7>`_,
127138
`1.0.8 <https://pytorch-lightning.readthedocs.io/en/1.0.8>`_
139+
-
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
:orphan:
2+
3+
.. include:: link_refs.rst
4+
5+
Upgrade from 1.4 to the 2.0
6+
###########################
7+
8+
Regular User
9+
************
10+
11+
.. include:: sections/1_4_regular.rst
12+
.. include:: sections/1_5_regular.rst
13+
.. include:: sections/1_6_regular.rst
14+
.. include:: sections/1_7_regular.rst
15+
.. include:: sections/1_8_regular.rst
16+
.. include:: sections/1_9_regular.rst
17+
18+
Advanced User
19+
*************
20+
21+
.. include:: sections/1_4_advanced.rst
22+
.. include:: sections/1_5_advanced.rst
23+
.. include:: sections/1_6_advanced.rst
24+
.. include:: sections/1_7_advanced.rst
25+
.. include:: sections/1_8_advanced.rst
26+
.. include:: sections/1_9_advanced.rst
27+
28+
Developer
29+
*********
30+
31+
.. include:: sections/1_4_devel.rst
32+
.. include:: sections/1_5_devel.rst
33+
.. include:: sections/1_6_devel.rst
34+
.. include:: sections/1_7_devel.rst
35+
.. include:: sections/1_8_devel.rst
36+
.. include:: sections/1_9_devel.rst
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
:orphan:
2+
3+
.. include:: link_refs.rst
4+
5+
Upgrade from 1.5 to the 2.0
6+
###########################
7+
8+
Regular User
9+
************
10+
11+
.. include:: sections/1_5_regular.rst
12+
.. include:: sections/1_6_regular.rst
13+
.. include:: sections/1_7_regular.rst
14+
.. include:: sections/1_8_regular.rst
15+
.. include:: sections/1_9_regular.rst
16+
17+
Advanced User
18+
*************
19+
20+
.. include:: sections/1_5_advanced.rst
21+
.. include:: sections/1_6_advanced.rst
22+
.. include:: sections/1_7_advanced.rst
23+
.. include:: sections/1_8_advanced.rst
24+
.. include:: sections/1_9_advanced.rst
25+
26+
Developer
27+
*********
28+
29+
.. include:: sections/1_5_devel.rst
30+
.. include:: sections/1_6_devel.rst
31+
.. include:: sections/1_7_devel.rst
32+
.. include:: sections/1_8_devel.rst
33+
.. include:: sections/1_9_devel.rst
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
:orphan:
2+
3+
.. include:: link_refs.rst
4+
5+
Upgrade from 1.6 to the 2.0
6+
###########################
7+
8+
Regular User
9+
************
10+
11+
.. include:: sections/1_6_regular.rst
12+
.. include:: sections/1_7_regular.rst
13+
.. include:: sections/1_8_regular.rst
14+
.. include:: sections/1_9_regular.rst
15+
16+
Advanced User
17+
*************
18+
19+
.. include:: sections/1_6_advanced.rst
20+
.. include:: sections/1_7_advanced.rst
21+
.. include:: sections/1_8_advanced.rst
22+
.. include:: sections/1_9_advanced.rst
23+
24+
Developer
25+
*********
26+
27+
.. include:: sections/1_6_devel.rst
28+
.. include:: sections/1_7_devel.rst
29+
.. include:: sections/1_8_devel.rst
30+
.. include:: sections/1_9_devel.rst
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
:orphan:
2+
3+
.. include:: link_refs.rst
4+
5+
Upgrade from 1.7 to the 2.0
6+
###########################
7+
8+
Regular User
9+
************
10+
11+
.. include:: sections/1_7_regular.rst
12+
.. include:: sections/1_8_regular.rst
13+
.. include:: sections/1_9_regular.rst
14+
15+
Advanced User
16+
*************
17+
18+
.. include:: sections/1_7_advanced.rst
19+
.. include:: sections/1_8_advanced.rst
20+
.. include:: sections/1_9_advanced.rst
21+
22+
Developer
23+
*********
24+
25+
.. include:: sections/1_7_devel.rst
26+
.. include:: sections/1_8_devel.rst
27+
.. include:: sections/1_9_devel.rst
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
:orphan:
2+
3+
.. include:: link_refs.rst
4+
5+
Upgrade from 1.8 to the 2.0
6+
###########################
7+
8+
Regular User
9+
************
10+
11+
.. include:: sections/1_8_regular.rst
12+
.. include:: sections/1_9_regular.rst
13+
14+
Advanced User
15+
*************
16+
17+
.. include:: sections/1_8_advanced.rst
18+
.. include:: sections/1_9_advanced.rst
19+
20+
Developer
21+
*********
22+
23+
.. include:: sections/1_8_devel.rst
24+
.. include:: sections/1_9_devel.rst
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
:orphan:
2+
3+
.. include:: link_refs.rst
4+
5+
Regular User
6+
************
7+
8+
.. include:: sections/1_9_regular.rst
9+
10+
Advanced User
11+
*************
12+
13+
.. include:: sections/1_9_advanced.rst
14+
15+
Developer
16+
*********
17+
18+
.. include:: sections/1_9_devel.rst
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.. _Fabric: https://lightning.ai/docs/fabric/

0 commit comments

Comments
 (0)