You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prior to #14113 the model below would converge to the optimal value using the learning rate suggested by the LR Finder. On the latest version (master), this is no longer the case. The PR #14113 introduced a regression.
The model does not longer converge to the optimal value, despite the LRFinder choosing the same optimal learning rate as in the previous version of Lightning.
Important info
#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow): Trainer
#- PyTorch Lightning Version (e.g., 1.5.0): 1.7.6 and master 1.8.0dev
#- Lightning App Version (e.g., 0.5.2): -
#- PyTorch Version (e.g., 1.10): 1.11
#- Python version (e.g., 3.9): 3.10
#- OS (e.g., Linux): MacOS
#- CUDA/cuDNN version: -
#- GPU models and configuration: -
#- How you installed Lightning(`conda`, `pip`, source): from source
#- Running environment of LightningApp (e.g. local, cloud): -
The text was updated successfully, but these errors were encountered:
Previously, on <=1.7.3 if you instantiate a new Trainer after tuning, then you get the same result as on master today, so the fix in #14113 is correct in the sense that the LR scheduler used during tuning gets removed properly before the real fit call.
I guess the previous version only worked because the scheduler from the tuner would help the model converge, even though the suggestion from the LR finder was bad. Hence, now that the tuner does no longer leave the scheduler behind, the bad learning rate is set at a constant and hence let's the model diverge.
Bug description
Prior to #14113 the model below would converge to the optimal value using the learning rate suggested by the LR Finder. On the latest version (master), this is no longer the case. The PR #14113 introduced a regression.
How to reproduce the bug
Error messages and logs
The model does not longer converge to the optimal value, despite the LRFinder choosing the same optimal learning rate as in the previous version of Lightning.
Important info
The text was updated successfully, but these errors were encountered: