-
Notifications
You must be signed in to change notification settings - Fork 419
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
model saving error #81
Comments
Your error is exceeding the GPU memory limit. It should be unrelated to model saving. Did your program train properly when it was running? |
No, when all the epochs completed, so they showing this behavior. We can not save llama weights like other model using trianer.save_pretrianed() method |
Same error to me! |
What is the version of your transformers? |
I solve the error.
And then save the model |
Same like you. |
@imrankh46 Our transformers is pulled directly from github, so there may be a slight difference. The commit hash of our transformers at the time was roughly the same as ff20f9cf3615a8638023bc82925573cb9d0f3560. Maybe you can slove the question by uninstalling transformers and reinstalling it as "git+https://github.com/huggingface/transformers@ff20f9cf3615a8638023bc82925573cb9d0f3560" |
I tried, but they not working. After saving they give out of cuda error. I will also try your approach.. |
same issue in other repo like you. You can also refer to their method to downgrade the version of bitsandbytes |
Thank you. |
the trainer not save the mode weights . its give me the following error
The text was updated successfully, but these errors were encountered: