-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Metal: Failed Assertion / Crash when trying to create arrays in double-precision #16435
Comments
Just to confirm, this is on the Apple metal backend, yes? (All of this should work fine on non-experimental backends) |
I think the Metal plugin simply doesn't support f64, but it should report it more gracefully. |
@hawkinsp , that's right. Metal doesn't have FP64 support, we will add support to fail more gracefully. |
@johnjmolina , this issue is not related to Empty shapes. We don't have support for FP64 and we will add error-checks early to exit gracefully. |
Thanks for the prompt reply, I understand the issue now. |
Are you planning on adding FP64 support? I would be really keen on that. |
While we are looking into the issue, FP64 support will NOT be there for sometime. |
@shuhand0 thank you for letting me know. |
Description
There seems to be an issue with casting for the edge case of size zero arrays.
The last two commands will crash the kernel
What jax/jaxlib version are you using?
jax 0.4.11, jaxlib 0.4.10, jax-metal 0.0.2
Which accelerator(s) are you using?
Apple GPU
Additional system info
No response
NVIDIA GPU info
No response
The text was updated successfully, but these errors were encountered: