-
Notifications
You must be signed in to change notification settings - Fork 70
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
[BUG] Crash in MLXFast.scaledDotProductAttention
#172
Comments
So far I am unable to reproduce it. I tried to force the types like this (in case it was particular to the dtype):
However I can see the files in the mlx directory (note that they are not built from here, so this matches the problem description):
and I can see the header:
and the metal file isn't there:
|
What code are you using to trigger this failure? |
It looks like I need to hit the conditions for
|
Yes exactly. You can see some conditions which should hit it here |
Ah, I see the issue. This was added on 22 Nov and it was never in the list of metal files to build, so it is a matter of 1) narrow conditions, 2) new, and 3) never in the build. |
- steel_attenion.metal (new) was missing from the build
Version:
0.21.1
Error:
libc++abi: terminating due to uncaught exception of type std::runtime_error: [metal::Device] Unable to load function steel_attention_float32_bq32_bk32_bd64_wm4_wn1 Function steel_attention_float32_bq32_bk32_bd64_wm4_wn1 was not found in the library
It seems that the
update_mlx.sh
does not includesteel_attn
.The text was updated successfully, but these errors were encountered: