Back to Pytorch Lightning

1 5 Devel

docs/source-pytorch/upgrade/sections/1_5_devel.rst

2.6.4924 B
Original Source

.. list-table:: devel 1.5 :widths: 40 40 20 :header-rows: 1

    • If
    • Then
    • Ref
    • called CheckpointConnector.hpc_load()
    • just call CheckpointConnector.restore()
    • PR7652_
    • used TrainerModelHooksMixin
    • now rely on the corresponding utility functions in pytorch_lightning.utilities.signature_utils
    • PR7422_
    • assigned the Trainer.train_loop property
    • now assign the equivalent Trainer.fit_loop property
    • PR8025_
    • accessed LightningModule.loaded_optimizer_states_dict
    • the property has been removed
    • PR8229_

.. _pr7652: https://github.com/Lightning-AI/pytorch-lightning/pull/7652 .. _pr7422: https://github.com/Lightning-AI/pytorch-lightning/pull/7422 .. _pr8025: https://github.com/Lightning-AI/pytorch-lightning/pull/8025 .. _pr8229: https://github.com/Lightning-AI/pytorch-lightning/pull/8229