Save/load weight when using ZeRO #1341
Answered
by
ver217
Zjh-819
asked this question in
Community | Q&A
-
Hello, I don't know how to save model's params properly when using ZeRO. I used the save_checkpoint API, but when I check the .pt file manually, I found all params are of value '[]' except some biases. It seems that another user has encounetered the same problem, too(#1082 (comment)). But I didn't find any solution now. How can I fix this?
|
Beta Was this translation helpful? Give feedback.
Answered by
ver217
Jul 20, 2022
Replies: 1 comment 1 reply
-
Hi, you should save |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Zjh-819
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, you should save
engine.model