-
Notifications
You must be signed in to change notification settings - Fork 26.3k
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
It's an AlignModel or Deepspeed Zero3 bug. #28808
Comments
Hey! Could you give a reproducible snippet? 🤗 |
Sorry, this is a company project so I can't provide you with the relevant code. I recently located here in
this should be the place that is causing the error to be reported, in addition I've noticed that the shape of the Here's my zero3 config:
|
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Gentle ping @pacman100 as this looks possibly deepspeed related |
Gentle ping @SunMarc @muellerzr |
System Info
When I try to load the AlignModel weights locally and train them using zero3, I get the following error:
Switching to zero2 doesn't produce an error; also, ConvnextModel and ClipVisionModel don't report an error when trained under zero3, so I'm thinking that maybe there's a bug in AlignModel?
@amyeroberts @pacman100 @muellerz
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
1.
model =AlignModel.from_pretrained(path)
2.use zero3 to train model
3.get error about xavier_init
Expected behavior
The expected behavior is to be able to load models
The text was updated successfully, but these errors were encountered: