Skip to content

Commit f6ea8b7

Browse files
committed
sycl : marks permuted MUL_MAT as unsupported
1 parent 17b8a2e commit f6ea8b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ggml/src/ggml-sycl.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -4350,6 +4350,10 @@ static bool ggml_backend_sycl_device_supports_op(ggml_backend_dev_t dev, const g
43504350
if (op->op == GGML_OP_MUL_MAT) {
43514351
a = op->src[0];
43524352
b = op->src[1];
4353+
if (ggml_is_permuted(a) || ggml_is_permuted(b)) {
4354+
// TODO: fix like https://github.com/ggerganov/llama.cpp/pull/10021
4355+
return false;
4356+
}
43534357
} else {
43544358
a = op->src[2];
43554359
b = op->src[1];

0 commit comments

Comments
 (0)