File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
pytorch_lightning/trainer Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ def __init__(
133133 distributed_backend : Optional [str ] = None ,
134134 automatic_optimization : Optional [bool ] = None ,
135135 move_metrics_to_cpu : bool = False ,
136- enable_pl_optimizer : bool = True ,
136+ enable_pl_optimizer : bool = False ,
137137 multiple_trainloader_mode : str = 'max_size_cycle' ,
138138 ):
139139 r"""
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ def test_trainer_callback_system(torch_save):
3333 limit_train_batches = 3 ,
3434 limit_test_batches = 2 ,
3535 progress_bar_refresh_rate = 0 ,
36+ # todo: enabled since internally we wrap the model for optimizer step, this should be fixed
37+ enable_pl_optimizer = True
3638 )
3739
3840 # no call yet
You can’t perform that action at this time.
0 commit comments