From 2f2d45cc3a4d346a24c7e3522998ade8889f5006 Mon Sep 17 00:00:00 2001 From: Edward Shogulin Date: Fri, 2 Aug 2024 21:17:03 +0100 Subject: [PATCH] step3 --- .../snippets/aarch64/pass/snippets_mark_skipped.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/plugins/intel_cpu/src/transformations/snippets/aarch64/pass/snippets_mark_skipped.cpp b/src/plugins/intel_cpu/src/transformations/snippets/aarch64/pass/snippets_mark_skipped.cpp index 25168dc35bc447..337d2df387fccd 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/aarch64/pass/snippets_mark_skipped.cpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/aarch64/pass/snippets_mark_skipped.cpp @@ -7,6 +7,7 @@ #include "snippets/op/subgraph.hpp" #include "snippets/utils/utils.hpp" +#include "low_precision/rt_info/bias_attribute.hpp" #include "transformations/utils/utils.hpp" #include "transformations/utils.hpp" #include "utils/general_utils.h" @@ -205,6 +206,11 @@ bool SnippetsMarkSkipped::run_on_model(const std::shared_ptr &m) { for (auto &node : m->get_ordered_ops()) { if (is_skipped_op(node)) continue; + + if (ov::marked_as_bias(node)) { + SetNodeFusingType(node, NodeFusingType::FusedWithMisc); + } + if (isSuitableConvolutionParent(node)) { // Initiate fusing chain SetNodeFusingType(node, NodeFusingType::FusedWithConvolution);