Skip to content

Commit 242afd1

Browse files
committed
Address review comments
1 parent 1c08b0a commit 242afd1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

docs/source-pytorch/common/checkpointing_basic.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -211,18 +211,6 @@ Resume training state
211211

212212
If you don't just want to load weights, but instead restore the full training, do the following:
213213

214-
.. warning::
215-
216-
The parameter `resume_from_checkpoint` has been deprecated in recent versions of PyTorch Lightning.
217-
Please use the `ckpt_path` argument in the `fit()` method instead.
218-
219-
Incorrect (deprecated) usage:
220-
221-
.. code-block:: python
222-
223-
trainer = Trainer(resume_from_checkpoint="path/to/your/checkpoint.ckpt")
224-
trainer.fit(model)
225-
226214
Correct usage:
227215

228216
.. code-block:: python

0 commit comments

Comments
 (0)