|
8 | 8 |
|
9 | 9 | * - relied on the ``outputs`` in your ``LightningModule.on_train_epoch_end`` or ``Callback.on_train_epoch_end`` hooks
|
10 | 10 | - rely on either ``on_train_epoch_end`` or set outputs as attributes in your ``LightningModule`` instances and access them from the hook
|
11 |
| - - #7339 |
| 11 | + - `PR7339`_ |
12 | 12 |
|
13 | 13 | * - accessed ``Trainer.truncated_bptt_steps``
|
14 | 14 | - swicth to manual optimization
|
15 |
| - - #7323 |
| 15 | + - `PR7323`_ |
16 | 16 |
|
17 | 17 | * - called ``LightningModule.write_predictions`` and ``LightningModule.write_predictions_dict``
|
18 | 18 | - rely on ``predict_step`` and ``Trainer.predict`` + callbacks to write out predictions
|
19 |
| - - #7066 |
| 19 | + - `PR7066`_ |
20 | 20 |
|
21 | 21 | * - passed the ``period`` argument to the ``ModelCheckpoint`` callback
|
22 | 22 | - pass the ``every_n_epochs`` argument to the ``ModelCheckpoint`` callback
|
23 |
| - - #6146 |
| 23 | + - `PR6146`_ |
24 | 24 |
|
25 | 25 | * - passed the ``output_filename`` argument to ``Profiler``
|
26 | 26 | - now pass ``dirpath`` and ``filename``, that is ``Profiler(dirpath=...., filename=...)``
|
27 |
| - - #6621 |
| 27 | + - `PR6621`_ |
28 | 28 |
|
29 | 29 | * - passed the ``profiled_functions`` argument in ``PytorchProfiler``
|
30 | 30 | - now pass the ``record_functions`` argument
|
31 |
| - - #6349 |
| 31 | + - `PR6349`_ |
32 | 32 |
|
33 | 33 | * - relied on the ``@auto_move_data`` decorator to use the ``LightningModule`` outside of the ``Trainer`` for inference
|
34 | 34 | - use ``Trainer.predict``
|
35 |
| - - #6993 |
| 35 | + - `PR6993`_ |
36 | 36 |
|
37 | 37 | * - implemented ``on_load_checkpoint`` with a ``checkpoint`` only argument, as in ``Callback.on_load_checkpoint(checkpoint)``
|
38 | 38 | - now update the signature to include ``pl_module`` and ``trainer``, as in ``Callback.on_load_checkpoint(trainer, pl_module, checkpoint)``
|
39 |
| - - #7253 |
| 39 | + - `PR7253`_ |
40 | 40 |
|
41 | 41 | * - relied on ``pl.metrics``
|
42 | 42 | - now import separate package ``torchmetrics``
|
43 |
| - - https://torchmetrics.readthedocs.io/en/stable |
| 43 | + - `torchmetrics`_ |
44 | 44 |
|
45 | 45 | * - accessed ``datamodule`` attribute of ``LightningModule``, that is ``model.datamodule``
|
46 | 46 | - now access ``Trainer.datamodule``, that is ``model.trainer.datamodule``
|
47 |
| - - #7168 |
| 47 | + - `PR7168`_ |
| 48 | + |
| 49 | + |
| 50 | +.. _torchmetrics: https://torchmetrics.readthedocs.io/en/stable |
| 51 | +.. _pr7339: https://github.com/Lightning-AI/lightning/pull/7339 |
| 52 | +.. _pr7323: https://github.com/Lightning-AI/lightning/pull/7323 |
| 53 | +.. _pr7066: https://github.com/Lightning-AI/lightning/pull/7066 |
| 54 | +.. _pr6146: https://github.com/Lightning-AI/lightning/pull/6146 |
| 55 | +.. _pr6621: https://github.com/Lightning-AI/lightning/pull/6621 |
| 56 | +.. _pr6349: https://github.com/Lightning-AI/lightning/pull/6349 |
| 57 | +.. _pr6993: https://github.com/Lightning-AI/lightning/pull/6993 |
| 58 | +.. _pr7253: https://github.com/Lightning-AI/lightning/pull/7253 |
| 59 | +.. _pr7168: https://github.com/Lightning-AI/lightning/pull/7168 |
0 commit comments