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

Is there any plan for Maximal Update Parametrization support ? #5388

Open
starlitsky2010 opened this issue Apr 11, 2024 · 1 comment
Open
Labels
feature Change that does not break compatibility, but affects the public interfaces.

Comments

@starlitsky2010
Copy link

Motivation

Support Maximal Update Parametrization as it could help get optimal HPs from small proxy models and apply them on large LLMs
Is there any plan for adding this feature?
More details, please refer to : https://github.com/microsoft/mup

Description

It will acclerate the LLMs development as optimal HPs could be found by small proxy models and apply them on large LLMS. And this will save a lot of training cost. So there are quite a lot benefits for the LLM community.

Alternatives (optional)

No response

Additional context (optional)

No response

@starlitsky2010 starlitsky2010 added the feature Change that does not break compatibility, but affects the public interfaces. label Apr 11, 2024
@contramundum53
Copy link
Member

contramundum53 commented Jun 3, 2024

Thank you for your suggestion!
MuP needs tightly coupled model implementation (i.e. you need MuReadout at appropriate place and also it has a special attention module) and optimizer (i.e. you need MuAdam/MuSGD). It's not something that can be implemented in Optuna and that users can forget everything about, but is more an application.
You need to carefully write your model & your training pipeline (correctly!) with the mup library, and after that Optuna can help with the hyperparameter tuning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Change that does not break compatibility, but affects the public interfaces.
Projects
None yet
Development

No branches or pull requests

2 participants