Commit Graph

15185 Commits

Author SHA1 Message Date
Oleg Pipikin a25a476db2
Remove opset usages for transformations (#24220)
### Details:
 - Remove opset usages for transformations
 - Use operation versions instead of opsets


### Tickets:
 - CVS-118087
2024-04-25 14:46:01 +00:00
Vladislav Golubev 6f0e530bce
[Snippets] MHA: blocking by K and N for bf16/int8 precisions (#23292)
### Details:
- *Added brgemm blocking support for bf16 and int8 precisions: in this
case blocking loops are shared between BrgemmCopyB and BrgemmCPU nodes*
- *Reduced allocation shapes of input brgemm buffers in case of low
precision*

### Tickets:
 - *CVS-115165*
2024-04-25 12:48:00 +00:00
Maxim Vafin 1de6329319
[PT FE] Support negative indices for aten::set_item (#24027)
### Details:
 - *Support negative indices for aten::set_item*

### Tickets:
 - *CVS-132747*
2024-04-25 11:24:45 +00:00
Alexandra Sidorova 74d4bf1b3a
[Snippets] Added shared_ptr as tensor shape (#24115)
### Details:
- *Now `PortDescriptor` contains `tensor_shape` as `shared_ptr`. It's
needed for the further optimization of `InsertSpecificIterations` (when
each copy of loop iterations has the same shape) and the separate
`LinearIR` for shape inference. It will help to have shape match between
the both `LinearIRs'` instances*

### Tickets:
 - *138888*
2024-04-25 10:33:18 +00:00
Maksim Kutakov a102520192
Fix sanitizer cmake config for GNU compiler (#24110)
### Details:
GNU compiler doesn't support
`-fsanitize-blacklist=${OpenVINO_SOURCE_DIR}/tests/asan/ignore.txt` and
doesn't require `-shared-libasan` flags. In this PR configurations for
the ASAN build for Clang and GCC are split.
2024-04-25 08:59:02 +00:00
Ilya Lavrenov 7fe82c0c10
Migration to clang-format-15 (#24226)
### Details:
 - Migration to clang-format-15 which is available in Ubuntu 22.04
2024-04-25 08:28:05 +00:00
Evgenya Nugmanova df9b99ddf9
[ov::Symbol] get rid of self pointing for root symbol (#24137)
### Details:
 - *gets rid of self-pointing for root symbol*

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-04-25 07:47:23 +00:00
Vitaliy Urusovskij 604cfcd658
Move `LIBASAN_DIRNAME` under `OV_COMPILER_IS_CLANG` (#24219) 2024-04-25 07:23:03 +00:00
Piotr Kowalczyk 4387e8bf15
[Op]: ROIAlignRotated ref implementation (#23607)
### Details:
 - added reference impl of ROIAlignRotated.

### Tickets:
 - *[CVS-135725]*

---------

Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-04-25 07:08:33 +00:00
Fang Xu cf96284f90
add test for thread local (#21976)
### Details:
 - *add test for thread_local*
 - *thread_local may cause memory leak during AppVerifier check*

### Tickets:
 - *CVS-129729*

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2024-04-25 06:51:08 +00:00
Vishniakov Nikolai 9e899af4d8
[OV JS] Update npm package version to 2024.1 (#24192)
### Details:
 - Update npm package version to download newest binaries

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-04-25 06:31:35 +00:00
Mateusz Mikolajczyk 377747902c
[PyAPI][OP]Add ScatterNDUpdate-15 to PyAPI (#24188)
### Details:
 - *Add ScatterNDUpdate-15 to PyAPI*
- *Parametrize to test both ScatterND versions + add test for reduce
attribute*

### Tickets:
 - *111092*

---------

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
2024-04-25 05:39:35 +00:00
Xuejun Zhai 2d8ac08bf1
Move HETERO/BATCH tests to HETERO/BATCH test binaries (#23823)
### Details:
 - Move remaining BATCH/HETERO test cases out of CPU/GPU tests

### Tickets:
 - *CVS-133977*

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2024-04-25 02:33:06 +00:00
Taylor Yeonbok Lee 683e0a799a
[GPU] Fix crash in fc tiled kernel (#24228)
### Details:
- tile_ofm should be set as 1 only when the weight layout is
os_is_yx_osv32_isv2

### Tickets:
 - *ticket-id*
2024-04-25 01:43:47 +00:00
Keyon Jie 6f599c05dd
[TFL FE] GELU implementation (#23669)
Add Gelu and corresponding layer test support.

---------

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Co-authored-by: Georgy Krivoruchko <georgy.krivoruchko@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Evgenya Nugmanova <evgeniia.nugmanova@intel.com>
2024-04-24 21:55:26 +00:00
Mateusz Mikolajczyk 52004d9f47
[OP][Reference] Fix conflict in references of ScatterNdUpdate and ScatterElementsUpdate (#24225)
### Details:
- *Reduction has been conflicting in builds, remove using from reference
to fix conflict*
 - *...*

### Tickets:
 - *139721*
2024-04-24 19:04:33 +00:00
Alina Kladieva d47d483b09
Revert "Workaround apt issues on ubuntu 22" (#24221) 2024-04-24 22:04:31 +02:00
Tomasz Jankowski e9c5fd471d
[Tmpl test] Proposal, PSROIPooling: enable whole Tensor comparison (#24218)
### Details:
- Added actual shape to expected output tensor in Proposal and
PSROIPooling tests.


### Tickets:
 - CVS-137194, CVS-137196
2024-04-24 18:51:43 +00:00
Vitaliy Urusovskij 436e1edcf0
Fix coverity issues: `AUTO_CAUSES_COPY` and `UNINIT_CTOR` (#24196) 2024-04-24 14:05:54 +00:00
Maxim Vafin 224acd355a
[PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511)
### Details:
 - *Run GPU with FP32 hint when layer test is FP32*
 - *Xfail tests unsupported on GPU*

### Tickets:
 - *ticket-id*
2024-04-24 12:44:43 +00:00
Milind Walekar f1dcc4c310
[EISW-112824] Register missing compiler option (#24136)
### Details:
 - Register BACKEND_COMPILATION_PARAMS in properties

### Tickets:
- *[EISW-112824](https://jira.devtools.intel.com/browse/EISW-112824)*
The option was added to compiler as part of this ticket. But we also
need this option registered to properties in order to start using it
with single image test
2024-04-24 12:10:02 +00:00
Luca Tam 69ffb5163d
[ONNX] Align behavior of ReduceL2-11, 13, 18 with original framework (#22741)
### Details:
- I've aligned the ReduceL2 operation with opset 11, 13, and 18. I have
some doubts about how to implement support for the tensor bfloat16 for
opset 13 and also some doubts about opset 18. I've registered the
function inside the ops_bridge.cpp, created test models, and added them
inside onnx_import.in.cpp.
### Tickets:
 - Closes #20560

---------

Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>
Co-authored-by: Georgy Krivoruchko <georgy.krivoruchko@intel.com>
2024-04-24 12:06:58 +00:00
Andrei Kashchikhin 8ec1fdbe6b
[CI] [GHA] Fix workflow rerunner statistics collection (#24199)
I checked the fix here:
https://github.com/openvinotoolkit/openvino/actions/runs/8801551316/job/24155181816.
2024-04-24 11:18:06 +00:00
Zhang Yi 96f6251c21
[CPU]mha_2nd_token improvement (#23726)
### Details:
 - *Improve 2nd token latency*

### Tickets:
 - *CVS-136566*
2024-04-24 09:43:03 +00:00
Vitaliy Urusovskij af0f924016
Fix clang ASAN build for `openvino_onnx_frontend` (#24170)
### Details:
- Fix `rpath` computation for ASAN build - previous implementation can't
be deduced during `protoc` build

### Tickets:
 - [CVS-138499](https://jira.devtools.intel.com/browse/CVS-138499)

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-04-24 09:14:21 +00:00
Alina Kladieva 14e89cda72
Workaround apt issues on ubuntu 22 (#24214) 2024-04-24 11:59:48 +02:00
Piotr Kowalczyk bb2de2f3d6
[Op]: Added definition of ROIAlignRotated. (#23462)
### Details:
 - Added ROIAlignRotated definition to core
- Refactored tests of ROIAlign shape inference info - to use the same
tests for ROIAlignRotated

### Tickets:
 - *CVS-115297*

---------

Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-04-24 08:25:28 +00:00
Attila Csok 08c3b7ff6e
[intel-npu] Adding f32 to supported values of INFERENCE_PRECISION_HINT (#24166)
### Details:
 - Adding f32 to supported values of INFERENCE_PRECISION_HINT

### Tickets:
[ - *ticket-id*](https://jira.devtools.intel.com/browse/CVS-138219)
2024-04-24 08:09:36 +00:00
Andrew Kwangwoong Park 81a4e3f2bd
[GPU] Update UnsqueezeBroadcastReshapeMatmulFusion pass for non-constant input pattern support (#24157)
### Details:
- Generalize `UnsqueezeBroadcastReshapeMatmulFusion` pass for non-const
broadcast's input support
 - Update test case for `UnsqueezeBroadcastReshapeMatmulFusion` pass

### Tickets:
 - 136386
2024-04-24 03:27:26 +00:00
hyunback kim ca1e698595
[GPU] Hotfix dgpu unit-test failure. (#24207)
Dynamic convolution with padding run cldnn NOT onednn. cldnn test run
with onednn and it caused can't find kernel selection issue.

### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*

Signed-off-by: hyunback <hyunback.kim@intel.com>
2024-04-23 20:53:57 +00:00
Patrik Stepan 497c7cda79
Update NPU Device documentation (#24204)
### Details:
 - *Add links to driver installation guides*
 - *Add short context about compiler in driver*
 - *Update the list of supported properties*
 - *Remove invalid limitations*

### Tickets:
 - *E-119403*
2024-04-23 17:05:25 +00:00
Evgeny Kotov 07fd0f97df
read_model vs ovc.convert performance tests fix OVVP output data (#23724)
### Details:
 - send tests start datetime in version field

### Tickets:
 - 137070
2024-04-23 12:56:41 +00:00
Yuan Hu 7846ecc15d
[CPU] fix pooling pad calculate issue (#23813)
### Details:
- *the issue happen when src - (1 + (krn - 1) * dil) + pad_l < 0 && (src
- (1 + (krn - 1) * dil) %stride != 0* && ceil mode

### Tickets:
-
*[issues-23528](https://github.com/openvinotoolkit/openvino/issues/23528)*

---------

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>
2024-04-23 12:30:55 +00:00
Aleksandr Voron 5d34af8b03
[CPU][ARM] Update ARM documentation - f16 support (#24182)
Add fp16 details

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2024-04-23 10:16:57 +00:00
Karol Blaszczak 6cf386327e
[DOCS] release policy adjustment (#24145) 2024-04-23 10:12:10 +00:00
Alexandra Sidorova 2ae2382ba4
[Snippets] Refactored Loop related classes (#23710)
### Details:
- *Splitted `loop_manaher.hpp` to several files: `loop_info.hpp`,
`loop_port.hpp`, `specific_loop_iter_handlers.hpp`, - to make easier
development and code writing in `LoopManager` class*
 - *Removed nested class definition and declarations in `LoopManager`*

### Tickets:
 - *N/A*

#### Should be merged after the following PRs to avoid merge conflicts:
- https://github.com/openvinotoolkit/openvino/pull/22210
- https://github.com/openvinotoolkit/openvino/pull/23180
- https://github.com/openvinotoolkit/openvino/pull/21751
2024-04-23 09:08:13 +00:00
Aleksandr Voron 4d4809f32a
[CPU][ARM] Add fp16 capability check (#24164) 2024-04-23 08:58:15 +00:00
Evgenya Nugmanova 4d7e171429
ReshapeOptimizations: made dynamic-rank-proof (#24106)
### Details:
 - *ReshapeOptimizations: made dynamic-rank-proof*

### Tickets:
 - *CVS-138858*
2024-04-23 08:44:54 +00:00
Mingyu Kim e08c039a0b
[GPU][Doc] documentation to explain more about debug_config (#24179) 2024-04-23 08:24:46 +00:00
Luca Tam 628b0cfbea
[PyOV] Extend name appending functionality in all opsets (#24135)
### Details:
- *Extended the calls to as_node and as_nodes with the name parameter in
all the opsets.*
 - *Added tests for the involved operations.*

### Tickets:
 - #24030 
- part of
[CVS-133139](https://jira.devtools.intel.com/browse/CVS-133139)
2024-04-23 07:59:21 +00:00
Roman Kazantsev aa038b8776
[TF FE] Support non-default signature and add read_model scenario to validation (#24153)
**Details:** Fix model input and output names in case absence of serving
signature. mil-nce model from TF Hub does not have default signature
("serving") so use user names from other signatures to resolve internal
tensor names.
Also, it adds validation for `read_model` scenario.

**Tickets:** 139245, 124401

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-04-23 07:33:58 +00:00
Alicja Miloszewska 92b5d6aed3
[JS API] Add setter for Tensor.data (#23949)
### Details:
 - `set_data` only accepts TypedArrays.  
- Each entry is a value in one of the supported formats, from 8-bit
integers to 64-bit floating-point numbers.
- Before copying data to Tensor, there is a check if buffers have the
same length and if the element types are the same
- Add helper function `const std::unordered_map<napi_typedarray_type,
ov::element::Type>& get_ov_type()` equivalent to Python APIs `const
std::map<std::string, ov::element::Type>& dtype_to_ov_type();`
 

### Tickets:
 - *128274*
2024-04-23 05:48:56 +00:00
hyunback kim da517f584c
[GPU] Fix wrong dynamic convolution selection in SD1.5 dynamic dpas platform (#24082)
_Dynamic convolutions with explicit padding run planar bfyx format in
clDNN.
But this limitation is only for clDNN NOT oneDNN. Because unexpected
format selection in dynamic convolution, SD1.5 in platform used dpas
always run clDNN and it caused bad performance._

### Tickets:
 - *138632*

---------

Signed-off-by: hyunback <hyunback.kim@intel.com>
2024-04-23 04:48:54 +00:00
Vishniakov Nikolai 7e28e88836
[OV JS] Update nodejs version in gha workflows (#24158)
### Details:
- To fix issues like that:
https://github.com/openvinotoolkit/openvino/actions/runs/8756801704/job/24034484068?pr=24066#step:8:10
2024-04-22 16:20:04 +00:00
Anastasiia Pnevskaia 76b62b4bf4
Send Telemetry info during importing of openvino (#23832)
### Details:
- Send Telemetry info during importing of openvino, required for correct
user count statistic.

Following line will trigger event sending:
import openvino 

For Linux event send time:
~0.08016 ms

For Win event send time:
~0.31248 ms

### Tickets:
 - 133670

Depends on: https://github.com/huggingface/optimum-intel/pull/648

---------

Co-authored-by: Ekaterina Aidova <ekaterina.aidova@intel.com>
2024-04-22 16:01:40 +00:00
Maciej Smyk 3c0ef54dc9
[DOCS] Fixing Tensor Names examples in Model Representation for master (#23482)
Jira: 134485

* Fixed examples of Tensor Names,
* Added an example of ov::element::Type for both Python and C++
2024-04-22 15:01:43 +00:00
Oleg Pipikin 9a46013f0f
Fix and enable nms op tests for cpu and gpu (#23980)
### Details:
 - Fix and enable nms op tests for cpu and gpu


### Tickets:
 - CVS-125165
 - CVS-105838
2024-04-22 14:58:26 +00:00
Ivan Novoselov e56310999c
[Snippets] TPP FP32 MHA support (#22210)
### Details:
 - *Enable FP32 MHA lowering using TPP backend*
- *This PR is a productization of the [TPP integration
POC](https://github.com/openvinotoolkit/openvino/pull/20956)*
### Prerequisites:
- https://github.com/openvinotoolkit/openvino/pull/21303
- https://github.com/openvinotoolkit/openvino/pull/21672

Branch to Branch PR in to review the changes before the Prerequisites
are merged: https://github.com/IvanNovoselov/openvino/pull/18

---------

Co-authored-by: egeorgan <evangelos.georganas@intel.com>
2024-04-22 14:52:42 +00:00
Jan Iwaszkiewicz a19c34a0f7
[PyOV] Limit numpy to major version (#24103)
### Details:

Numpy started preparation to release 2.0 version.
It brings many breaking changes listed below.
Align with these changes it's a plan for further development
(CVS-138766), for today we want to secure users against unintentional
installation of 2.x version of numpy with OV.

This PR has to be ported for 2024/1 branch

- Preparing to restrict OV to not use release of Numpy 2.0 which may
introduce many breaking changes including:
     - required bump of `pybind` to 2.12+
     - API and namespaces clean-ups and deprecations
     - behavior changes of keywords such as `copy`
- changes to existing and introduction of new dtypes (such as
`StringDType` and possibility of adding custom ones)
- more can be found here:
https://numpy.org/devdocs/release/2.0.0-notes.html
- and here:
https://numpy.org/devdocs/numpy_2_0_migration_guide.html#numpy-2-migration-guide
 
### Tickets:
 - CVS-138838

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-04-22 13:47:49 +00:00
Maciej Smyk f9f41bd52e
[DOCS] Removal of openvino_ts backend from torch.compile for master (#24074)
Removed information on openvino_ts backend from user documentation.

---------

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2024-04-22 12:12:20 +00:00