From 11b4cc5a67620b680c1270a6cfa3549f8ee1bf1b Mon Sep 17 00:00:00 2001 From: Arshath Date: Fri, 21 Nov 2025 04:42:27 +0530 Subject: [PATCH] Update ggml-decoder.cpp --- ggml/src/ggml-openvino/ggml-decoder.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ggml/src/ggml-openvino/ggml-decoder.cpp b/ggml/src/ggml-openvino/ggml-decoder.cpp index ae559e41b9..2866eaa8a2 100644 --- a/ggml/src/ggml-openvino/ggml-decoder.cpp +++ b/ggml/src/ggml-openvino/ggml-decoder.cpp @@ -64,12 +64,11 @@ GgmlOvDecoder::GgmlOvDecoder(ggml_cgraph * cgraph, m_cgraph(cgraph), m_op_name(m_node ? std::string(m_node->name) : ""), m_model_weights(model_weights), - /*m_is_static(is_static) { - if (auto * env = getenv("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS"); env && std::string(env) != "0") { + m_is_static(is_static) { + /*if (auto * env = getenv("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS"); env && std::string(env) != "0") { unsetenv("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS"); print_tensor_address_map(cgraph); }*/ - m_is_static(is_static) { if (auto* env = getenv("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS"); env && std::string(env) != "0") { #ifdef _WIN32 _putenv_s("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS", "");