diff --git a/src/cpp/src/llm_pipeline_static.cpp b/src/cpp/src/llm_pipeline_static.cpp index 652edc82f9..65f01ff193 100644 --- a/src/cpp/src/llm_pipeline_static.cpp +++ b/src/cpp/src/llm_pipeline_static.cpp @@ -34,6 +34,7 @@ namespace { namespace opp = ov::pass::pattern; class TransposeValueTensors : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("TransposeValueTensors"); struct Context { std::vector> new_params; std::vector> old_params; @@ -95,7 +96,7 @@ class TransposeValueTensors : public ov::pass::MatcherPass { class ScaledDotProductAttentionDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ScaledDotProductAttentionDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("ScaledDotProductAttentionDecomposition"); ScaledDotProductAttentionDecomposition() { auto pattern_node = ov::pass::pattern::wrap_type(); diff --git a/src/cpp/src/lora_adapter.cpp b/src/cpp/src/lora_adapter.cpp index f3c20fbfb4..2fd487f37f 100644 --- a/src/cpp/src/lora_adapter.cpp +++ b/src/cpp/src/lora_adapter.cpp @@ -473,7 +473,7 @@ struct LoRAWeightStateGetter { class LoRATransformBase : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LoRATransformBase"); + OPENVINO_MATCHER_PASS_RTTI("LoRATransformBase"); LoRATransformBase(const LoRAWeightByNodeGetter& lora_weight_getter) { register_matcher( @@ -693,7 +693,7 @@ class LoRAFuseTransform : public LoRATransformBase { public: - OPENVINO_RTTI("LoRAFuseTransform"); + OPENVINO_RTTI("LoRAFuseTransform", "genai", LoRATransformBase); LoRAFuseTransform(const LoRAWeightByNodeGetter& lora_weight_getter, const std::string& device_for_fusion = "CPU") : LoRATransformBase(lora_weight_getter), @@ -763,7 +763,7 @@ class LoRAFuseTransform : public LoRATransformBase { class LoRASeparateTransform : public LoRATransformBase { public: - OPENVINO_RTTI("LoRASeparateTransform"); + OPENVINO_RTTI("LoRASeparateTransform", "genai", LoRATransformBase); LoRASeparateTransform(const LoRAWeightByNodeGetter& lora_getter) : LoRATransformBase(lora_getter) {} diff --git a/src/cpp/src/whisper_pipeline_static.cpp b/src/cpp/src/whisper_pipeline_static.cpp index 91de478b1c..551774ec59 100644 --- a/src/cpp/src/whisper_pipeline_static.cpp +++ b/src/cpp/src/whisper_pipeline_static.cpp @@ -347,7 +347,7 @@ void add_attention_mask_input(std::shared_ptr model) { using namespace ov::op; class AttentionMaskInput : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AttentionMaskInput"); + OPENVINO_MATCHER_PASS_RTTI("AttentionMaskInput"); AttentionMaskInput(std::shared_ptr model) { auto range = wrap_type();