-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Proposed refactoring or deprecation
Move on_trainer_init function to trainer.py
https://github.com/PyTorchLightning/pytorch-lightning/blob/c9bc10ce8473a2249ffa4e00972c0c3c1d2641c4/pytorch_lightning/trainer/connectors/optimizer_connector.py#L26
Move update_learning_rates function to training_epoch_loop.py
https://github.com/PyTorchLightning/pytorch-lightning/blob/c9bc10ce8473a2249ffa4e00972c0c3c1d2641c4/pytorch_lightning/trainer/connectors/optimizer_connector.py#L31
Motivation
We are auditing the connectors, and optimizer_connector.py can easily be removed since it only has one significant function which is used in one place (training_epoch_loop.py)