File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -264,11 +264,11 @@ def log(
264264 on_step : Optional [bool ] = None ,
265265 on_epoch : Optional [bool ] = None ,
266266 reduce_fx : Union [str , Callable ] = 'default' , # TODO: change to 'mean' when `sync_dist_op` is removed in 1.6
267- tbptt_reduce_fx : Optional [ Any ] = None , # noqa: Remove in 1.6
268- tbptt_pad_token : Optional [ Any ] = None , # noqa: Remove in 1.6
267+ tbptt_reduce_fx : Optional = None , # noqa: Remove in 1.6
268+ tbptt_pad_token : Optional = None , # noqa: Remove in 1.6
269269 enable_graph : bool = False ,
270270 sync_dist : bool = False ,
271- sync_dist_op : Optional [ Any ] = None , # noqa: Remove in 1.6
271+ sync_dist_op : Optional = None , # noqa: Remove in 1.6
272272 sync_dist_group : Optional [Any ] = None ,
273273 add_dataloader_idx : bool = True ,
274274 batch_size : Optional [int ] = None ,
Original file line number Diff line number Diff line change @@ -537,7 +537,6 @@ def validate(
537537 self .state .fn = TrainerFn .VALIDATING
538538 self .state .status = TrainerStatus .RUNNING
539539 self .validating = True
540- self .validated_ckpt_path : Optional [str ] = None
541540
542541 if val_dataloaders is not None :
543542 rank_zero_deprecation (
@@ -613,7 +612,6 @@ def test(
613612 self .state .fn = TrainerFn .TESTING
614613 self .state .status = TrainerStatus .RUNNING
615614 self .testing = True
616- self .tested_ckpt_path : Optional [str ] = None
617615
618616 if test_dataloaders is not None :
619617 rank_zero_deprecation (
You can’t perform that action at this time.
0 commit comments