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

OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory #43

Open
gongye19 opened this issue May 9, 2024 · 2 comments

Comments

@gongye19
Copy link

gongye19 commented May 9, 2024

parallel-sft训练完后保存的模型文件有问题,少了配置文件

OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found
in directory

@fe1ixxu
Copy link
Owner

fe1ixxu commented May 14, 2024

Could you please share you env config and training command? I re-run the script and I do not have this issue.

@gongye19
Copy link
Author

Could you please share you env config and training command? I re-run the script and I do not have this issue.

deepspeed 用zero3 以及cpu offload会导致最后保存的问题,我cpo阶段换成zero2就可以正常保存了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants