Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for constants in Scheduler #62

Merged
merged 3 commits into from
Mar 5, 2024

Conversation

darsnack
Copy link
Member

@darsnack darsnack commented Mar 5, 2024

This allows Scheduler(AdamW, eta = 0.01, decay = Exp(5e-4, 0.8)) where eta is upgraded to a Constant schedule (like we do for constants in Sequence). Also fixes a bug related to keyword argument constructor for Scheduler.

Closes #61.

PR Checklist

  • Tests are added
  • Documentation, if applicable

@darsnack darsnack requested a review from ToucheSir March 5, 2024 15:40
@darsnack darsnack merged commit e2f05d1 into FluxML:main Mar 5, 2024
11 of 16 checks passed
@darsnack darsnack deleted the scheduler-w-constants branch March 5, 2024 20:47
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.

Initialising optimisers with constant parameters.
2 participants