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

ScheduleFree AdamW Support #184

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ertugrul-dmr
Copy link

This pull request adds support for a new "schedule-free" optimizer as described in the paper Schedule-Free Optimizer for Fast Convergence. This optimizer can be easily integrated into any training pipeline without breaking existing functionality.
Usage

To use this optimizer, simply add the following configuration to your training setup:

lr: 5e-4
optimizer: "schedulefree"
optimizer_params:
    weight_decay: 0.1

While this optimizer promises faster convergence as per the paper, preliminary results suggest it may overfit or "burn out" quickly in certain cases. Optimal parameters are yet to be determined, so further experimentation may be required to fine-tune for specific tasks.

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