-
Notifications
You must be signed in to change notification settings - Fork 10.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
kompute: improve backend to pass test_backend_ops #10542
Conversation
Signed-off-by: Sergio Lopez <[email protected]>
Signed-off-by: Sergio Lopez <[email protected]>
Signed-off-by: Sergio Lopez <[email protected]>
Signed-off-by: Sergio Lopez <[email protected]>
Signed-off-by: Sergio Lopez <[email protected]>
Signed-off-by: Sergio Lopez <[email protected]>
Signed-off-by: Sergio Lopez <[email protected]>
I tried running
|
Thanks for letting me know. I guess the most likely explanation is that the kompute backend has trouble initializing devices other than the first one. I'll try to find some hardware to fix it in a future PR. |
* kompute: op_unary: reject unsupported parameters Signed-off-by: Sergio Lopez <[email protected]> * kompute: softmax: implement ALiBi support Signed-off-by: Sergio Lopez <[email protected]> * kompute: rope: implement neox and phi3 support Signed-off-by: Sergio Lopez <[email protected]> * kompute: op_mul_mat_q4_k permutted support Signed-off-by: Sergio Lopez <[email protected]> * kompute: op_mul_mat_[q4_0|q4_1|q8_0] permutted support Signed-off-by: Sergio Lopez <[email protected]> * kompute: op_mul_mat_f16 permutted support Signed-off-by: Sergio Lopez <[email protected]> * kompute: op_mul_mat_q6_k permutted support Signed-off-by: Sergio Lopez <[email protected]> --------- Signed-off-by: Sergio Lopez <[email protected]>
This is a first batch of improvements on the kompute backend to be able to pass
test_backend_ops
by fixing some bugs and adding some missing features. Tested on Apple Silicon (M1 GPU) and AMD (Vega 8).The next batch will extend
test_backend_ops
coverage by adding support for more operations.