Commit Graph
11045 Commits
Author SHA1 Message Date
Sun Xiaoxia ae1beb296e remove definition of static CPU (#17393)
* remove definition of static CPU

* revert old format

* definition of cpu_info covers macOS

* add lock in is_cpu_map_available
2023-05-17 12:08:38 +04:00
Katarzyna Mitrus d26c587198 [Spec][Pad-12] Pad-12 op specification (#17510)
* Pad-12 spec init

* Add opset12 to docs

* Enssure output dim is not negative

* Apply review suggestions to description

* Update shrinking to cropping
2023-05-17 10:07:36 +02:00
gklodkoxandIlya Churaev bbf77b359a Enable code coverage for github actions (#15767)
* Add code coverage for github actions

* Add code coverage for github actions

* Add code coverage for github actions

* Add code coverage for github actions

* Split tests to parts

* minor fix

* minor fixes

* minor fixes

* minor fixes

* minor fixes

* minor fixes

* minor fixes

* minor fixes

* Fixed dependencies

* Fixed dependencies

* ubuntu 16 cores

* revert ubu and add coverage dependency

* minor fixes

* minor fixes

* minor fixes

* Update coverage.yml

* Update coverage.yml

* Coverage

* Coverage

* ubuntu-latest-16-cores

* ubuntu-latest-16-cores

* change triggers

* add newline

* Added GNinja and ccache

* Change to ubuntu-latest for testing purposes

* Change to ubuntu-latest for testing purposes

* Change to ubuntu-latest for testing purposes

* Fix getting cpu cores

* Disable GNinja

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* Enable GNinja, change compiler, warnings no longer as errors

* fixes

* change coverage cmake

* 16-cores

* Disable GNinja

* GNinja comes back, turned off dependencies and py

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* only test OV

* only test OV

* install lcov

* change coverage building

* only OV

* no tests

* change coverage building method

* wrong directory fix

* disable onnx

* enable python

* enable python

* enable python

* disable action for cmake

* Revert "disable action for cmake"

This reverts commit d0294570fa82c5ce06170866ab1f3572221c8407.

* disable lcov

* check files after build

* disable gninja for coverage

* change trigger to trigger by /coverage comment

* Added rest of the tests

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Disable gninja, run tests by ctest

* tf req

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

* Update coverage.yml

---------

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2023-05-17 12:07:07 +04:00
Ilya Churaev 3cbc5581ab Mark some legacy API as deprecated (#17469)
* Mark some legacy API as deprecated

* Try to fix some issues

* Fixed some warnings

* Disable deprecation warnings for GNA

* Fixed some warnings

* Disable deprecation errors for all plugins

* Suppress some warnings

* Suppress some warnings

* Suppress deprecated for tests

* Mark all contend as suppressed

* Try to fix extensions

* Suppress more warnings

* Suppress warnings for transformations

* Global suppress of deprecation warnings

* FIxed some warnings

* Fixed comments

* Create macro for deprecation API

* Fixed data tests
2023-05-17 11:31:01 +04:00
Ilya Churaev 92a0108f0d Fixed mock_engine for proxy tests (#17431)
* Fixed mock_engine for proxy tests

* Fixed some caching tests

* FIxed build

* Fixed CoreThreading tests

* Try to fix crash in functional tests

* Fixed typo

* Fixed typo

* Small change

* Remove shared pointer from MockPluginWrapper

* Small fixes

* Do not throw an exception from device_supports_cache_dir
2023-05-17 11:15:28 +04:00
Nesterov Alexander 96a80ffc3d [ARM CPU] Enable swish (#17542) 2023-05-17 10:20:42 +04:00
Egor Duplenskii 84b9262aea [CPU] Get rid of shouldTryBrgconv flag (#17539)
No code logic changed overall
2023-05-17 10:17:36 +04:00
Jade Cho 2cc3a45959 [GPU] Fuse eltwise into MVN (#17473)
* [GPU] Fuse eltwise into MVN
2023-05-17 14:27:24 +09:00
Ilya Lavrenov 04171416f4 Put mingw on gcc code path (#16101)
* Supported mingw-w64

* Supported mingw-w64

* Supported mingw-w64
2023-05-17 00:47:55 +04:00
Taylor Yeonbok Lee 87a39fb007 [GPU] Fix bug in shape agnosic kernel for fused cases (#17533)
* Fix bug in shape agnosic kernel for fused cases

* Fix gather unittest to use ov::Shape as input

* Minor change (just changed line locatiions)
2023-05-16 20:23:28 +00:00
Anastasia Kuporosova 75fa11c80f [PyOV] Remove deprecated (#17512)
* [PyOV] Remove deprecated

* remove deprecated api

* remove tests

* update pot
2023-05-16 21:48:39 +02:00
River Li b9fd6d69b3 Enable ctest for wasm (#17466)
* Enable ctest for wasm

* Remove js init file
2023-05-16 22:34:27 +04:00
Pavel Durandin 06490957ca [GPU] fix matmul smoke test fail on windows (#17545)
* fix matmul smoke test fail on windows

* fix matmul smoke test fail on windows

* fix matmul smoke test fail on windows
2023-05-16 22:24:30 +04:00
Ryszard Jezierski 850d35eafa Removed deprecated layer tests (#17153) 2023-05-16 16:03:39 +02:00
Evgenya Stepyreva 6ae318d6e3 Strided Slice fix constant creation (#17556)
* Strided Slice fix constant creation

* Final touches

* style:
2023-05-16 17:50:41 +04:00
Pawel Raasz 78bb0c4837 [ShapeInfer] Review experimental detectron prior grid generator class for shape inference aspects (#17474)
* Review detectron prior grid generator for:
- Check interval shapes and label propagation.
- Check template implementation of shape infer.
- Add update or correct unit test for static and dynamic shapes.

* Remove ngraph namespace in reviewed op

* Use detectron validation util to check inputs
in all related detectrons operators

* Relax first dim of feat map and im data check

* Fix test after dimension validation update

* Fix typo in detectron util file name
2023-05-16 14:58:00 +04:00
Pawel Raasz 5ff0081489 [ShapeInfer] Review detectron ROI feature extractor shape inference aspects (#17532)
* Review detectron ROI feature extractor shape infer
- Check Interval dimension and label propagation.
- Check template implementation of shape_infer.
- Add/Update unit test for static and dynamic shapes.
- Remove `ngraph` namespace from reviewed operator.

* Fix compilation issues
2023-05-16 14:57:29 +04:00
Mingyu Kim 8a847cc817 [GPU] Check cl_cache_dir env variable for unit test (#17526) 2023-05-16 18:27:59 +09:00
Mingyu Kim 27047e995a [GPU] Doc writing for opencl-intercept-layer (#17527) 2023-05-16 17:57:33 +09:00
River LiandChen Peter 48fdee3a72 [AUTO_BATCH]Create separated auto_batch plugin testcase (#15051)
* Create separated auto_batch plugin testcase

* Add test sample into azure

* Move to auto_plugin directory

* Fix CI build issues

* move batch test cases from gpu/cpu/template plugin to auto batch plugin

* Check OpenCL to decide whether enable auto_batch gpu test cases

* Revert "move batch test cases from gpu/cpu/template plugin to auto batch plugin"

This reverts commit 9f4f2ce1af.

* Add functional tests for auto_batch

* Runtime check gpu available to decide whether run gpu test cases

* Remove HW plugins from functional test

1. Apply Template plugin for auto_batch functional test
2. Remove unnecessary code

* Restore some original tests

* Apply new api property replace old config

* Solve warning suppressions issue

* Fix CI build error

* Solve CI failure issues

* Fix getOutputsFromFunctionWithSeveralOutputs bug

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-05-16 16:37:58 +08:00
Pavel Durandin 524a291c2b [GPU] Fix convert reduce to reshape (#17529) 2023-05-16 11:31:11 +04:00
Vladimir Paramuzov 4cda67da15 [GPU] Fixed unit tests for dGPU (#17541) 2023-05-16 09:36:09 +04:00
Georgy Krivoruchko 04f216ce3e Fix for wrong sign extending (#17543) 2023-05-15 20:40:09 +04:00
Egor Duplenskii ab119faa0b [CPU] Use switch case to ensure to_string methods are complete (#17522)
And add missing cases
Compiler can warn about missed enum entry in switch case
2023-05-15 15:57:13 +00:00
Fang Xu 2fb984b60f update oneTBB2021.2.2 for windows (#17390)
oneTBB https://github.com/oneapi-src/oneTBB/releases/tag/v2021.2.2 (a25ebdf)
2023-05-15 19:33:54 +04:00
Anastasia Kuporosova b4852b3bdf [PyOV] leave one setup.py (#17472)
* [PyOV] leave one setup.py

* remove setup from setup.cfg
2023-05-15 18:53:46 +04:00
Edward Shogulin 3525cae612 [LPT] tests rename for nightly (#17425) 2023-05-15 18:41:54 +04:00
Egor Duplenskii fe95ed27b1 [CPU][ARM] Enable oneDNN acl fullyconnected (inner_product) (#17331) 2023-05-15 17:50:28 +04:00
Mingyu Kim 5d9424f84d [doc] typo (#17528)
* [doc] typo

* [doc] more typo

* [doc] more typo
2023-05-15 17:45:53 +04:00
Roman Kazantsev 1ded4ede41 [TF FE] Report a reason of no conversion of internal operations (#17534)
* [TF FE] Report a reason of no conversion of internal operations

Some operations during translations can be temporarily converted to InternalOperation
such as Const operation of string type for which we need to define more elaborated reason
why it is represented as InternalOperation.
Also, restrict instantiation of InternalOperation because instead user should use FrameworkNode.
InternalOperation is a base class for internal operation types of TF FE that have
extended API compare to FrameWorkNode.
For all internal operation we defined a reason why it is not converted to OpenVINO opset
that will be reported in TF FE if they are not gone finally.

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Update src/frontends/tensorflow/tests/convert_unsupported.cpp

* Correct a script for generation of the test model

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-05-15 12:17:04 +00:00
Ruslan Nugmanov aa932d341a Layer test tflite (#17410)
* tfl argvalue test

* tfl add_n test

* tfl batch to space and space to batch

* tfl batch to space and space to batch

* tfl broadcast

* tfl avgpool

* tfl concat

* tfl conv2d and depthtospace

* tfl depthwise_conv2d

* tfl broadcast_args

* tfl fill

* tfl floordiv

* tfl fully_connected

* tfl fully_connected

* tfl gather

* tfl gather_nd

* tfl l2_normalization

* tfl matrix_diag

* tfl maxpool2d

* tfl mirror_pad

* tfl one_hot

* tfl pack

* tfl pad

* tfl range

* tfl relu

* tfl reshape

* tfl resize_bilinear

* tfl resize

* tfl reverse

* tfl tfft2d

* tfl scatter_nd

* tfl rfft2d fix

* tfl segment_sum

* tfl select

* tfl select_v2

* tfl slice

* tfl space_to_depth

* tfl split

* tfl split_v

* tfl strided_slice

* tfl tile

* tfl topk_v2

* tfl transpose

* tfl transpose_conv

* tfl fix conv tests

* tfl unique + refactoring

* tfl unpack

* refactoring

* tfl review - reformat params

* tfl review - fixes

* tfl review - fixes

* tfl review - xfails

* tfl review - remove redundant tickets

* tfl review - xfail for pad
2023-05-15 15:03:09 +04:00
Irina Efode 8fed094168 [CONFORMANCE] Fix functions with several dynamic inputs (#17404) 2023-05-15 14:49:55 +04:00
Roman KazantsevandTatiana Savina ac3d339811 [TF FE] Update TensorFlow Frontend developer guide (#17521)
* [TF FE] Update TensorFlow Frontend developer guide

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2023-05-15 10:14:36 +00:00
Haiqi Pan 49b0c7248a AUTO_CAUSES_COPY in c bindings (#17391)
* change auto in for() to auto const &

* fix code style

* fix code style

* const&
2023-05-15 14:03:52 +04:00
Pawel Raasz 5df0a006df [Core] StridedSlice improvements of bound evaluation and constant folding (#17505)
* StridedSlice improvements:
-Bound evaluation for begin, end partial values when ignore mask set.
- Custom constant fold implementation.

* Improve const folding when all begin or end values
are ignored
2023-05-15 08:54:41 +00:00
Karol BlaszczakandTatiana Savina 3394f654e7 [DOCS] framework deprecation notice (#17484)
---------

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2023-05-15 10:39:10 +02:00
Sergey ShlyapnikovandVladimir Paramuzov 808647dfb3 [GPU] Weights reorders primitive cachcing (#16638)
Co-authored-by: Vladimir Paramuzov <vladimir.paramuzov@intel.com>
2023-05-15 09:57:04 +04:00
Przemyslaw Wysocki 42ef81a9e6 Add exempt-pr-labels entry to stale_prs_and_issues.yml workflow (#17511)
* Add exempt

* Changel label name
2023-05-12 15:37:21 +02:00
Przemyslaw Wysocki 22fc22a4fe [Docs] Update docs with information about Contributions Welcome issue (#17503) 2023-05-12 15:19:58 +02:00
Vladimir Paramuzov 8251399222 [GPU] convolution primitive updates (#17351) 2023-05-12 17:19:29 +04:00
Irina Efode 4303d10e26 [IE TESTS] Fix abs for FP16 comparation (#17414)
* [IE TESTS] Fix abs for FP16 comparation

* Update data_utils.hpp

* Skipps failed tests
2023-05-12 14:25:03 +02:00
Gorokhov Dmitriy dab190b988 [CPU] Restore OneDNN InnerProduct primitive os_block computation behavior (#17495) 2023-05-12 15:50:04 +04:00
464bf5937c [GNA] Extract gathers and transposes (#15997)
* Init

* Fixed review comments

* Fixed descriptions

* review fix

* clang fix

* Moved utils.hpp to common dir

* test refactoring

* Added more comments

* Update src/plugins/intel_gna/src/transformations/utils/transformation_helper.hpp

Co-authored-by: Marcin Kacprzak <marcin.kacprzak@intel.com>

* Update src/plugins/intel_gna/src/transformations/remove_in_out_processing.cpp

Co-authored-by: Marcin Kacprzak <marcin.kacprzak@intel.com>

* Update src/plugins/intel_gna/src/transformations/utils/transformation_helper.cpp

Co-authored-by: Marcin Kacprzak <marcin.kacprzak@intel.com>

* clang fixes for unit tests

* Fixed failed tests

* Update src/plugins/intel_gna/src/transformations/remove_in_out_processing.cpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Update src/plugins/intel_gna/src/transformations/remove_in_out_processing.cpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Update src/plugins/intel_gna/src/transformations/remove_in_out_processing.cpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Update src/plugins/intel_gna/src/transformations/remove_in_out_processing.hpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Update src/plugins/intel_gna/src/transformations/remove_in_out_processing.hpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Update src/plugins/intel_gna/src/common/graph_utils.hpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Update src/plugins/intel_gna/src/common/graph_utils.hpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Update src/plugins/intel_gna/src/common/graph_utils.hpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Update src/plugins/intel_gna/src/gna_transformations_pipeline.cpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Moved shared func to utils

* Update src/plugins/intel_gna/src/common/graph_utils.hpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Fixed review comments

* Revert json schema

* Update src/plugins/intel_gna/src/gna_transformations_pipeline.cpp

Co-authored-by: Marcin Kusmierski <marcin.kusmierski@intel.com>

* Fixed tests

* fixed code style job

* mvn skip pattern

* fixed code style schema

* skipped MVNv1

---------

Co-authored-by: Marcin Kacprzak <marcin.kacprzak@intel.com>
Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>
Co-authored-by: Marcin Kusmierski <marcin.kusmierski@intel.com>
2023-05-12 11:38:07 +00:00
Roman Lyamin ad03c631b9 [GPU] Added os_is_yx_osv16_isv2 format (#17476) 2023-05-12 15:11:09 +04:00
Wanglei Shen a4314faf29 disable set_cpu_used in master branch (#17459) 2023-05-12 14:16:52 +08:00
Mateusz Mikolajczyk fe1d081e44 [CPU] Add missing check for special zero (#17490) 2023-05-12 09:49:32 +04:00
Katarzyna Mitrus 25a1968d57 [Shape_infer] Use axes param shape to deduce Squeeze output rank (#17238)
* Use axes param shape to deduce Squeeze output rank

* Improve squeezable dims detection and output shape deduction

* Unskip related tests

* Add more onnx tests

* Skip dynamic model test for legacy api

* Exclude Shape{0} case

* Add more tests

* Adjustment for single element axes

* Move axes param output shape calculation below

* Move back the axes param based calculations

* Adjust onnx python tests

* Consider only single element axes param

* Deduce rank only to enable param value validation

* Prevent negative rank if data input is scalar

* Comment update

* Add missing new line

* Skip dynamic squeeze tests for legacy api

* Add check for zero squeezable dims

* tests update

* Update squeezable dims validation
2023-05-12 07:27:10 +02:00
Taylor Yeonbok Lee 078c5cb7e9 [GPU] Dynamic padding support (#16668) 2023-05-12 09:22:58 +04:00
FisherandXiuchuan Zhai 99a7fa1287 【PaddlePaddle Hackathon 4】Add paddle op mapper silu (#15874)
* Add paddle op mapper silu

* Add more test cases

* Add dynamic shape test for op silu

---------

Co-authored-by: Xiuchuan Zhai <xiuchuan.zhai@intel.com>
2023-05-12 13:11:31 +08:00
NetPunkandXiuchuan Zhai 306df51001 【PaddlePaddle Hackathon 4】add paddle grid_sampler op (#15869)
* update op linspace

* rewrite function name

* add paddle grid_sample op mapping

* add op_fuzzy

* adjust op logic

* adjust op name

* format code

* add tests

* adjust test

* adjust test

* adjust test

* adjust test

* format code

---------

Co-authored-by: Xiuchuan Zhai <xiuchuan.zhai@intel.com>
2023-05-12 13:11:04 +08:00