Skip to content

Commit

Permalink
Fail tests on warning of scheduler being called before optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
akihironitta committed Mar 2, 2022
1 parent d923dff commit c14964a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ filterwarnings =
# error out on our deprecation warnings - ensures the code and tests are kept up-to-date
error::pytorch_lightning.utilities.rank_zero.LightningDeprecationWarning
error::FutureWarning
error:Detected call of `lr_scheduler.step\(\)` before `optimizer.step\(\)`:UserWarning
# warnings from deprecated modules on import
# TODO: remove in 1.7
ignore::pytorch_lightning.utilities.rank_zero.LightningDeprecationWarning:pytorch_lightning.core.decorators
Expand Down

0 comments on commit c14964a

Please sign in to comment.