Skip to content

Commit 11a1d2e

Browse files
committed
prune
1 parent 4f4be42 commit 11a1d2e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pytorch_lightning/trainer/training_loop.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ def on_trainer_init(
7070
self.trainer.batch_idx = 0
7171
self.trainer.num_training_batches = 0
7272
self.trainer.train_dataloader = None
73-
self.automatic_optimization: bool = ...
7473

7574
# If neither max_epochs or max_steps is set, then use existing default of max_epochs = 1000
7675
self.trainer.max_epochs = 1000 if (max_epochs is None and max_steps is None) else max_epochs

0 commit comments

Comments
 (0)