Skip to content

Commit 1296c2c

Browse files
committed
-#if !ENABLE_DYNAMIC_LOAD_MODEL_WEIGHTS
+#ifndef ENABLE_DYNAMIC_LOAD_MODEL_WEIGHTS
1 parent 3aad6b6 commit 1296c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpp/src/module_genai/modules/md_denoiser_loop/splitted_model_infer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ CSplittedModelInfer::CSplittedModelInfer(const std::string& model_path,
1515
: m_dynamic_load_model_weights(dynamic_load_model_weights),
1616
m_is_gpu(device.find("GPU") != std::string::npos || device.find("gpu") != std::string::npos),
1717
m_properties(properties) {
18-
#if !ENABLE_DYNAMIC_LOAD_MODEL_WEIGHTS
18+
#ifndef ENABLE_DYNAMIC_LOAD_MODEL_WEIGHTS
1919
OPENVINO_ASSERT(!m_dynamic_load_model_weights,
2020
"Dynamic loading of model weights is not enabled in this build. Please set "
2121
"ENABLE_DYNAMIC_LOAD_MODEL_WEIGHTS to 1 and rebuild.");

0 commit comments

Comments
 (0)