-
Notifications
You must be signed in to change notification settings - Fork 4.6k
allow seperate learning rate "muon_lr" and "adam_lr" for muon optimizer #7658
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
Conversation
Signed-off-by: Guokai Ma <[email protected]>
| if muon_params: | ||
| accepted_parameters = dict() | ||
| for key in ["lr", "momentum", "weight_decay"]: | ||
| for key in ["lr", "momentum", "weight_decay", "muon_lr"]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the user need to specific "muon_lr" for their training jobs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not mandatory, 'lr' will apply to both muon and adam. However, 'muon_lr' will be used if present. Same for 'adam_lr'. Thinking them as advanced user setting.
…er (deepspeedai#7658) This PR allows seperate learning rate for muon and adam part of the Muon optimizer. Following up deepspeedai#7657 Signed-off-by: Guokai Ma <[email protected]> Co-authored-by: Olatunji Ruwase <[email protected]> Signed-off-by: Luke Friedrichs <[email protected]>
…er (deepspeedai#7658) This PR allows seperate learning rate for muon and adam part of the Muon optimizer. Following up deepspeedai#7657 Signed-off-by: Guokai Ma <[email protected]> Co-authored-by: Olatunji Ruwase <[email protected]> Signed-off-by: Luke Friedrichs <[email protected]>
This PR allows seperate learning rate for muon and adam part of the Muon optimizer. Following up #7657