Commit Graph

826 Commits

Author SHA1 Message Date
Jacek Pawlak 7e7087bc3c
Updated copyright year to 2024 (#22958)
[CVS-132992](https://jira.devtools.intel.com/browse/CVS-132992)
2024-02-20 17:01:21 +00:00
Evgenya Nugmanova 4f0012dff0
SharedOpOptimization: enable for all operation types (#21657)
### Details:
 - *SharedOpOptimization: enable for all operation types*

@itikhono please review from transformations standpoint
@vladimir-paramuzov and @dmitry-gorokhov please help with performance
analysis / fixes from plugin standpoint

### Tickets:
 - *CVS-127634*
 - *CVS-127636* -- performance validation
 - *CVS-127706* -- CPU functional test fix
2024-02-13 10:02:46 +00:00
Mateusz Mikolajczyk 733ed1b84c
[Opset14][CORE] ConvertPromoteTypes op core implementation (#22566)
### Details:
- *Implement ConvertPromoteTypes core - operation that aligns input
types into one common one based on type promotion rules*
- *Implement decomposition from ConvertPromoteTypes to pair of Convert
ops*
- *Operator designed for PT frontend, but rules extend to match also
TF-like promotion rules*
 - *PR Contains tests for shape/type validation and visitor tests*

### Tickets:
 - *129198*
 - *129203*
 - *129202*
2024-02-09 18:12:43 +00:00
Vitaliy Urusovskij dfe0699503
Rename IE to OV (#22733) 2024-02-09 13:36:41 +00:00
Ilya Lavrenov bcecc1c04e
Removed useless suppression for deprecation API (#22737)
### Details:
 - The suppressions don't suppress deprecated code
2024-02-08 18:16:47 +00:00
Ilya Lavrenov 778e7e9bdf
Removed AddOldApiMapToParameters during FP16 weights compression (#22728)
### Details:
 - It was required for old API only
2024-02-08 17:00:41 +00:00
Alexandra Sidorova 987cec8b17
[Snippets] Fixed iterator comparison from different lists (#21934)
### Details:
- *On the master we
[create](03a5be788a/src/common/snippets/src/lowered/pass/insert_tail_loop.cpp (L135))
copy of subloop in `InsertTailLoop` and
[compare](03a5be788a/src/common/snippets/src/lowered/loop_manager.cpp (L367))
with iterators of linear IR before copy
[insertion](03a5be788a/src/common/snippets/src/lowered/pass/insert_tail_loop.cpp (L199))
to this LinearIR. It leads to comparison of iterators from the different
collections. The PR changes the order of these action*
 - *Adds brief descriptions to `LoopManager` interface*
- *Added interface `LoopInfo::update_<>_points` to avoid many
`get_points() -> changes them -> set_points()`*

### Tickets:
 - *N/A*

### Prerequisites:
- https://github.com/openvinotoolkit/openvino/pull/22161
2024-02-08 13:37:09 +00:00
Ilya Lavrenov 0215d27aee
Xuejun/set element type private (#22722)
### Details:
- Removes` get_ov_tensor_legacy_name(); set_ov_tensor_legacy_name();
set_tensor_type; set_element_type;` functions from public API and
deprecates them.
 - Refactoring

### Tickets:
 - *CVS-132032*

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
Co-authored-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2024-02-08 13:18:51 +00:00
Ilya Lavrenov a28a0004b4
Deprecated functions to operate with legacy port names (#22717)
### Details:
- Such names are created as `operation_name.<port index>` which are not
needed in OpenVINO 2.0, because it's legacy behavior.
- Plugins should migrate to `ov::ISyncInferRequest::find_port` which can
return index and port type (input or output) and work with this index
(if required) instead of port **_legacy_** names.
2024-02-08 10:51:35 +00:00
Pawel Raasz 53878b6085
[core] Move validation_util header under openvino/core (#22707)
### Details:
- Move validation_util.hpp under `openvino/core` to include it same way
as others OV code
   `#include "openvino/core/validation_util.hpp"`

### Tickets:
 - [CVS-131972](https://jira.devtools.intel.com/browse/CVS-131972)
2024-02-07 19:56:43 +00:00
Ivan Tikhonov a7a9127ab6
Fix hash inconsistency: ignore friendly names for hash calculation (#22705)
partially reverts PR
https://github.com/openvinotoolkit/openvino/pull/22208
fixes hash inconsistency ignoring friendly_names in "deterministic" mode
of Serialize pass which used for Hash calculation.

### Tickets:
 - *CVS-129290*
 - *CVS-131722*
2024-02-07 18:06:26 +00:00
Oleg Pipikin cf76d233a8
Remove ie api (#22666)
### Details:
 - Remove ie api

### Tickets:
 - [CVS-131687](https://jira.devtools.intel.com/browse/CVS-131687)
2024-02-07 17:22:47 +00:00
Irina Efode 61b81fb5c6
[TRANSFORMATIONS] Exclude Gather from Mixed prc propagation (#22544)
### Details:
 - *Exclude Gather from sensitive prc types *
 - *Add handling of `Const fp16 ->Gather -> Pow` pattern*

### Tickets:
 - *https://jira.devtools.intel.com/browse/CVS-127678*
2024-02-07 16:39:30 +00:00
Edward Shogulin 3ffb6abd5f
[LPT] debug info support (#22690)
### Details:
 - *Dbug info was added for MatMul. Will be extended later.*
2024-02-07 13:12:24 +00:00
Vladislav Golubev 7987fef9ff
[LPT] Dequantization movement helpers: fixed incorrect calls in transformations, added asserts (#22519)
### Details:
- *`NetworkHelper::moveDequantizationAfter`: changed behavior to throw
an exception in case when `updateOutputPrecisions=false` and the target
layer is not `TypeRelaxed`*
- *Fixed `moveDequantizationAfter` calls in LPT which incorrectly set
`updateOutputPrecisions` to false but was not covered in `TypeRelaxed`*
 - *The changes covered by LPT functional tests*

### Tickets:
 - *CVS-131058*
 - *CVS-130498*
 - *CVS-130646*
2024-02-07 10:13:58 +00:00
Mateusz Tabaka 27919e69a2
Fuse Loop with LSTMCell to LSTMSequence (#22541)
Ticket: CVS-129099, CVS-125605, CVS-123630

---------

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2024-02-07 10:11:28 +00:00
Oleg Pipikin 8f232278e3
Cleaning and refactoring test utils (#22653)
### Details:
 - Cleaning and refactoring test utils

### Tickets:
 - [CVS-111359](https://jira.devtools.intel.com/browse/CVS-111359)
2024-02-07 03:53:46 +00:00
Vitaliy Urusovskij a4cdec36cf
Remove `ie_*` includes (#22657)
### Tickets:
 - [CVS-130747](https://jira.devtools.intel.com/browse/CVS-130747)
2024-02-05 20:12:50 +00:00
Daniil Lyakhov ec0fb90f72
[Common optimizations][ReduceMerge] Align shapes and types before merging reduce nodes (#22432)
### Details:

Shapes and types are aligned before merging reduce nodes.

### Tickets:
130581
2024-02-02 09:19:15 +00:00
Mateusz Tabaka 96aa50dc72
Add support for FakeConvert in CompressQuantizeWeights (#22433)
Ticket: CVS-129925
2024-02-02 08:50:37 +00:00
Tomasz Jankowski 9bdd36be9c
[Core] Remove ngraph env_util.hpp graph_util.hpp util.hpp (#22540)
* Delete env_util

* Remove ngraph graph_util (initial)

TODO: remove ngraph/graph_util.hpp and remains from graph_util.cpp

* Remove ngraph util (initial)

TODO: remove ngraph/util.hpp and remains from util.cpp

* Remove ngraph util (onnx fe not finished)

TODO: remove ngraph/util.hpp and util.cpp.

* Use OV in test helpers

* Remove ngraph graph_util

* [ONNX FE] Rename onnx_import::Node class

to ONNX_Node temporarily (to hide conflicts with missing Node from ::ngraph::)

* Remove ngraph graph_util from onnx fe

* [ONNX FE] Rename onnx_import::ONNX_Node class back to Node

* Delete ngraph util

* Update copyright notes

* Update copyright notes

* Fix style

* Fix gpu plugin

* Remove useless macros

---------

Co-authored-by: Pavel Durandin <pavel.durandin@intel.com>
2024-02-02 02:53:20 +00:00
Xuejun Zhai f0eca795c8
Deprecated API in openvino/core/validation_util.hpp (#22473)
* [Deprecated API] Remove api get_output_size()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove api has_no_labels()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove api generate_transpose_default_order() & is_valid_axes_order()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove api ov::default_label_evaluator()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove api ov::get_constant_from_source()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove api ov::evaluate_as_partial_shape()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove ov::get_constant_from_source90

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove ov::normalize_axes()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove ov::normalize_axis()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove file openvino/core/validation_util.hpp

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix clang format issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix clang format issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix review comment

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix review comment

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix warning as error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Update scan.cpp

* Fix warning as error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Pavel Durandin <pavel.durandin@intel.com>
2024-02-01 09:07:10 +00:00
Edward Shogulin 2e6d061583
[CPU] [LPT] CPU limitation (#22522)
* [CPU] [LPT] CPU limitation

* tests

* comments fixes

* tests fix

* tests refactoring
2024-01-31 22:27:54 +00:00
Vitaliy Urusovskij 0744509aba
Delete IE unit tests vol.1 (#22427)
* Delete IE unit mocks

* Rename `ie_executor_manager_tests.cpp`

* Delete `ie_blob_test.cpp` unit test

* Delete `ie_exception_test.cpp` unit test

* Delete `ie_executable_network_test.cpp` unit test

* Delete `ie_locked_memory_test.cpp` unit test

* Delete `exception_test.cpp` unit test

* Delete IE inference unit tests

* Delete commented code
2024-01-31 08:45:44 +00:00
Haiqi Pan d2fd6b9503
[Core] remove file_utils.h (#22148)
* remove file_utils.h

* Revert "remove file_utils.h"

This reverts commit 8e03de5593.

* remove file_utils.h

* remove file_utils.h in ov_shared_object_test.cpp

* remove file_utils.h in core.cpp

* remove file_utils.h in ie_extension_test.cpp

* remove file_utils.h in ie_network_reader.cpp

* remove file_utils.h in compilation_context.cpp

* fix conflits

* fix conflits

* fix conflits

* remove file_utils.h in src/frontends/ir/tests/meta_data_tests.cpp

* remove file_utils.h in src/frontends/tests/frontend/shared/include/utils.hpp

* remove file_utils.h in src/tests/functional/plugin/shared/include/behavior/plugin/core_threading.hpp

* Revert "remove file_utils.h in src/tests/functional/plugin/shared/include/behavior/plugin/core_threading.hpp"

This reverts commit 445af3656e.

* remove file_utils.h in src/tests/functional/plugin/shared/include/behavior/plugin/core_threading.hpp

* Revert "remove file_utils.h in src/tests/functional/plugin/shared/include/behavior/plugin/core_threading.hpp"

This reverts commit 6d7e6aecf2.

* fix conflicts in src/inference/src/compilation_context.cpp

* fix code style in src/inference/src/ie_core.cpp

* fix code style in src/inference/src/ie_network_reader.cpp

* fix code style in src/inference/tests/functional/ov_shared_object_test.cpp

* fix code style in src/inference/tests/functional/ov_shared_object_test.cpp

* add make_path

* remove file_utils.h in src/plugins/intel_cpu/tests/functional/extension/extension.cpp

* remove file_util.h in src/tests/test_utils/common_test_utils/include/common_test_utils/unicode_utils.hpp

* remove file_util.h in src/tests/functional/plugin/shared/src/onnx/quantized_models_tests.cpp

* remove file_utils.h in src/frontends/paddle/tests/read_paddle_model_test.cpp

* remove file_utils.cpp in cmake

* fix code style

* remove file_utils.h in src/frontends/onnx/tests/onnx_reader_external_data.cpp

* remove OV_STATIC_DEPENDENT_FILES in cmake
2024-01-30 14:09:15 +00:00
Irina Efode 5d3a44b8f0
[TRANSFORMATIONS] Add Optional pattern (#22090)
* Start optional pattern matching

* Change to template

* Optional transformation pattern

* Fix code style

* Add Optional pattern using in transformation: MarkDivWithEps

* change algo

* code style

* remove extra changes

* smt

* fix code style

* Revert to previous version

* apply comments

* predicate test

* pply
2024-01-29 13:48:24 +00:00
yanlan song 48165087bf
[core]/fix hash inconsistency (#22208)
* fix the hash inconsistency

Signed-off-by: fishbell <bell.song@intel.com>

* format

Signed-off-by: fishbell <bell.song@intel.com>

* apply review comments

Signed-off-by: fishbell <bell.song@intel.com>

* remove unncess lock

Signed-off-by: fishbell <bell.song@intel.com>

* remove commented code

Signed-off-by: fishbell <bell.song@intel.com>

---------

Signed-off-by: fishbell <bell.song@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2024-01-29 01:29:21 +00:00
Pawel Raasz a16bc9709e
[core] Remove ngraph/output_vector API (#22446)
* Remove ngraph/output_vector API

* Fix build issue
2024-01-28 14:26:50 +00:00
Alexandra Sidorova 1e8fbd3bb2
[Snippets] Fixed out of range in OptimizeDomain (#22348)
* [Snippets] Fixed out of range in OptimizeDomain

* [Snippets] Applied Ivan comments
2024-01-26 10:52:00 +00:00
Anastasiia Pnevskaia 2bf12f3608
Minor fix in TS. (#22434) 2024-01-26 10:14:16 +00:00
Oleg Pipikin d45d9f24c1
Get rid of builders.hpp and subgraph_builders.hpp includes (#21926)
* Get rid of legacy builder headers

* Fix

* Fix
2024-01-25 11:01:37 +04:00
Evgeny Kotov 9a0538b482
LP Transformation tests move from ngraph to ov namespace (#22324)
* fix ngraph -> ov

* fix build ngraph -> ov
2024-01-24 19:09:44 +04:00
Ivan Tikhonov 034e85beeb
Revert "Move SliceToStridedSlice conversion from MOC to Common transformations (#21556)" (#22345)
This reverts commit e07602720c.
2024-01-24 09:47:47 +01:00
Ilya Lavrenov ef1632d035
Renamed / removed legacy cmake targets (#22307)
* Removed legacy cmake targets

* Renamed ngraph_obj

* Rename onference_engine targets
2024-01-22 18:18:08 +00:00
River Li c538d0319d
[Core] rearrange pugixml and performance heuristics (#22234)
* Move performance_heuristics.hpp to openvino folder

* Refactor pugixml::utils

1. move pugixml::util from src/inference to openvino/util
2. move duplicated pugixml::utils implement to opeenvino/util

* Fix build error and rename namespace

  1. fix build error caused by library dependency
  2. rename openvino::util::pugixml
  3. NamingConventionCheck issue
  4. Clang format issue
  5. smoke_createMockEngineConfigThrows failure due to pugixml exception type

* Use friendly namespace

* Update

* update cmake

* update
2024-01-22 14:47:54 +01:00
Alexandra Sidorova d04a53ae37
[Snippets] Added RegType as part of PortDescriptor (#22161) 2024-01-22 15:06:41 +04:00
Ivan Novoselov 0d95f16ad3
[Snippets] Fix PerfCount infrastructure (#22162) 2024-01-22 13:42:18 +04:00
Vishniakov Nikolai 6e67749b25
Fix wstring join_paths (#22271)
* Fix wstring join_paths

* Fix codestyle
2024-01-19 20:36:57 +01:00
Vitaliy Urusovskij 635665ae18
Delete ngraph `AlignedBuffer`/`SharedBuffer` (#22182)
* Delete ngraph `SharedBuffer`

* Delete ngraph `AlignedBuffer`

* Fix `DenormalNullifyCheck`

* Fix comments
2024-01-19 18:47:27 +04:00
Chenhu Wang a8331cac61
[SnippetS][CPU] JIT segmentation fault detector (#21905) 2024-01-19 09:34:06 +04:00
Pawel Raasz 13d8416c65
[core] Remove HostTensor from ngraph API (#22146)
* Remove HostTensor from ngraph API

* Remove old template extension

* Remove debug leftovers
Correct cmake indentations

* Remove old extension tests

* Update CC workflow

* Remove old template extension

* Update intel_cpu extension tests

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2024-01-18 13:09:02 +01:00
River Li be6ede1d8a
[Core] remove some legacy header files (#22217) 2024-01-18 00:59:45 +04:00
Alexandra Sidorova 01f1706a26
[Snippets] Introduced helpers insert_node and replace_node (#21700) 2024-01-16 14:46:23 +04:00
Mateusz Tabaka 19641224cf
Support bf16 in CompressQuantizeWeights (#22041)
* Support bf16 in CompressQuantizeWeights

Ticket: CVS-126832

* review + fix some tests

* default
2024-01-16 14:34:50 +04:00
Ivan Tikhonov ab2192d51d
Fix TSUnary transformation (#22156)
* fix TSUnary transformation; update tests

* codestyle

* fix tests
2024-01-15 17:28:59 +01:00
Pavel Esir b5b53e1749
Keep compressed constants produced by FW (#22095)
* keep FW 16 bit float constants

* add layer tests

* remove leftovers from onnx, pdpd

* rename to MarkCompressedFloatConstants

* remove VisualizeTree

* added explanation why we need MarkCompressedFloatConstants
2024-01-15 15:05:24 +04:00
Alexandra Sidorova 75f87ad19b
[Snippets] Fixed access by expired ref (#22132) 2024-01-15 10:50:56 +04:00
Ivan Tikhonov e07602720c
Move SliceToStridedSlice conversion from MOC to Common transformations (#21556)
* codestyle

* fix merge conflicts

* cleanup

* fix unit tests

* codestyle

---------

Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
2024-01-12 15:58:41 +04:00
Tomasz Jankowski 14d5d18c48
[Ref] Remove ngraph leftovers (#22066)
* Remove proxy legacy functions

* Remove CoordinateTransform
2024-01-12 10:23:30 +04:00
Edward Shogulin a8f7b82278
[LPT] [GPU] MVN fp16 fix (#21946)
* [LPT] MVN fp16 fix

* tests

* test for similar case: NormalizeL2
2024-01-11 16:54:54 +01:00