Commit Graph

7736 Commits

Author SHA1 Message Date
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
Andrew Kwangwoong Park
67dcb05251
[GPU] Remove dependency to typed_program_node from calc_output_layout (#12378)
Signed-off-by: Andrew Park <andrew.park@intel.com>
2022-08-02 08:34:15 +04:00
Vladimir Paramuzov
075b833a7a
[GPU] added is_dynamic methods to program_node and primitive_inst. Minor refactoring (#12322) 2022-08-01 09:54:20 +04:00
Vladimir Paramuzov
88bbad4a5d
[GPU] ScatterUpdate axis alignment (#12233) 2022-07-28 16:51:36 +04:00
Nadezhda Ageeva
67173a74d4
[GNA] Replace GNA SoftSign by opset9 SoftSign (#12302)
* Replace GNA SoftSign by opset9 SoftSign

* v9 -> opset9
2022-07-28 16:24:56 +04:00
Bartek Szmelczynski
9bd02f76ab
[PyOV] Enable type casters (#12204)
* add type caster for ov::Layout, enable load method to take pathlibs.Path as arugment

* fix typo

* fix style

* add missing blank line

* add common function to check if py::object is either Path or string

* fix style

* Update src/bindings/python/src/pyopenvino/graph/preprocess/pre_post_process.hpp

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>

* add tests, fix style, remove pointer argument overload

* fix style

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2022-07-28 11:24:34 +02:00
Alina Kladieva
9b3e47aaf3
Bump OMZ submodule to fix pip-conflicts ssues (#12320) 2022-07-28 10:15:34 +02:00
Roman Lyamin
25224eb2c2
[GPU] Use int64_t type for axis in ScatterElementsUpdate (#12323) 2022-07-28 09:17:29 +04:00
Roman Lyamin
31e3c11291
[GPU] Use int64_t type for axis in CumSum (#12306) 2022-07-28 09:16:21 +04:00
Roman Lyamin
5e52d519ea
[GPU] Align TopK parameters with ngraph (#12278) 2022-07-28 09:15:41 +04:00
Maxim Vafin
25b0013b8f
[MO] Fix broken port numbering for Constant operations (#12318)
* Restore inputs order in IR Reader

* Fix broken port numbering for Constant operations

Co-authored-by: Chetverikov <anton.chetverikov@intel.com>
2022-07-27 21:57:33 +02:00
Roman Kazantsev
4176608f0b
[TF FE] Fix conversion of NetVLAD model (#12328)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-07-27 22:47:36 +04:00
River Li
0ef4ccb86f
[CC]Fix CC issue for transformation (#12292)
* Revert "Fixed 3 naming issue"

This reverts commit a92d3cfff5.

* Revert "Fix CC issues for transformation and snippets"

This reverts commit d08a3f5aac.

* Fix NGRAPH_PASS_CALLBACK issue to make it can work

* Fix matcher name missing issue
2022-07-27 16:17:53 +04:00
Taylor Yeonbok Lee
361ca2078d
[GPU] Fix get_default_params & choose_impl not to dependent on program_node (#12239)
* Getting rid of dependency from get_default_param for typed_program_node

* Fix bug

* Enable two pathes to call choose_impl / does_possible_impl_exists / does_an_impl_exists to be able to use given layout

* Replaced impl factory API to get kernel_impl_param's pointer

* Update for recently added primitives

* Add and apply optional_layout

* fix kernel_param_impl to be handled as unique_ptr

* Applied review comments

* Fix rebase conflict

* Fix CI error
2022-07-27 14:36:53 +04:00
Ilya Lavrenov
101e1ea5ad
simple Windows installer POC (#12308)
* 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
2022-07-27 14:04:22 +04:00
Sun Xiaoxia
1dd13e2cf6
Xiaoxia/onetbb old version (#12303)
* support oneTBB old version

* fix oneTBB version mismatch issues

* fix clang issue

* add 'tbb' path to setupvars.sh and OpenVINOConfig.cmake.in

* Update scripts/setupvars/setupvars.sh

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Shen, Wanglei <wanglei.shen@intel.com>
2022-07-27 16:49:53 +08:00
Szymon Irzabek
761a6d10d0
[GNA] Add missing support for batch normalization with weights broadcasting. Add unit tests. (#12301) 2022-07-27 12:14:09 +04:00
almilosz
d7cf585485
[PyOV] Test refactoring (#12248) 2022-07-27 08:44:10 +02:00
Ilya Churaev
4df5a104f3
Investigate GNA tests (#12267)
* Test commit

* Revert "Disable loading of v7 reader for new IR versions (#12252)"

This reverts commit cb6ca7bb89.

* Revert "Test commit"

This reverts commit 977b83f2ba.
2022-07-27 09:26:13 +04:00
Ilya Lavrenov
14e8e3259d
Fixed build_samples.sh not to call setupvars.sh for Debian package case (#12309) 2022-07-26 23:17:41 +04:00
Sebastian Golebiewski
6227123d21
Porting to master - update -readme for CPP and Python benchmark (#12245)
Porting #11961
2022-07-26 14:12:08 +02:00
Chenhu Wang
7d5fbebe27
[DOC] [CPU] Proofreading for grammatical and stylistic corrections (#12288) 2022-07-26 16:11:32 +04:00
Roman Lyamin
e2da32721b
[GPU] Use int64_t type for axis in softmax (#12287) 2022-07-26 13:21:43 +04:00
Pawel Raasz
72509ec041
Add const fold check in operators instead pass (#12189)
* Add const fold check in operators instead pass
- refactor constant fold pass to using ov instead of ngraph
- add constant_folding_is_disabled overload for raw pointer

* Remove Reshape from skip const inferences
in legacy graph transformer

* Const fold test for modified operators
2022-07-26 11:12:23 +02:00