Skip to content

Conversation

@PabloNA97
Copy link
Contributor

These changes are made to extend the available LR Schedulers to LR that monitor a metric like: ReduceLROnPlateau or OneCycleLR.

I think that in these cases one needs to change the instance of the LR Scheduler class by a dictionary containing that instance and also some configurations. Including the metric to 'monitor', see the Lightning manual

Hope it's useful :)

…monitor a metric

To use ReduceLROnPlateau or OneCycleLR we need to provide as output of configure_optimizers a dictionary (lr_scheduler_config) which contains the scheduler and its associated configuration
@codecov
Copy link

codecov bot commented Sep 18, 2025

Codecov Report

❌ Patch coverage is 72.72727% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.39%. Comparing base (e0f7afb) to head (3bcf9ee).
⚠️ Report is 3 commits behind head on main.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant