Skip to content

Commit 0ba7d1b

Browse files
committed
smaller fix
1 parent d8cb135 commit 0ba7d1b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lightning/pytorch/callbacks/model_checkpoint.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,5 +908,3 @@ def _should_remove_checkpoint(self, trainer: "pl.Trainer", previous: str, curren
908908
def _remove_checkpoint(self, trainer: "pl.Trainer", filepath: str) -> None:
909909
"""Calls the strategy to remove the checkpoint file."""
910910
trainer.strategy.remove_checkpoint(filepath)
911-
912-

0 commit comments

Comments
 (0)