From eb5dc53a820a35c5ca3f6d84b36929b51569b72d Mon Sep 17 00:00:00 2001 From: Xuejun Zhai Date: Sun, 15 Mar 2026 22:08:44 -0700 Subject: [PATCH] Fix error in test ops --- ggml/src/ggml-openvino/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-openvino/utils.cpp b/ggml/src/ggml-openvino/utils.cpp index c126005bce..40dbd90118 100644 --- a/ggml/src/ggml-openvino/utils.cpp +++ b/ggml/src/ggml-openvino/utils.cpp @@ -495,7 +495,7 @@ bool is_model_splitted(ggml_cgraph * cgraph) { } } // if all nodes's src node's src is not come from the nodes in the model, we think the model is splitted. This is a complementary check for the above check, because for some special case like the output node is not used by any node, the use count and input use count are both 0, we can not determine whether the model is splitted or not just based on the first check. - auto model_weights = GgmlOvDecoder::create_weight_nodes(cgraph); + auto model_weights = GgmlOvDecoder::create_weight_nodes(cgraph, true); std::set model_nodes(cgraph->nodes, cgraph->nodes + cgraph->n_nodes); // leaf nodes std::set model_leafs(cgraph->leafs, cgraph->leafs + cgraph->n_leafs);