-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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í <carlossmocholi@gmail.com> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
- Loading branch information
1 parent
077106d
commit 2f39bb6
Showing
29 changed files
with
1,595 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
:orphan: | ||
|
||
.. include:: link_refs.rst | ||
|
||
Upgrade from 1.4 to the 2.0 | ||
########################### | ||
|
||
Regular User | ||
************ | ||
|
||
.. include:: sections/1_4_regular.rst | ||
.. include:: sections/1_5_regular.rst | ||
.. include:: sections/1_6_regular.rst | ||
.. include:: sections/1_7_regular.rst | ||
.. include:: sections/1_8_regular.rst | ||
.. include:: sections/1_9_regular.rst | ||
|
||
Advanced User | ||
************* | ||
|
||
.. include:: sections/1_4_advanced.rst | ||
.. include:: sections/1_5_advanced.rst | ||
.. include:: sections/1_6_advanced.rst | ||
.. include:: sections/1_7_advanced.rst | ||
.. include:: sections/1_8_advanced.rst | ||
.. include:: sections/1_9_advanced.rst | ||
|
||
Developer | ||
********* | ||
|
||
.. include:: sections/1_4_devel.rst | ||
.. include:: sections/1_5_devel.rst | ||
.. include:: sections/1_6_devel.rst | ||
.. include:: sections/1_7_devel.rst | ||
.. include:: sections/1_8_devel.rst | ||
.. include:: sections/1_9_devel.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
:orphan: | ||
|
||
.. include:: link_refs.rst | ||
|
||
Upgrade from 1.5 to the 2.0 | ||
########################### | ||
|
||
Regular User | ||
************ | ||
|
||
.. include:: sections/1_5_regular.rst | ||
.. include:: sections/1_6_regular.rst | ||
.. include:: sections/1_7_regular.rst | ||
.. include:: sections/1_8_regular.rst | ||
.. include:: sections/1_9_regular.rst | ||
|
||
Advanced User | ||
************* | ||
|
||
.. include:: sections/1_5_advanced.rst | ||
.. include:: sections/1_6_advanced.rst | ||
.. include:: sections/1_7_advanced.rst | ||
.. include:: sections/1_8_advanced.rst | ||
.. include:: sections/1_9_advanced.rst | ||
|
||
Developer | ||
********* | ||
|
||
.. include:: sections/1_5_devel.rst | ||
.. include:: sections/1_6_devel.rst | ||
.. include:: sections/1_7_devel.rst | ||
.. include:: sections/1_8_devel.rst | ||
.. include:: sections/1_9_devel.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
:orphan: | ||
|
||
.. include:: link_refs.rst | ||
|
||
Upgrade from 1.6 to the 2.0 | ||
########################### | ||
|
||
Regular User | ||
************ | ||
|
||
.. include:: sections/1_6_regular.rst | ||
.. include:: sections/1_7_regular.rst | ||
.. include:: sections/1_8_regular.rst | ||
.. include:: sections/1_9_regular.rst | ||
|
||
Advanced User | ||
************* | ||
|
||
.. include:: sections/1_6_advanced.rst | ||
.. include:: sections/1_7_advanced.rst | ||
.. include:: sections/1_8_advanced.rst | ||
.. include:: sections/1_9_advanced.rst | ||
|
||
Developer | ||
********* | ||
|
||
.. include:: sections/1_6_devel.rst | ||
.. include:: sections/1_7_devel.rst | ||
.. include:: sections/1_8_devel.rst | ||
.. include:: sections/1_9_devel.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
:orphan: | ||
|
||
.. include:: link_refs.rst | ||
|
||
Upgrade from 1.7 to the 2.0 | ||
########################### | ||
|
||
Regular User | ||
************ | ||
|
||
.. include:: sections/1_7_regular.rst | ||
.. include:: sections/1_8_regular.rst | ||
.. include:: sections/1_9_regular.rst | ||
|
||
Advanced User | ||
************* | ||
|
||
.. include:: sections/1_7_advanced.rst | ||
.. include:: sections/1_8_advanced.rst | ||
.. include:: sections/1_9_advanced.rst | ||
|
||
Developer | ||
********* | ||
|
||
.. include:: sections/1_7_devel.rst | ||
.. include:: sections/1_8_devel.rst | ||
.. include:: sections/1_9_devel.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
:orphan: | ||
|
||
.. include:: link_refs.rst | ||
|
||
Upgrade from 1.8 to the 2.0 | ||
########################### | ||
|
||
Regular User | ||
************ | ||
|
||
.. include:: sections/1_8_regular.rst | ||
.. include:: sections/1_9_regular.rst | ||
|
||
Advanced User | ||
************* | ||
|
||
.. include:: sections/1_8_advanced.rst | ||
.. include:: sections/1_9_advanced.rst | ||
|
||
Developer | ||
********* | ||
|
||
.. include:: sections/1_8_devel.rst | ||
.. include:: sections/1_9_devel.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
:orphan: | ||
|
||
.. include:: link_refs.rst | ||
|
||
Regular User | ||
************ | ||
|
||
.. include:: sections/1_9_regular.rst | ||
|
||
Advanced User | ||
************* | ||
|
||
.. include:: sections/1_9_advanced.rst | ||
|
||
Developer | ||
********* | ||
|
||
.. include:: sections/1_9_devel.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.. _Fabric: https://lightning.ai/docs/fabric/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
Guide how to upgrade to the 2.0 version | ||
####################################### | ||
|
||
The following section will guide you through updating to the 2.0 release. | ||
|
||
Particular versions | ||
******************* | ||
|
||
|
||
|
||
.. raw:: html | ||
|
||
<div class="display-card-container"> | ||
<div class="row"> | ||
|
||
.. Add callout items below this line | ||
.. displayitem:: | ||
:header: 1.9.x | ||
:description: Upgrade from 1.9.x series to the 2.0. | ||
:col_css: col-md-12 | ||
:button_link: 1_9.html | ||
:height: 100 | ||
|
||
.. displayitem:: | ||
:header: 1.8.x | ||
:description: Upgrade from 1.8.x series to the 2.0. | ||
:col_css: col-md-12 | ||
:button_link: 1_8.html | ||
:height: 100 | ||
|
||
.. displayitem:: | ||
:header: 1.7.x | ||
:description: Upgrade from 1.7.x series to the 2.0. | ||
:col_css: col-md-12 | ||
:button_link: 1_7.html | ||
:height: 100 | ||
|
||
.. displayitem:: | ||
:header: 1.6.x | ||
:description: Upgrade from 1.6.x series to the 2.0. | ||
:col_css: col-md-12 | ||
:button_link: 1_6.html | ||
:height: 100 | ||
|
||
.. displayitem:: | ||
:header: 1.5.x | ||
:description: Upgrade from 1.5.x series to the 2.0. | ||
:col_css: col-md-12 | ||
:button_link: 1_5.html | ||
:height: 100 | ||
|
||
.. displayitem:: | ||
:header: 1.4.x | ||
:description: Upgrade from 1.4.x series to the 2.0. | ||
:col_css: col-md-12 | ||
:button_link: 1_4.html | ||
:height: 100 | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.. list-table:: adv. user 1.4 | ||
:widths: 40 40 20 | ||
:header-rows: 1 | ||
|
||
* - If | ||
- Then | ||
- Ref | ||
|
||
* - called ``ModelCheckpoint.save_function`` | ||
- now call ``Trainer.save_checkpoint`` | ||
- #7201 | ||
|
||
* - accessed the ``Trainer.running_sanity_check`` property | ||
- now access the ``Trainer.sanity_checking`` property | ||
- #4945 | ||
|
||
* - used ``LightningModule.grad_norm`` | ||
- now use the ``pl.utilities.grad_norm`` utility function instead | ||
- #7292 | ||
|
||
* - used ``TrainerTrainingTricksMixin.detect_nan_tensors`` | ||
- now use ``pl.utilities.grads.grad_norm`` | ||
- #6834 | ||
|
||
* - used ``TrainerTrainingTricksMixin.print_nan_gradients`` | ||
- now use ``pl.utilities.finite_checks.print_nan_gradients`` | ||
- #6834 | ||
|
||
* - If you relied on ``TrainerLoggingMixin.metrics_to_scalars`` | ||
- now use ``pl.utilities.metrics.metrics_to_scalars`` | ||
- #7180 | ||
|
||
* - selected the i-th GPU with ``Trainer(gpus="i,j")`` | ||
- now this will set the number of GPUs, just like passing ``Trainer(devices=i)``, you can still select the specific GPU by setting the ``CUDA_VISIBLE_DEVICES=i,j`` environment variable | ||
- #6388 |
Empty file.
Oops, something went wrong.