diff --git a/src/plugins/intel_cpu/src/plugin.cpp b/src/plugins/intel_cpu/src/plugin.cpp index 0f38e47572771e..458907970e708b 100644 --- a/src/plugins/intel_cpu/src/plugin.cpp +++ b/src/plugins/intel_cpu/src/plugin.cpp @@ -18,6 +18,7 @@ #include "utils/denormals.hpp" #include "utils/precision_support.h" #include "weights_cache.hpp" +#include "openvino/op/paged_attention.hpp" #if defined(__linux__) # include @@ -218,9 +219,9 @@ static Config::ModelType getModelType(const std::shared_ptr& model) if (op::util::has_op_with_type(model) || op::util::has_op_with_type(model)) return Config::ModelType::CNN; - - if (op::util::has_op_with_type(model) && - model->get_variables().size() > 0) + + if ((op::util::has_op_with_type(model) && model->get_variables().size() > 0) || + op::util::has_op_with_type(model)) return Config::ModelType::LLM; return Config::ModelType::Unknown;