Update ggml-decoder.cpp

This commit is contained in:
Arshath 2025-11-21 04:55:54 +05:30 committed by Mustafa Cavus
parent 11b4cc5a67
commit bed495226d
1 changed files with 3 additions and 4 deletions

View File

@ -65,12 +65,11 @@ GgmlOvDecoder::GgmlOvDecoder(ggml_cgraph * cgraph,
m_op_name(m_node ? std::string(m_node->name) : ""), m_op_name(m_node ? std::string(m_node->name) : ""),
m_model_weights(model_weights), m_model_weights(model_weights),
m_is_static(is_static) { m_is_static(is_static) {
/*if (auto * env = getenv("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS"); env && std::string(env) != "0") { if (auto * env = getenv("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS"); env && std::string(env) != "0") {
unsetenv("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS"); /* unsetenv("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS");
print_tensor_address_map(cgraph); print_tensor_address_map(cgraph);
}*/ }*/
if (auto* env = getenv("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS"); env && std::string(env) != "0") { #ifdef _WIN32
#ifdef _WIN32
_putenv_s("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS", ""); _putenv_s("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS", "");
#else #else
unsetenv("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS"); unsetenv("GGML_OPENVINO_PRINT_CGRAPH_TENSOR_ADDRESS");