Skip to content

Commit 3e71046

Browse files
authored
Remove shown_warnings dead code from Trainer (#9230)
1 parent cf2a008 commit 3e71046

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
@@ -408,7 +408,6 @@ def __init__(
408408
f"`weights_summary` can be None, {', '.join(ModelSummary.MODES)}, but got {weights_summary}"
409409
)
410410
self.weights_summary = weights_summary
411-
self.shown_warnings = set()
412411

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

0 commit comments

Comments
 (0)