-
Notifications
You must be signed in to change notification settings - Fork 143
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
Why I cannot save model? #97
Comments
RuntimeError:
|
Hi, Thanks a lot for your interest in the INSTRUCTOR model! Could you provide a short script for me to reproduce the error? |
I am getting the same error! I don't know how to solve this @hongjin-su I hope you would help me in this: Traceback (most recent call last): |
I have same issue 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████| 107/107 [01:25<00:00, 1.26it/s] |
raise RuntimeError(
RuntimeError:
Some tensors share memory, this will lead to duplicate memory on disk and potential differences when loading them again: [{'0.auto_model.shared.weight', '0.auto_model.encoder.embed_tokens.weight'}].
A potential way to correctly save your model is to use
save_model
.More information at https://huggingface.co/docs/safetensors/torch_shared_tensors
The text was updated successfully, but these errors were encountered: