Skip to content

Commit 7cefa86

Browse files
kaushikb11lexierule
authored andcommitted
Remove shown_warnings dead code from Trainer (#9230)
1 parent 4b007e6 commit 7cefa86

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pytorch_lightning/trainer/trainer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@ def __init__(
407407
f"`weights_summary` can be None, {', '.join(ModelSummary.MODES)}, but got {weights_summary}"
408408
)
409409
self.weights_summary = weights_summary
410-
self.shown_warnings = set()
411410

412411
# init callbacks
413412
# Declare attributes to be set in callback_connector on_trainer_init

0 commit comments

Comments
 (0)