Skip to content

Commit 2b3efea

Browse files
authored
kleidiai: fix GGML_ASSERT(*cur_backend_id != -1) failed (#15614)
* kleidiai: fix GGML_ASSERT(*cur_backend_id != -1) failed * removes the Whisper-specific check for GET_ROWS support
1 parent c0389db commit 2b3efea

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ggml/src/ggml-cpu/kleidiai/kleidiai.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,6 @@ class extra_buffer_type : ggml::cpu::extra_buffer_type {
515515
op->src[0]->buffer &&
516516
(ggml_n_dims(op->src[0]) == 2) &&
517517
op->src[0]->buffer->buft == ggml_backend_cpu_kleidiai_buffer_type() && ctx.kernels) {
518-
if (op->op == GGML_OP_GET_ROWS && op->src[1]->ne[0] != 8) {
519-
return false;
520-
}
521518
if (op->src[1]->buffer && !ggml_backend_buft_is_host(op->src[1]->buffer->buft)) {
522519
return false;
523520
}

0 commit comments

Comments
 (0)