diff --git a/.github/workflows/job_onnx_models_tests.yml b/.github/workflows/job_onnx_models_tests.yml
index 19bf3b23482b89..5cf311d52e193b 100644
--- a/.github/workflows/job_onnx_models_tests.yml
+++ b/.github/workflows/job_onnx_models_tests.yml
@@ -95,7 +95,7 @@ jobs:
- name: Install Python tests dependencies
run: |
# To enable pytest parallel features
- python3 -m pip install pytest-xdist[psutil] pytest-forked
+ python3 -m pip install pytest-xdist[psutil] pytest-forked pytest-randomly
- name: ONNX Models Tests
run: python3 -m pytest --backend="CPU" --model_zoo_dir="${MODELS_SHARE_PATH}" ${INSTALL_TEST_DIR}/onnx/tests/tests_python/test_zoo_models.py -v -n auto --forked -k 'not _cuda' --model_zoo_xfail
diff --git a/cmake/features.cmake b/cmake/features.cmake
index d37c113e866ab8..8709c48cc1c567 100644
--- a/cmake/features.cmake
+++ b/cmake/features.cmake
@@ -85,10 +85,11 @@ ov_dependent_option (ENABLE_PKGCONFIG_GEN "Enable openvino.pc pkg-config file ge
#
# "OneDNN library based on OMP or TBB or Sequential implementation: TBB|OMP|SEQ"
-if(RISCV64 OR ANDROID)
- # oneDNN does not support non-SEQ for RISC-V architecture
+if(ANDROID)
# on Android we experience SEGFAULT during compilation
set(THREADING_DEFAULT "SEQ")
+elseif(RISCV64)
+ set(THREADING_DEFAULT "OMP")
else()
set(THREADING_DEFAULT "TBB")
endif()
diff --git a/cmake/toolchains/riscv64-071-thead-gnu.toolchain.cmake b/cmake/toolchains/riscv64-071-thead-gnu.toolchain.cmake
index 5062350a9e439a..f5e9e68aabedc6 100644
--- a/cmake/toolchains/riscv64-071-thead-gnu.toolchain.cmake
+++ b/cmake/toolchains/riscv64-071-thead-gnu.toolchain.cmake
@@ -33,9 +33,6 @@ set(CMAKE_CXX_COMPILER ${RISCV_TOOLCHAIN_ROOT}/bin/riscv64-unknown-linux-gnu-g++
set(CMAKE_STRIP ${RISCV_TOOLCHAIN_ROOT}/bin/riscv64-unknown-linux-gnu-strip)
set(PKG_CONFIG_EXECUTABLE "NOT-FOUND" CACHE PATH "Path to RISC-V pkg-config")
-# Don't run the linker on compiler check
-set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
-
set(CMAKE_C_FLAGS_INIT "${CMAKE_C_FLAGS_INIT} -march=rv64gcv0p7_zfh_xtheadc -mabi=lp64d")
set(CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT} -march=rv64gcv0p7_zfh_xtheadc -mabi=lp64d")
diff --git a/cmake/toolchains/riscv64-100-thead-gnu.toolchain.cmake b/cmake/toolchains/riscv64-100-thead-gnu.toolchain.cmake
index 02b1cacd4fce76..e00e30f975598f 100644
--- a/cmake/toolchains/riscv64-100-thead-gnu.toolchain.cmake
+++ b/cmake/toolchains/riscv64-100-thead-gnu.toolchain.cmake
@@ -33,9 +33,6 @@ set(CMAKE_CXX_COMPILER ${RISCV_TOOLCHAIN_ROOT}/bin/riscv64-unknown-linux-gnu-g++
set(CMAKE_STRIP ${RISCV_TOOLCHAIN_ROOT}/bin/riscv64-unknown-linux-gnu-strip)
set(PKG_CONFIG_EXECUTABLE "NOT-FOUND" CACHE PATH "Path to RISC-V pkg-config")
-# Don't run the linker on compiler check
-set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
-
set(CMAKE_C_FLAGS_INIT "${CMAKE_C_FLAGS_INIT} -march=rv64gcv1p0_zfh -mabi=lp64d")
set(CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT} -march=rv64gcv1p0_zfh -mabi=lp64d")
diff --git a/docs/articles_en/about-openvino/performance-benchmarks.rst b/docs/articles_en/about-openvino/performance-benchmarks.rst
index 96ddcff022e237..7f838d62b18f1c 100644
--- a/docs/articles_en/about-openvino/performance-benchmarks.rst
+++ b/docs/articles_en/about-openvino/performance-benchmarks.rst
@@ -206,12 +206,11 @@ You can also test performance for your system yourself, following the guide on
Disclaimers
-
* Intel® Distribution of OpenVINO™ toolkit performance results are based on release
2024.3, as of July 31, 2024.
* OpenVINO Model Server performance results are based on release
- 2024.2, as of June 28, 2024.
+ 2024.3, as of Aug. 19, 2024.
The results may not reflect all publicly available updates. Intel technologies' features and
benefits depend on system configuration and may require enabled hardware, software, or service
diff --git a/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/bitwise/bitwise-left-shift-15.rst b/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/bitwise/bitwise-left-shift-15.rst
index e7116188685024..3e47e835fcdac8 100644
--- a/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/bitwise/bitwise-left-shift-15.rst
+++ b/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/bitwise/bitwise-left-shift-15.rst
@@ -25,7 +25,10 @@ After broadcasting input tensors *a* and *b*, *BitwiseLeftShift* performs a bitw
.. note::
If the number of shifts is negative, or if it equals or exceeds the total number of bits in the type **T**, the behavior can be undefined or implementation-defined (depends on the hardware).
+
+ Unsigned integer shift is always performed modulo 2^n where n is the number of bits in the type **T**.
+ When signed integer shift operation overflows (the result does not fit in the result type), the behavior is undefined.
**Attributes**:
diff --git a/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/bitwise/bitwise-right-shift-15.rst b/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/bitwise/bitwise-right-shift-15.rst
index 5ec3b3768fc23c..6dc3aeb23f7cfd 100644
--- a/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/bitwise/bitwise-right-shift-15.rst
+++ b/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/bitwise/bitwise-right-shift-15.rst
@@ -26,6 +26,9 @@ After broadcasting input tensors *a* and *b*, *BitwiseRightShift* performs a bit
If the number of shifts is negative, or if it equals or exceeds the total number of bits in the type **T**, the behavior can be undefined or implementation-defined (depends on the hardware).
+ Unsigned integer shift is always performed modulo 2^n where n is the number of bits in the type **T**.
+
+ When signed integer shift operation overflows (the result does not fit in the result type), the behavior is undefined.
**Attributes**:
diff --git a/docs/dev/build_riscv64.md b/docs/dev/build_riscv64.md
index 75d3782004f4dc..13ab9e98d56958 100644
--- a/docs/dev/build_riscv64.md
+++ b/docs/dev/build_riscv64.md
@@ -69,7 +69,9 @@ The software was validated on the following devices:
-DRISCV_TOOLCHAIN_ROOT=/opt/riscv
```
> **NOTE**: The `riscv-gnu-toolchain` is build as there are essential files used for cross compilation under `/opt/riscv/sysroot`. The latest stable versions of Clang or GCC both support compiling source code into RISC-V instructions, so it is acceptable to choose your preferable compilers by specifying `-DCMAKE_C_COMPILER` and `CMAKE_CXX_COMPILER`. But remember to add the key `-DCMAKE_SYSROOT=/opt/riscv/sysroot`, otherwise many fundamental headers and libs could not be found during cross compilation.
-
+
+ > **NOTE**: By default OpenVINO is built with OpenMP support on RISC-V devices.
+
Then run `make` to build the project:
```sh
make install -j$(nproc)
diff --git a/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-Performance-Data.xlsx b/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-Performance-Data.xlsx
index e89b5991029ad6..05de7365749228 100644
Binary files a/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-Performance-Data.xlsx and b/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-Performance-Data.xlsx differ
diff --git a/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-platform_list.pdf b/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-platform_list.pdf
index 09af72d6e37995..2de5261f98d5c6 100644
Binary files a/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-platform_list.pdf and b/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-platform_list.pdf differ
diff --git a/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-system-info-detailed.xlsx b/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-system-info-detailed.xlsx
index ab54576e0099f9..361ec61fe0807e 100644
Binary files a/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-system-info-detailed.xlsx and b/docs/sphinx_setup/_static/benchmarks_files/OV-2024.3-system-info-detailed.xlsx differ
diff --git a/docs/sphinx_setup/_static/benchmarks_files/OVMS-benchmark-data.csv b/docs/sphinx_setup/_static/benchmarks_files/OVMS-benchmark-data.csv
index 3ca1c7cc313491..10f573d9140388 100644
--- a/docs/sphinx_setup/_static/benchmarks_files/OVMS-benchmark-data.csv
+++ b/docs/sphinx_setup/_static/benchmarks_files/OVMS-benchmark-data.csv
@@ -1,78 +1,78 @@
-Network model,Release,IE-Type,Platform name,Throughput-OVMS-INT8,Throughput-OV-INT8,Throughput-OVMS-FP32,Throughput-OV-FP32,
-begin_rec,,,,,,,,
-bert-base-cased,OV-2024.2,xeon,Intel® Xeon® 8260M CPU-only,,484.765,486.962,181.829,179.94
-bert-base-cased,OV-2024.2,xeon,Intel® Xeon® Gold 6238M CPU-only,,430.151,434.276,157.835,158.277
-bert-base-cased,OV-2024.2,core,Intel® Core™ i9-11900K CPU-only,,101.044,102.838,35.727,36.57
-bert-base-cased,OV-2024.2,core,Intel® Core™ i7-11700K CPU-only,,100.741,103.322,35.046,36.607
-bert-base-cased,OV-2024.2,core,Intel® Core™ i3-10100 CPU-only,,26.124,26.329,17.155,17.387
-end_rec,,,,,,,,
-begin_rec,,,,,,,,
-bert-large-uncased,OV-2024.2,xeon,Intel® Xeon® 8260M CPU-only,,41.302,41.994,14.937,14.482
-bert-large-uncased,OV-2024.2,xeon,Intel® Xeon® Gold 6238M CPU-only,,36.595,37.1,13.114,13.03
-bert-large-uncased,OV-2024.2,core,Intel® Core™ i9-11900K CPU-only,,10.076,10.145,3.267,3.246
-bert-large-uncased,OV-2024.2,core,Intel® Core™ i7-11700K CPU-only,,10.161,10.203,3.287,3.26
-bert-large-uncased,OV-2024.2,core,Intel® Core™ i3-10100 CPU-only,,2.422,2.424,1.447,1.427
-end_rec,,,,,,,,
-begin_rec,,,,,,,,
-Efficientdet-D0,OV-2024.2,xeon,Intel® Xeon® 8260M CPU-only,,433.166,479.055,285.65,287.547
-Efficientdet-D0,OV-2024.2,xeon,Intel® Xeon® Gold 6238M CPU-only,,367.395,407,251.401,257.516
-Efficientdet-D0,OV-2024.2,core,Intel® Core™ i9-11900K CPU-only,,132.153,149.424,57.682,61.811
-Efficientdet-D0,OV-2024.2,core,Intel® Core™ i7-11700K CPU-only,,124.984,142.514,50.265,53.089
-Efficientdet-D0,OV-2024.2,core,Intel® Core™ i3-10100 CPU-only,,47.048,50.328,30.026,31.473
-end_rec,,,,,,,,
-begin_rec,,,,,,,,
-mask_rcnn_resnet50_atrous_coco,OV-2024.2,xeon,Intel® Xeon® 8260M CPU-only,,6.323,6.488,1.978,1.868
-mask_rcnn_resnet50_atrous_coco,OV-2024.2,xeon,Intel® Xeon® Gold 6238M CPU-only,,5.637,5.742,1.715,1.633
-mask_rcnn_resnet50_atrous_coco,OV-2024.2,core,Intel® Core™ i9-11900K CPU-only,,1.302,1.276,0.396,0.373
-mask_rcnn_resnet50_atrous_coco,OV-2024.2,core,Intel® Core™ i7-11700K CPU-only,,1.307,1.28,0.374,0.36
-mask_rcnn_resnet50_atrous_coco,OV-2024.2,core,Intel® Core™ i3-10100 CPU-only,,0.381,0.35,0.181,0.15
-end_rec,,,,,,,,
-begin_rec,,,,,,,,
-Mobilenet-V2 ,OV-2024.2,xeon,Intel® Xeon® 8260M CPU-only,,7578.115,12346.3,3354.203,3938.523
-Mobilenet-V2 ,OV-2024.2,xeon,Intel® Xeon® Gold 6238M CPU-only,,7513.034,10367.947,2915.906,3349.306
-Mobilenet-V2 ,OV-2024.2,core,Intel® Core™ i9-11900K CPU-only,,2152.015,2740.691,745.81,882.839
-Mobilenet-V2 ,OV-2024.2,core,Intel® Core™ i7-11700K CPU-only,,2093.311,2822.613,667.391,795.616
-Mobilenet-V2 ,OV-2024.2,core,Intel® Core™ i3-10100 CPU-only,,615.392,719.715,381.686,454.574
-end_rec,,,,,,,,
-begin_rec,,,,,,,,
-Resnet-50,OV-2024.2,xeon,Intel® Xeon® 8260M CPU-only,,2354.173,2482.832,639.577,645.443
-Resnet-50,OV-2024.2,xeon,Intel® Xeon® Gold 6238M CPU-only,,2070.726,2177.751,571.252,575.778
-Resnet-50,OV-2024.2,core,Intel® Core™ i9-11900K CPU-only,,440.402,458.622,114.169,116.577
-Resnet-50,OV-2024.2,core,Intel® Core™ i7-11700K CPU-only,,448.464,470.586,111.785,114.628
-Resnet-50,OV-2024.2,core,Intel® Core™ i3-10100 CPU-only,,114.267,118.502,57.29,58.233
-end_rec,,,,,,,,
-begin_rec,,,,,,,,
-SSD-Resnet34-1200 ,OV-2024.2,xeon,Intel® Xeon® 8260M CPU-only,,44.587,47.293,12.111,12.248
-SSD-Resnet34-1200 ,OV-2024.2,xeon,Intel® Xeon® Gold 6238M CPU-only,,38.784,40.602,10.521,10.613
-SSD-Resnet34-1200 ,OV-2024.2,core,Intel® Core™ i9-11900K CPU-only,,7.736,7.821,2.034,2.011
-SSD-Resnet34-1200 ,OV-2024.2,core,Intel® Core™ i7-11700K CPU-only,,7.953,8.033,2.083,2.058
-SSD-Resnet34-1200 ,OV-2024.2,core,Intel® Core™ i3-10100 CPU-only,,1.951,1.936,1.04,1.014
-end_rec,,,,,,,,
-begin_rec,,,,,,,,
-SSD_Mobilenet_V1_Coco,OV-2024.2,xeon,Intel® Xeon® 8260M CPU-only,,4753.674,4933.241,1370.423,1379.026
-SSD_Mobilenet_V1_Coco,OV-2024.2,xeon,Intel® Xeon® Gold 6238M CPU-only,,4165.318,4276.949,1197.151,1222.112
-SSD_Mobilenet_V1_Coco,OV-2024.2,core,Intel® Core™ i9-11900K CPU-only,,920.957,1001.56,270.597,281.293
-SSD_Mobilenet_V1_Coco,OV-2024.2,core,Intel® Core™ i7-11700K CPU-only,,941.323,1030.464,256.649,266.715
-SSD_Mobilenet_V1_Coco,OV-2024.2,core,Intel® Core™ i3-10100 CPU-only,,256.291,266.245,129.84,135.453
-end_rec,,,,,,,,
-begin_rec,,,,,,,,
-Unet-Camvid--0001 ,OV-2024.2,xeon,Intel® Xeon® 8260M CPU-only,,73.871,78.016,18.23,18.374
-Unet-Camvid--0001 ,OV-2024.2,xeon,Intel® Xeon® Gold 6238M CPU-only,,64.573,67.713,15.815,16.023
-Unet-Camvid--0001 ,OV-2024.2,core,Intel® Core™ i9-11900K CPU-only,,12.572,12.669,3.28,3.254
-Unet-Camvid--0001 ,OV-2024.2,core,Intel® Core™ i7-11700K CPU-only,,12.779,12.894,3.315,3.299
-Unet-Camvid--0001 ,OV-2024.2,core,Intel® Core™ i3-10100 CPU-only,,2.99,2.971,1.549,1.542
-end_rec,,,,,,,,
-begin_rec,,,,,,,,
-Yolo_V3_Tiny,OV-2024.2,xeon,Intel® Xeon® 8260M CPU-only,,1863.229,2344.128,775.001,786.09
-Yolo_V3_Tiny,OV-2024.2,xeon,Intel® Xeon® Gold 6238M CPU-only,,1669.35,2066.437,675.625,703.203
-Yolo_V3_Tiny,OV-2024.2,core,Intel® Core™ i9-11900K CPU-only,,430.441,505.532,146.284,151.09
-Yolo_V3_Tiny,OV-2024.2,core,Intel® Core™ i7-11700K CPU-only,,419.347,513.112,142.009,148.117
-Yolo_V3_Tiny,OV-2024.2,core,Intel® Core™ i3-10100 CPU-only,,117.889,133.312,63.598,69.377
-end_rec,,,,,,,,
-begin_rec,,,,,,,,
-Yolo_V8n,OV-2024.2,xeon,Intel® Xeon® 8260M CPU-only,,705.714,845.484,316.319,388.763
-Yolo_V8n,OV-2024.2,xeon,Intel® Xeon® Gold 6238M CPU-only,,641.815,746.965,278.824,338.806
-Yolo_V8n,OV-2024.2,core,Intel® Core™ i9-11900K CPU-only,,154.54,205.294,67.744,75.634
-Yolo_V8n,OV-2024.2,core,Intel® Core™ i7-11700K CPU-only,,149.289,199.997,65.243,72.677
-Yolo_V8n,OV-2024.2,core,Intel® Core™ i3-10100 CPU-only,,55.999,68.155,34.454,38.544
-end_rec,,,,,,,,
\ No newline at end of file
+Network model,Release,IE-Type,Platform name,Throughput-OVMS-INT8,Throughput-OV-INT8,Throughput-OVMS-FP32,Throughput-OV-FP32,UOM_T
+begin_rec,,,,,,,,
+bert-base-cased,OV-2024.3,xeon,Intel® Xeon® 8260M CPU-only,479.649,482.878,180.7,179.541,FPS
+bert-base-cased,OV-2024.3,xeon,Intel® Xeon® Gold 6238M CPU-only,428.173,430.397,156.73,159.276,FPS
+bert-base-cased,OV-2024.3,core,Intel® Core™ i9-11900K CPU-only,100.783,101.983,35.711,36.35,FPS
+bert-base-cased,OV-2024.3,core,Intel® Core™ i7-11700K CPU-only,98.441,102.62,34.303,36.096,FPS
+bert-base-cased,OV-2024.3,core,Intel® Core™ i3-10100 CPU-only,26.185,26.436,17.108,17.395,FPS
+end_rec,,,,,,,,
+begin_rec,,,,,,,,
+bert-large-uncased,OV-2024.3,xeon,Intel® Xeon® 8260M CPU-only,41.872,42.401,14.949,14.473,FPS
+bert-large-uncased,OV-2024.3,xeon,Intel® Xeon® Gold 6238M CPU-only,37.05,37.864,13.075,13.031,FPS
+bert-large-uncased,OV-2024.3,core,Intel® Core™ i9-11900K CPU-only,10.047,10.111,3.259,3.237,FPS
+bert-large-uncased,OV-2024.3,core,Intel® Core™ i7-11700K CPU-only,9.961,10.167,3.236,3.224,FPS
+bert-large-uncased,OV-2024.3,core,Intel® Core™ i3-10100 CPU-only,2.43,2.427,1.447,1.428,FPS
+end_rec,,,,,,,,
+begin_rec,,,,,,,,
+Efficientdet-D0,OV-2024.3,xeon,Intel® Xeon® 8260M CPU-only,439.435,485.287,274.772,272.856,FPS
+Efficientdet-D0,OV-2024.3,xeon,Intel® Xeon® Gold 6238M CPU-only,376.1,415.275,253.829,259.188,FPS
+Efficientdet-D0,OV-2024.3,core,Intel® Core™ i9-11900K CPU-only,131.735,148.558,57.036,59.907,FPS
+Efficientdet-D0,OV-2024.3,core,Intel® Core™ i7-11700K CPU-only,119.798,140.129,,,FPS
+Efficientdet-D0,OV-2024.3,core,Intel® Core™ i3-10100 CPU-only,47.382,50.573,30.226,31.492,FPS
+end_rec,,,,,,,,
+begin_rec,,,,,,,,
+mask_rcnn_resnet50_atrous_coco,OV-2024.3,xeon,Intel® Xeon® 8260M CPU-only,6.306,6.364,1.96,1.868,FPS
+mask_rcnn_resnet50_atrous_coco,OV-2024.3,xeon,Intel® Xeon® Gold 6238M CPU-only,5.652,5.771,1.714,1.639,FPS
+mask_rcnn_resnet50_atrous_coco,OV-2024.3,core,Intel® Core™ i9-11900K CPU-only,1.309,1.267,0.396,0.371,FPS
+mask_rcnn_resnet50_atrous_coco,OV-2024.3,core,Intel® Core™ i7-11700K CPU-only,1.293,1.271,0.355,0.346,FPS
+mask_rcnn_resnet50_atrous_coco,OV-2024.3,core,Intel® Core™ i3-10100 CPU-only,0.38,0.352,0.182,0.151,FPS
+end_rec,,,,,,,,
+begin_rec,,,,,,,,
+Mobilenet-V2 ,OV-2024.3,xeon,Intel® Xeon® 8260M CPU-only,7563.199,12406.597,3336.015,3972.673,FPS
+Mobilenet-V2 ,OV-2024.3,xeon,Intel® Xeon® Gold 6238M CPU-only,7475.62,10373.146,2934.976,3381.725,FPS
+Mobilenet-V2 ,OV-2024.3,core,Intel® Core™ i9-11900K CPU-only,2158.818,2742.363,740.988,874.037,FPS
+Mobilenet-V2 ,OV-2024.3,core,Intel® Core™ i7-11700K CPU-only,2042.633,2809.471,631.59,759.984,FPS
+Mobilenet-V2 ,OV-2024.3,core,Intel® Core™ i3-10100 CPU-only,614.174,718.416,381.882,455.793,FPS
+end_rec,,,,,,,,
+begin_rec,,,,,,,,
+Resnet-50,OV-2024.3,xeon,Intel® Xeon® 8260M CPU-only,2356.238,2483.3,628.616,635.411,FPS
+Resnet-50,OV-2024.3,xeon,Intel® Xeon® Gold 6238M CPU-only,2071.836,2202.317,568.945,575.057,FPS
+Resnet-50,OV-2024.3,core,Intel® Core™ i9-11900K CPU-only,440.533,458.665,113.442,116.116,FPS
+Resnet-50,OV-2024.3,core,Intel® Core™ i7-11700K CPU-only,441.7,469.848,107.395,113.605,FPS
+Resnet-50,OV-2024.3,core,Intel® Core™ i3-10100 CPU-only,114.045,118.024,57.165,58.366,FPS
+end_rec,,,,,,,,
+begin_rec,,,,,,,,
+SSD-Resnet34-1200 ,OV-2024.3,xeon,Intel® Xeon® 8260M CPU-only,44.499,47.251,12.074,12.167,FPS
+SSD-Resnet34-1200 ,OV-2024.3,xeon,Intel® Xeon® Gold 6238M CPU-only,38.714,40.662,10.504,10.653,FPS
+SSD-Resnet34-1200 ,OV-2024.3,core,Intel® Core™ i9-11900K CPU-only,7.756,7.818,2.029,2.005,FPS
+SSD-Resnet34-1200 ,OV-2024.3,core,Intel® Core™ i7-11700K CPU-only,7.929,8.032,2.072,2.054,FPS
+SSD-Resnet34-1200 ,OV-2024.3,core,Intel® Core™ i3-10100 CPU-only,1.947,1.937,1.037,1.008,FPS
+end_rec,,,,,,,,
+begin_rec,,,,,,,,
+SSD_Mobilenet_V1_Coco,OV-2024.3,xeon,Intel® Xeon® 8260M CPU-only,4732.691,4875.291,1362.268,1375.237,FPS
+SSD_Mobilenet_V1_Coco,OV-2024.3,xeon,Intel® Xeon® Gold 6238M CPU-only,4168.575,4279.825,1199.883,1226.189,FPS
+SSD_Mobilenet_V1_Coco,OV-2024.3,core,Intel® Core™ i9-11900K CPU-only,921.041,1001.672,268.066,280.987,FPS
+SSD_Mobilenet_V1_Coco,OV-2024.3,core,Intel® Core™ i7-11700K CPU-only,915.4,1028.233,244.534,260.822,FPS
+SSD_Mobilenet_V1_Coco,OV-2024.3,core,Intel® Core™ i3-10100 CPU-only,256.018,266.401,129.917,135.312,FPS
+end_rec,,,,,,,,
+begin_rec,,,,,,,,
+Unet-Camvid--0001 ,OV-2024.3,xeon,Intel® Xeon® 8260M CPU-only,73.429,77.693,18.104,17.938,FPS
+Unet-Camvid--0001 ,OV-2024.3,xeon,Intel® Xeon® Gold 6238M CPU-only,64.29,67.517,15.777,15.927,FPS
+Unet-Camvid--0001 ,OV-2024.3,core,Intel® Core™ i9-11900K CPU-only,12.574,12.628,3.267,3.253,FPS
+Unet-Camvid--0001 ,OV-2024.3,core,Intel® Core™ i7-11700K CPU-only,12.718,12.881,3.272,3.297,FPS
+Unet-Camvid--0001 ,OV-2024.3,core,Intel® Core™ i3-10100 CPU-only,2.995,2.976,1.555,1.53,FPS
+end_rec,,,,,,,,
+begin_rec,,,,,,,,
+Yolo_V3_Tiny,OV-2024.3,xeon,Intel® Xeon® 8260M CPU-only,1842.129,2317.052,755.451,777.681,FPS
+Yolo_V3_Tiny,OV-2024.3,xeon,Intel® Xeon® Gold 6238M CPU-only,1667.812,2056.27,675.447,704.412,FPS
+Yolo_V3_Tiny,OV-2024.3,core,Intel® Core™ i9-11900K CPU-only,431.387,504.093,145.92,151.499,FPS
+Yolo_V3_Tiny,OV-2024.3,core,Intel® Core™ i7-11700K CPU-only,409.268,516.794,139.903,147.235,FPS
+Yolo_V3_Tiny,OV-2024.3,core,Intel® Core™ i3-10100 CPU-only,117.276,133.578,65.341,69.29,FPS
+end_rec,,,,,,,,
+begin_rec,,,,,,,,
+Yolo_V8n,OV-2024.3,xeon,Intel® Xeon® 8260M CPU-only,,,314.652,386.299,FPS
+Yolo_V8n,OV-2024.34,xeon,Intel® Xeon® Gold 6238M CPU-only,,,282.302,340.845,FPS
+Yolo_V8n,OV-2024.65,core,Intel® Core™ i9-11900K CPU-only,153.817,204.691,67.421,74.996,FPS
+Yolo_V8n,OV-2024.96,core,Intel® Core™ i7-11700K CPU-only,143.19,197.409,62.948,70.913,FPS
+Yolo_V8n,OV-2024.127,core,Intel® Core™ i3-10100 CPU-only,56.244,67.968,34.396,38.576,FPS
+end_rec,,,,,,,,
diff --git a/docs/sphinx_setup/conf.py b/docs/sphinx_setup/conf.py
index 5b679d10213774..ea144ca84d6154 100644
--- a/docs/sphinx_setup/conf.py
+++ b/docs/sphinx_setup/conf.py
@@ -113,8 +113,6 @@
"show_prev_next": False,
}
-snippet_root = os.getenv("SNIPPET_ROOT", "")
-
html_sidebars = {
"**": ["search-field.html", "sidebar-nav-bs.html", "sidebar-ethical-ads.html"]
}
@@ -123,7 +121,8 @@
'current_language': 'English',
#'languages': (('English', '/latest'), ('Chinese', '/cn/latest')),
'doxygen_mapping_file': '@DOXYGEN_MAPPING_FILE@',
- 'doxygen_snippet_root': snippet_root,
+ # go back fours 3 steps down in directory to reach openvino dir
+ 'doxygen_snippet_root': os.path.abspath(os.path.join(os.path.dirname(__file__), '../../../')),
'default_mode': 'light'
}
diff --git a/src/bindings/js/node/package-lock.json b/src/bindings/js/node/package-lock.json
index ce4f932455c933..89c00b035fa5a9 100644
--- a/src/bindings/js/node/package-lock.json
+++ b/src/bindings/js/node/package-lock.json
@@ -1456,12 +1456,12 @@
}
},
"node_modules/micromatch": {
- "version": "4.0.5",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
- "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
"dev": true,
"dependencies": {
- "braces": "^3.0.2",
+ "braces": "^3.0.3",
"picomatch": "^2.3.1"
},
"engines": {
diff --git a/src/bindings/python/src/pyopenvino/core/remote_tensor.cpp b/src/bindings/python/src/pyopenvino/core/remote_tensor.cpp
index 141e1eaa39c47d..26658c62140228 100644
--- a/src/bindings/python/src/pyopenvino/core/remote_tensor.cpp
+++ b/src/bindings/python/src/pyopenvino/core/remote_tensor.cpp
@@ -14,6 +14,23 @@ namespace py = pybind11;
void regclass_RemoteTensor(py::module m) {
py::class_> cls(m, "RemoteTensor");
+ cls.def(py::init([](RemoteTensorWrapper& tensor_wrapper, ov::Coordinate& begin, ov::Coordinate& end) {
+ return RemoteTensorWrapper(ov::RemoteTensor(tensor_wrapper.tensor, begin, end));
+ }),
+ py::arg("remote_tensor"),
+ py::arg("begin"),
+ py::arg("end"),
+ R"(
+ Constructs a RoiRemoteTensor object using a specified range of coordinates on an existing RemoteTensor.
+
+ :param remote_tensor: The RemoteTensor object on which the RoiRemoteTensor will be based.
+ :type remote_tensor: openvino.RemoteTensor
+ :param begin: The starting coordinates for the tensor bound.
+ :type begin: openvino.runtime.Coordinate
+ :param end: The ending coordinates for the tensor bound.
+ :type end: openvino.runtime.Coordinate
+ )");
+
cls.def(
"get_device_name",
[](RemoteTensorWrapper& self) {
@@ -44,13 +61,82 @@ void regclass_RemoteTensor(py::module m) {
cls.def(
"copy_to",
- [](RemoteTensorWrapper& self, py::object& dst) {
- Common::utils::raise_not_implemented();
+ [](RemoteTensorWrapper& self, RemoteTensorWrapper& dst) {
+ self.tensor.copy_to(dst.tensor);
+ },
+ py::arg("target_tensor"),
+ R"(
+ Copy tensor's data to a destination remote tensor. The destination tensor should have the same element type.
+ In case of RoiTensor, the destination tensor should also have the same shape.
+
+ :param target_tensor: The destination remote tensor to which the data will be copied.
+ :type target_tensor: openvino.RemoteTensor
+ )");
+
+ cls.def(
+ "copy_to",
+ [](RemoteTensorWrapper& self, ov::Tensor& dst) {
+ self.tensor.copy_to(dst);
+ },
+ py::arg("target_tensor"),
+ R"(
+ Copy tensor's data to a destination tensor. The destination tensor should have the same element type.
+ In case of RoiTensor, the destination tensor should also have the same shape.
+
+ :param target_tensor: The destination tensor to which the data will be copied.
+ :type target_tensor: openvino.Tensor
+ )");
+
+ cls.def(
+ "copy_from",
+ [](RemoteTensorWrapper& self, RemoteTensorWrapper& src) {
+ self.tensor.copy_from(src.tensor);
+ },
+ py::arg("source_tensor"),
+ R"(
+ Copy source remote tensor's data to this tensor. Tensors should have the same element type.
+ In case of RoiTensor, tensors should also have the same shape.
+
+ :param source_tensor: The source remote tensor from which the data will be copied.
+ :type source_tensor: openvino.RemoteTensor
+ )");
+
+ cls.def(
+ "copy_from",
+ [](RemoteTensorWrapper& self, ov::Tensor& src) {
+ self.tensor.copy_from(src);
+ },
+ py::arg("source_tensor"),
+ R"(
+ Copy source tensor's data to this tensor. Tensors should have the same element type and shape.
+ In case of RoiTensor, tensors should also have the same shape.
+
+ :param source_tensor: The source tensor from which the data will be copied.
+ :type source_tensor: openvino.Tensor
+ )");
+
+ cls.def(
+ "get_shape",
+ [](RemoteTensorWrapper& self) {
+ return self.tensor.get_shape();
},
R"(
- This method is not implemented.
+ Gets Tensor's shape.
+
+ :rtype: openvino.Shape
)");
+ cls.def(
+ "get_byte_size",
+ [](RemoteTensorWrapper& self) {
+ return self.tensor.get_byte_size();
+ },
+ R"(
+ Gets Tensor's size in bytes.
+
+ :rtype: int
+ )");
+
cls.def_property_readonly(
"data",
[](RemoteTensorWrapper& self) {
diff --git a/src/bindings/python/src/pyopenvino/core/tensor.cpp b/src/bindings/python/src/pyopenvino/core/tensor.cpp
index fad7d36f6dc0ea..20c9b9aeec6ff3 100644
--- a/src/bindings/python/src/pyopenvino/core/tensor.cpp
+++ b/src/bindings/python/src/pyopenvino/core/tensor.cpp
@@ -9,6 +9,7 @@
#include "openvino/runtime/tensor.hpp"
#include "pyopenvino/core/common.hpp"
+#include "pyopenvino/core/remote_tensor.hpp"
namespace py = pybind11;
@@ -156,7 +157,7 @@ void regclass_Tensor(py::module m) {
R"(
Constructs Tensor using port from node.
Type and shape will be taken from the port.
-
+
:param port: Output port from a node.
:type param: openvino.runtime.Output
)");
@@ -185,7 +186,7 @@ void regclass_Tensor(py::module m) {
R"(
Constructs Tensor using port from node.
Type and shape will be taken from the port.
-
+
:param port: Output port from a node.
:type param: openvino.runtime.ConstOutput
)");
@@ -389,6 +390,23 @@ void regclass_Tensor(py::module m) {
py::arg("target_tensor"),
R"(
Copy tensor's data to a destination tensor. The destination tensor should have the same element type and shape.
+
+ :param target_tensor: The destination tensor to which the data will be copied.
+ :type target_tensor: openvino.Tensor
+ )");
+
+ cls.def(
+ "copy_to",
+ [](ov::Tensor& self, RemoteTensorWrapper& dst) {
+ return self.copy_to(dst.tensor);
+ },
+ py::arg("target_tensor"),
+ R"(
+ Copy tensor's data to a destination remote tensor. The destination remote tensor should have the same element type.
+ In case of RoiRemoteTensor, the destination tensor should also have the same shape.
+
+ :param target_tensor: The destination remote tensor to which the data will be copied.
+ :type target_tensor: openvino.RemoteTensor
)");
cls.def(
@@ -396,9 +414,26 @@ void regclass_Tensor(py::module m) {
[](ov::Tensor& self, ov::Tensor& source) {
return source.copy_to(self);
},
- py::arg("source"),
+ py::arg("source_tensor"),
R"(
Copy source tensor's data to this tensor. Tensors should have the same element type and shape.
+
+ :param source_tensor: The source tensor from which the data will be copied.
+ :type source_tensor: openvino.Tensor
+ )");
+
+ cls.def(
+ "copy_from",
+ [](ov::Tensor& self, RemoteTensorWrapper& source) {
+ return source.tensor.copy_to(self);
+ },
+ py::arg("source_tensor"),
+ R"(
+ Copy source remote tensor's data to this tensor. Tensors should have the same element type.
+ In case of RoiTensor, tensors should also have the same shape.
+
+ :param source_tensor: The source remote tensor from which the data will be copied.
+ :type source_tensor: openvino.RemoteTensor
)");
cls.def(
@@ -436,7 +471,7 @@ void regclass_Tensor(py::module m) {
&ov::Tensor::is_continuous,
R"(
Reports whether the tensor is continuous or not.
- :return: True if the tensor is continuous, otherwise False.
+ :return: True if the tensor is continuous, otherwise False.
:rtype: bool
)");
diff --git a/src/bindings/python/src/pyopenvino/graph/passes/graph_rewrite.cpp b/src/bindings/python/src/pyopenvino/graph/passes/graph_rewrite.cpp
index be013a00a76fde..031a188b74c6d7 100644
--- a/src/bindings/python/src/pyopenvino/graph/passes/graph_rewrite.cpp
+++ b/src/bindings/python/src/pyopenvino/graph/passes/graph_rewrite.cpp
@@ -6,8 +6,7 @@
#include
-#include
-#include
+#include
#include "pyopenvino/core/common.hpp"
diff --git a/src/bindings/python/tests/test_runtime/test_remote_api.py b/src/bindings/python/tests/test_runtime/test_remote_api.py
index 7b5d1c7a5ab98b..fb9c87703ea161 100644
--- a/src/bindings/python/tests/test_runtime/test_remote_api.py
+++ b/src/bindings/python/tests/test_runtime/test_remote_api.py
@@ -91,10 +91,6 @@ def test_create_device_tensor_gpu():
_ = ov.RemoteTensor(np.ones((1, 2, 3)))
assert "No constructor defined!" in str(constructor_error.value)
- with pytest.raises(RuntimeError) as copy_to_error:
- _ = tensor.copy_to(None)
- assert "This function is not implemented." in str(copy_to_error.value)
-
with pytest.raises(RuntimeError) as data_error:
_ = tensor.data
assert "This function is not implemented." in str(data_error.value)
@@ -129,3 +125,145 @@ def test_va_context():
with pytest.raises(RuntimeError) as context_error:
_ = ov.VAContext(core, None)
assert "user handle is nullptr!" in str(context_error.value)
+
+
+@pytest.mark.skipif(
+ "GPU" not in os.environ.get("TEST_DEVICE", ""),
+ reason="Test can be only performed on GPU device!",
+)
+def test_copy_host_to_device_gpu():
+ core = ov.Core()
+ context = core.get_default_context("GPU")
+ assert isinstance(context, ov.RemoteContext)
+ assert "GPU" in context.get_device_name()
+
+ host_tensor_ref = ov.Tensor(ov.Type.f32, ov.Shape([1, 2, 3]))
+
+ random_arr = np.random.rand(*host_tensor_ref.shape).astype(np.float32)
+ host_tensor_ref.data[:] = random_arr
+
+ # allocate remote tensor with smaller shape and expect proper reallocation
+ device_tensor = context.create_tensor(ov.Type.f32, ov.Shape([1, 1, 1]), {})
+
+ # copy to device tensor from host tensor
+ host_tensor_ref.copy_to(device_tensor)
+
+ assert host_tensor_ref.get_shape() == device_tensor.get_shape()
+ assert host_tensor_ref.get_byte_size() == device_tensor.get_byte_size()
+
+ host_tensor_res = ov.Tensor(ov.Type.f32, ov.Shape([1, 2, 3]))
+
+ # copy from device tensor from host tensor
+ host_tensor_res.copy_from(device_tensor)
+
+ assert np.array_equal(host_tensor_res.data, host_tensor_ref.data)
+
+
+@pytest.mark.skipif(
+ "GPU" not in os.environ.get("TEST_DEVICE", ""),
+ reason="Test can be only performed on GPU device!",
+)
+def test_copy_device_to_host_gpu():
+ core = ov.Core()
+ context = core.get_default_context("GPU")
+ assert isinstance(context, ov.RemoteContext)
+ assert "GPU" in context.get_device_name()
+
+ host_tensor_ref = ov.Tensor(ov.Type.f32, ov.Shape([1, 2, 3]))
+
+ random_arr = np.random.rand(*host_tensor_ref.shape).astype(np.float32)
+ host_tensor_ref.data[:] = random_arr
+
+ # allocate remote tensor with smaller shape and expect proper reallocation
+ device_tensor = context.create_tensor(ov.Type.f32, ov.Shape([1, 1, 1]), {})
+
+ # copy from host tensor to device tensor
+ device_tensor.copy_from(host_tensor_ref)
+
+ assert host_tensor_ref.get_shape() == device_tensor.get_shape()
+ assert host_tensor_ref.get_byte_size() == device_tensor.get_byte_size()
+
+ host_tensor_res = ov.Tensor(ov.Type.f32, ov.Shape([1, 2, 3]))
+
+ # copy to host tensor from device tensor
+ device_tensor.copy_to(host_tensor_res)
+
+ assert np.array_equal(host_tensor_res.data, host_tensor_ref.data)
+
+
+@pytest.mark.skipif(
+ "GPU" not in os.environ.get("TEST_DEVICE", ""),
+ reason="Test can be only performed on GPU device!",
+)
+def test_roi_copy_host_to_device_gpu():
+ core = ov.Core()
+ context = core.get_default_context("GPU")
+ assert isinstance(context, ov.RemoteContext)
+ assert "GPU" in context.get_device_name()
+
+ host_tensor_ref = ov.Tensor(ov.Type.f32, ov.Shape([4, 4, 4]))
+
+ random_arr = np.random.rand(*host_tensor_ref.shape).astype(np.float32)
+ host_tensor_ref.data[:] = random_arr
+
+ begin_roi = ov.runtime.Coordinate([0, 0, 0])
+ end_roi = ov.runtime.Coordinate([3, 4, 4])
+ roi_host_tensor_ref = ov.Tensor(host_tensor_ref, begin_roi, end_roi)
+
+ device_tensor = context.create_tensor(ov.Type.f32, ov.Shape([4, 4, 4]), {})
+ roi_device_tensor = ov.RemoteTensor(device_tensor, begin_roi, end_roi)
+
+ # copy to roi device tensor from roi host tensor
+ roi_host_tensor_ref.copy_to(roi_device_tensor)
+
+ assert roi_host_tensor_ref.get_shape() == roi_device_tensor.get_shape()
+ assert roi_host_tensor_ref.get_byte_size() == roi_device_tensor.get_byte_size()
+
+ host_tensor_res = ov.Tensor(ov.Type.f32, roi_host_tensor_ref.get_shape())
+
+ # copy from roi device tensor from roi host tensor
+ host_tensor_res.copy_from(roi_device_tensor)
+
+ host_tensor_wo_roi = ov.Tensor(ov.Type.f32, roi_host_tensor_ref.get_shape())
+ host_tensor_wo_roi.copy_from(roi_host_tensor_ref)
+
+ assert np.array_equal(host_tensor_res.data, host_tensor_wo_roi.data)
+
+
+@pytest.mark.skipif(
+ "GPU" not in os.environ.get("TEST_DEVICE", ""),
+ reason="Test can be only performed on GPU device!",
+)
+def test_roi_copy_device_to_host_gpu():
+ core = ov.Core()
+ context = core.get_default_context("GPU")
+ assert isinstance(context, ov.RemoteContext)
+ assert "GPU" in context.get_device_name()
+
+ host_tensor_ref = ov.Tensor(ov.Type.f32, ov.Shape([4, 4, 4]))
+
+ random_arr = np.random.rand(*host_tensor_ref.shape).astype(np.float32)
+ host_tensor_ref.data[:] = random_arr
+
+ begin_roi = ov.runtime.Coordinate([1, 2, 1])
+ end_roi = ov.runtime.Coordinate([3, 4, 4])
+ roi_host_tensor_ref = ov.Tensor(host_tensor_ref, begin_roi, end_roi)
+
+ device_tensor = context.create_tensor(ov.Type.f32, ov.Shape([4, 4, 4]), {})
+ roi_device_tensor = ov.RemoteTensor(device_tensor, begin_roi, end_roi)
+
+ # copy from roi host tensor to roi device tensor
+ roi_device_tensor.copy_from(roi_host_tensor_ref)
+
+ assert roi_host_tensor_ref.get_shape() == roi_device_tensor.get_shape()
+ assert roi_host_tensor_ref.get_byte_size() == roi_device_tensor.get_byte_size()
+
+ host_tensor_res = ov.Tensor(ov.Type.f32, roi_host_tensor_ref.get_shape())
+
+ # copy to roi host tensor from roi remote tensor
+ host_tensor_res.copy_from(roi_device_tensor)
+
+ host_tensor_wo_roi = ov.Tensor(ov.Type.f32, roi_host_tensor_ref.get_shape())
+ host_tensor_wo_roi.copy_from(roi_host_tensor_ref)
+
+ assert np.array_equal(host_tensor_res.data, host_tensor_wo_roi.data)
diff --git a/src/common/low_precision_transformations/include/low_precision/base_matcher_pass.hpp b/src/common/low_precision_transformations/include/low_precision/base_matcher_pass.hpp
index a71735090f49dd..f3a217e9d25cab 100644
--- a/src/common/low_precision_transformations/include/low_precision/base_matcher_pass.hpp
+++ b/src/common/low_precision_transformations/include/low_precision/base_matcher_pass.hpp
@@ -4,7 +4,7 @@
#pragma once
#include "openvino/core/node.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "rt_info/attribute_parameters.hpp"
namespace ov {
diff --git a/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp b/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp
index 0316f0b2b029bb..d89384a8cd169f 100644
--- a/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp
+++ b/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp
@@ -8,7 +8,7 @@
#include
#include "low_precision/lpt_visibility.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace pass {
diff --git a/src/common/low_precision_transformations/include/low_precision/create_attribute.hpp b/src/common/low_precision_transformations/include/low_precision/create_attribute.hpp
index 1357b81a88af0f..cd9c21f7fe8d40 100644
--- a/src/common/low_precision_transformations/include/low_precision/create_attribute.hpp
+++ b/src/common/low_precision_transformations/include/low_precision/create_attribute.hpp
@@ -8,7 +8,6 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
#include "openvino/pass/pattern/op/wrap_type.hpp"
#include "low_precision/lpt_visibility.hpp"
#include "low_precision/base_matcher_pass.hpp"
diff --git a/src/common/low_precision_transformations/include/low_precision/create_precisions_dependent_attribute.hpp b/src/common/low_precision_transformations/include/low_precision/create_precisions_dependent_attribute.hpp
index dc3d81eefd9d89..c57d15dde899bd 100644
--- a/src/common/low_precision_transformations/include/low_precision/create_precisions_dependent_attribute.hpp
+++ b/src/common/low_precision_transformations/include/low_precision/create_precisions_dependent_attribute.hpp
@@ -11,7 +11,7 @@
#include "openvino/pass/pattern/op/wrap_type.hpp"
#include "low_precision/lpt_visibility.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "openvino/opsets/opset1.hpp"
#include "rt_info/precision_preserved_attribute.hpp"
#include "network_helper.hpp"
diff --git a/src/common/low_precision_transformations/include/low_precision/layer_transformation.hpp b/src/common/low_precision_transformations/include/low_precision/layer_transformation.hpp
index 7a272d4a6adcb1..d86dbd9470cc07 100644
--- a/src/common/low_precision_transformations/include/low_precision/layer_transformation.hpp
+++ b/src/common/low_precision_transformations/include/low_precision/layer_transformation.hpp
@@ -11,7 +11,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformation_context.hpp"
#include "quantization_details.hpp"
#include "low_precision/common/ie_lpt_exception.hpp"
diff --git a/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp b/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp
index de5487187c4d56..a7f46f74dc0645 100644
--- a/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp
+++ b/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp
@@ -6,7 +6,7 @@
#include "low_precision/lpt_visibility.hpp"
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "openvino/pass/pattern/matcher.hpp"
namespace ov {
diff --git a/src/common/low_precision_transformations/include/low_precision/propagate_shared_value.hpp b/src/common/low_precision_transformations/include/low_precision/propagate_shared_value.hpp
index 3f69575fc200e7..16a014cda6ec04 100644
--- a/src/common/low_precision_transformations/include/low_precision/propagate_shared_value.hpp
+++ b/src/common/low_precision_transformations/include/low_precision/propagate_shared_value.hpp
@@ -11,7 +11,7 @@
#include "openvino/core/node.hpp"
#include "low_precision/lpt_visibility.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "low_precision/network_helper.hpp"
#include "lpt_itt.hpp"
diff --git a/src/common/low_precision_transformations/include/low_precision/propagate_through_precision_preserved.hpp b/src/common/low_precision_transformations/include/low_precision/propagate_through_precision_preserved.hpp
index ce6139e2fca817..0450091699065d 100644
--- a/src/common/low_precision_transformations/include/low_precision/propagate_through_precision_preserved.hpp
+++ b/src/common/low_precision_transformations/include/low_precision/propagate_through_precision_preserved.hpp
@@ -8,7 +8,7 @@
#include
#include "openvino/core/node.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "openvino/pass/pattern/op/wrap_type.hpp"
#include "low_precision/lpt_visibility.hpp"
diff --git a/src/common/low_precision_transformations/include/low_precision/propagate_to_input.hpp b/src/common/low_precision_transformations/include/low_precision/propagate_to_input.hpp
index 0e8b0026fafac7..3e550b9e950ff3 100644
--- a/src/common/low_precision_transformations/include/low_precision/propagate_to_input.hpp
+++ b/src/common/low_precision_transformations/include/low_precision/propagate_to_input.hpp
@@ -11,7 +11,7 @@
#include "openvino/pass/pattern/op/wrap_type.hpp"
#include "low_precision/lpt_visibility.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "network_helper.hpp"
namespace ov {
diff --git a/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp b/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp
index adf623c757b647..75d0d3f6510048 100644
--- a/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp
+++ b/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp
@@ -7,7 +7,7 @@
#include
#include
#include "low_precision/lpt_visibility.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace pass {
diff --git a/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp b/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp
index aca835624e7ade..92e9eeebd2be52 100644
--- a/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp
+++ b/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp
@@ -7,7 +7,7 @@
#include
#include
#include "low_precision/lpt_visibility.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace pass {
diff --git a/src/common/snippets/include/snippets/pass/broadcast_to_movebroadcast.hpp b/src/common/snippets/include/snippets/pass/broadcast_to_movebroadcast.hpp
index 3e2dc15d99ae30..242d490b2fab05 100644
--- a/src/common/snippets/include/snippets/pass/broadcast_to_movebroadcast.hpp
+++ b/src/common/snippets/include/snippets/pass/broadcast_to_movebroadcast.hpp
@@ -5,7 +5,7 @@
#pragma once
#include "openvino/pass/pattern/matcher.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp b/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp
index 57f8662a65ea52..41236df12aa0ef 100644
--- a/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp
+++ b/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "snippets/pass/tokenization.hpp"
namespace ov {
diff --git a/src/common/snippets/include/snippets/pass/common_optimizations.hpp b/src/common/snippets/include/snippets/pass/common_optimizations.hpp
index 36fb7d7ef1bca4..1ff2d6293db649 100644
--- a/src/common/snippets/include/snippets/pass/common_optimizations.hpp
+++ b/src/common/snippets/include/snippets/pass/common_optimizations.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "snippets/pass/tokenization.hpp"
namespace ov {
diff --git a/src/common/snippets/include/snippets/pass/convert_constants.hpp b/src/common/snippets/include/snippets/pass/convert_constants.hpp
index 4b62d80ba44748..629528a1700959 100644
--- a/src/common/snippets/include/snippets/pass/convert_constants.hpp
+++ b/src/common/snippets/include/snippets/pass/convert_constants.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "openvino/pass/pattern/matcher.hpp"
namespace ov {
diff --git a/src/common/snippets/include/snippets/pass/convert_power_to_powerstatic.hpp b/src/common/snippets/include/snippets/pass/convert_power_to_powerstatic.hpp
index 85ead3b5785a04..a2274837fb7c3a 100644
--- a/src/common/snippets/include/snippets/pass/convert_power_to_powerstatic.hpp
+++ b/src/common/snippets/include/snippets/pass/convert_power_to_powerstatic.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp b/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp
index d4aa8ed2ed947b..5aeee244a76877 100644
--- a/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp
+++ b/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp b/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp
index 9c7e9f67b7eafb..c4c23b6e247951 100644
--- a/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp
+++ b/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/fq_decomposition.hpp b/src/common/snippets/include/snippets/pass/fq_decomposition.hpp
index 9ad25c927d1ca3..982835b4f27d64 100644
--- a/src/common/snippets/include/snippets/pass/fq_decomposition.hpp
+++ b/src/common/snippets/include/snippets/pass/fq_decomposition.hpp
@@ -5,7 +5,7 @@
#pragma once
#include "openvino/op/fake_quantize.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp b/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp
index d32bc179f8af9c..d913df46caa890 100644
--- a/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp
+++ b/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "openvino/op/transpose.hpp"
diff --git a/src/common/snippets/include/snippets/pass/gn_decomposition.hpp b/src/common/snippets/include/snippets/pass/gn_decomposition.hpp
index 8bd80f90c790ff..5c7b6478dec15f 100644
--- a/src/common/snippets/include/snippets/pass/gn_decomposition.hpp
+++ b/src/common/snippets/include/snippets/pass/gn_decomposition.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/insert_movebroadcast.hpp b/src/common/snippets/include/snippets/pass/insert_movebroadcast.hpp
index 2ee9de1c15ed2f..787677a22ed108 100644
--- a/src/common/snippets/include/snippets/pass/insert_movebroadcast.hpp
+++ b/src/common/snippets/include/snippets/pass/insert_movebroadcast.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp b/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp
index 29ce586bf2b394..780b153b4f0487 100644
--- a/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp
+++ b/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "snippets/op/brgemm.hpp"
diff --git a/src/common/snippets/include/snippets/pass/mha_tokenization.hpp b/src/common/snippets/include/snippets/pass/mha_tokenization.hpp
index 633505a5ce5ad6..78dad6ee8e6e19 100644
--- a/src/common/snippets/include/snippets/pass/mha_tokenization.hpp
+++ b/src/common/snippets/include/snippets/pass/mha_tokenization.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "snippets/pass/tokenization.hpp"
namespace ov {
diff --git a/src/common/snippets/include/snippets/pass/reduce_to_snippets_reduce.hpp b/src/common/snippets/include/snippets/pass/reduce_to_snippets_reduce.hpp
index 1270cf1ecccf88..01d33d6e86cd9c 100644
--- a/src/common/snippets/include/snippets/pass/reduce_to_snippets_reduce.hpp
+++ b/src/common/snippets/include/snippets/pass/reduce_to_snippets_reduce.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/pattern/matcher.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp b/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp
index 51d80520d4991f..8e24c1532a72d3 100644
--- a/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp
+++ b/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/softmax_reshape_elimination.hpp b/src/common/snippets/include/snippets/pass/softmax_reshape_elimination.hpp
index f72098996a0b13..b43881c1425f84 100644
--- a/src/common/snippets/include/snippets/pass/softmax_reshape_elimination.hpp
+++ b/src/common/snippets/include/snippets/pass/softmax_reshape_elimination.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/tokenization.hpp b/src/common/snippets/include/snippets/pass/tokenization.hpp
index aeee72160c85fe..24efcceec71a24 100644
--- a/src/common/snippets/include/snippets/pass/tokenization.hpp
+++ b/src/common/snippets/include/snippets/pass/tokenization.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "snippets/op/subgraph.hpp"
diff --git a/src/common/snippets/include/snippets/pass/transform_convert.hpp b/src/common/snippets/include/snippets/pass/transform_convert.hpp
index bf9c27f0d782e1..5b087d4ae559eb 100644
--- a/src/common/snippets/include/snippets/pass/transform_convert.hpp
+++ b/src/common/snippets/include/snippets/pass/transform_convert.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp b/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp
index e9bd1506b93c60..dbef9bc7b31c93 100644
--- a/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp
+++ b/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/snippets/include/snippets/pass/validate.hpp b/src/common/snippets/include/snippets/pass/validate.hpp
index be0aed0a9f1f37..1fedf8a2ce08d5 100644
--- a/src/common/snippets/include/snippets/pass/validate.hpp
+++ b/src/common/snippets/include/snippets/pass/validate.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace snippets {
diff --git a/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp b/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp
index a8e2bda647e776..06dde1ff0bbf63 100644
--- a/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp
index 442e8f05548e4c..f63f00a455a117 100644
--- a/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp b/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp
index ba25cbf634068a..1a7578d3551903 100644
--- a/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
/**
diff --git a/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp
index 88a464fb81622e..c6773de5ec894f 100644
--- a/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp
index 4075b2d8c11426..7b05f721f52400 100644
--- a/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp b/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp
index 91c3fb3a794dd2..3803281478a055 100644
--- a/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp
index fce96aff0ff374..38ae4799e932a0 100644
--- a/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp b/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp
index 8dcaca0b7c6408..089f1472b7c431 100644
--- a/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "openvino/pass/pattern/matcher.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp
index 1cd33cdd93711d..fe966323edbb98 100644
--- a/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/common_optimizations.hpp b/src/common/transformations/include/transformations/common_optimizations/common_optimizations.hpp
index ccb268ebf17a55..7540275ce74d0f 100644
--- a/src/common/transformations/include/transformations/common_optimizations/common_optimizations.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/common_optimizations.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp
index 0a450e3d4f1a19..31b710722bf13f 100644
--- a/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp b/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp
index 1a26d6a95db9a6..ddb20338c0b01d 100644
--- a/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp
index b96dd5346dabce..9e2ba5194367ba 100644
--- a/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp b/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp
index d615d3d6fd79b7..a60a15d37be9e7 100644
--- a/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp b/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp
index 823844b416a66a..7c0b6b5be95d5d 100644
--- a/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp b/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp
index f6463890f60b79..dfd9eef8069665 100644
--- a/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp
index 82184e8491ac90..53e6b623d67d5a 100644
--- a/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp b/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp
index c4814634d91d1b..204190cafd305c 100644
--- a/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp b/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp
index a9bd1db84d33d7..d1ec2069b3f621 100644
--- a/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
using P2Btype =
diff --git a/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp
index 00735ac681f584..405e8ff7288e5d 100644
--- a/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp
index f0e439b72c19f4..1526fea966347d 100644
--- a/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp
index 911c5c558687b6..37a5b1f66a5551 100644
--- a/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp b/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp
index ab5e157e5cfd21..2ad17f308d46bc 100644
--- a/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp
index 87c4b28f3a7bbb..058daba182b8a6 100644
--- a/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp
index 361ccd11daf016..ca58bb504fd811 100644
--- a/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp
index 244a51e8cb7423..b0ce4581a25569 100644
--- a/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp
index 79c7eae24cc936..ab515ce65ac83b 100644
--- a/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp b/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp
index 698a45f4acb612..8775d93644456e 100644
--- a/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp
index 6b3875a3a977e1..3b48e9da740269 100644
--- a/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp
index c39e505a0faf0e..e4004d794d8ec7 100644
--- a/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp
index 4cb8542190de5a..50bc5ac370a74c 100644
--- a/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp
index ff2c2ae9fe920c..ff7495e5a2d405 100644
--- a/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp
@@ -7,8 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp
index 42c66251cde2ac..42abc74e0dbc2a 100644
--- a/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp b/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp
index 4ce419c0353497..7626be5f877527 100644
--- a/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
/**
diff --git a/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp
index 57108da5ea554f..7994a04be7972d 100644
--- a/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp
index 6f37fdf7dae9ee..8dc6e0149c881f 100644
--- a/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp
@@ -7,8 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/moc_transformations.hpp b/src/common/transformations/include/transformations/common_optimizations/moc_transformations.hpp
index ffe98b65a2bd06..49893dfb220de6 100644
--- a/src/common/transformations/include/transformations/common_optimizations/moc_transformations.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/moc_transformations.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp
index 1b2906a0292ccc..75d73b5f2a8d97 100644
--- a/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp
index b4be1d6c7c3e6d..f66e52f82c6c0e 100644
--- a/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp
index 40536393a08d2e..04b45ee6c67cd3 100644
--- a/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp
index 7e4ac4a25bf994..d579cb0c8a9ec1 100644
--- a/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp
@@ -6,8 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp
index e117e97c3ea301..39355ec6af5ec4 100644
--- a/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp
@@ -7,8 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp b/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp
index 27ac2edd134f45..c4aa71724a07a3 100644
--- a/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp
index 96cede7bb5a628..198666e9a02673 100644
--- a/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp b/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp
index 87af67497b85ae..20daf9173b87c8 100644
--- a/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp
index 2521c44ce4231a..2827be2cdb5738 100644
--- a/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp
index a905438f8fd0eb..8d2895b378c774 100644
--- a/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp b/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp
index c941a60c1b9c68..5c746cd4dde987 100644
--- a/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp b/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp
index d2984eceec4aa5..9ced2036d9906b 100644
--- a/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp
index 338655e70f879a..5fa22e7feb0fe6 100644
--- a/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/ric_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/ric_fusion.hpp
index d47ba645b94f84..c91c27a464cada 100644
--- a/src/common/transformations/include/transformations/common_optimizations/ric_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/ric_fusion.hpp
@@ -5,8 +5,7 @@
#pragma once
#include "openvino/core/model.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp
index b03902440067b2..5d4d5609367ff1 100644
--- a/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp
@@ -4,8 +4,8 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
#include "openvino/pass/manager.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp b/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp
index 66d4f50fbc6c75..5278e17d07ff64 100644
--- a/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp
index cdbd57ec269e31..ecba41990e28dd 100644
--- a/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/shared_ops_optimization.hpp b/src/common/transformations/include/transformations/common_optimizations/shared_ops_optimization.hpp
index da582db367b010..8e2a87502ebcc9 100644
--- a/src/common/transformations/include/transformations/common_optimizations/shared_ops_optimization.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/shared_ops_optimization.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp
index 6b3aa632f34a62..2304fe637b4551 100644
--- a/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp b/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp
index 92286f06b70b92..509047578bd489 100644
--- a/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp b/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp
index b5ab5480134e1d..a93fdb8f4f20fe 100644
--- a/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp
index 88ef524ef523aa..f56a8bd1b574f7 100644
--- a/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp
index 094dee82f6cc19..44d34dcdcc4c90 100644
--- a/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp
index bb0689bc639a54..6a6d247e4ea351 100644
--- a/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp
@@ -7,8 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp
index 0048e63b7e60ba..43cf4654628cf5 100644
--- a/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp
index f18c0b736975fd..e9ecba4fe6e961 100644
--- a/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp
@@ -7,8 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp
index 6ec54032c0c6e8..24073c6a61e2dc 100644
--- a/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp
@@ -7,8 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp b/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp
index a0d73eb6b40676..57f5036fe5faa7 100644
--- a/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/backward_graph_rewrite.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp
index 18f660ccf581c0..69e4095b6becd7 100644
--- a/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp
index 7ac286eb610f48..c1299872c4b3a5 100644
--- a/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp
index 3fc33c9a553060..8189535fe260ae 100644
--- a/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp
@@ -8,7 +8,6 @@
#include
#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp
index 3ca43521250699..aba6154bb0b58c 100644
--- a/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp
@@ -7,8 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp b/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp
index 5e856384a0bebb..aa34c7859d068a 100644
--- a/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp b/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp
index 1a4122349c51e6..7b35498d5dde64 100644
--- a/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp
+++ b/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/control_flow/unroll_if.hpp b/src/common/transformations/include/transformations/control_flow/unroll_if.hpp
index a41447caa2f7a8..e59b60106e2536 100644
--- a/src/common/transformations/include/transformations/control_flow/unroll_if.hpp
+++ b/src/common/transformations/include/transformations/control_flow/unroll_if.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/control_flow/unroll_tensor_iterator.hpp b/src/common/transformations/include/transformations/control_flow/unroll_tensor_iterator.hpp
index b2755da91bfd71..282aecab5c7f05 100644
--- a/src/common/transformations/include/transformations/control_flow/unroll_tensor_iterator.hpp
+++ b/src/common/transformations/include/transformations/control_flow/unroll_tensor_iterator.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/convert_precision.hpp b/src/common/transformations/include/transformations/convert_precision.hpp
index 636dae4ac4d38f..30f773da9e3be4 100644
--- a/src/common/transformations/include/transformations/convert_precision.hpp
+++ b/src/common/transformations/include/transformations/convert_precision.hpp
@@ -10,7 +10,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp b/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp
index 26925ad35ab4f0..71c71b0614f29d 100644
--- a/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp
+++ b/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp
@@ -7,7 +7,7 @@
#include
#include "openvino/core/model.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "openvino/pass/serialize.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/fp16_compression/align_mixed_fp32_fp16_types.hpp b/src/common/transformations/include/transformations/fp16_compression/align_mixed_fp32_fp16_types.hpp
index e819795d9bec2d..4fd93d7742ab67 100644
--- a/src/common/transformations/include/transformations/fp16_compression/align_mixed_fp32_fp16_types.hpp
+++ b/src/common/transformations/include/transformations/fp16_compression/align_mixed_fp32_fp16_types.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/fp16_compression/convert_compression_only_to_legacy.hpp b/src/common/transformations/include/transformations/fp16_compression/convert_compression_only_to_legacy.hpp
index 9a4ab82a778fca..fbac44f637a2a2 100644
--- a/src/common/transformations/include/transformations/fp16_compression/convert_compression_only_to_legacy.hpp
+++ b/src/common/transformations/include/transformations/fp16_compression/convert_compression_only_to_legacy.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp b/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp
index a9aa3a0855cf0a..4f003dbc09e671 100644
--- a/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp
+++ b/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp
@@ -5,7 +5,7 @@
#pragma once
#include "mark_decompression_convert_constant_folding.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.hpp b/src/common/transformations/include/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.hpp
index ae50cc2d943dcc..0ffce989f0d83c 100644
--- a/src/common/transformations/include/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.hpp
+++ b/src/common/transformations/include/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/backward_graph_rewrite.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/init_node_info.hpp b/src/common/transformations/include/transformations/init_node_info.hpp
index 13e748f2316ab6..e458bcfdcd4bd4 100644
--- a/src/common/transformations/include/transformations/init_node_info.hpp
+++ b/src/common/transformations/include/transformations/init_node_info.hpp
@@ -12,7 +12,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp b/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp
index 0fe847d402e405..832c06573caff4 100644
--- a/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp
+++ b/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/batch_norm_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/batch_norm_decomposition.hpp
index 75b1bc38df3fbc..9f4399804c50ff 100644
--- a/src/common/transformations/include/transformations/op_conversions/batch_norm_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/batch_norm_decomposition.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
using namespace std;
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_avgpool_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_avgpool_downgrade.hpp
index 7a16d522c283a5..40f4e32b60af7e 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_avgpool_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_avgpool_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_batch_to_space.hpp b/src/common/transformations/include/transformations/op_conversions/convert_batch_to_space.hpp
index 5e84c886f4e5d2..f2792b467a96e0 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_batch_to_space.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_batch_to_space.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_broadcast3.hpp b/src/common/transformations/include/transformations/op_conversions/convert_broadcast3.hpp
index afadecfd967490..06687b9e07ba01 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_broadcast3.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_broadcast3.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_broadcast_to_tiles.hpp b/src/common/transformations/include/transformations/op_conversions/convert_broadcast_to_tiles.hpp
index ba799943863ea4..5d5934b33e8216 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_broadcast_to_tiles.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_broadcast_to_tiles.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_convertlike.hpp b/src/common/transformations/include/transformations/op_conversions/convert_convertlike.hpp
index 74f15d1aef6c84..dfe5e5e7424d90 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_convertlike.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_convertlike.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_convertpromotetypes.hpp b/src/common/transformations/include/transformations/op_conversions/convert_convertpromotetypes.hpp
index a0c8fd3eb0fd5a..c4d95f1211bea5 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_convertpromotetypes.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_convertpromotetypes.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_deformable_conv_v8_to_v1.hpp b/src/common/transformations/include/transformations/op_conversions/convert_deformable_conv_v8_to_v1.hpp
index 9208403e4eca85..7db239e18d265a 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_deformable_conv_v8_to_v1.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_deformable_conv_v8_to_v1.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_depth_to_space.hpp b/src/common/transformations/include/transformations/op_conversions/convert_depth_to_space.hpp
index 72e0ecb168fd69..481006b7a05822 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_depth_to_space.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_depth_to_space.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_divide.hpp b/src/common/transformations/include/transformations/op_conversions/convert_divide.hpp
index 9698f59f2b73c0..66442bbdc123da 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_divide.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_divide.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_offsets15_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_offsets15_downgrade.hpp
index 18b1339366ece3..6ddbff4b7991b6 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_offsets15_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_offsets15_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_packed15_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_packed15_downgrade.hpp
index bac6e636ac9daa..a925928a28a3d8 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_packed15_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_packed15_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gather_0d.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gather_0d.hpp
index 2d97152a1b1588..75f9dd967d48c8 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_gather_0d.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_gather_0d.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gather_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gather_downgrade.hpp
index e6b6b0a8b67fb4..dfdbed915679b2 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_gather_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_gather_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gather_to_compressed.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gather_to_compressed.hpp
index 2181396adc0284..a916e9a4b91a44 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_gather_to_compressed.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_gather_to_compressed.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gather_upgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gather_upgrade.hpp
index cfc2f41b23af06..ec8f8be61c3015 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_gather_upgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_gather_upgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gelu.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gelu.hpp
index a7d172cb81a307..498872814f9cbb 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_gelu.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_gelu.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gp9_to_gp_ie_internal.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gp9_to_gp_ie_internal.hpp
index 90017756954aa5..9fe62aad7fbd8c 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_gp9_to_gp_ie_internal.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_gp9_to_gp_ie_internal.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_interpolate11_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_interpolate11_downgrade.hpp
index 2797da2370315d..8c136aa918f5f0 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_interpolate11_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_interpolate11_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_interpolate1_to_interpolate4.hpp b/src/common/transformations/include/transformations/op_conversions/convert_interpolate1_to_interpolate4.hpp
index 6c54128dfce58b..f3b07c36962ccd 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_interpolate1_to_interpolate4.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_interpolate1_to_interpolate4.hpp
@@ -8,7 +8,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_matrix_nms_to_matrix_nms_ie.hpp b/src/common/transformations/include/transformations/op_conversions/convert_matrix_nms_to_matrix_nms_ie.hpp
index 940db1608607fc..6d414139ad6f57 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_matrix_nms_to_matrix_nms_ie.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_matrix_nms_to_matrix_nms_ie.hpp
@@ -8,7 +8,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_maxpool_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_maxpool_downgrade.hpp
index f62300e95a9d26..953cbab8a801a7 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_maxpool_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_maxpool_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_maxpool_upgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_maxpool_upgrade.hpp
index ade23432733f37..6e7eed21342584 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_maxpool_upgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_maxpool_upgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_minimum_to_power_and_max.hpp b/src/common/transformations/include/transformations/op_conversions/convert_minimum_to_power_and_max.hpp
index 90f97eb8cdb01f..d092ffec29d8c4 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_minimum_to_power_and_max.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_minimum_to_power_and_max.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_mod.hpp b/src/common/transformations/include/transformations/op_conversions/convert_mod.hpp
index d3bec6f48e764e..0fbd3bba723ecb 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_mod.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_mod.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_to_multiclass_nms_ie.hpp b/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_to_multiclass_nms_ie.hpp
index 5a33375a833548..361d2352928b7e 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_to_multiclass_nms_ie.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_to_multiclass_nms_ie.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_upgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_upgrade.hpp
index 653aeca61fd4f8..1f3e9e9b5caf08 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_upgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_upgrade.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_mvn1_to_mvn6.hpp b/src/common/transformations/include/transformations/op_conversions/convert_mvn1_to_mvn6.hpp
index 4daba95e86a192..d958d166f7270d 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_mvn1_to_mvn6.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_mvn1_to_mvn6.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_negative.hpp b/src/common/transformations/include/transformations/op_conversions/convert_negative.hpp
index e85e6092b6ee40..b985f4bfe7f639 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_negative.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_negative.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_nms9_to_nms_ie_internal.hpp b/src/common/transformations/include/transformations/op_conversions/convert_nms9_to_nms_ie_internal.hpp
index d9078815070172..fee970b6b44bfc 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_nms9_to_nms_ie_internal.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_nms9_to_nms_ie_internal.hpp
@@ -8,7 +8,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_nms_rotated_to_nms_ie_internal.hpp b/src/common/transformations/include/transformations/op_conversions/convert_nms_rotated_to_nms_ie_internal.hpp
index f117b406d2863e..dcee03e513b38e 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_nms_rotated_to_nms_ie_internal.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_nms_rotated_to_nms_ie_internal.hpp
@@ -8,7 +8,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_nms_to_nms_ie_internal.hpp b/src/common/transformations/include/transformations/op_conversions/convert_nms_to_nms_ie_internal.hpp
index a5ff6807870f91..ca205fe9078f7a 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_nms_to_nms_ie_internal.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_nms_to_nms_ie_internal.hpp
@@ -8,7 +8,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_pad12_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_pad12_downgrade.hpp
index 7cd48773e492d0..36ca9112b07829 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_pad12_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_pad12_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_pad_to_group_conv.hpp b/src/common/transformations/include/transformations/op_conversions/convert_pad_to_group_conv.hpp
index 8134d27d207ca2..a89386bd7048cb 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_pad_to_group_conv.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_pad_to_group_conv.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_5.hpp b/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_5.hpp
index 7077d672d0aa5f..8a4c0ee3110c1b 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_5.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_5.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_9.hpp b/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_9.hpp
index 1a50dd10708eae..f77db7a03f8606 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_9.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_9.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_prior_box_v8_to_v0.hpp b/src/common/transformations/include/transformations/op_conversions/convert_prior_box_v8_to_v0.hpp
index 24b4520c506642..2725d789a83a70 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_prior_box_v8_to_v0.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_prior_box_v8_to_v0.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v3_to_v9.hpp b/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v3_to_v9.hpp
index 66de7739d61572..71f6becff0ba26 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v3_to_v9.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v3_to_v9.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v9_to_v3.hpp b/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v9_to_v3.hpp
index 6d0a830dc7f0bd..d06dc424ff436e 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v9_to_v3.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v9_to_v3.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_to_scatter.hpp b/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_to_scatter.hpp
index 9bc3cedbf3b532..d0a738c14fab9c 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_to_scatter.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_to_scatter.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_update12_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_update12_downgrade.hpp
index 37f5a86224ce62..4af4e18c706e93 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_update12_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_update12_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_scatter_nd_update15_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_scatter_nd_update15_downgrade.hpp
new file mode 100644
index 00000000000000..dfaab66e22501c
--- /dev/null
+++ b/src/common/transformations/include/transformations/op_conversions/convert_scatter_nd_update15_downgrade.hpp
@@ -0,0 +1,24 @@
+// Copyright (C) 2018-2023 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+
+#pragma once
+
+#include "openvino/pass/graph_rewrite.hpp"
+#include "transformations_visibility.hpp"
+
+namespace ov {
+namespace pass {
+/**
+ * @ingroup ov_transformation_common_api
+ * @brief Converts ScatterNDUpdate version 15 to ScatterNDUpdate version 3 if ScatterNDUpdate reduction attribute is set
+ * to None.
+ */
+class TRANSFORMATIONS_API ConvertScatterNDUpdate15ToScatterNDUpdate3 : public MatcherPass {
+public:
+ OPENVINO_RTTI("ConvertScatterNDUpdate15ToScatterNDUpdate3", "0");
+ ConvertScatterNDUpdate15ToScatterNDUpdate3();
+};
+
+} // namespace pass
+} // namespace ov
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_shapeof3.hpp b/src/common/transformations/include/transformations/op_conversions/convert_shapeof3.hpp
index e684e7a699be8b..0aceb9e99614fb 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_shapeof3.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_shapeof3.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_shuffle_channels3.hpp b/src/common/transformations/include/transformations/op_conversions/convert_shuffle_channels3.hpp
index 3efd57c95c11b7..05b2d2607464b8 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_shuffle_channels3.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_shuffle_channels3.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_slice_to_strided_slice.hpp b/src/common/transformations/include/transformations/op_conversions/convert_slice_to_strided_slice.hpp
index c6b4bf125f1195..8d396bca6ccd1e 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_slice_to_strided_slice.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_slice_to_strided_slice.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_softmax_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_softmax_downgrade.hpp
index 0bd1d11c68a491..701f2cb94e9857 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_softmax_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_softmax_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_softmax_upgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_softmax_upgrade.hpp
index 31754bc9a997cb..2164eac6052384 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_softmax_upgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_softmax_upgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_space_to_batch.hpp b/src/common/transformations/include/transformations/op_conversions/convert_space_to_batch.hpp
index 7d3f98cd273b6d..97bda0273c522f 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_space_to_batch.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_space_to_batch.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_space_to_depth.hpp b/src/common/transformations/include/transformations/op_conversions/convert_space_to_depth.hpp
index ec97bbdc62016c..da97add26411a8 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_space_to_depth.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_space_to_depth.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_subtract.hpp b/src/common/transformations/include/transformations/op_conversions/convert_subtract.hpp
index b3f41501dfd084..5b2a5d0c36abdf 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_subtract.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_subtract.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_topk11_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_topk11_downgrade.hpp
index 0514e0bad38003..e6e8340e45df94 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_topk11_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_topk11_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_topk3.hpp b/src/common/transformations/include/transformations/op_conversions/convert_topk3.hpp
index 7b5b5dad08f096..0b61bf85bff28f 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_topk3.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_topk3.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/convert_xor_to_logical_xor.hpp b/src/common/transformations/include/transformations/op_conversions/convert_xor_to_logical_xor.hpp
index 21740be21597df..ee7bf0f55615bd 100644
--- a/src/common/transformations/include/transformations/op_conversions/convert_xor_to_logical_xor.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/convert_xor_to_logical_xor.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/detection_output_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/detection_output_downgrade.hpp
index f34c28a0f3295c..8f4e6ad237a6b0 100644
--- a/src/common/transformations/include/transformations/op_conversions/detection_output_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/detection_output_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/detection_output_upgrade.hpp b/src/common/transformations/include/transformations/op_conversions/detection_output_upgrade.hpp
index cb0b108f22460a..8693fb206ed2cd 100644
--- a/src/common/transformations/include/transformations/op_conversions/detection_output_upgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/detection_output_upgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/einsum_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/einsum_decomposition.hpp
index a754f954261a3e..78accf3f0b4877 100644
--- a/src/common/transformations/include/transformations/op_conversions/einsum_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/einsum_decomposition.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/eye_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/eye_decomposition.hpp
index dda37e63fe93e8..15c53bc9cf6f30 100644
--- a/src/common/transformations/include/transformations/op_conversions/eye_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/eye_decomposition.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/fq_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/fq_decomposition.hpp
index c1ed179ba39fb6..d938a9b70687e2 100644
--- a/src/common/transformations/include/transformations/op_conversions/fq_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/fq_decomposition.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/gelu7_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/gelu7_downgrade.hpp
index b95d2a21472420..d08c3877de26a1 100644
--- a/src/common/transformations/include/transformations/op_conversions/gelu7_downgrade.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/gelu7_downgrade.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/group_normalization_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/group_normalization_decomposition.hpp
index c9dbfe594c1a22..8df9c220a9de75 100644
--- a/src/common/transformations/include/transformations/op_conversions/group_normalization_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/group_normalization_decomposition.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/gru_cell_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/gru_cell_decomposition.hpp
index de6e414e3a9024..ce4387293f97ad 100644
--- a/src/common/transformations/include/transformations/op_conversions/gru_cell_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/gru_cell_decomposition.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/hard_sigmoid_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/hard_sigmoid_decomposition.hpp
index cfdf19bdbf305d..b635a08350922b 100644
--- a/src/common/transformations/include/transformations/op_conversions/hard_sigmoid_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/hard_sigmoid_decomposition.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/hsigmoid_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/hsigmoid_decomposition.hpp
index 6db5d0b39553a4..5a455c37253afe 100644
--- a/src/common/transformations/include/transformations/op_conversions/hsigmoid_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/hsigmoid_decomposition.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/hswish_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/hswish_decomposition.hpp
index 021768ce572975..e6168109d3c89b 100644
--- a/src/common/transformations/include/transformations/op_conversions/hswish_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/hswish_decomposition.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/log_softmax_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/log_softmax_decomposition.hpp
index 625f375487df66..f972a0cdd8fa76 100644
--- a/src/common/transformations/include/transformations/op_conversions/log_softmax_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/log_softmax_decomposition.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/lstm_cell_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/lstm_cell_decomposition.hpp
index d2f16d5c1a164e..08b109533738cf 100644
--- a/src/common/transformations/include/transformations/op_conversions/lstm_cell_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/lstm_cell_decomposition.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/mvn6_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/mvn6_decomposition.hpp
index 2cff2f6ea823a6..f8335f5f4546f2 100644
--- a/src/common/transformations/include/transformations/op_conversions/mvn6_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/mvn6_decomposition.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/normalize_l2_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/normalize_l2_decomposition.hpp
index d93c28577c2c8b..ae058a3e8cba2f 100644
--- a/src/common/transformations/include/transformations/op_conversions/normalize_l2_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/normalize_l2_decomposition.hpp
@@ -7,8 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/reduce_l1_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/reduce_l1_decomposition.hpp
index 18f3560b90cebd..506853e003e33a 100644
--- a/src/common/transformations/include/transformations/op_conversions/reduce_l1_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/reduce_l1_decomposition.hpp
@@ -7,8 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/reduce_l2_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/reduce_l2_decomposition.hpp
index ab69a523ea9d56..dab02ff58f2f5c 100644
--- a/src/common/transformations/include/transformations/op_conversions/reduce_l2_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/reduce_l2_decomposition.hpp
@@ -7,8 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/rnn_cell_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/rnn_cell_decomposition.hpp
index df8fab51867862..ce651a47510577 100644
--- a/src/common/transformations/include/transformations/op_conversions/rnn_cell_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/rnn_cell_decomposition.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/scaled_dot_product_attention_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/scaled_dot_product_attention_decomposition.hpp
index 254f64ff43c2b5..e52c6ba46838b9 100644
--- a/src/common/transformations/include/transformations/op_conversions/scaled_dot_product_attention_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/scaled_dot_product_attention_decomposition.hpp
@@ -5,7 +5,7 @@
#pragma once
#include "openvino/op/scaled_dot_product_attention.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/simplify_ctc_greedy_decoder_seq_len.hpp b/src/common/transformations/include/transformations/op_conversions/simplify_ctc_greedy_decoder_seq_len.hpp
index a87bcd5265f158..70cd9bbe0162c5 100644
--- a/src/common/transformations/include/transformations/op_conversions/simplify_ctc_greedy_decoder_seq_len.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/simplify_ctc_greedy_decoder_seq_len.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/softmax_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/softmax_decomposition.hpp
index b7fb184a74f7ef..a1ab4be69fdc62 100644
--- a/src/common/transformations/include/transformations/op_conversions/softmax_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/softmax_decomposition.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/softplus_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/softplus_decomposition.hpp
index 2d79165c5aabf5..3a7cca9ff5c8b1 100644
--- a/src/common/transformations/include/transformations/op_conversions/softplus_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/softplus_decomposition.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/softsign_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/softsign_decomposition.hpp
index 62f372052e81cf..bfd026f21eb111 100644
--- a/src/common/transformations/include/transformations/op_conversions/softsign_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/softsign_decomposition.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/op_conversions/unique_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/unique_decomposition.hpp
index 05833b9305cd82..02f889e7d3122a 100644
--- a/src/common/transformations/include/transformations/op_conversions/unique_decomposition.hpp
+++ b/src/common/transformations/include/transformations/op_conversions/unique_decomposition.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/opset_conversions/convert_opset2_to_opset1.hpp b/src/common/transformations/include/transformations/opset_conversions/convert_opset2_to_opset1.hpp
index 273f7f915624f1..8b523bc663912d 100644
--- a/src/common/transformations/include/transformations/opset_conversions/convert_opset2_to_opset1.hpp
+++ b/src/common/transformations/include/transformations/opset_conversions/convert_opset2_to_opset1.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/opset_conversions/convert_opset3_to_opset2.hpp b/src/common/transformations/include/transformations/opset_conversions/convert_opset3_to_opset2.hpp
index d7100c6adfc1ff..8a44b0d24ad6e4 100644
--- a/src/common/transformations/include/transformations/opset_conversions/convert_opset3_to_opset2.hpp
+++ b/src/common/transformations/include/transformations/opset_conversions/convert_opset3_to_opset2.hpp
@@ -6,7 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp
index bd0c29aa0474cf..5ee79ec787a9bc 100644
--- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp
+++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp
@@ -5,7 +5,10 @@
#pragma once
#include "openvino/op/add.hpp"
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/op/parameter.hpp"
+#include "openvino/pass/matcher_pass.hpp"
+#include "openvino/pass/pattern/op/wrap_type.hpp"
+#include "transformations/utils/utils.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp
index a811a8eeac2e2c..fd4e22c69262ae 100644
--- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp
+++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp
@@ -4,7 +4,11 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/cc/pass/itt.hpp"
+#include "openvino/op/shape_of.hpp"
+#include "openvino/op/subtract.hpp"
+#include "openvino/pass/matcher_pass.hpp"
+#include "openvino/pass/pattern/op/wrap_type.hpp"
#include "transformations/utils/utils.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp
index d3be92d829165a..feab06ccc0cd5d 100644
--- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp
+++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp
index 8ebb0f6ec71905..c6b319a389ecaa 100644
--- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp
+++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp
@@ -4,7 +4,11 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/op/concat.hpp"
+#include "openvino/op/parameter.hpp"
+#include "openvino/pass/matcher_pass.hpp"
+#include "openvino/pass/pattern/op/wrap_type.hpp"
+#include "transformations/utils/utils.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp b/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp
index 2561a01854c038..04f7de9a336414 100644
--- a/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp
+++ b/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/smart_reshape/lstm_states_broadcast.hpp b/src/common/transformations/include/transformations/smart_reshape/lstm_states_broadcast.hpp
index 8616fafa2b131a..55f80ace7812e3 100644
--- a/src/common/transformations/include/transformations/smart_reshape/lstm_states_broadcast.hpp
+++ b/src/common/transformations/include/transformations/smart_reshape/lstm_states_broadcast.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp b/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp
index 430da1d1250790..4e21e767d1bce6 100644
--- a/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp
+++ b/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp b/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp
index 6c853f5820a815..d2eaf125e0dd5c 100644
--- a/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp
+++ b/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp b/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp
index c9fa23ce7f86a3..aeaf46ccde1c2b 100644
--- a/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp
+++ b/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp b/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp
index d08f212925182a..a973038bb30900 100644
--- a/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp
+++ b/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp b/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp
index d7dc15d4d7454b..d2bc029cce4682 100644
--- a/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp
+++ b/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/smart_reshape/smart_reshape.hpp b/src/common/transformations/include/transformations/smart_reshape/smart_reshape.hpp
index f8f6c021097301..55bdf523762d91 100644
--- a/src/common/transformations/include/transformations/smart_reshape/smart_reshape.hpp
+++ b/src/common/transformations/include/transformations/smart_reshape/smart_reshape.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp b/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp
index a60b76f8a8473c..f34b6d25a27e49 100644
--- a/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp
+++ b/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp
@@ -7,7 +7,7 @@
#include
#include
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp b/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp
index 203259ecdcf7ce..c7cb03afd5ade4 100644
--- a/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp
+++ b/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp b/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp
index 037a9cce421a11..fa1c844faa7129 100644
--- a/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp
+++ b/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp b/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp
index 19d6e41f9627d1..5a12b5735ce428 100644
--- a/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp
+++ b/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp b/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp
index 6ad409b4d96ad5..5d84d83bad2de5 100644
--- a/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp
+++ b/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp
index 34a2a7b83f5d9c..013799e854df8f 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp
@@ -6,8 +6,7 @@
#include
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "openvino/pass/pattern/op/wrap_type.hpp"
#include "transformations/transpose_sinking/ts_utils.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp
index 5c913e3d778be8..9534380d51253e 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp
index c37cccaaac6516..cc0ccc2c194dbf 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp
index de82ce274cf32c..185bea0105ec4d 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp
index 768972af596a2e..9775e57d61146b 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp
index 206f3cd0af7559..974e7accc4d808 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp
index 188cbe6556940e..5bc7cea340cb72 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp
index 32100f40d878ea..dfdd062e1f7ce3 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp
index 44fd1fc534315e..a983519a3012d6 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp
index cab1f1841107bc..240c6e8342c069 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations_visibility.hpp"
namespace ov {
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp
index 8b486609aa1f1c..5e10a7f0e8a930 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp
index 820dd3da37d8af..752e040ab52cab 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp
index 3d7694a32832f9..c8148e912b30c0 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp
index a660b99506f1ea..1ee195624cb801 100644
--- a/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp
+++ b/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp
@@ -4,8 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
-#include "openvino/pass/pass.hpp"
+#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"
diff --git a/src/common/transformations/src/transformations/common_optimizations/common_optimizations.cpp b/src/common/transformations/src/transformations/common_optimizations/common_optimizations.cpp
index d7ca44e7ddad34..500d003bd4642e 100644
--- a/src/common/transformations/src/transformations/common_optimizations/common_optimizations.cpp
+++ b/src/common/transformations/src/transformations/common_optimizations/common_optimizations.cpp
@@ -92,6 +92,7 @@
#include "transformations/op_conversions/convert_roi_align_v3_to_v9.hpp"
#include "transformations/op_conversions/convert_roi_align_v9_to_v3.hpp"
#include "transformations/op_conversions/convert_scatter_elements_update12_downgrade.hpp"
+#include "transformations/op_conversions/convert_scatter_nd_update15_downgrade.hpp"
#include "transformations/op_conversions/convert_slice_to_strided_slice.hpp"
#include "transformations/op_conversions/convert_softmax_downgrade.hpp"
#include "transformations/op_conversions/convert_softmax_upgrade.hpp"
@@ -231,6 +232,7 @@ bool ov::pass::CommonOptimizations::run_on_model(const std::shared_ptr();
ADD_MATCHER(fq_fusions, FakeQuantizeMulFusion)
diff --git a/src/common/transformations/src/transformations/common_optimizations/nop_elimination.cpp b/src/common/transformations/src/transformations/common_optimizations/nop_elimination.cpp
index 13da1c4d9082fc..782c25c2bf03ae 100644
--- a/src/common/transformations/src/transformations/common_optimizations/nop_elimination.cpp
+++ b/src/common/transformations/src/transformations/common_optimizations/nop_elimination.cpp
@@ -789,8 +789,10 @@ pass::EliminateEltwise::EliminateEltwise() {
pass::EliminateScatterUpdate::EliminateScatterUpdate() {
MATCHER_SCOPE(EliminateScatterUpdate);
- auto scatter_pattern =
- pattern::wrap_type();
+ auto scatter_pattern = pattern::wrap_type();
matcher_pass_callback callback = [=](pattern::Matcher& m) {
auto scatter = m.get_match_root();
diff --git a/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp b/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp
index 6e44692b5f169c..60643d726ec275 100644
--- a/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp
+++ b/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp
@@ -24,6 +24,7 @@
#include "openvino/op/transpose.hpp"
#include "openvino/op/util/binary_elementwise_arithmetic.hpp"
#include "openvino/op/util/pad_base.hpp"
+#include "openvino/pass/backward_graph_rewrite.hpp"
#include "openvino/pass/manager.hpp"
#include "openvino/pass/pattern/op/or.hpp"
#include "openvino/pass/pattern/op/wrap_type.hpp"
diff --git a/src/common/transformations/src/transformations/op_conversions/convert_scatter_nd_update15_downgrade.cpp b/src/common/transformations/src/transformations/op_conversions/convert_scatter_nd_update15_downgrade.cpp
new file mode 100644
index 00000000000000..94b2955ee818cc
--- /dev/null
+++ b/src/common/transformations/src/transformations/op_conversions/convert_scatter_nd_update15_downgrade.cpp
@@ -0,0 +1,39 @@
+// Copyright (C) 2018-2023 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+
+#include "transformations/op_conversions/convert_scatter_nd_update15_downgrade.hpp"
+
+#include "itt.hpp"
+#include "openvino/core/rt_info.hpp"
+#include "openvino/op/scatter_nd_update.hpp"
+#include "openvino/pass/pattern/op/wrap_type.hpp"
+#include "transformations/utils/utils.hpp"
+
+ov::pass::ConvertScatterNDUpdate15ToScatterNDUpdate3::ConvertScatterNDUpdate15ToScatterNDUpdate3() {
+ MATCHER_SCOPE(ConvertScatterNDUpdate15ToScatterNDUpdate3);
+
+ const auto scatter_v15_pattern = pattern::wrap_type();
+
+ const matcher_pass_callback callback = [OV_CAPTURE_CPY_AND_THIS](pattern::Matcher& m) {
+ const auto scatter_v15 = std::dynamic_pointer_cast(m.get_match_root());
+ if (!scatter_v15 || transformation_callback(scatter_v15)) {
+ return false;
+ }
+ if (scatter_v15->get_reduction() != ov::op::v15::ScatterNDUpdate::Reduction::NONE) {
+ return false;
+ }
+ const auto scatter_v3 = std::make_shared(scatter_v15->input_value(0),
+ scatter_v15->input_value(1),
+ scatter_v15->input_value(2));
+
+ scatter_v3->set_friendly_name(scatter_v15->get_friendly_name());
+ copy_runtime_info(scatter_v15, scatter_v3);
+ replace_node(scatter_v15, scatter_v3);
+
+ return true;
+ };
+
+ auto m = std::make_shared(scatter_v15_pattern, matcher_name);
+ register_matcher(m, callback);
+}
diff --git a/src/common/transformations/tests/common_optimizations/nop_elimination.cpp b/src/common/transformations/tests/common_optimizations/nop_elimination.cpp
index e9b4bf3d8be3d1..9ee362104b24d0 100644
--- a/src/common/transformations/tests/common_optimizations/nop_elimination.cpp
+++ b/src/common/transformations/tests/common_optimizations/nop_elimination.cpp
@@ -1746,3 +1746,25 @@ TEST_F(TransformationTestsF, TransposeElimination) {
model_ref = std::make_shared(OutputVector{result}, ParameterVector{data});
}
}
+
+TEST_F(TransformationTestsF, ScatterNDUpdates15Elimination) {
+ {
+ auto data = std::make_shared(element::f32, PartialShape{100, 256, 10, 15});
+ auto indices = std::make_shared(element::i32, PartialShape{25, 0, 3});
+ auto updates = std::make_shared(element::f32, PartialShape{25, 0, 15});
+ auto relu = std::make_shared(data);
+ auto scatter = std::make_shared(relu, indices, updates);
+
+ auto result = std::make_shared(scatter);
+ model = std::make_shared(OutputVector{result}, ParameterVector{data, indices, updates});
+ manager.register_pass();
+ }
+ {
+ auto data = std::make_shared(element::f32, PartialShape{100, 256, 10, 15});
+ auto indices = std::make_shared(element::i32, PartialShape{25, 0, 3});
+ auto updates = std::make_shared(element::f32, PartialShape{25, 0, 15});
+ auto relu = std::make_shared(data);
+ auto result = std::make_shared(relu);
+ model_ref = std::make_shared(OutputVector{result}, ParameterVector{data, indices, updates});
+ }
+}
diff --git a/src/common/transformations/tests/op_conversions/convert_scatter_nd_update15_downgrade_test.cpp b/src/common/transformations/tests/op_conversions/convert_scatter_nd_update15_downgrade_test.cpp
new file mode 100644
index 00000000000000..b2a126efe7803e
--- /dev/null
+++ b/src/common/transformations/tests/op_conversions/convert_scatter_nd_update15_downgrade_test.cpp
@@ -0,0 +1,54 @@
+// Copyright (C) 2018-2024 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+
+#include "transformations/op_conversions/convert_scatter_nd_update15_downgrade.hpp"
+
+#include
+
+#include
+
+#include "common_test_utils/ov_test_utils.hpp"
+#include "openvino/opsets/opset15.hpp"
+#include "openvino/opsets/opset4.hpp"
+#include "openvino/pass/manager.hpp"
+#include "transformations/utils/utils.hpp"
+using namespace ov;
+using namespace testing;
+
+namespace {
+using Reduction = ov::opset15::ScatterNDUpdate::Reduction;
+
+std::shared_ptr create_v15_model(const Reduction reduction_type) {
+ const auto data = std::make_shared(ov::element::f32, ov::Shape{1000, 256, 10, 15});
+ const auto indices = std::make_shared(ov::element::i32, ov::Shape{25, 125, 3});
+ const auto updates = std::make_shared(ov::element::f32, ov::Shape{25, 125, 15});
+ const auto scatter_nd = std::make_shared(data, indices, updates, reduction_type);
+ scatter_nd->set_friendly_name("scatter_nd15");
+ return std::make_shared(scatter_nd->outputs(), ov::ParameterVector{data, indices, updates});
+}
+
+std::shared_ptr create_v3_model() {
+ const auto data = std::make_shared(ov::element::f32, ov::Shape{1000, 256, 10, 15});
+ const auto indices = std::make_shared(ov::element::i32, ov::Shape{25, 125, 3});
+ const auto updates = std::make_shared(ov::element::f32, ov::Shape{25, 125, 15});
+ const auto scatter_nd = std::make_shared(data, indices, updates);
+ scatter_nd->set_friendly_name("scatter_nd15");
+
+ return std::make_shared(scatter_nd->outputs(), ov::ParameterVector{data, indices, updates});
+}
+
+} // namespace
+
+TEST_F(TransformationTestsF, ConvertScatterNDUpdate15ToScatterNDUpdate3_no_reduction) {
+ manager.register_pass();
+ model = create_v15_model(Reduction::NONE);
+ model_ref = create_v3_model();
+ comparator.enable(FunctionsComparator::CmpValues::CONST_VALUES);
+ comparator.enable(FunctionsComparator::CmpValues::ATTRIBUTES);
+}
+
+TEST_F(TransformationTestsF, ConvertScatterNDUpdate15ToScatterNDUpdate3_reduction) {
+ manager.register_pass();
+ model = create_v15_model(Reduction::PROD);
+}
diff --git a/src/core/dev_api/openvino/core/meta_data.hpp b/src/core/dev_api/openvino/core/meta_data.hpp
index 3b0debaff3763e..221aca96080d65 100644
--- a/src/core/dev_api/openvino/core/meta_data.hpp
+++ b/src/core/dev_api/openvino/core/meta_data.hpp
@@ -6,6 +6,10 @@
#include "openvino/core/any.hpp"
+namespace pugi {
+class xml_node;
+}
+
namespace ov {
/**
@@ -32,4 +36,14 @@ class OPENVINO_API Meta {
virtual ~Meta() = default;
};
+class MetaDataWithPugixml : public Meta {
+public:
+ /**
+ * @brief Returns meta unchanged meta information. Throws ov::Exception if the meta was potentially changed
+ *
+ * @return const pugi::xml_node& with meta information
+ */
+ virtual const pugi::xml_node& get_pugi_node() const = 0;
+};
+
} // namespace ov
diff --git a/src/core/dev_api/openvino/runtime/itensor.hpp b/src/core/dev_api/openvino/runtime/itensor.hpp
index 27e5814dc97308..ab04205632ffe3 100644
--- a/src/core/dev_api/openvino/runtime/itensor.hpp
+++ b/src/core/dev_api/openvino/runtime/itensor.hpp
@@ -81,7 +81,7 @@ class OPENVINO_API ITensor : public std::enable_shared_from_this {
*
* @param dst destination tensor
*/
- void copy_to(const std::shared_ptr& dst) const;
+ virtual void copy_to(const std::shared_ptr& dst) const;
protected:
virtual ~ITensor();
diff --git a/src/core/include/openvino/pass/backward_graph_rewrite.hpp b/src/core/include/openvino/pass/backward_graph_rewrite.hpp
new file mode 100644
index 00000000000000..7e7f6f118efe8d
--- /dev/null
+++ b/src/core/include/openvino/pass/backward_graph_rewrite.hpp
@@ -0,0 +1,23 @@
+#pragma once
+
+#include
+#include
+#include
+
+#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/pass.hpp"
+
+namespace ov {
+namespace pass {
+class OPENVINO_API BackwardGraphRewrite : public GraphRewrite {
+public:
+ OPENVINO_RTTI("ov::pass::BackwardGraphRewrite");
+
+ BackwardGraphRewrite() = default;
+
+ explicit BackwardGraphRewrite(const std::shared_ptr& pass) : GraphRewrite(pass) {}
+
+ bool run_on_model(const std::shared_ptr& m) override;
+};
+} // namespace pass
+} // namespace ov
diff --git a/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp b/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp
index 61c76e3b2f974a..ae9bb25efb4a87 100644
--- a/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp
+++ b/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp
@@ -4,7 +4,7 @@
#pragma once
-#include "openvino/pass/graph_rewrite.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
namespace pass {
diff --git a/src/core/include/openvino/pass/graph_rewrite.hpp b/src/core/include/openvino/pass/graph_rewrite.hpp
index 792393b33a1b5b..3fd801235c31a2 100644
--- a/src/core/include/openvino/pass/graph_rewrite.hpp
+++ b/src/core/include/openvino/pass/graph_rewrite.hpp
@@ -8,149 +8,10 @@
#include
#include
-#include "openvino/pass/pass.hpp"
-#include "openvino/pass/pattern/matcher.hpp"
+#include "openvino/pass/matcher_pass.hpp"
namespace ov {
-using matcher_pass_callback = std::function