-
Notifications
You must be signed in to change notification settings - Fork 31.7k
fix block mask typing #36661
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
fix block mask typing #36661
Conversation
Co-authored-by: Cyril Vallez <[email protected]>
| if fixed_param_name not in expected_keys: | ||
| continue | ||
|
|
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.
BTW, this was done on purpose, to load the Gemma3CausalLM with accelerate. Before the TP loading was updated, we cropped prefix only after checking existence in expected keys
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.
For model actually modifying the keys, checking the serialized keys will basically skip everything 😅 Anyway, we will merge #36033 which will use a single key renaming at the very beginning to avoid these issues
LysandreJik
left a comment
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.
Ok good!
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
* fix block mask typing * updated Co-authored-by: Cyril Vallez <[email protected]> * gemma * fix --------- Co-authored-by: Cyril Vallez <[email protected]>
What does this PR do?
Super nit