Commit Graph

13138 Commits

Author SHA1 Message Date
Siddhant Chauhan
27b12fd2ee [PT FE] Add aten::log10 (#20621)
* Add log10 operator and test

* fix

* Update test_log.py

---------

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2023-11-23 14:43:36 +01:00
Vitaliy Urusovskij
cb74dd1ec0 ReverseSequence, RNNCell, Reverse to API2.0 (#20569)
* `ReverseSequence` to API2.0

* `RNNCell` to API2.0

* `Reverse` GPU test to API2.0

* Alignment fix
2023-11-23 14:43:36 +01:00
Evgenya Nugmanova
e241460332 De-Reshape MatMul (#20396)
* De-Reshape MatMul

* Fixed includes

* Comments resolved

* Style

* comment adressed
2023-11-23 14:43:36 +01:00
( Nechiforel David-Samuel ) NsdHSO
dbc08b6581 docs 📝 : add the take issue workflow [19006] (#19027)
* docs 📝 : add the take issue workflow

* chore: add the latest tag from action

Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>

* Update .github/workflows/triage.yml

Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>

* docs(readme): more descriptive message

Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>

* docs(triage): more descriptive message in action

Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>

* chore: .github/workflows/triage.yml

Co-authored-by: Andrey Kashchikhin <andrey.kashchikhin@intel.com>

* chore:🌻 rename the file and add new secret

---------

Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>
Co-authored-by: Andrey Kashchikhin <andrey.kashchikhin@intel.com>
2023-11-23 14:43:35 +01:00
Fang Xu
c770aee5e1 fix coverity scan issue (#20678) 2023-11-23 14:43:35 +01:00
Vladimir Paramuzov
e178bdba09 [GPU] Fixed surfaces shape in create_tensor_nv12 helpers (#20539) 2023-11-23 14:43:35 +01:00
Vladimir Paramuzov
18185b966c [GPU] FC with 4-bit weights compression support for iGPU (#20572) 2023-11-23 14:43:35 +01:00
Pawel Raasz
39bccbd692 [core]Migrate Negative operator to new API (#20609)
* Migrate Negative operator to new API

* Remove `visit_attributes` is same as base

* Use std::negate instead of lambda

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-11-23 14:43:34 +01:00
Irina Efode
5b73cb9e12 [CONFORMANCE][SUBGRAPHS DUMPER] Fix issue connected with fused_names extractor (#20522)
* [CONFORMANCE][SUBGRAPHS DUMPER] Fix issue connected with  extractor

* fix build
2023-11-23 14:43:34 +01:00
Pawel Raasz
86d5758bf5 [core]Migrate Slice to new API (#20417)
* Migrate slice to new API

* Remove visit_attributes, is same as base class

* Move shape checks to shape_infer
- minor refactor Slice op

* Move `get_tensors_partial_shapes` to dev API

* Correct comment

Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>

---------

Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>
2023-11-23 14:43:34 +01:00
Evgenya Nugmanova
c181dc67ac [Symbolic SI] Refactor Table of Equivalence (#20627) 2023-11-23 14:43:34 +01:00
Nikolay Shchegolev
61b664f1ef [CPU] Removed custom ShapeInference impl for RandomUniform (#20599) 2023-11-23 14:43:33 +01:00
Maciej Smyk
be8c593c87 [DOCS] Install Guide Update for master (#20677)
* missing info

* System Requirements

* Update installing-openvino-from-archive-macos.md

* system requirements update
2023-11-23 14:43:33 +01:00
Wilson Seok
22a8c54d9f [GPU] skip excessive mem alloc request in build (#20399)
* skip excessive mem alloc request in build

* update mem check function

* fix os behavior

* update mem size check location

* only dynamic shape case takes check_allocatable

* update check condition
2023-11-23 14:43:33 +01:00
Wilson Seok
7d84e16c40 [GPU] add shape infer in scatter elements update (#20250)
* add shape infer in scatter elements update

* output shape is same with input shape in dynamic case
2023-11-23 14:43:33 +01:00
Vitaliy Urusovskij
b9765c7baa RNNSequence, Result, Reshape, ReorgYolo, RegionYolo layer tests to API2.0 (#20644)
* `RNNSequenceTest` to API2.0

* `Result` to API2.0

* `Reshape` to API2.0

* `ReorgYolo` to API2.0

* `RegionYolo` to API2.0

* Alignment fixes

* Skip more `RNNSequenceTest` cases
2023-11-23 14:43:32 +01:00
Maxim Vafin
19e88962b4 [PT FE] Fix xmod model test (#20682) 2023-11-23 14:43:32 +01:00
Oleg Pipikin
a06df11515 Refaсtor ActivationLayerTest (#20180)
* Refator ActivationLayerTest
2023-11-23 14:43:32 +01:00
Tomasz Jankowski
311dc61972 [core] Migrate DepthToSpace operator to new API (#20515)
* Move into ov namespace

* Use ov::Tensor in place of HostTensor

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-11-23 14:43:32 +01:00
Pawel Raasz
51cfa750c4 Fix check repeats in values in Tile (#20654)
- no action if any of repeats is zero

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-11-23 14:43:31 +01:00
Eddy Kim
bcd3a6fc68 [GPU] fixed to create Graphs with different stream_ids (#20626)
* fixed to create Graphs with different stream_ids

* added num_streams config for auto batch test
2023-11-23 14:43:31 +01:00
Pawel Raasz
9c93befe5d Migrate LessEqual and GreaterEqual to new API (#20645)
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-11-23 14:43:31 +01:00
Pawel Raasz
78c16a2f6d [core]Migrate Less and Greater operators to new API (#20628)
* Migrate Less operator to new API

* Migrate Greater operator to new API
- use less implementation in greater to reduce bin size

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-11-23 14:43:30 +01:00
Andrey Babushkin
50cdf1d368 [workflows/linux] Switch to sccache and Azure Blob Storage (#20484)
* [workflows/linux] Switch to sccache and Azure Blob Storage

* Install curl

* Remove --show-config

* Add sccache to other Linux workflows

* sccache to  Android, curl to riscv and CC

* Use sccache action instead of manual install

* Oops, missed sccache manual installation in two places

* Use env vars instead of hardcoded CMAKE_C(XX)_COMPILER_LAUNCHER

* Forgot one more stage in Linux CC pipeline

* Temporarily disable Blob Storage for RISC-V

For some reason sccache has no effect on build time and show 0 hits
and 0 compilation requests despite being in CMake calls

* forgot to add sccache installation to Linux CC

* Revert "Temporarily disable Blob Storage for RISC-V"

This reverts commit b528f41dad583a38b9ef93121e38044b9dccb71b.

* Missing container option for CC build

* Remove curl installation

* Remove CCACHE* variables which have no effect on sccache

* Revert sccache changes for Linux RISC-V workflow
2023-11-23 14:43:30 +01:00
Oleksii Khovan
eedd6a1551 [GPU] NMSRotated-13 (#20411)
* Add Rotation support to primitive and kernel

* Add unit tests

* Add transformation for NMSRotated

* add single-layer tests

* Fix: angle value for the same box may have its sign changed several times passing through iterations of batch and class loops.

* fix review comments
2023-11-23 14:43:30 +01:00
Siddhant Chauhan
54dd70e49d [ONNX] Extend ONNX Frontend with BlackmanWindow, HammingWindow and HannWindow operators (#19428)
* ONNX BlackManWindow enabled

* added a test periodic

* Add the license statement

* ONNX HammingWindow, HannWindow enabled

also added basic tests for each

* minor tests added

* made reviewed changes

* made reviewed changes

used output_datatype directly, returned y_values directly

* fixed clang-format

* add OPENVINO_SUPPRESS_DEPRECATED_START

* include math.h

* float fix

* fix

* fix namespace to set_1

* test fixes

* fix cast to output_datatype

* fix, replace cast with ov::convert

* fix, use element::f32

* major fixes

* fixes

* Update onnx_import.in.cpp

* Update onnx_import.in.cpp

---------

Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>
2023-11-23 14:43:30 +01:00
Evgeny Kotov
80f8c59ae8 fix random layer names and count (#20323)
* add sorting for fix sporadic failure in SharedOpOptimization shared_node_optimization

* fix Output and Input comparison

* remove unneed sorting from transformation

* add unit test

* code review fixes

* code review fixes

* code review fixes

* code review fixes

---------

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2023-11-23 14:43:29 +01:00
Ilya Churaev
e280432ca2 Remove NF4 Convert from public API (#20666)
* Remove NF4 Convert from public API

* Fixed build
2023-11-23 14:43:29 +01:00
Ilya Lavrenov
334df6a3ba Removed linux.yml AZure pipeline (#20341) 2023-11-23 14:43:29 +01:00
Sergey Shlyapnikov
0c17c65a0e [GPU] Improve OOOQ synchronization between ShapeOf subgraph's CPU impls and GPU kernels (#20595)
* [GPU] Add ITT counters for primitive inst

* [GPU] Improve OOOQ synchronization between ShapeOf subgraph's CPU impls and GPU kernels
2023-11-23 14:43:29 +01:00
Andrei Gorbachev
d0c95cea1d [GPU] Refactor grn, gru_cell, group_convolution, group_convolution_backprop_data, is_inf, log_softmax, logical, mat_mul, lrn, lstm_cell (#20520)
* grn

* gru_cell

* group_convolution

* group_convolution_backprop_data

* is_inf

* log_softmax

* logical

* mat_mul

* lrn

* lstm_cell

* fix after review
2023-11-23 14:43:28 +01:00
Aleksandr Voron
946f245fe9 [CPU] Add input type check into in-place condition (#20529) 2023-11-23 14:43:28 +01:00
Irina Efode
5a70095af0 [IE TESTS][CONFORMANCE] Move Calculate reference over TEMPLATE plugin instead of interpreter (#12532)
* [CONFORMANCE] Enable template calculation reference

* Move convert init to cpu

* skip gpu
2023-11-23 14:43:28 +01:00
Evgeny Kotov
0789c31748 Fuse GeLU (#20428)
* add transformation + test

* move transformation to GeluFusion

* add comments

* code review fixes

* fix

* code review fixes

* code style fix

* fix windows build warning
2023-11-23 14:43:28 +01:00
Pawel Raasz
cfe3b05e5f [core]Migrate Minimum operator to new API (#20597)
* Migrate Minimum op to new API

* Refactor evaluates to reduce binary size
- add infer_broadcast_shape, get shapes from tensors reduce OV_ASSERT
- refactor Evaluate structures to reduce binary size

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-11-23 14:43:27 +01:00
Vitaliy Urusovskij
9d447e81a6 Fix COPY_INSTEAD_OF_MOVE issue in Hetero (#20667) 2023-11-23 14:43:27 +01:00
Mateusz Tabaka
3a2c853ba3 Add TransposeMatMul transformation to MOC (#20460)
Transformation fuses Transpose on first or second MatMul's input
and sets MatMul's transpose_a/transpose_b accordingly.

TransposeMatMul is already part of SmartReshape, but it can be added
to MOCTransformations as well so native models that are don't use reshape
can benefit from that.

Ticket: CVS-118908
2023-11-23 14:43:27 +01:00
Maksim Kutakov
194f1d7d6e [CPU] Make static TI run a dynamic subgraph (#20527)
* Make static TI run a dynamic subgraph

* Dedicated SL test

* Change condition to respect stat shapes

* Adjust test to cover the code path properly
2023-11-23 14:43:27 +01:00
Pawel Raasz
75edfc27d6 [shape_infer]Add preserve partial values on inputs for Mod operator (#20169)
* Preserve partial values on mod inputs
- static values full range of integers
- intervals only if not negatives

* Fix bounds evaluate when inputs are scalars
2023-11-23 14:43:26 +01:00
Mateusz Tabaka
39522fa34b CompressQuantizeWeights - fix zero point calculation (#20541)
Current implementation tries to leverage branchless approach, but it's not correct
if scale is 0. In that case - zero point can can become inf or nan and multiplication
by 0 doesn't change its value. That causes another issue - infinite or NaN zero point
cannot be optimized out later.

Ticket: CVS-122931

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2023-11-23 14:43:10 +01:00
Andrei Gorbachev
698bacda5b [GPU] Refactor ConvertColorNV12, ConvolutionBackprop, Convolution (#20376)
* ConvertColorNV12

* ConvolutionBackprop

* Convolution

* fix after review
2023-11-23 14:43:09 +01:00
Vladimir Paramuzov
ee89b41a84 Fixed ngraph reference impl for Range operation (#20631)
* Fixed ngraph reference impl for Range operation

* Truncate range for integer output type

* explicit static cast
2023-11-23 14:43:09 +01:00
Ilya Churaev
9f09f071d2 Add AlignedBuffer to OpenVINO developer API (#20532)
* Add AlignedBuffer to OpenVINO developer API

* Fixed build

* Fixed code style and remove opset deprecation

* Fixed Windows build

* Fixed GNA

* Fixed comment
2023-11-23 14:43:09 +01:00
Yuan Hu
0a5a8a9c23 [core] fix memory leak issue imported by #18868 (#19832)
* try to fix memory leak issue

cpustreamer is released, but there are still thread id in t_stream_count_map

* fix threadlocal affect all threads

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

* add comment for local() function to avoid mistaken modification
in the future

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

* use custom stread id

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

* fix review comments

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

* fix format issue

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

* create shared_ptr before assert

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

---------

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>
2023-11-23 14:43:09 +01:00
Vladislav Golubev
18955647f7 [Transformations] FuseU4WeightsAndZeroPoint transformation (#20503) 2023-11-23 14:43:08 +01:00
Zhang Yi
10b186560d [CPU][MLAS] FC uses L2 cache for thread partition (#20436) 2023-11-23 14:43:08 +01:00
Ivan Novoselov
09105ccc71 [Snippets] Dynamic pipeline reorganization (#18563) 2023-11-23 14:43:08 +01:00
Roman Lyamin
56cd4c8477 [GPU] Fix for reorder fusing in fuse_constant_transposes pass (#20651) 2023-11-23 14:43:07 +01:00
Andrew Kwangwoong Park
dc697d5b55 [GPU] Add RMS internal op, related transformation, primitive, and kernels for RMS decomposition fusion (#20355)
* Initial implementation of primitive, kernel selector, dummy kernel for RMS Norm

Signed-off-by: Andrew Park <andrew.park@intel.com>

* RMS ref kernel implementation with single WI

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Add TC and reference func for ov_gpu_unit_tests

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Add internal RMS norm op

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Add transformation which fuse RMS decompsition pattern to RMS internal op

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Fix pattern for RMS fusion transformation

* Update rms ref kernel for optimization and additional planar format suuport

* Initial impl for optimized rms kernel excluding leftovers handling and case smaller than vector size

* Update the initial version to handle leftovers and case smaller than vector size

* Fuse pre decom and post comp reorders additionally

* Enable dynamic impl for rms again

* Revert fuse pre decomp and post comp reorders additionally

* Add subgraph TC for ov_gpu_func_tests

* decrease error margin for f32 data type

* update description

Signed-off-by: Andrew Park <andrew.park@intel.com>

* update test param for input shapes

* Apply comments

* Fix failed TC for invalid gamma element type

* Apply comments

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Update pattern that fuse post reorder together

* Apply comments

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-11-23 14:43:07 +01:00
Maxim Vafin
7c43ef30ee [PT FE] Implement custom op for types alignment (#20431)
* [PT FE] Implement custom op for types alignment

* Fix code style

* Fix inplace ops

* Fix layer tests

* Remove no longer needed change

* Fix ovc tests

* Fix fe tests
2023-11-23 14:43:07 +01:00