diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 3727c4d88f6..69912be7abe 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -58,9 +58,6 @@
/src/tests/**/gpu/ @openvinotoolkit/openvino-ie-gpu-maintainers
/thirdparty/ocl/ @openvinotoolkit/openvino-ie-gpu-maintainers @openvinotoolkit/openvino-ie-gpu-developers
-# OpenVINO GNA:
-/src/plugins/intel_gna/ @openvinotoolkit/openvino-ie-gna-maintainers
-
# OpenVINO Auto (MULTI) plugin:
/src/plugins/auto/ @openvinotoolkit/openvino-ie-auto-multi-maintainers
@@ -118,7 +115,6 @@
/docs/snippets/ @openvinotoolkit/openvino-docs-maintainers @openvinotoolkit/openvino-ie-maintainers
/docs/OV_Runtime_UG/supported_plugins/ARM_CPU.md @openvinotoolkit/openvino-docs-maintainers @openvinotoolkit/openvino_contrib-arm_plugin-maintainers
/docs/OV_Runtime_UG/supported_plugins/CPU.md @openvinotoolkit/openvino-docs-maintainers @openvinotoolkit/openvino-ie-cpu-maintainers
-/docs/OV_Runtime_UG/supported_plugins/GNA.md @openvinotoolkit/openvino-docs-maintainers @openvinotoolkit/openvino-ie-gna-maintainers
/docs/OV_Runtime_UG/supported_plugins/GPU*.md @openvinotoolkit/openvino-docs-maintainers @openvinotoolkit/openvino-ie-gpu-maintainers
# Configuration management
diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
index d8f447ef327..a3782490f81 100644
--- a/.github/ISSUE_TEMPLATE/bug.yml
+++ b/.github/ISSUE_TEMPLATE/bug.yml
@@ -41,9 +41,7 @@ body:
options:
- CPU
- GPU
- - GNA
- - NCS2 (Intel Movidius)
- - HDDL
+ - NPU
- AUTO
- HETERO
- BATCH
diff --git a/.github/components.yml b/.github/components.yml
index 26bc6ece11f..083dd2b769b 100644
--- a/.github/components.yml
+++ b/.github/components.yml
@@ -18,7 +18,6 @@ LP_transformations:
preprocessing:
revalidate:
- inference
- - GNA
- C_API
- Python_API
@@ -48,18 +47,10 @@ GPU:
- IR_FE
- PROXY
-GNA:
- build:
- - HETERO
- - AUTO_BATCH
- - TEMPLATE
- - IR_FE
-
HETERO:
revalidate:
- CPU
- GPU
- - GNA
- HETERO
- AUTO_BATCH
- TEMPLATE
@@ -72,7 +63,6 @@ AUTO_BATCH:
revalidate:
- CPU
- GPU
- - GNA
- HETERO
- AUTO_BATCH
- TEMPLATE
@@ -85,7 +75,6 @@ TEMPLATE:
revalidate:
- CPU
- GPU
- - GNA
- HETERO
- AUTO_BATCH
- TEMPLATE
@@ -194,7 +183,6 @@ IE_Tests:
revalidate:
- CPU
- GPU
- - GNA
- HETERO
- AUTO_BATCH
- TEMPLATE
diff --git a/.github/github_org_control/config.json b/.github/github_org_control/config.json
index 1d87ff26bee..1eaab07c42b 100644
--- a/.github/github_org_control/config.json
+++ b/.github/github_org_control/config.json
@@ -24,7 +24,6 @@
"openvino-docs-maintainers": "category: docs",
"openvino-ie-maintainers": "category: inference",
"openvino-ie-cpu-maintainers": "category: CPU",
- "openvino-ie-gna-maintainers": "category: GNA",
"openvino-ie-gpu-maintainers": "category: GPU",
"openvino-ie-lpt-maintainers": "category: LP transformations",
"openvino-ie-transformations-maintainers": "category: transformations",
diff --git a/.github/labeler.yml b/.github/labeler.yml
index 95ba3b9a666..5c90a516be8 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -67,9 +67,6 @@
- 'src/frontends/common/include/openvino/frontend/extension.hpp'
- 'src/frontends/common/include/openvino/frontend/extension/**/*'
-'category: GNA':
-- 'src/plugins/intel_gna/**/*'
-
'category: GPU':
- 'src/plugins/intel_gpu/**/*'
- 'thirdparty/ocl/**/*'
diff --git a/.github/workflows/job_cxx_unit_tests.yml b/.github/workflows/job_cxx_unit_tests.yml
index e2c1cfc0fa7..e484dc59696 100644
--- a/.github/workflows/job_cxx_unit_tests.yml
+++ b/.github/workflows/job_cxx_unit_tests.yml
@@ -157,22 +157,6 @@ jobs:
${INSTALL_TEST_DIR}/ov_transformations_tests --gtest_print_time=1 \
--gtest_output=xml:${INSTALL_TEST_DIR}/TEST-Transformations.xml
- - name: Legacy Transformations func tests
- if: fromJSON(inputs.affected-components).GNA.test &&
- (runner.os != 'macOS' && runner.arch != 'ARM64')
- run: |
- source ${INSTALL_DIR}/setupvars.sh
- ${INSTALL_TEST_DIR}/ov_legacy_transformations_tests --gtest_print_time=1 \
- --gtest_output=xml:${INSTALL_TEST_DIR}/TEST-LegacyTransformations.xml
-
- - name: Inference Engine 1.0 unit tests
- if: fromJSON(inputs.affected-components).GNA.test &&
- (runner.os != 'macOS' && runner.arch != 'ARM64')
- run: |
- source ${INSTALL_DIR}/setupvars.sh
- ${INSTALL_TEST_DIR}/InferenceEngineUnitTests --gtest_print_time=1 \
- --gtest_output=xml:${INSTALL_TEST_DIR}/TEST-InferenceEngineUnitTests.xml
-
- name: Common test utils tests
run: |
source ${INSTALL_DIR}/setupvars.sh
diff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.yml
index 82b2f24b6b7..79ac560f84b 100644
--- a/.github/workflows/linux_conditional_compilation.yml
+++ b/.github/workflows/linux_conditional_compilation.yml
@@ -147,7 +147,6 @@ jobs:
-DENABLE_TESTS=ON \
-DENABLE_CPPLINT=OFF \
-DENABLE_NCC_STYLE=OFF \
- -DENABLE_INTEL_GNA=OFF \
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON \
-DENABLE_PROFILING_ITT=ON \
-DSELECTIVE_BUILD=COLLECT \
@@ -303,7 +302,6 @@ jobs:
-DSELECTIVE_BUILD=ON \
-DENABLE_TEMPLATE=OFF \
-DENABLE_INTEL_GPU=OFF \
- -DENABLE_INTEL_GNA=OFF \
-DENABLE_OV_TF_FRONTEND=OFF \
-DENABLE_OV_TF_LITE_FRONTEND=OFF \
-DENABLE_OV_PADDLE_FRONTEND=OFF \
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 3c1df21a9cf..45a25797e37 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -617,18 +617,6 @@ jobs:
run: |
call "${{ env.INSTALL_DIR }}\\setupvars.bat" && ${{ env.INSTALL_TEST_DIR }}/ov_transformations_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-Transformations.xml
- - name: Legacy Transformations func tests
- if: fromJSON(needs.smart_ci.outputs.affected_components).GNA.test
- shell: cmd
- run: |
- call "${{ env.INSTALL_DIR }}\\setupvars.bat" && ${{ env.INSTALL_TEST_DIR }}/ov_legacy_transformations_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-LegacyTransformations.xml
-
- - name: Inference Engine 1.0 unit tests
- if: fromJSON(needs.smart_ci.outputs.affected_components).GNA.test
- shell: cmd
- run: |
- call "${{ env.INSTALL_DIR }}\\setupvars.bat" && ${{ env.INSTALL_TEST_DIR }}/InferenceEngineUnitTests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-InferenceEngineUnitTests.xml
-
- name: Common test utils tests
shell: cmd
run: |
@@ -656,13 +644,7 @@ jobs:
run: |
call "${{ env.INSTALL_DIR }}\\setupvars.bat" && ${{ env.INSTALL_TEST_DIR }}/ov_op_conformance_tests --gtest_print_time=1 --gtest_filter="*OpImpl*" --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-TemplateOpImplTests.xml
- - name: GNA plugin unit tests
- if: fromJSON(needs.smart_ci.outputs.affected_components).GNA.test
- shell: cmd
- run: |
- call "${{ env.INSTALL_DIR }}\\setupvars.bat" && ${{ env.INSTALL_TEST_DIR }}/ov_gna_unit_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-GNAUnitTests.xml
-
- - name: AUTO unit tests
+ - name: AUTO unit tests
if: fromJSON(needs.smart_ci.outputs.affected_components).AUTO.test
shell: cmd
run: |
diff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.yml
index 57d8e327782..b21fa60686d 100644
--- a/.github/workflows/windows_conditional_compilation.yml
+++ b/.github/workflows/windows_conditional_compilation.yml
@@ -140,7 +140,6 @@ jobs:
-DENABLE_TESTS=ON `
-DENABLE_CPPLINT=OFF `
-DENABLE_NCC_STYLE=OFF `
- -DENABLE_INTEL_GNA=OFF `
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON `
-DENABLE_PROFILING_ITT=ON `
-DSELECTIVE_BUILD=COLLECT `
@@ -306,7 +305,6 @@ jobs:
-DSELECTIVE_BUILD=ON `
-DENABLE_TEMPLATE=OFF `
-DENABLE_INTEL_GPU=OFF `
- -DENABLE_INTEL_GNA=OFF `
-DENABLE_OV_TF_FRONTEND=OFF `
-DENABLE_OV_TF_LITE_FRONTEND=OFF `
-DENABLE_OV_PADDLE_FRONTEND=OFF `
diff --git a/README.md b/README.md
index af0d31bb5b8..80af816b80f 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@ OpenVINO™ is an open-source toolkit for optimizing and deploying AI inference.
- Reduce resource demands and efficiently deploy on a range of Intel® platforms from edge to cloud
-This open-source version includes several components: namely [OpenVINO Model Converter (OVC)], [OpenVINO™ Runtime], as well as CPU, GPU, GNA, multi device and heterogeneous plugins to accelerate deep learning inference on Intel® CPUs and Intel® Processor Graphics.
+This open-source version includes several components: namely [OpenVINO Model Converter (OVC)], [OpenVINO™ Runtime], as well as CPU, GPU, multi device and heterogeneous plugins to accelerate deep learning inference on Intel® CPUs and Intel® Processor Graphics.
It supports pre-trained models from [Open Model Zoo], along with 100+ open
source and public models in popular formats such as TensorFlow, ONNX, PaddlePaddle, MXNet, Caffe, Kaldi.
@@ -82,12 +82,6 @@ The OpenVINO™ Runtime can infer models on different hardware devices. This sec
openvino_intel_gpu_plugin |
Intel Processor Graphics, including Intel HD Graphics and Intel Iris Graphics |
-
- | GNA |
- Intel GNA |
- openvino_intel_gna_plugin |
- Intel Speech Enabling Developer Kit, Amazon Alexa* Premium Far-Field Developer Kit, Intel Pentium Silver J5005 Processor, Intel Pentium Silver N5000 Processor, Intel Celeron J4005 Processor, Intel Celeron J4105 Processor, Intel Celeron Processor N4100, Intel Celeron Processor N4000, Intel Core i3-8121U Processor, Intel Core i7-1065G7 Processor, Intel Core i7-1060G7 Processor, Intel Core i5-1035G4 Processor, Intel Core i5-1035G7 Processor, Intel Core i5-1035G1 Processor, Intel Core i5-1030G7 Processor, Intel Core i5-1030G4 Processor, Intel Core i3-1005G1 Processor, Intel Core i3-1000G1 Processor, Intel Core i3-1000G4 Processor |
-
diff --git a/cmake/coverage.cmake b/cmake/coverage.cmake
index 2f39ba2d93b..1f1c4c45548 100644
--- a/cmake/coverage.cmake
+++ b/cmake/coverage.cmake
@@ -89,13 +89,6 @@ if(ENABLE_INTEL_CPU)
PREFIX "${OV_COVERAGE_BASE_DIRECTORY}")
endif()
-if(ENABLE_INTEL_GNA)
- ov_coverage_extract(INPUT "openvino" OUTPUT "intel_gna_plugin"
- PATTERNS "${OV_COVERAGE_BASE_DIRECTORY}/src/plugins/intel_gna/*")
- ov_coverage_genhtml(INFO_FILE "intel_gna_plugin"
- PREFIX "${OV_COVERAGE_BASE_DIRECTORY}")
-endif()
-
if (ENABLE_INTEL_GPU)
ov_coverage_extract(INPUT "openvino" OUTPUT "intel_gpu_plugin"
PATTERNS "${OV_COVERAGE_BASE_DIRECTORY}/src/plugins/intel_gpu/*")
diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake
index c90309ab294..169fa4fc889 100644
--- a/cmake/dependencies.cmake
+++ b/cmake/dependencies.cmake
@@ -221,47 +221,3 @@ Build oneTBB from sources and set TBBROOT environment var before OpenVINO cmake
update_deps_cache(TBBBIND_2_5_ROOT "${TBBBIND_2_5}" "Path to TBBBIND_2_5 root folder")
update_deps_cache(TBBBIND_2_5_DIR "${TBBBIND_2_5}/cmake" "Path to TBBBIND_2_5 cmake folder")
endfunction()
-
-if(ENABLE_INTEL_GNA)
- reset_deps_cache(
- GNA_EXT_DIR
- GNA_PLATFORM_DIR
- GNA_KERNEL_LIB_NAME
- GNA_LIBS_LIST
- GNA_LIB_DIR
- libGNA_INCLUDE_DIRS
- libGNA_LIBRARIES_BASE_PATH)
- set(GNA_VERSION "03.05.00.2116")
- set(GNA_HASH "960350567702bda17276ac4c060d7524fb7ce7ced785004bd861c81ff2bfe2c5")
-
- set(FILES_TO_EXTRACT_LIST gna_${GNA_VERSION}/include)
- if(WIN32)
- LIST(APPEND FILES_TO_EXTRACT_LIST gna_${GNA_VERSION}/win64)
- else()
- LIST(APPEND FILES_TO_EXTRACT_LIST gna_${GNA_VERSION}/linux)
- endif()
-
- RESOLVE_DEPENDENCY(GNA_EXT_DIR
- ARCHIVE_UNIFIED "gna/gna_${GNA_VERSION}.zip"
- TARGET_PATH "${TEMP}/gna_${GNA_VERSION}"
- VERSION_REGEX ".*_([0-9]+.[0-9]+.[0-9]+.[0-9]+).*"
- FILES_TO_EXTRACT FILES_TO_EXTRACT_LIST
- SHA256 ${GNA_HASH}
- USE_NEW_LOCATION TRUE)
- update_deps_cache(GNA_EXT_DIR "${GNA_EXT_DIR}" "Path to GNA root folder")
- debug_message(STATUS "gna=" ${GNA_EXT_DIR})
-
- if (WIN32)
- set(GNA_PLATFORM_DIR win64 CACHE STRING "" FORCE)
- elseif (UNIX)
- set(GNA_PLATFORM_DIR linux CACHE STRING "" FORCE)
- else ()
- message(FATAL_ERROR "GNA not supported on this platform, only linux, and windows")
- endif ()
- set(GNA_LIB_DIR x64 CACHE STRING "" FORCE)
- set(GNA_PATH ${GNA_EXT_DIR}/${GNA_PLATFORM_DIR}/${GNA_LIB_DIR} CACHE STRING "" FORCE)
-
- if(NOT BUILD_SHARED_LIBS)
- list(APPEND PATH_VARS "GNA_PATH")
- endif()
-endif()
diff --git a/cmake/features.cmake b/cmake/features.cmake
index 2a970e5720c..a4d19f116cb 100644
--- a/cmake/features.cmake
+++ b/cmake/features.cmake
@@ -103,13 +103,6 @@ endif()
ov_dependent_option (ENABLE_TBBBIND_2_5 "Enable TBBBind_2_5 static usage in OpenVINO runtime" ${ENABLE_TBBBIND_2_5_DEFAULT} "THREADING MATCHES TBB; NOT APPLE" OFF)
ov_dependent_option (ENABLE_TBB_RELEASE_ONLY "Only Release TBB libraries are linked to the OpenVINO Runtime binaries" ON "THREADING MATCHES TBB;LINUX" OFF)
-ov_dependent_option (ENABLE_INTEL_GNA "GNA support for OpenVINO Runtime" ON
- "NOT APPLE;NOT ANDROID;X86_64;CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 5.4" OFF)
-
-ov_dependent_option (ENABLE_INTEL_GNA_DEBUG "GNA debug build" OFF "ENABLE_INTEL_GNA" OFF)
-ov_dependent_option (ENABLE_V7_SERIALIZE "enables serialization to IR v7" OFF "ENABLE_INTEL_GNA" OFF)
-ov_dependent_option (ENABLE_IR_V7_READER "Enables IR v7 reader" ${BUILD_SHARED_LIBS} "ENABLE_TESTS;ENABLE_INTEL_GNA" OFF)
-
ov_dependent_option (ENABLE_GAPI_PREPROCESSING "Enables G-API preprocessing" ON "NOT MINGW64" OFF)
ov_option (ENABLE_MULTI "Enables MULTI Device Plugin" ON)
diff --git a/cmake/packaging/debian.cmake b/cmake/packaging/debian.cmake
index b4d2a8ac462..9db940fae07 100644
--- a/cmake/packaging/debian.cmake
+++ b/cmake/packaging/debian.cmake
@@ -51,8 +51,6 @@ macro(ov_cpack_settings)
NOT item MATCHES "^${OV_CPACK_COMP_PYTHON_OPENVINO}_python.*" AND
# because in case of .deb package, pyopenvino_package_python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR} is installed
(NOT item MATCHES "^${OV_CPACK_COMP_PYTHON_OPENVINO_PACKAGE}_python.*" OR ENABLE_PYTHON_PACKAGING) AND
- # see ticket # 82605
- NOT item STREQUAL "gna" AND
# temporary block nvidia
NOT item STREQUAL "nvidia" AND
# don't install Intel OpenMP
@@ -183,23 +181,6 @@ macro(ov_cpack_settings)
set(gpu_copyright "generic")
endif()
- # intel-gna
- if(ENABLE_INTEL_GNA AND "gna" IN_LIST CPACK_COMPONENTS_ALL)
- set(CPACK_COMPONENT_GNA_DESCRIPTION "Intel® Gaussian Neural Accelerator inference plugin")
- set(CPACK_COMPONENT_GNA_DEPENDS "${OV_CPACK_COMP_CORE}")
- set(CPACK_DEBIAN_GNA_PACKAGE_NAME "libopenvino-intel-gna-plugin-${cpack_name_ver}")
- # since we have libgna.so we need to call ldconfig and have `def_triggers` here
- set(CPACK_DEBIAN_GNA_PACKAGE_CONTROL_EXTRA "${def_postinst};${def_postrm};${def_triggers}")
-
- ov_debian_add_lintian_suppression(gna
- # package name matches libopenvino_intel_gna_plugin.so
- # but lintian looks at libgna.so.2 since it's a versioned library
- "package-name-doesnt-match-sonames")
- set(gna_copyright "generic")
-
- _ov_add_plugin(gna OFF)
- endif()
-
# # add pseudo plugins are recommended to core component
# if(pseudo_plugins_recommends)
# # see https://superuser.com/questions/70031/what-is-the-difference-between-recommended-and-suggested-packages-ubuntu.
diff --git a/cmake/packaging/rpm.cmake b/cmake/packaging/rpm.cmake
index c083fc2afb2..e6bb1aca1c5 100644
--- a/cmake/packaging/rpm.cmake
+++ b/cmake/packaging/rpm.cmake
@@ -37,8 +37,6 @@ macro(ov_cpack_settings)
NOT item MATCHES "^${OV_CPACK_COMP_PYTHON_OPENVINO}_python.*" AND
# because in case of .rpm package, pyopenvino_package_python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR} is installed
(NOT item MATCHES "^${OV_CPACK_COMP_PYTHON_OPENVINO_PACKAGE}_python.*" OR ENABLE_PYTHON_PACKAGING) AND
- # see ticket # 82605
- NOT item STREQUAL "gna" AND
# temporary block nvidia
NOT item STREQUAL "nvidia" AND
# don't install Intel OpenMP
@@ -179,15 +177,6 @@ macro(ov_cpack_settings)
set(gpu_copyright "generic")
endif()
- # intel-gna
- if(ENABLE_INTEL_GNA AND "gna" IN_LIST CPACK_COMPONENTS_ALL)
- set(CPACK_COMPONENT_GNA_DESCRIPTION "Intel® Gaussian Neural Accelerator inference plugin")
- set(CPACK_RPM_GNA_PACKAGE_REQUIRES "${core_package}")
- set(CPACK_RPM_GNA_PACKAGE_NAME "libopenvino-intel-gna-plugin-${cpack_name_ver}")
- _ov_add_package(plugin_packages gna)
- set(gna_copyright "generic")
- endif()
-
#
# Frontends
#
diff --git a/cmake/templates/OpenVINOConfig.cmake.in b/cmake/templates/OpenVINOConfig.cmake.in
index 470be5d17b1..6cf044d3927 100644
--- a/cmake/templates/OpenVINOConfig.cmake.in
+++ b/cmake/templates/OpenVINOConfig.cmake.in
@@ -417,20 +417,6 @@ macro(_ov_find_intel_gpu_dependencies)
unset(_OV_ENABLE_ONEDNN_FOR_GPU)
endmacro()
-macro(_ov_find_intel_gna_dependencies)
- set(_OV_ENABLE_INTEL_GNA "@ENABLE_INTEL_GNA@")
- if(_OV_ENABLE_INTEL_GNA)
- set_and_check(GNA_PATH "@PACKAGE_GNA_PATH@")
- _ov_find_dependency(libGNA
- COMPONENTS KERNEL
- CONFIG
- PATHS "${CMAKE_CURRENT_LIST_DIR}"
- NO_DEFAULT_PATH)
- unset(GNA_PATH)
- endif()
- unset(_OV_ENABLE_INTEL_GNA)
-endmacro()
-
macro(_ov_find_protobuf_frontend_dependency)
set(_OV_ENABLE_SYSTEM_PROTOBUF "@ENABLE_SYSTEM_PROTOBUF@")
set(_OV_PROTOBUF_PACKAGE_CONFIG "@protobuf_config@")
@@ -518,7 +504,6 @@ if(NOT _OV_ENABLE_OPENVINO_BUILD_SHARED)
# plugin dependencies
_ov_find_intel_cpu_dependencies()
_ov_find_intel_gpu_dependencies()
- _ov_find_intel_gna_dependencies()
endif()
_ov_find_dependency(Threads)
diff --git a/docs/articles_en/about_openvino/system_requirements.rst b/docs/articles_en/about_openvino/system_requirements.rst
index 7923e51be90..f6e32c4a0a3 100644
--- a/docs/articles_en/about_openvino/system_requirements.rst
+++ b/docs/articles_en/about_openvino/system_requirements.rst
@@ -81,7 +81,7 @@ GPU
were used during OpenVINO internal validation: 22.43 for Ubuntu 22.04, 21.48
for Ubuntu 20.04 and 21.49 for Red Hat Enterprise Linux 8.
-NPU and GNA
+NPU
#############################
.. tab-set::
@@ -91,13 +91,6 @@ NPU and GNA
* Ubuntu 22.04 long-term support (LTS), 64-bit
* Windows 11, 64-bit
- .. tab-item:: Operating Systems for GNA
-
- * Ubuntu 22.04 long-term support (LTS), 64-bit
- * Ubuntu 20.04 long-term support (LTS), 64-bit
- * Windows 10, 64-bit
- * Windows 11, 64-bit
-
.. tab-item:: Additional considerations
* These Accelerators require drivers that are not included in the
@@ -130,7 +123,7 @@ Operating systems and developer environment
Higher versions of kernel might be required for 10th Gen Intel® Core™ Processors,
11th Gen Intel® Core™ Processors, 11th Gen Intel® Core™ Processors S-Series Processors,
12th Gen Intel® Core™ Processors, 13th Gen Intel® Core™ Processors, Intel® Core™ Ultra
- Processors, or 4th Gen Intel® Xeon® Scalable Processors to support CPU, GPU, GNA or
+ Processors, or 4th Gen Intel® Xeon® Scalable Processors to support CPU, GPU or
hybrid-cores CPU capabilities.
.. tab-item:: Windows
diff --git a/docs/articles_en/glossary.rst b/docs/articles_en/glossary.rst
index 81224891f4b..24bbbd8b382 100644
--- a/docs/articles_en/glossary.rst
+++ b/docs/articles_en/glossary.rst
@@ -75,7 +75,7 @@ Glossary of terms used in OpenVINO™
| Number of images to analyze during one call of infer. Maximum batch size is a property of the model set before its compilation. In NHWC, NCHW, and NCDHW image data layout representations, the 'N' refers to the number of images in the batch.
| *Device Affinity*
-| A preferred hardware device to run inference (CPU, GPU, GNA, etc.).
+| A preferred hardware device to run inference (CPU, GPU, NPU, etc.).
| *Extensibility mechanism, Custom layers*
| The mechanism that provides you with capabilities to extend the OpenVINO™ Runtime and model conversion API so that they can work with models containing operations that are not yet supported.
@@ -87,7 +87,7 @@ Glossary of terms used in OpenVINO™
| The Conversion API is used to import and convert models trained in popular frameworks to a format usable by other OpenVINO components. Model conversion API is represented by a Python ``openvino.convert_model()`` method and ``ovc`` command-line tool.
| *OpenVINO™ Core*
-| OpenVINO™ Core is a software component that manages inference on certain Intel(R) hardware devices: CPU, GPU, GNA, etc.
+| OpenVINO™ Core is a software component that manages inference on certain Intel(R) hardware devices: CPU, GPU, NPU, etc.
| *OpenVINO™ API*
| The basic default API for all supported devices, which allows you to load a model from Intermediate Representation or convert from ONNX, PaddlePaddle, TensorFlow, TensorFlow Lite file formats, set input and output formats and execute the model on various devices.
diff --git a/docs/articles_en/openvino_workflow/deployment_intro/conditional_compilation_deployment.rst b/docs/articles_en/openvino_workflow/deployment_intro/conditional_compilation_deployment.rst
index eff28154130..0f0e88070b9 100644
--- a/docs/articles_en/openvino_workflow/deployment_intro/conditional_compilation_deployment.rst
+++ b/docs/articles_en/openvino_workflow/deployment_intro/conditional_compilation_deployment.rst
@@ -245,7 +245,7 @@ Build OpenVINO with conditional compilation enabled:
cd %OPENVINO_HOME%
md build_cc
cd build_cc
- cmake -G Ninja -Wno-dev -DCMAKE_BUILD_TYPE=Debug -DENABLE_CPPLINT=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF -DENABLE_FASTER_BUILD=ON -DENABLE_SANITIZER=OFF -DTHREADING=TBB -DBUILD_SHARED_LIBS=OFF -DENABLE_PROFILING_ITT=ON -DSELECTIVE_BUILD=COLLECT -DENABLE_INTEL_GPU=OFF -DENABLE_INTEL_GNA=OFF -DENABLE_MULTI=OFF -DENABLE_AUTO=OFF -DENABLE_AUTO_BATCH=OFF -DENABLE_HETERO=OFF -DENABLE_TEMPLATE=OFF -DENABLE_OV_ONNX_FRONTEND=OFF -DENABLE_OV_PADDLE_FRONTEND=OFF -DENABLE_OV_PYTORCH_FRONTEND=OFF -DENABLE_OV_TF_FRONTEND=OFF -DCMAKE_INSTALL_PREFIX=install ..
+ cmake -G Ninja -Wno-dev -DCMAKE_BUILD_TYPE=Debug -DENABLE_CPPLINT=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF -DENABLE_FASTER_BUILD=ON -DENABLE_SANITIZER=OFF -DTHREADING=TBB -DBUILD_SHARED_LIBS=OFF -DENABLE_PROFILING_ITT=ON -DSELECTIVE_BUILD=COLLECT -DENABLE_INTEL_GPU=OFF -DENABLE_MULTI=OFF -DENABLE_AUTO=OFF -DENABLE_AUTO_BATCH=OFF -DENABLE_HETERO=OFF -DENABLE_TEMPLATE=OFF -DENABLE_OV_ONNX_FRONTEND=OFF -DENABLE_OV_PADDLE_FRONTEND=OFF -DENABLE_OV_PYTORCH_FRONTEND=OFF -DENABLE_OV_TF_FRONTEND=OFF -DCMAKE_INSTALL_PREFIX=install ..
cmake --build . --config Debug
@@ -278,7 +278,7 @@ Generate final optimal binaries size of OpenVINO package
md build
cd build
- cmake -G "Visual Studio 16 2019" -A x64 -DENABLE_CPPLINT=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF -DCMAKE_BUILD_TYPE=Release -DENABLE_FASTER_BUILD=ON -DENABLE_PROFILING_ITT=OFF -DSELECTIVE_BUILD=ON -DENABLE_INTEL_GPU=OFF -DENABLE_INTEL_GNA=OFF -DENABLE_MULTI=OFF -DENABLE_AUTO=OFF -DENABLE_AUTO_BATCH=OFF -DENABLE_HETERO=OFF -DENABLE_TEMPLATE=OFF -DENABLE_OV_ONNX_FRONTEND=OFF -DENABLE_OV_PADDLE_FRONTEND=OFF -DENABLE_OV_PYTORCH_FRONTEND=OFF -DENABLE_OV_TF_FRONTEND=OFF -DSELECTIVE_BUILD_STAT=%OPENVINO_HOME%\cc_data\*.csv -DBUILD_SHARED_LIBS=OFF -DENABLE_LTO=ON -DENABLE_ONEDNN_FOR_GPU=OFF -DENABLE_GAPI_PREPROCESSING=OFF -DENABLE_OV_TF_LITE_FRONTEND=OFF -DENABLE_PROFILING_FIRST_INFERENCE=OFF ..
+ cmake -G "Visual Studio 16 2019" -A x64 -DENABLE_CPPLINT=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF -DCMAKE_BUILD_TYPE=Release -DENABLE_FASTER_BUILD=ON -DENABLE_PROFILING_ITT=OFF -DSELECTIVE_BUILD=ON -DENABLE_INTEL_GPU=OFF -DENABLE_MULTI=OFF -DENABLE_AUTO=OFF -DENABLE_AUTO_BATCH=OFF -DENABLE_HETERO=OFF -DENABLE_TEMPLATE=OFF -DENABLE_OV_ONNX_FRONTEND=OFF -DENABLE_OV_PADDLE_FRONTEND=OFF -DENABLE_OV_PYTORCH_FRONTEND=OFF -DENABLE_OV_TF_FRONTEND=OFF -DSELECTIVE_BUILD_STAT=%OPENVINO_HOME%\cc_data\*.csv -DBUILD_SHARED_LIBS=OFF -DENABLE_LTO=ON -DENABLE_ONEDNN_FOR_GPU=OFF -DENABLE_GAPI_PREPROCESSING=OFF -DENABLE_OV_TF_LITE_FRONTEND=OFF -DENABLE_PROFILING_FIRST_INFERENCE=OFF ..
cmake --build . --config Release
diff --git a/docs/dev/cmake_options_for_custom_compilation.md b/docs/dev/cmake_options_for_custom_compilation.md
index c6eb28d536d..36ba866b32f 100644
--- a/docs/dev/cmake_options_for_custom_compilation.md
+++ b/docs/dev/cmake_options_for_custom_compilation.md
@@ -19,8 +19,6 @@ This document provides description and default values for CMake options that can
* `ON` is default for x86 platforms; `OFF`, otherwise.
* `ENABLE_INTEL_GPU` enables Intel GPU plugin compilation:
* `ON` is default for x86 platforms; not available, otherwise.
- * `ENABLE_INTEL_GNA` enables GNA plugin compilation:
- * `ON` is default for x86 platforms; not available, otherwise.
* `ENABLE_HETERO` enables HETERO plugin build:
* `ON` is default.
* `ENABLE_MULTI` enables MULTI plugin build:
@@ -58,9 +56,6 @@ This document provides description and default values for CMake options that can
* `ON` if requirements are satisfied (auto-discovered by CMake).
* `ENABLE_TESTS` enables tests compilation:
* `OFF` is default.
-* `ENABLE_IR_V7_READER` enables IR v7 reader:
- * `ON` is default.
- **Note:** must be turned `OFF` when building OpenVINO runtime as static
* `ENABLE_DOCS` enables building the OpenVINO documentation:
* `OFF` is on Debian (Ubuntu) OSes
* `OFF` is in other cases.
diff --git a/docs/dev/static_libaries.md b/docs/dev/static_libaries.md
index e538a37555f..7b00f9e5499 100644
--- a/docs/dev/static_libaries.md
+++ b/docs/dev/static_libaries.md
@@ -31,14 +31,12 @@ The default architecture of OpenVINO Runtime assumes that the following componen
* (Device) Inference backends (CPU, GPU, MULTI, HETERO, etc.)
* (Model) Frontends (IR, ONNX, PDPD, etc.)
* Preprocessing library (to perform preprocessing, e.g. resize and color space conversions)
-* IR v7 reader (used in legacy tests only, if you are not to going to run OpenVINO tests, set `-DENABLE_TESTS=OFF` which disables IR v7 reader)
With the static OpenVINO Runtime, all these modules should be linked into a final user application and **the list of modules/configuration must be known for the CMake configuration stage**. To minimize the total binary size, you can explicitly turn `OFF` unnecessary components. Use [[CMake Options for Custom Compilation|CMakeOptionsForCustomCompilation ]] as a reference for OpenVINO CMake configuration.
For example, to enable only IR v11 reading and CPU inference capabilities, use:
```sh
cmake -DENABLE_INTEL_GPU=OFF \
- -DENABLE_INTEL_GNA=OFF \
-DENABLE_TEMPLATE=OFF \
-DENABLE_HETERO=OFF \
-DENABLE_MULTI=OFF \
@@ -49,7 +47,6 @@ cmake -DENABLE_INTEL_GPU=OFF \
-DENABLE_OV_TF_FRONTEND=OFF \
-DENABLE_OV_TF_LITE_FRONTEND=OFF \
-DENABLE_OV_PYTORCH_FRONTEND=OFF \
- -DENABLE_IR_V7_READER=OFF \
-DENABLE_GAPI_PREPROCESSING=OFF \
-DENABLE_INTEL_CPU=ON \
-DENABLE_OV_IR_FRONTEND=ON
@@ -135,7 +132,6 @@ cmake -DCMAKE_TOOLCHAIN_FILE=/cmake/toolchains/mt.runtime.w
* The enabled and tested capabilities of OpenVINO Runtime in a static build:
* OpenVINO common runtime - work with `ov::Model`, perform model loading on particular device
- * CPU and GNA inference plugins (**GPU is not enabled**)
* MULTI, HETERO, AUTO, and BATCH inference modes
* IR, ONNX, PDPD, and TF frontends to read `ov::Model`
* Static build support for building static libraries only for OpenVINO Runtime libraries. All other third-party prebuilt dependencies remain in the same format:
diff --git a/src/cmake/openvino.cmake b/src/cmake/openvino.cmake
index 72fecabd929..355d7ed13f1 100644
--- a/src/cmake/openvino.cmake
+++ b/src/cmake/openvino.cmake
@@ -54,12 +54,6 @@ endif()
if(NOT BUILD_SHARED_LIBS)
target_compile_definitions(${TARGET_NAME} PUBLIC OPENVINO_STATIC_LIBRARY)
-
- # TODO: remove together we GNA plugin
- # for static linkage the dependencies are in opposite order
- if(TARGET inference_engine_ir_v7_reader)
- target_link_libraries(${TARGET_NAME} PRIVATE inference_engine_ir_v7_reader)
- endif()
endif()
if(WIN32)
diff --git a/src/inference/CMakeLists.txt b/src/inference/CMakeLists.txt
index 768e7cf1185..6525d181c02 100644
--- a/src/inference/CMakeLists.txt
+++ b/src/inference/CMakeLists.txt
@@ -23,14 +23,6 @@ file (GLOB LIBRARY_SRC
set(OV_STATIC_DEPENDENT_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/file_utils.cpp)
list(REMOVE_ITEM LIBRARY_SRC ${OV_STATIC_DEPENDENT_FILES})
-if(BUILD_SHARED_LIBS OR ENABLE_IR_V7_READER)
- # TODO: remove together with GNA plugin
- # we have unconditional adding of the ENABLE_IR_V7_READER compile definition for shared libs case
- # to avoid rebuild, relink during work with build tree
- set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/src/ie_network_reader.cpp PROPERTIES
- COMPILE_DEFINITIONS "ENABLE_IR_V7_READER")
-endif()
-
file (GLOB LIBRARY_HEADERS
${CMAKE_CURRENT_SOURCE_DIR}/src/*.h
${CMAKE_CURRENT_SOURCE_DIR}/src/*.hpp
diff --git a/src/inference/include/openvino/runtime/core.hpp b/src/inference/include/openvino/runtime/core.hpp
index 153559c17e0..ea31992ce1e 100644
--- a/src/inference/include/openvino/runtime/core.hpp
+++ b/src/inference/include/openvino/runtime/core.hpp
@@ -667,7 +667,7 @@ public:
* @brief Returns devices available for inference.
* Core objects go over all registered plugins and ask about available devices.
*
- * @return A vector of devices. The devices are returned as { CPU, GPU.0, GPU.1, GNA }.
+ * @return A vector of devices. The devices are returned as { CPU, GPU.0, GPU.1, NPU }.
* If there is more than one device of a specific type, they are enumerated with the .# suffix.
* Such enumerated device can later be used as a device name in all Core methods like Core::compile_model,
* Core::query_model, Core::set_property and so on.
diff --git a/src/inference/src/dev/core_impl.hpp b/src/inference/src/dev/core_impl.hpp
index f7cd4a781ab..86365f891fc 100644
--- a/src/inference/src/dev/core_impl.hpp
+++ b/src/inference/src/dev/core_impl.hpp
@@ -286,7 +286,7 @@ public:
/**
* @brief Returns devices available for neural networks inference
*
- * @return A vector of devices. The devices are returned as { CPU, GPU.0, GPU.1, GNA }
+ * @return A vector of devices. The devices are returned as { CPU, GPU.0, GPU.1, NPU }
* If there more than one device of specific type, they are enumerated with .# suffix.
*/
std::vector GetAvailableDevices() const override;
diff --git a/src/inference/src/ie_network_reader.cpp b/src/inference/src/ie_network_reader.cpp
index f5aca3586e8..b9543193a58 100644
--- a/src/inference/src/ie_network_reader.cpp
+++ b/src/inference/src/ie_network_reader.cpp
@@ -19,13 +19,7 @@
#include "ie_common.h"
#include "ie_icnn_network.hpp"
#include "ie_input_info.hpp"
-#include "openvino/frontend/manager.hpp"
-#include "openvino/runtime/shared_buffer.hpp"
-#ifdef ENABLE_IR_V7_READER
-# include "legacy/ie_ir_version.hpp"
-#endif
#include "itt.hpp"
-#include "legacy/ie_reader.hpp"
#include "legacy_op_extension.hpp"
#include "ngraph/function.hpp"
#include "ngraph/type/element_type.hpp"
@@ -33,6 +27,8 @@
#include "openvino/core/except.hpp"
#include "openvino/core/preprocess/pre_post_process.hpp"
#include "openvino/core/type/element_type.hpp"
+#include "openvino/frontend/manager.hpp"
+#include "openvino/runtime/shared_buffer.hpp"
#include "openvino/util/shared_object.hpp"
#include "so_ptr.hpp"
#include "transformations/rt_info/old_api_map_order_attribute.hpp"
@@ -40,179 +36,6 @@
namespace InferenceEngine {
-#ifdef ENABLE_IR_V7_READER
-
-/**
- * @brief This class is a wrapper for reader interfaces
- */
-class Reader : public IReader {
-# ifdef OPENVINO_STATIC_LIBRARY
- using ReaderPtr = std::shared_ptr;
-# else
- using ReaderPtr = ov::SoPtr;
-# endif
- ReaderPtr ptr;
-
-public:
- using Ptr = std::shared_ptr;
-
- explicit Reader(const std::string& location) {
-# ifdef OPENVINO_STATIC_LIBRARY
- // call library creator directly, since we are in the same application
- InferenceEngine::CreateReader(ptr);
- OPENVINO_ASSERT(ptr != nullptr, "Failed to create static version of IR v7 reader");
-# else
- ov::util::FilePath libraryPath = ov::util::to_file_path(FileUtils::makePluginLibraryName({}, location));
- ov::util::FilePath readersLibraryPath = FileUtils::makePath(getInferenceEngineLibraryPath(), libraryPath);
-
- if (FileUtils::fileExist(readersLibraryPath)) {
- libraryPath = readersLibraryPath;
- }
-
- auto so = ov::util::load_shared_object(libraryPath.c_str());
- std::shared_ptr plugin_impl;
- using createFunc = void(std::shared_ptr&);
- reinterpret_cast(ov::util::get_symbol(so, "CreateReader"))(plugin_impl);
- ptr = {plugin_impl, so};
-# endif // OPENVINO_STATIC_LIBRARY
- }
-
- bool supportModel(std::istream& model) const override {
- OV_ITT_SCOPED_TASK(ov::itt::domains::OV, "Reader::supportModel");
- return ptr->supportModel(model);
- }
-
- CNNNetwork read(std::istream& model, const std::vector& exts) const override {
- return ptr->read(model, exts);
- }
-
- CNNNetwork read(std::istream& model,
- const Blob::CPtr& weights,
- const std::vector& exts) const override {
- return ptr->read(model, weights, exts);
- }
-
- std::vector getDataFileExtensions() const override {
- return ptr->getDataFileExtensions();
- }
-};
-
-namespace {
-
-Reader::Ptr reader_irv7 = nullptr;
-
-void registerReaders() {
- OV_ITT_SCOPED_TASK(ov::itt::domains::OV, "registerReaders");
- static bool initialized = false;
- static std::mutex readerMutex;
- std::lock_guard lock(readerMutex);
- if (initialized)
- return;
-
- initialized = true;
-
- // try to load IR reader v7 if library exists
- try {
- reader_irv7 =
- std::make_shared(std::string("inference_engine_ir_v7_reader") + std::string(OV_BUILD_POSTFIX));
- } catch (const std::runtime_error&) {
- // runtime error is thrown in case of library cannot be loaded
- }
-}
-
-void assertIfIRv7LikeModel(std::istream& modelStream) {
- auto irVersion = details::get_ir_version(modelStream);
- bool isIRv7 = irVersion > 1 && irVersion <= 7;
-
- if (!isIRv7 || reader_irv7)
- return;
-
- IE_THROW() << "The support of IR v" << irVersion
- << " has been removed from the product. "
- "Please, convert the original model using the Model Optimizer which comes with this "
- "version of the OpenVINO to generate supported IR version.";
-}
-
-CNNNetwork load_ir_v7_network(const std::string& modelPath,
- const std::string& binPath,
- const std::vector& exts) {
- // Fix unicode name
-# if defined(OPENVINO_ENABLE_UNICODE_PATH_SUPPORT) && defined(_WIN32)
- std::wstring model_path = ov::util::string_to_wstring(modelPath.c_str());
-# else
- std::string model_path = modelPath;
-# endif
-
- if (ov::util::directory_exists(modelPath)) {
- return {};
- }
-
- // Try to open model file
- std::ifstream modelStream(model_path.c_str(), std::ios::binary);
- if (!modelStream.is_open())
- IE_THROW() << "Model file " << modelPath << " cannot be opened!";
-
- assertIfIRv7LikeModel(modelStream);
-
- // Check that reader supports the model
- if (reader_irv7 && reader_irv7->supportModel(modelStream)) {
- // Find weights
- std::string bPath = binPath;
- if (bPath.empty()) {
- auto pathWoExt = modelPath;
- auto pos = modelPath.rfind('.');
- if (pos != std::string::npos)
- pathWoExt = modelPath.substr(0, pos);
- for (const auto& ext : reader_irv7->getDataFileExtensions()) {
- bPath = pathWoExt + "." + ext;
- if (!FileUtils::fileExist(bPath)) {
- bPath.clear();
- } else {
- break;
- }
- }
- }
- if (!bPath.empty()) {
- // Open weights file
-# if defined(OPENVINO_ENABLE_UNICODE_PATH_SUPPORT) && defined(_WIN32)
- std::wstring weights_path = ov::util::string_to_wstring(bPath.c_str());
-# else
- std::string weights_path = bPath;
-# endif
- std::ifstream binStream;
- binStream.open(weights_path.c_str(), std::ios::binary);
- if (!binStream.is_open())
- IE_THROW() << "Weights file " << bPath << " cannot be opened!";
-
- binStream.seekg(0, std::ios::end);
- size_t fileSize = binStream.tellg();
- binStream.seekg(0, std::ios::beg);
-
- Blob::Ptr weights = make_shared_blob({Precision::U8, {fileSize}, C});
-
- {
- OV_ITT_SCOPE(FIRST_INFERENCE, ov::itt::domains::ReadTime, "ReadNetworkWeights");
- weights->allocate();
- binStream.read(weights->buffer(), fileSize);
- binStream.close();
- }
-
- // read model with weights
- auto network = reader_irv7->read(modelStream, weights, exts);
- modelStream.close();
- return network;
- }
- // read model without weights
- return reader_irv7->read(modelStream, exts);
- }
-
- return {};
-}
-
-} // namespace
-
-#endif // ENABLE_IR_V7_READER
-
namespace {
CNNNetwork convert_to_cnnnetwork(std::shared_ptr& function,
@@ -297,20 +120,6 @@ CNNNetwork details::ReadNetwork(const std::string& modelPath,
bool is_new_api,
bool enable_mmap) {
auto exts = ov::legacy_convert::convert_extension(ov_exts);
-#ifdef ENABLE_IR_V7_READER
- // IR v7 obsolete code
- {
- // Register readers if it is needed
- registerReaders();
- auto cnnnetwork = load_ir_v7_network(modelPath, binPath, exts);
-
- OPENVINO_SUPPRESS_DEPRECATED_START
- if (static_cast(cnnnetwork) != nullptr) {
- return cnnnetwork;
- }
- OPENVINO_SUPPRESS_DEPRECATED_END
- }
-#endif // ENABLE_IR_V7_READER
// Fix unicode name
#if defined(OPENVINO_ENABLE_UNICODE_PATH_SUPPORT) && defined(_WIN32)
@@ -366,21 +175,6 @@ CNNNetwork details::ReadNetwork(const std::string& model,
std::istream& modelStream = modelStringStream;
auto exts = ov::legacy_convert::convert_extension(ov_exts);
-#ifdef ENABLE_IR_V7_READER
- // IR v7 obsolete code
- {
- // Register readers if it is needed
- registerReaders();
- assertIfIRv7LikeModel(modelStream);
-
- if (reader_irv7 && reader_irv7->supportModel(modelStream)) {
- if (weights)
- return reader_irv7->read(modelStream, weights, exts);
- return reader_irv7->read(modelStream, exts);
- }
- }
-#endif // ENABLE_IR_V7_READER
-
// Try to load with FrontEndManager
ov::frontend::FrontEndManager manager;
ov::frontend::FrontEnd::Ptr FE;
diff --git a/src/plugins/auto/src/plugin_config.cpp b/src/plugins/auto/src/plugin_config.cpp
index c8e32fc68c2..bfc09210a68 100644
--- a/src/plugins/auto/src/plugin_config.cpp
+++ b/src/plugins/auto/src/plugin_config.cpp
@@ -8,7 +8,7 @@ namespace auto_plugin {
// AUTO will enable the blocklist if
// 1.No device priority passed to AUTO/MULTI.(eg. core.compile_model(model, "AUTO", configs);)
// 2.No valid device parsed out from device priority (eg. core.compile_model(model, "AUTO:-CPU,-GPU", configs);).
-const std::set PluginConfig::device_block_list = {"NPU", "GNA", "notIntelGPU"};
+const std::set PluginConfig::device_block_list = {"NPU", "notIntelGPU"};
PluginConfig::PluginConfig() {
set_default();
diff --git a/src/plugins/intel_gna/CMakeLists.txt b/src/plugins/intel_gna/CMakeLists.txt
deleted file mode 100644
index ce51c8fc88a..00000000000
--- a/src/plugins/intel_gna/CMakeLists.txt
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright (C) 2018-2023 Intel Corporation
-# SPDX-License-Identifier: Apache-2.0
-#
-
-if (NOT ENABLE_INTEL_GNA)
- return()
-endif()
-
-# GNA plugin will be removed before 2024.0 together with API 1.0
-ov_disable_deprecated_warnings()
-
-add_subdirectory(legacy)
-
-set(TARGET_NAME "openvino_intel_gna_plugin")
-
-if (ENABLE_INTEL_GNA_DEBUG)
- add_compile_definitions(GNA_DEBUG)
-endif()
-
-file(GLOB_RECURSE SOURCES
- ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp)
-
-file(GLOB_RECURSE HEADERS
- ${CMAKE_CURRENT_SOURCE_DIR}/src/*.h
- ${CMAKE_CURRENT_SOURCE_DIR}/src/*.hpp)
-
-# build avx2.cpp with AVX2 support, only for Windows
-if(ENABLE_AVX2 AND CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
- ov_avx2_optimization_flags(avx2_flags)
- set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/src/pre_post_process/hw_accelerated_converter_avx2.cpp PROPERTIES COMPILE_OPTIONS "${avx2_flags}")
- add_compile_definitions(HAVE_AVX2=1)
-endif()
-
-
-find_package(libGNA REQUIRED
- CONFIG
- PATHS "${CMAKE_CURRENT_SOURCE_DIR}/cmake"
- NO_DEFAULT_PATH
- NO_CMAKE_FIND_ROOT_PATH)
-
-#
-# Shared plugin library
-#
-
-ov_add_plugin(NAME ${TARGET_NAME}
- DEVICE_NAME "GNA"
- SOURCES ${SOURCES} ${HEADERS}
- VERSION_DEFINES_FOR src/gna_plugin_entry_points.cpp
- ADD_CLANG_FORMAT)
-
-# Enable support of CC for the plugin
-ov_mark_target_as_cc(${TARGET_NAME})
-
-target_link_libraries(${TARGET_NAME} PRIVATE inference_engine_legacy
- Threads::Threads libGNA)
-target_include_directories(${TARGET_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)
-
-target_compile_definitions(${TARGET_NAME}
- PRIVATE
- _NO_MKL_
- )
-
-# must be called after all target_link_libraries
-ov_add_api_validator_post_build_step(TARGET ${TARGET_NAME})
-
-#
-# Static version for tests
-#
-
-add_library(${TARGET_NAME}_test_static STATIC EXCLUDE_FROM_ALL ${SOURCES} ${HEADERS})
-
-ov_add_version_defines(src/gna_plugin_entry_points.cpp ${TARGET_NAME}_test_static)
-
-target_compile_definitions(${TARGET_NAME}_test_static
- PRIVATE
- _NO_MKL_
- IMPLEMENT_INFERENCE_ENGINE_PLUGIN
- PUBLIC
- INTEGER_LOW_P
- USE_STATIC_IE)
-
-target_link_libraries(${TARGET_NAME}_test_static PUBLIC inference_engine_s inference_engine_transformations libGNA::API)
-target_include_directories(${TARGET_NAME}_test_static
- PUBLIC
- ${CMAKE_CURRENT_SOURCE_DIR}/src
- $
- PRIVATE
- $)
-
-set_target_properties(${TARGET_NAME} ${TARGET_NAME}_test_static
- PROPERTIES INTERPROCEDURAL_OPTIMIZATION_RELEASE ${ENABLE_LTO})
-
-# install
-
-if(BUILD_SHARED_LIBS)
- set(gna_component gna)
-else()
- # during static build all plugins are part of the core, thus the dependencies as well
- set(gna_component ${OV_CPACK_COMP_CORE})
-endif()
-
-file(GLOB_RECURSE gna_libraries "${libGNA_LIBRARIES_BASE_PATH}/*${CMAKE_SHARED_LIBRARY_SUFFIX}*")
-set(gna_library_installed OFF)
-
-foreach(gna_lib IN LISTS gna_libraries)
- # install only versioned files like libgna.so.N or libgna.so.N.M
- # and don't install global symlink libgna.so. Exceptions:
- # 1. On Windows we don't have libraries versioning and need to install all .dlls
- # 2. For case of static libraries we also need to install .so since it's required for linkage with final application
- if(gna_lib MATCHES "^.*\.${CMAKE_SHARED_LIBRARY_SUFFIX}(\.[0-9]+)+$" OR WIN32 OR NOT BUILD_SHARED_LIBS)
- install(FILES ${gna_lib}
- DESTINATION ${OV_CPACK_RUNTIMEDIR}
- COMPONENT ${gna_component})
- set(gna_library_installed ON)
- endif()
-endforeach()
-
-if(NOT gna_library_installed)
- message(FATAL_ERROR "Failed to install GNA library (available libraries: ${gna_libraries})")
-endif()
-
-# additional install rules for case of static libraries
-
-if(NOT BUILD_SHARED_LIBS)
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/libGNAConfig.cmake ${CMAKE_BINARY_DIR} COPYONLY)
- install(FILES "${CMAKE_BINARY_DIR}/libGNAConfig.cmake"
- DESTINATION ${OV_CPACK_IE_CMAKEDIR}
- COMPONENT ${gna_component}
- ${OV_CPACK_COMP_CORE_DEV_EXCLUDE_ALL})
-
- # install .lib file on Windows
- if(WIN32)
- file(GLOB_RECURSE gna_libraries "${libGNA_LIBRARIES_BASE_PATH}/*${CMAKE_STATIC_LIBRARY_SUFFIX}")
- install(FILES ${gna_libraries}
- DESTINATION ${OV_CPACK_LIBRARYDIR}
- COMPONENT ${gna_component}
- ${OV_CPACK_COMP_CORE_DEV_EXCLUDE_ALL})
- endif()
-endif()
-
-add_subdirectory(tests)
diff --git a/src/plugins/intel_gna/cmake/libGNAConfig.cmake b/src/plugins/intel_gna/cmake/libGNAConfig.cmake
deleted file mode 100644
index 299f4d2d7c4..00000000000
--- a/src/plugins/intel_gna/cmake/libGNAConfig.cmake
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright (C) 2018-2023 Intel Corporation
-# SPDX-License-Identifier: Apache-2.0
-#
-
-#
-# The module defines several imported targets:
-#
-# - (Optional) libGNA::API
-# - (Optional) libGNA::KERNEL
-#
-# And high-level imported interface target:
-#
-# - libGNA
-#
-# And the following variables:
-#
-# - libGNA_API_FOUND
-# - libGNA_KERNEL_FOUND
-#
-# The example usage:
-#
-# find_package(libGNA NO_MODULE COMPONENTS API KERNEL)
-#
-
-set(libGNA_FOUND ON)
-
-set(GNA_KERNEL_LIB_NAME gna CACHE STRING "" FORCE)
-
-if(NOT libGNA_FIND_COMPONENTS)
- set(libGNA_FIND_COMPONENTS "API;KERNEL")
-endif()
-
-foreach (_gna_component ${libGNA_FIND_COMPONENTS})
- set(libGNA_${_gna_component}_FOUND OFF)
- set(libGNA_FIND_REQUIRED_${_gna_component} ON)
-endforeach()
-
-set(libGNA_LIBRARIES_BASE_PATH ${GNA_PATH} CACHE STRING "" FORCE)
-
-if(libGNA_FIND_REQUIRED_KERNEL AND NOT TARGET libGNA::KERNEL)
- find_library(GNA_KERNEL_LIBRARY ${GNA_KERNEL_LIB_NAME}
- HINTS ${libGNA_LIBRARIES_BASE_PATH}
- NO_CMAKE_FIND_ROOT_PATH)
-
- if(GNA_KERNEL_LIBRARY)
- add_library(libGNA::KERNEL SHARED IMPORTED)
- set_property(TARGET libGNA::KERNEL APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
- if(WIN32)
- set(gna_dll "${CMAKE_SHARED_LIBRARY_PREFIX}${GNA_KERNEL_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}")
- set_target_properties(libGNA::KERNEL PROPERTIES
- IMPORTED_LOCATION_RELEASE "${libGNA_LIBRARIES_BASE_PATH}/${gna_dll}"
- IMPORTED_IMPLIB_RELEASE "${GNA_KERNEL_LIBRARY}")
- else()
- set_target_properties(libGNA::KERNEL PROPERTIES
- IMPORTED_LOCATION_RELEASE "${GNA_KERNEL_LIBRARY}"
- INTERFACE_LINK_OPTIONS "-Wl,-rpath-link,${libGNA_LIBRARIES_BASE_PATH}")
- endif()
- else()
- message(SEND_ERROR "GNA KERNEL library (${GNA_KERNEL_LIB_NAME}) was not found in ${libGNA_LIBRARIES_BASE_PATH}")
- endif()
-endif()
-
-if(libGNA_FIND_REQUIRED_API AND NOT TARGET libGNA::API)
- find_path(libGNA_INCLUDE_DIRS gna2-api.h
- PATHS "${GNA_EXT_DIR}/include"
- NO_CMAKE_FIND_ROOT_PATH)
- if(libGNA_INCLUDE_DIRS)
- add_library(libGNA::API INTERFACE IMPORTED)
- set_target_properties(libGNA::API PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${libGNA_INCLUDE_DIRS}")
- else()
- message(SEND_ERROR "GNA API headers (gna2-api.h) was not found in ${GNA_EXT_DIR}/include")
- endif()
-endif()
-
-if(TARGET libGNA::KERNEL)
- set(libGNA_KERNEL_FOUND ON)
-endif()
-
-if(TARGET libGNA::API)
- set(libGNA_API_FOUND ON)
-endif()
-
-if(NOT TARGET libGNA)
- add_library(libGNA INTERFACE IMPORTED)
- foreach(_lib_name IN LISTS libGNA_FIND_COMPONENTS)
- set_property(TARGET libGNA APPEND PROPERTY INTERFACE_LINK_LIBRARIES libGNA::${_lib_name})
- endforeach()
-endif()
diff --git a/src/plugins/intel_gna/docs/transformations.md b/src/plugins/intel_gna/docs/transformations.md
deleted file mode 100644
index 66510780a31..00000000000
--- a/src/plugins/intel_gna/docs/transformations.md
+++ /dev/null
@@ -1,97 +0,0 @@
-# GNA transformations documentation
-
-GNA Plugin provides implementation of multiple methods required by OpenVINO plugin API. Original model usually consists of variety of operations, i.e. Convolution, Add, Gather, LSTMSequence and so on. GNA Hardware is its own limitation and not all operations can be executed on GNA Hardware.
-One of the main functionalities for GNA Plugin is conversion of source network to equivalent network which could be executed on the GNA hardware. This conversion is done in LoadNetwok method.
-
-## LoadNetwork
-
-GNAPlugin::LoadNetwork in the future should execute following stages:
-- Converting input graph to fully GNA-supported graph (all in ngraph)
-- Creating and connecting GNA primitives within libGNA from ngraph-based network
-
-These stages include:
-- Obtain ngraph-based network from the CNNNetwork argument (if input is not ngraph-based, proceed to CNNNetwork passes stage)
-- Pass ngraph-based network through ngraph-based transformations.
-- Convert ngraph-based network to CNNNetwork-based
-- Pass network through CNNNetwork-based transformations.
-- Creating and connecting GNA primitives withing libGNA from CNNNetwork-bases graph
-Transformations are the way of modifying input graph. Ngraph-based transformations usually are of the following types:
-- inherited from ov::pass::ModelPass. They implement run_on_model method. It allows them to be a container of other transformations. For example, ngraph::pass::CommonOptimizations executes multiple transformations in it. Each of them do some basic transformations.
-- inherited from ov::pass::MatcherPass. Such transformations usually have a constructor. That constructor defines a pattern with the several connected together layers and a function that modifies found group of layers. The pattern can also handle additional predicates that do any checks on the traversed nodes. It is preferable to use that predicates explicitly rather than check and return from the transform function.
-GNA-specific ngraph-based transformations are placed in src/plugins/intel_gna/src/transformations. All transformations should have brief comments in their headers. That brief should describe what pattern transformation handles and what modifications do.
-There is also a directory src/plugins/intel_gna/src/transformations/rt_info with auxiliary runtime attributes. That attributes could be added into node rt_info map. That attributes can be read/write in transformations which is useful in some cases. For example, transformation can proceed some node in a special way if the node has special attribute.
-All new transformations should have unit tests, that are placed in src/plugins/intel_gna/tests/unit/transformations. All that unit tests are compiled in ov_gna_unit_tests binary.
-CNNNetwork transformations are so-called passes. They are placed in src/plugins/intel_gna/src/optimizer/gna_pass_manager.cpp. Passes proceed network as a
-```
-std::vector * pLayers
-```
-It is preferrable to write new transformations as nGraph passes and avoid implementing CNNNetwork passes. All CNNNetwork related code is considered as a legacy. Existed CNNNetwork passes are ported to ngraph.
-
-## GNA ngraph-based layers
-
-OpenVino allows to work with graph nodes as ov::Node class instances. Most of them are stored in src/core/include/openvino/op directory and could be used by all plugins. GNA plugin stores own (GNA-specific) layer types.
-1. src/plugins/intel_gna/legacy/include/legacy/ngraph_ops
-Here there are legacy layer types. Their names ends with “IE”. These types cannot be in graph, that pass to GNA plugin. All of these types are created within GNA transformations and used in GNA graph compiler for creating libGNA primitives. There are plans to rewrite all legacy code. These legacy types should be removed after that.
-2. src/plugins/intel_gna/src/ops
-GNA-specific operations. For example, GNAConvolution type describes convolution layers. It differs from common OpenVino Convolution type as it handles NHWC data layout instead of NCHW.
-Ngraph-based transformations
-1. Transformations that are common for all OpenVino plugins (are placed outside GNA plugin directory). These transformations perform different optimizations. For example, ov::pass::ConvertDivide transforms Divide operation into the sequence of nodes with Power layer. LSTMCellDecomposition extracts LSTMCell into subgraph of mathematical operations.
-2. Transformations that are specific for the GNA plugin (are placed inside GNA plugin directory)
-They also include src/plugins/intel_gna/legacy/include/legacy/transformations/convert_opset1_to_legacy directory with ngraph-based legacy transformations. These transformations produce “IE” layers. After rewriting GNA legacy code these transformations should be removed.
-
-### "Layout transformations"
-There are group of transformations that work with data layout. GNA-hardware supports MaxPool and Convolution operations in a different way in comparison to OpenVino common types. GNA supports NHWC layout, OpenVino supports NCHW layout.
-There are group of transformations ReplaceGnaNHWCLayers that substitutes common types with NCHW layout to GNA-specific types with NHWC layout. It is done with wrapping GNA-types with transpose operations, that converts layout on input and output of GNA-types. Unfortunately, in most situations GNA hardware cannot execute these transpose operations. To solve this issue, there are transformations that allows to push transposes through layers from GNA-specific NHWC layers to the start and end of the graph, exchanging Transpose/Gather layer with neighbor layer. Some of them (for example, TransposeSinking group of transformations) allows to push transpose layers through multiple layer types. These transformations are common for all OpenVino and stores outside GNA plugin code. They are not able to push Transpose layer through Reshape type nodes due to mathematical reasons.
-To push Transpose operation through Reshape nodes there are transformations that substitute Transpose + Reshape pattern with Reshape + Gather. Gather operation is not supported by the GNA hardware and it should also be pushed through the graph to the start and end. There are group of transformations that does it.
-Transpose/Gather sinking consists of multiple transformations. Each of these transformations works with a small pattern consisting of Transpose/Gather and a node with a specific kind of layers (for example, with binary elementwise operations). Sinking transformation interchanges layers. After each sinking transformation execution Transpose/Gather layer moves through one layer in the graph. There are multiple nodes between start/end of the graph and initial Transpose/Gather layer position. Node types can repeat multiple times while sinking and are going in a arbitrary order. The same Transpose/Sinking transformation should be executed multiple times. They use register_new_node functionality. This method adds new created Transpose/Gather node at the end of the matcher pass queue to allow the same transformation be executed once again without necessity to call it implicitly once again.
-TransposeSinking changes Concat and Split axis while pushing Transpose nodes through them. GNA doesn't support all possible Concat and Split axis. Some TransposeSinking transformations support callbacks. These callbacks are executed inside transformations and allow to add plugin specific checks. In these checks, GNA plugin prevents sinking transposes that would make some Split/Concats unsupported.
-As Transpose and Gather layers are moved to start and end of the graph they are cut from the graph and moved to ov::intel_gna::PrePostProcessModels structure as separate models. On each network inference plugin searches in this structure model for input/output, executes this model on CPU and copy resulted data as input/output of the entire model.
- TransposeSinking group of transformations doesn’t support currently StridedSlice layer. It leads to the next problem.
-GNA plugin has the following Slice layer flow:
-- SliceToStridedSlice transformation in CommonOptimizations converts Slice to StridedSlice
-- ConvertStridedSliceToCropMatcher transformation convers StridedSlice to CropIE
-- convertFunctionToICNNNetwork converts CropIE to CNNNetwork CropLayer
-- GNA graph compiler converts CropLayer into affine layer
-Since TransposeSInking is called after common optimizations it cannot push Transpose through the StridedSlice. If we have Slice operation in the original model we should prevent converting Slice to StridedSlice in common optimization. It is done by next steps:
-- Disable execution of SliceToStridedSlice transformation
-- Execute entire set of ngraph-based transformations
-- Execute a set of transformations to convert Slice -> StridedSlice -> CropIE nodes
-When StridedSlice layer will be supported by TransposeSInking these steps could be removed from GNA plugin pipeline.
-
-## CNNNetwork based passes
-
-After running ngraph-based transformations model is converted with function convertFunctionToICNNNetwork into CNNNetwork-based function. The next step is the model transformation with the CNNNetwork-based passes.
-All the legacy CNNNetwork-based passes are stored in src/plugins/intel_gna/src/optimizer/gna_pass_manager.cpp. One of the main difference between legacy passes and ngraph transformations is that legacy passes doesn’t have pattern matching functionality. Each of the passes iterating through the graph nodes (previously sorting toplogical) searching for sought sequence of layers and modify them.
-It should be mentioned that ngraph API stores constant data as input nodes with type Constant, but CNNNetwork API stores data as a BLOB in layer info.
-
-## Debugging
-
-There is an ability to dump model between transformations/passes.
-To dump CNNNetwork passes use -DENABLE_INTEL_GNA_DEBUG=ON option to cmake build configuration. After plugin execution, *.dot files representing the final graph will be saved in the current working directory; *.dot files can be converted to an image with the graphviz dot executable, for example:
-```
-dot -Tpng -o
-```
-To dump CNNNetwork-based model in xml add
-```
-#define ENABLE_V7_SERIALIZE
-```
-to src/plugins/intel_gna/src/log/debug.hpp
-
-To dump model between ngraph-based transformations use VisualizeTree and Serialize transformations.
-
-### VisualizeTree
-
-VisualizeTree transformation allows to dump model as image.
-```
-#include "openvino/pass/visualize_tree.hpp"
-manager.register_pass("./dump.png");
-```
-
-### Serialize
-
-Serialize transformation allows to dump model as xml and binary files that could be loaded in neutron web application
-```
-#include "openvino/pass/serialize.hpp"
-manager.register_pass("./dump.xml", "./dump.bin");
-```
-Where, manager is the ov::pass::Manager instance.
diff --git a/src/plugins/intel_gna/legacy/CMakeLists.txt b/src/plugins/intel_gna/legacy/CMakeLists.txt
deleted file mode 100644
index 33915b9ccd4..00000000000
--- a/src/plugins/intel_gna/legacy/CMakeLists.txt
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright (C) 2018-2023 Intel Corporation
-# SPDX-License-Identifier: Apache-2.0
-#
-
-set(TARGET_NAME "inference_engine_legacy")
-
-set(PUBLIC_HEADERS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include")
-
-file(GLOB_RECURSE LIBRARY_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/src/*.hpp)
-file(GLOB_RECURSE PUBLIC_HEADERS ${PUBLIC_HEADERS_DIR}/*.hpp
- ${PUBLIC_HEADERS_DIR}/*.h)
-
-# Create named folders for the sources within the .vcproj
-# Empty name lists them directly under the .vcproj
-
-source_group("src" FILES ${LIBRARY_SRC})
-source_group("include" FILES ${PUBLIC_HEADERS})
-
-if(ENABLE_V7_SERIALIZE)
- set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/src/cnn_network_impl.cpp"
- PROPERTIES COMPILE_DEFINITIONS ENABLE_V7_SERIALIZE)
-endif()
-
-# Create object library
-
-add_library(${TARGET_NAME}_obj OBJECT EXCLUDE_FROM_ALL
- ${LIBRARY_SRC}
- ${PUBLIC_HEADERS})
-
-ov_build_target_faster(${TARGET_NAME}_obj
- PCH PRIVATE "src/precomp.hpp")
-
-target_include_directories(${TARGET_NAME}_obj PRIVATE
- ${PUBLIC_HEADERS_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/src
- $/src # For CNNNetworkNGraphImpl
- $
- $
- $/src/ops)
-
-target_compile_definitions(${TARGET_NAME}_obj PRIVATE $)
-
-target_link_libraries(${TARGET_NAME}_obj PRIVATE openvino::itt)
-
-ov_add_clang_format_target(${TARGET_NAME}_obj_clang FOR_TARGETS ${TARGET_NAME}_obj)
-
-# Create static library
-
-add_library(${TARGET_NAME} STATIC EXCLUDE_FROM_ALL
- $)
-
-target_link_libraries(${TARGET_NAME} PUBLIC openvino::runtime
- PRIVATE openvino::pugixml openvino::itt openvino::runtime::dev)
-
-target_include_directories(${TARGET_NAME} INTERFACE
- $)
-
-# Compile with USE_STATIC_IE
-
-add_library(${TARGET_NAME}_s STATIC EXCLUDE_FROM_ALL
- ${LIBRARY_SRC}
- ${PUBLIC_HEADERS})
-
-target_compile_definitions(${TARGET_NAME}_s PUBLIC USE_STATIC_IE)
-
-target_include_directories(${TARGET_NAME}_s
- PUBLIC
- $
- PRIVATE
- ${CMAKE_CURRENT_SOURCE_DIR}/src
- $/src # For CNNNetworkNGraphImpl
- $
- $
- $/src/ops)
-
-set_target_properties(${TARGET_NAME}_s PROPERTIES
- EXCLUDE_FROM_ALL ON
- INTERPROCEDURAL_OPTIMIZATION_RELEASE ${ENABLE_LTO})
-
-# LTO
-
-set_target_properties(${TARGET_NAME} ${TARGET_NAME}_obj
- PROPERTIES INTERPROCEDURAL_OPTIMIZATION_RELEASE ${ENABLE_LTO})
-
-# install
-
-ov_install_static_lib(${TARGET_NAME} ${OV_CPACK_COMP_CORE} OPTIONAL)
-
-if(ENABLE_TESTS)
- add_subdirectory(tests)
-endif()
diff --git a/src/plugins/intel_gna/legacy/include/legacy/cnn_network_impl.hpp b/src/plugins/intel_gna/legacy/include/legacy/cnn_network_impl.hpp
deleted file mode 100644
index fbb2a32ba71..00000000000
--- a/src/plugins/intel_gna/legacy/include/legacy/cnn_network_impl.hpp
+++ /dev/null
@@ -1,143 +0,0 @@
-// Copyright (C) 2018-2023 Intel Corporation
-// SPDX-License-Identifier: Apache-2.0
-//
-
-#pragma once
-
-#include
-#include
-
-#include
-#include