Skip to content

Conversation

@felix-e-h-p
Copy link
Contributor

Relating to #487

Optimiser wrappers now return Lightning native configs, including monitor where needed, so Lightning handles stepping metric-based schedulers.

The learning rate is owned by optimiser wrapper - removing any coupling to model.lr.

All wrappers implement a consistent interface: AbstractOptimizer(model) - optimiser config.

Removes mixed return types and custom scheduler logic, permits Lightning drive scheduling.

@felix-e-h-p felix-e-h-p requested a review from dfulu January 6, 2026 15:37
@felix-e-h-p felix-e-h-p marked this pull request as ready for review January 6, 2026 15:37
Copy link
Member

@dfulu dfulu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@felix-e-h-p felix-e-h-p merged commit da5c9e9 into main Jan 6, 2026
6 checks passed
@felix-e-h-p felix-e-h-p deleted the l-centric-opt branch January 6, 2026 15:59
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.

3 participants