-
Notifications
You must be signed in to change notification settings - Fork 404
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
RuntimeWarning: overflow encountered in cast v.numpy().astype("float16").tofile(output_bin_file) #408
Comments
+1, same error on MacOS, using the runwayml/stable-diffusion-v1-5 ckpt file. |
+1, same error on MacOS |
I faced the same error on Arch Linux, with Intel Core i9 10th gen CPU: Tried this models.
To avoid this error, I changed
After patching type in the convert.py script, all 3 models converted without issues. |
Got following warning when converting model
E:\Project\AiTheme\convert.py:42: RuntimeWarning: overflow encountered in cast
v.numpy().astype("float16").tofile(output_bin_file)
The text was updated successfully, but these errors were encountered: