Commit Graph

7909 Commits

Author SHA1 Message Date
Tomasz Dołbniak
90463c1812
Undefined Behavior sanitizer fixes (#12333) 2022-08-10 22:35:56 +03:00
Vladimir Paramuzov
52b57fa860
[GPU] Use partial shape in some ops factories (#12353) 2022-08-10 19:51:55 +04:00
Artur Kulikowski
91ce7406ad
Remove unused private methods from LSTMSequence (#12397) 2022-08-10 14:18:04 +03:00
Mateusz Tabaka
c328db5aac
Set dontReverseIndices to Gather if its indices come from NMS v9 (#12478)
Ticket: 86909
2022-08-10 11:31:39 +02:00
Min, Byungil
6e4a8b0d2e
[GPU] Fix network loading time related to onednn engine creation (#12375)
+ Creation of onednn_engine in ocl_engine is changed to on-demand.
+ benchmark cache_dir option takes longer than cl_cache_dir env in loading network.
+ For clDNN execution, benchmark cache_dir created onednn_engine if just ONEDNN_ENABLE config is ON.

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2022-08-10 16:27:26 +09:00
Oleksandr Kramskyi
10ccf50ee0
[GPU] Add unit tests for activation functions for blocked layouts (#11948) 2022-08-10 16:18:29 +09:00
Roman Kazantsev
e2080cd8a4
[TF FE] Implement conversion for Attention OCR model (#12428)
* [TF FE] Implement conversion for Attention OCR model

The following scope of work is done to make Attention OCR convertable:
1. Refactored translators for BiasAdd, Slice, and ArgMax operations. Add translation for StopGradient operation.
2. The previous traversing algorithm to compute topological sorted nodes list was incorrect. Now it is implemented based on topologically_sorted function from core/graph_util.hpp.
3. The unsupported data types are now preliminary converted to undefined type for the purpose of to have them cut off.

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

* Revert workaround for support of non-frozen models

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

* Correct third-party dependencies

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

* Apply feedback from code-review

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

* Apply code-review feedback from PR12444

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

* Apply the rest of comments from the code-review

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-10 09:06:26 +03:00
Mateusz Tabaka
277666cdc6
Revert "Disable fusings_gpu/deconv_scale_activation_quantize_i8_eltwise_quantize_u8.basic/4 (#11777)" (#12400)
This reverts commit 4650ecd0b5.
2022-08-10 13:32:41 +09:00
yanlan song
a81eca55c5
refine auto config and enable default config values (#12452)
* initial draft

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

* enable tests

Signed-off-by: fishbell <bell.song@intel.com>
2022-08-10 11:13:34 +08:00
Ilya Lavrenov
92d28a6ea5
Fixed MINOR version (#12475)
Tested via product-config
2022-08-09 19:25:23 +04:00
Felix Dohyun Kim
ae1066a74c
[GPU] Fix perf regression of #12113 (#12451)
* Disable fs_b_yx_fsv32 fusing for onednn case too
2022-08-09 17:12:16 +09:00
Taylor Yeonbok Lee
751337d428
W/A for compilation issue (#12346)
Previously INPUT/OUTPUT_SIZES was declared as an unnamed array macro.
However current ocl compiler deals with the value obtained from such an array non-constant, so that it results in a side effect in compiler optimization.
Here, a workaround for this issue is applied, i.e., declare the INPUT_OUTPUT_SIZES as a __const array instead of jit constants.
2022-08-09 08:42:32 +03:00
Min, Byungil
f6a7d72a92
[GPU] resolve WA of using clDNN reduce (#11823)
+ Resolved layout mismatch of unreduced axes in creating onednn descriptor
+ Removed redundant reduce in ngraph

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2022-08-09 09:52:30 +09:00
Ilya Lavrenov
db41a71ea9
Trying to fix CVS-85530 (#12455) 2022-08-08 23:06:54 +03:00
Vladimir Paramuzov
3b5cc98b1c
[GPU] Replaced shared_ptr with const ref for impl_params (#12399) 2022-08-08 20:55:57 +03:00
Pawel Raasz
93dbffafd4
Add gtest_main_manifest target to avoid duplicates (#12438)
- Add gtest_main_manifest target as main application for google test using manifest file to ignore tests
- Use new target in frontends tests
2022-08-08 19:31:29 +02:00
Andrew Kwangwoong Park
b03e903621
[GPU] Disable TCs for OVClassHeteroExecutableNetworkGetMetricTest (#12433)
Signed-off-by: Andrew Park <andrew.park@intel.com>
2022-08-08 20:04:14 +04:00
Vladimir Paramuzov
2e92d33acc
[GPU] Added format::adjust method. Minor refactoring (#12261) 2022-08-08 16:21:41 +04:00
Bartek Szmelczynski
1b5a1309cd
[PyOV] Expose ConvertSequenceToTensorIterator transformation (#12362)
* check style CI

* remove space

* remove space

* expose ConvertSeqToTensorIterator transformation

* revert accidental changes

* fix namings

* revert adding transformation to MO
2022-08-08 13:34:28 +02:00
Ilya Lavrenov
6ca47b074d
Library versions & made tests relocatable (#12416)
* Fixes for cases when TBB_DIR env var is set

* Don't use make in build_samples.sh script

* First version of Windows installer

* WIndows NSIS installer

* Improved version of debian packages

* Improvements

* Improvements

* Debian packages now look good

* Library versioning

* Fixed tests to run against debian packages

* Fixed frontend tests

* Fixed code style

* FIxed Windows

* Fixed python tests

* Fixed paths in tests

* fdvfdv

* Fixes

* USe versioning only for debian packages

* Relocatable tests

* Fixed

* Fixed all tests

* Fixed clang-format

* Fixed more tests

* Fixed some tests

* Absolute paths in .ci

* Fixes

* Added support of OpenCV 3.4

* Trying to fix gnaUnitTests
2022-08-08 13:59:24 +04:00
Felix Dohyun Kim
b9126fe6ea
[GPU] Fix convolution unit test for onednn (#12389)
* no goiyx to bfyx convert when using onednn
2022-08-08 18:13:33 +09:00
Roman Kazantsev
76e78c3400
[TF FE] Refactor translators for Conv2d and Conv3d (#12444)
It allows to convert CNN-Transformer model. Padding was previously incorrect.

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-08 12:29:31 +04:00
Artur Kulikowski
b3341defce
Method Node::constant_fold uses new evaluate method with TensorVector (#12423)
* Method Node::constant_fold uses new evaluate method with TensorVector

* Simplify conditions for creating tensor

* Add test for evaluate with TensorVector

* Add line at EOF
2022-08-08 11:22:55 +03:00
Ekaterina Aidova
c541208d43
[OMZ]: update submodule (#12447) 2022-08-08 11:04:36 +03:00
Krzysztof Czugala
ef00498385
[MO] Result edges naming issue (#12154)
* the first approach to fixing the Result edge naming issue

* more robust approach, not depending on the split

* out_nodes_ids type change

* missing if clause
2022-08-08 10:55:00 +04:00
Roman Kazantsev
77b5adcc38
[TF FE] Fix StridedSlice translator for new_axis vector size longer input rank (#12442)
* [TF FE] Fix StridedSlice translator for new_axis vector longer input rank

Currently, new_axis vector is cut by input rank that is correct and leads to the loss of new axes.

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

* Use int64 type in mask_to_vector function

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-08 10:47:59 +04:00
Ilya Churaev
1c51ca8995
Added map of mutex to CoreImpl (#12240)
* Added map of mutex to CoreImpl

* Added human readable error message

* Added global mutex for map of mutexes

* Lock mutex before addExtensionsUnsave
2022-08-08 08:04:15 +04:00
Xiping Yan
631cd160ee
Add set_property without param device name. (#12354)
* Add get_property without device_name param.

Signed-off-by: xipingya <xiping.yan@intel.com>

* update

* fix build error

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* update test case for set/get property tbb

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Remove test_p, don't need parameter(deviceName).

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Add get_property for python API.
Currently I don't know how to add relevant test case.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Don't need this function.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Remove return ov::Any, replace with throw a description.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Add throw unsupported test for get_property without param deviceName.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Add python test case for get_property.
Test usage:
$ python -m pytest ../src/bindings/python/tests/test_runtime/test_properties.py

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* change == to is

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
2022-08-08 11:25:59 +08:00
Tomasz Dołbniak
4e223c3d3e
Models path adjustment in ONNX tests (#12426)
* TEST_MODEL_ZOO as absolute path

* ONNX test adjustments
2022-08-07 00:04:26 +03:00
Daniil Lyakhov
edaa7f8e7e
[POT] Precommit reference update (#12304)
* WIP graph tests fixing

* Fix collectiors graph tests

* remove debug code

* Fix rebase

* eps update for scales tests

* Outputs for some reference models was changed

* Sanity reference metrics update for VNNI CI hosts

* Unused hyperopt dependency which broke python3.6 support is commented

* Minor comments fixes
2022-08-05 17:50:45 +04:00
Mateusz Bencer
3d337ccbbb
Extend RIC fusion transformation to support quantized weights (#12028) 2022-08-05 12:03:49 +02:00
Roman Kazantsev
141e1f8dd7
Implement workaround to convert non-frozen models using new TensorFlow frontend (#12386)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-05 12:26:36 +04:00
Inhyuk Jo
0592ba3e8c
fix: incorrect fq type (#12234)
Co-authored-by: Wonju Lee <wonju.lee@intel.com>
2022-08-05 12:20:04 +04:00
Chen Peter
67c5390f98
Update doc for AUTO and AUTO_BATCH (#12265)
* Update doc for AUTO and AUTO_BATCH

Signed-off-by: Chen Peter <peter.chen@intel.com>

* Update docs/OV_Runtime_UG/automatic_batching.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2022-08-04 15:12:49 +08:00
Egor Duplenskii
a89c4cfc3f
[LPT] Correct a check for whether model is quantized (#12364)
Look inside subgraph operations, such as TensorIterator, Loop, If, etc
2022-08-03 20:36:01 +04:00
Vladimir Paramuzov
3bd1002c88
[GPU] Added common impl for optionals (#12366) 2022-08-03 17:06:10 +04:00
Roman Kazantsev
e0cef714d2
[MO, POT] Top up upper bounds for TensorFlow and NumPy modules in all requirement files (#12191)
* [MO] Relax MO upper-bound requirements for TensorFlow and NumPy

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

* Just debug numpy version

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

* Pin upper-bounds for NumPy and TensorFlow modules in all reqs files

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

* Update submodule dependency for open_model_zoo

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

* Install numpy module first

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

* Update NumPy version in POT setup.py

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

* Extend telemetry tests with a set of possible solutions for events

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

* Fix build issue

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

* Update NumPy module version for layer tests

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-03 16:18:41 +04:00
Tomasz Dołbniak
62f79c3222
GroupedGatherElimination short circuit (#12380)
* Disable GroupedGatherElimination in case of scalar inputs containing indices

* clang format
2022-08-03 13:47:22 +04:00
Felix Dohyun Kim
9d5e799c62
[GPU] Pass concat unit tests on DG2 (#12142)
* check optimized
* skip kernel compile when optimized
2022-08-03 17:30:41 +09:00
Karol Blaszczak
029f94fad9
DOCS-fix_maths_formatting (#12402)
mathematical equation formatting issue fixed in POT readme for range supervision
2022-08-03 09:54:16 +02:00
Paul Youngsoo Ahn
03b0199521
[GPU] implement lru_cache(#12349) (#12349)
* Fix memory leak issue

Co-authored-by: Taylor Yeonbok Lee <taylor.lee@intel.com>

Co-authored-by: Taylor Yeonbok Lee <taylor.lee@intel.com>
2022-08-03 10:25:44 +04:00
Ilya Lavrenov
b449481439
Improved OpenVINO debian packages (#12385) 2022-08-03 07:20:26 +04:00
Andrew Kwangwoong Park
bb1560c05c
Update pre_replace_deconv to support output_shape for transposed conv (#12335)
Signed-off-by: Andrew Park <andrew.park@intel.com>
2022-08-03 10:22:42 +09:00
Wilson Seok
32182bd3ce
[GPU]get data type of conv weights from node.weights() when network is internal (#12232)
* get data type of convolution weights from node.weights() when network is internal

* use only instance.node.weights().get_output_layout().data_type

* fix typo

* add unit test for the case
2022-08-03 03:49:53 +03:00
Andrew Kwangwoong Park
da63a40521
[GPU] Add exception handling for calc_output_layout (#12393)
* Add exception handling for calc_output_layout

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

* Apply comment to error handler

Signed-off-by: Andrew Park <andrew.park@intel.com>
2022-08-03 01:42:53 +03:00
Katarzyna Mitrus
674e1ce217
[AUGRU] AUGRUCell/Sequence op specification (#12162) 2022-08-02 20:54:07 +03:00
Egor Duplenskii
c05e086717
Add debug log showing the result transformation callback (#12365) 2022-08-02 20:16:28 +03:00
Roman Kazantsev
2fa9b4d1f4
[TF FE] Implement translators for TensorFlow ConvBackpropInput operations (#12356)
* [TF FE] Implement ConvBackPropInput translators

Now the translators supports dynamic input_sizes attribute and different padding modes
including EXPLICIT mode

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

* Fix clang-style issue

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

* Fix code-style issue

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

* Fix code-style issue

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

* Apply code-review feedback and fix build issues

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

* Apply code-review feedback: check for input size

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

* Fix retrieving explicit_padding attribute

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

* Fix code style

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-02 14:56:53 +03:00
Mateusz Bencer
73689845a5
Decompose NormalizeL2 on GPU (#12361) 2022-08-02 13:11:32 +02:00
Pawel Raasz
75db2bdc8c
Use static pointers to frontend libraries (#12235)
* Add static shared_objects map in FEM
- add unit tests for frontend lib close
- not use static FEM in ie network reader
- add main for gtest which can use manifest file to filter tests

* Move library pointers map to manger impl
- add to manger impl method to make frontend from loaded plugin

* Add shutdown function to ov namespace
it cleans the static resources

* Revert changes related to linking mian for tests

* Add python binding to ov::openvino_shutdown

* Renamed shutdown method and added to legacy C++ API

(cherry picked from commit a8395bd207)

* Added C bindings

(cherry picked from commit d2c9ddc263)

* Move frontend lib close test to ieFunctTest
- moved to not introduced new test binary and modification on CI
  the frontend tests use dynamic linked frontend lib which is load
  on test application start and mask lib close tests
- remove gtest_main_manifest as not required now
- add ov::shutdown test to expect application crash

* Fix lib_close test
- remove not get_disabled_tests from utils
- revert CMake file formating

* Fix get model path in lib close tests

* Skip frontend lib close tests if static lib build

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2022-08-02 10:28:16 +04:00