From 299f4923bbb01ac24e660832d7b514fc281290ee Mon Sep 17 00:00:00 2001 From: "Yu, Zijun" Date: Sat, 11 Oct 2025 13:45:39 +0800 Subject: [PATCH] fix after rebasing --- ggml/src/ggml-openvino/ggml-openvino.cpp | 1 + ggml/src/ggml-openvino/openvino/op/set_rows.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ggml/src/ggml-openvino/ggml-openvino.cpp b/ggml/src/ggml-openvino/ggml-openvino.cpp index 648acb4e35..309fc19b37 100644 --- a/ggml/src/ggml-openvino/ggml-openvino.cpp +++ b/ggml/src/ggml-openvino/ggml-openvino.cpp @@ -70,6 +70,7 @@ static const ggml_backend_i ggml_backend_openvino_interface = { /* .graph_compute = */ ggml_backend_openvino_graph_compute, /* .event_record = */ NULL, /* .event_wait = */ NULL, + /* .graph_optimize = */ NULL, }; int ggml_backend_openvino_get_device_count() { diff --git a/ggml/src/ggml-openvino/openvino/op/set_rows.cpp b/ggml/src/ggml-openvino/openvino/op/set_rows.cpp index 0b2f29441a..001bd08773 100644 --- a/ggml/src/ggml-openvino/openvino/op/set_rows.cpp +++ b/ggml/src/ggml-openvino/openvino/op/set_rows.cpp @@ -25,7 +25,7 @@ namespace ggml { namespace op { OutputVector translate_set_rows(const NodeContext& context) { - num_inputs_check(context, 2, 2); + num_inputs_check(context, 3, 3); auto data = context.get_input(0); data = std::make_shared(data, context.get_output_type(0));