-
Notifications
You must be signed in to change notification settings - Fork 12
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 #136. Updated eole/bin/model/average_models.py to work with safetensors model format. #137
Conversation
…ror when training multi-gpu
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.
Looks good! Can you just remove the unnecessary comments (mainly referring to the previous implementation)?
Thanks!
Note: agreed on the "maybe better implemented using model_saver classes", we need to create some subclass other than TrainingModelSaver for such purposes at some point.
Sure! done. I deleted all comments except for those in the Cheers, |
fix proposal for #136.
Updated eole/bin/model/average_models.py to work with safetensors model format.
The script now takes as input/ouput checkpoint directory paths instead of
.pt
model files.I've used
model_saver
package functions (eole/models/model_saver.py
) to load checkpoints.I tested it with a few models and results seem as expected, but feel free to check if code is correct.