Skip to content

Commit

Permalink
Change default for always_save_context to True (#11014)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishree <[email protected]>
Co-authored-by: Pablo Garay <[email protected]>
  • Loading branch information
2 people authored and yaoyu-33 committed Oct 25, 2024
1 parent 5f2c7fe commit d2ba2c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/lightning/pytorch/callbacks/model_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(
train_time_interval: Optional[timedelta] = None,
save_on_train_epoch_end: Optional[bool] = False, # Save after training, not after validation
save_optim_on_train_end: Optional[bool] = False,
always_save_context: bool = False,
always_save_context: bool = True,
save_context_on_train_end: bool = True,
**kwargs,
):
Expand Down

0 comments on commit d2ba2c3

Please sign in to comment.