Skip to content

Commit 99af7ed

Browse files
committed
switch default on save on checkpoint on exception to false to don't intefere with current checkpoint behavoir
1 parent f0502ec commit 99af7ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/pytorch/callbacks/model_checkpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def __init__(
225225
verbose: bool = False,
226226
save_last: Optional[Union[bool, Literal["link"]]] = None,
227227
save_top_k: int = 1,
228-
save_on_exception: bool = True,
228+
save_on_exception: bool = False,
229229
save_weights_only: bool = False,
230230
mode: str = "min",
231231
auto_insert_metric_name: bool = True,

0 commit comments

Comments
 (0)