From 2399961a1ff85b1277c76e764d62c1aa6abff459 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Fri, 11 Apr 2025 12:14:19 +0530 Subject: [PATCH 1/2] cpu: fix cpu backend's supports-op for GET_ROWS_BACK. fixes a fatal when running test-backend-ops with only the CPU backend (ggml/1190) --- ggml/src/ggml-cpu/ggml-cpu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ggml/src/ggml-cpu/ggml-cpu.cpp b/ggml/src/ggml-cpu/ggml-cpu.cpp index 09f8382b988a4..4b688a67eb23b 100644 --- a/ggml/src/ggml-cpu/ggml-cpu.cpp +++ b/ggml/src/ggml-cpu/ggml-cpu.cpp @@ -425,6 +425,8 @@ static bool ggml_backend_cpu_device_supports_op(ggml_backend_dev_t dev, const st } case GGML_OP_IM2COL_BACK: return src0->type == GGML_TYPE_F32 && src1->type == GGML_TYPE_F32; + case GGML_OP_GET_ROWS_BACK: + return src0->type == GGML_TYPE_F32 || src0->type == GGML_TYPE_F16; case GGML_OP_OUT_PROD: return (src0->type == GGML_TYPE_F32 || (ggml_is_quantized(src0->type) && src0->ne[2] == src1->ne[2] && src0->ne[3] == src1->ne[3])) && src1->type == GGML_TYPE_F32 && op->type == GGML_TYPE_F32; From f95d77a65f3ea407374e20437e76a0eee3452166 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 14 Apr 2025 08:52:10 +0300 Subject: [PATCH 2/2] sync : ggml ggml-ci --- scripts/sync-ggml.last | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync-ggml.last b/scripts/sync-ggml.last index 7111936baabc8..cad082a902c44 100644 --- a/scripts/sync-ggml.last +++ b/scripts/sync-ggml.last @@ -1 +1 @@ -2abf606f098844faebee578996cae9c6d63a40e2 +f71d538ece3fb32a04824dc6d1e73e360be9d22f