Commit Graph

8958 Commits

Author SHA1 Message Date
Mateusz Mikolajczyk
1c03be58ff
[CORE] IsFinite, IsInf, IsNan reference implementation (#13621)
* Add reference implementation for Is ops

* FIx test

* Fix typo

* Remove deprecated

* Fix issues with API switch

* Force cast to float for float16/bfloat16 in ref

* Fix style

* Remove BWDCMP_RTTI

* Remove TensorVector helper check

* Remove evaluate functions

* Disable faling tests due to missing eval
2022-11-09 19:17:26 +03:00
Sebastian Golebiewski
5a50266dd7
DOCS: Fixing formatting in Multi Device (#13292) 2022-11-09 17:02:33 +01:00
Sebastian Golebiewski
95234490c2
Updating links in Model Optimization Guide (#13303)
Adding a link to Model Optimizer.

Porting:
https://github.com/openvinotoolkit/openvino/pull/13300
2022-11-09 16:59:07 +01:00
Sebastian Golebiewski
5941490d81
Fixing indentation in General Optimizations for master (#13305)
A minor fix that corrects indentation of snippets.

Porting:
https://github.com/openvinotoolkit/openvino/pull/13302
2022-11-09 16:54:04 +01:00
Maciej Smyk
3127c28a35
DOCS: Model Conversion Tutorials fix - Port to master (#13429) 2022-11-09 18:44:36 +03:00
Anastasia Kuporosova
e043dcbae7
fix markupsafe version (#13930) 2022-11-09 18:43:19 +04:00
Sebastian Golebiewski
f779755d39
DOCS: Language-agnostic version of 'Changing Input Shapes' - for master (#13814)
Removing the 'global' tabs and preparing a language-agnostic version of the article. Replacing png image with a scalable svg file. Proofreading the article.
2022-11-09 15:29:10 +01:00
Liubov Talamanova
848c09336e
[POT] Add GPU HW config (#13896)
* [POT] Add GPU HW config

* Add note
2022-11-09 15:13:09 +04:00
Vladimir Paramuzov
e615962266
[GPU] Fixed bias fusion logic (#13845) 2022-11-09 13:24:05 +04:00
Ilya Churaev
9e9430e69a
Fix sanitizer check (#12728)
* Fix sanitizer check

* Fixed check

* Disabled sign-compare warning

* Fixed core tests

* Fixed ieFuncTests

* Disable some CPU tests

* Additional fix for CPU plugin

* Update src/tests/functional/inference_engine/lp_transformations/disable_convert_on_const_path_transformation.cpp

Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>

* Update src/tests/functional/inference_engine/lp_transformations/disable_convert_on_const_path_transformation.cpp

Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>

* Fixed comment

* Disable warnings for windows

* Fixed build

* Fixed static build

* Fixed float16

Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>
2022-11-09 12:17:22 +04:00
Ilya Churaev
22b69304e8
Disable stderr output in Release builds (#13666)
* Disable stderr output in Release builds

* Reverted TF FE changes

* Try to avoid ONNX issue

* Revert "Try to avoid ONNX issue"

This reverts commit 9c5bd7e7fa.

* Try to fix ONNX tests

* Revert "Try to fix ONNX tests"

This reverts commit b74f21baf6.

* Try to fix build

* Try to fix ONNX debug build
2022-11-09 12:16:58 +04:00
Alexandra Sidorova
fedcfa8eac
[Snippets] [CPU] Fixed isSuitableChildForFusingMatMul for dynamic case (#13898) 2022-11-09 11:31:17 +04:00
Xuejun Zhai
23882408c4
[C API][DOC]add doc capi reference (#13886)
* [Test] Build doc for C API reperence

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [Test] Build doc for C API reperence add C path

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [Test] Build doc for C API reperence add C path

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API][DOC][DOXYGEN] refact the components of C API

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [DOC][API reference] remove useless code

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API][DOC] Modify format to generate api reference

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [DOC][API reference] fix doc build error

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
2022-11-09 11:20:32 +04:00
Ilya Churaev
63bfeb7eba
Enable linker warnings as error for Windows (#13696)
* Enable linker warnings as error for Windows

* Fisable some linker warnings

* Suppress warnings

* Fixed build

* Change if opset

* Try to fix some warnings

* Revert some changes

* Try to fix warning

* Define OpenVINO static library for static libraries
2022-11-09 11:19:36 +04:00
Ilya Churaev
9eb4878d01
Added doxygen comment for opset10 (#13919) 2022-11-09 10:41:59 +04:00
Kelvin Choi
bf8a2b6503
[GPU] Update Select Op to use ngraph shape infer (#13565) 2022-11-08 22:30:41 -08:00
Zhang Yi
46cf87f467
[CPU]Decompose Logsoftmax (#13679) 2022-11-09 09:01:37 +03:00
Mateusz Tabaka
3077b45995
[Pruning] propagate mask through Split and VariadicSplit (#13506)
Ticket: 88441
2022-11-09 06:37:41 +01:00
Sungeun Kim
7cf727cb26
fuse reorder to next conv (#13683)
-in_fmt:bfyx, out_fmt:b_fs_yx_fsv16, bs_fs_yx_bsv16_fsv16
-shallow input conv
2022-11-09 13:52:26 +09:00
Min, Byungil
0e486c1b9b
[GPU] Reduce overhead in device_query (#13200)
+ Reduced overhead of is_local_block_io_supported in ocl_device
+ Updated hash_value in kernels_cache

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2022-11-09 11:59:52 +09:00
cecilia peng
3bdb9cae54
[CPU] add support for internal ops augrucell and augrusequence (#12647)
* [cpu] enable augru.

* initiate opset_private_tbl.hpp for private ops.

* fix ngraph_functions target_linker.

* temporaliy disable a failure test.
2022-11-09 05:58:04 +03:00
Tetiana Gubanova
4d1de75b24
[GPU] Add blocked layouts support to normalize operation (#12459)
* Add blocked layouts support to normalize operation

* Add normalize logic for blocked and plain layouts to one kernel
2022-11-08 17:50:44 -08:00
Paul Youngsoo Ahn
5c17c7e0a0
[GPU] Fix multistream issue for dynamic shape (#13433) (#13433)
- Separate kernels_cache::add_kernel from factory (choose_impl)
- Reset kenrels_cache._kernels after kernels_cache.compile
- Create cldnn unit test case to check multi-stream processing
2022-11-08 17:34:40 -08:00
Roman Kazantsev
9943edfa34
[Core] Fix StridedSlice shape infer in case dynamic end and input of dynamic shape (#13909)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-11-08 22:52:13 +03:00
Katarzyna Mitrus
03d048240c
Broadcast-3 shape_infer review (#13849)
* v3::Broadcast tests

* Shape infer improvements

* Use Dimension broadcast_merge in Bidirectional mode

* More tests

* Style apply

* Fix Unqueeze with Broadcast tests

* Align Squeeze/Unsqueeze tests

* Fix warning

* Updates test shapes names

* loops refactor

* Remove redundant set/get labels from expected shapes

* Padding refactor

* Tests refactor

* Revert auto for i in loop
2022-11-08 21:51:04 +03:00
Sun Xiaoxia
73a8718b47
Xiaoxia/Default setting with hyper thread enabled on Hybrid-aware P/E-core (#13773)
* add HybridAware stream setting and core binding

* fix clang format issue

* unified code style, add parameter check

* correct input affinity skip NUMA, modify function name

* remove unnecessary floor

* fix ci compile issue on Mac/windows platform

* modify smoke_SetConfigAffinity test

* modify ov_core_set_and_get_property_enum test, affinity HYBRID_AWARE is changed to NUMA

* remove affinity correcting on this pr

* revert ov_core_test.cpp

* merge function by comments

* fix code style issue

* add custom nstreams setting, remove mutable qualifier

* fix code style issue

* fix some issues according to comments

* modify UpdateHybridCustomThreads

* fix code style issue

* modify comments

* use logic core in phase 2

* modify steams threads setting method

* move properties used in P/E-core to ie_internal_plugin_config.hpp

* fix streams is wrong on P/E-core which has 6 big cores

* modify code according to comments

* add threads_per_stream_small=3

* add the judgment of logical core

* fix code style issue

Co-authored-by: Shen, Wanglei <wanglei.shen@intel.com>
2022-11-08 21:18:23 +03:00
Roman Kazantsev
124106f81b
[TF FE] Refactor SpaceToBatchND and BatchToSpaceND operations (#13884)
* [TF FE] Refactor SpaceToBatch and BatchToSpace operations

Make them to support inputs of dynamic rank and shapes

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

* Add layer tests in the pre-commit

* Fix for normalizing padding and crops

* Correct the type of paddings and crops

* Fix incorrect changes for paddings and crops

* Update src/frontends/tensorflow/src/op/space_to_batch_nd.cpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* Update src/frontends/tensorflow/src/op/space_to_batch_nd.cpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2022-11-08 20:38:55 +03:00
Jan Iwaszkiewicz
5ae221e107
[PyOV] Fix mypy after bump, general refactor (#13913)
* Fix mypy errors after bump PEP482, reformat code in general

* Enable checks

* Fix smaller issues

* Revert typo with comments

* Fix indents
2022-11-08 19:26:39 +04:00
Mateusz Bencer
116f294a9a
Introduce PullThroughReduce and ReduceReshapeFusion transformations (#13047)
* Initial version of PullThroughReduce and ReduceReshapeFusion transformation

* remove std namespace

* headers + namespaces clean-up

* resolved problem with ambiguous namespace

* clang format applied

* tests refactor. part 1

* tests refactor. part.2

* changed includes

* review remarks

* tests refactor. part.3

* review remarks

* fix build problem

* remarks

* fix reserving memory

* review remarks

* styles applied

* handle axes in the middle in try_get_unsqueeze_axes_from_reshape

* handle case of scalar input shape

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2022-11-08 17:33:04 +03:00
Xiake Sun
6f2eab4413
Fix datetime not found issue in utils (#13690) 2022-11-08 15:56:19 +04:00
Nikolay Shchegolev
b6ec6d4ec0
[CPU] GridSample operation implementation. (#12910) 2022-11-08 14:53:33 +03:00
Ilya Lavrenov
ce7455ddb0
Added option to disable compile_tool (#13903)
* Updated pugixml

* Added option to disable compile_tool
2022-11-08 15:04:57 +04:00
Przemyslaw Wysocki
d2871fd52c
[PyOV] Enable Python 3.10 on Azure CI (#12578)
* Fix mypy for numpy==1.21.6

* Apply CR changes

* Allow Python 3.6 for open source

* Attempt to silence mypy

* Revert to 3.6 in setup.pys

* Fix merge conflict

* Add newline

* Fix Python version assert

* Test Python 3.10 CI

* Try bumping up pybind to 2.10

* Link default python to python 3.10

* Add sudo to changing default python

* Bump python version in setupvars

* Fix exception in test

* Do the same for compatibility

* Apply same CI changes to other pipelines

* Attempt to fix arm and windows CIs

* Fix win py lib version and links?

* Try to fix CI

* Fix win python path

* Update win path

* Test disable PDPD

* Disable TF for testing CI

* Add sudo to rm

* Test linux

* Update requirements

* RM sudo

* Add debug step to CI on ARM

* build py from source on linux

* Remove debug step from ARM

* Fix err

* Fill num_proc

* Fic py installation

* Bump pdpd to 2.3.1

* Bump np vers

* Try to upgrade onnx to 1.12.0

* Revert onnx upgrade, enable frontends

* Build py shared

* Export library

* activate py env

* Bump scipy for py3.10

* Another scipy bump

* Fix Windows path, add nfs helper for mount

* Attempt to fix win_cc

* Batch of changes

* Try to fix ngraph-onnx-lin

* Install lsb-release for docker on ngraph-onnx-lin

* Link lsb_release

* Try bumping Ubuntu to 22.04

* Revert ubuntu change in dockerfile

* Refactor tests for onnx1.12

* Fix ONNX compatibility and numpy warnings

* Refactor tests for onnx1.12

* Fix ONNX compatibility and numpy warnings

* Upgrade ONNX to 1.12 in cpp

* Skip unsupported ops

* Revert "Fix ONNX compatibility and numpy warnings"

This reverts commit cd8a0e6b8e.

* Small changes

* Remove unnecessary changes

* Bump Python version in github workflows

* Fix flake error

* Another flake error

* Even more flake errors

* Xfail more tests

* Fix mypy errors

* Change onnx version in tests

* Bump ONNX in MO

* Fix onnx utils in comp

* Minor changes

* Import pathlib

* Add xfails to compatibility tests

* Skip segfaulting tests

* Fix onnx nametuple

* Fix flake

* Try to fix py3.6 onnx

* Switch to venv in windows

* Fix model importer and reqs

* Add __test__

* Debug print

* Fix flake

* Update linux.yml

* Update windows.yml

* Update linux.yml

* Update windows.yml

* Install python3.10

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Install py embedded

* Fix dir

* Fix curl

* Add complete file

* CP file

* Bump py ver

* Fix missing venv

* Try to install

* Disable venv

* Bump OMZ commit

* checkout omz

* Revert omz

* Bump omz

* Revert pybind bump

* Update .gitmodules

* Change pybind to fork

* change ssize_t to size_t

* Install bz2 for py build

* Bump omz

* Bump pandas requirement version

* Revert omz

* Install missing clang

* Bump omz

* Bump versions on fork

* Bump numpy in model zoo

* Fix clang

* Skip segfaulting pdpd test

* Skip another pdpd test

* Skip pdpd places.cpp

* Bump py ver in setupvars.bat

* Disable paddle tests

* Use int instead of str

* Fix requirements path

* Enable lin-cc

* Fixes in CI

* lin-cc and ngrpah-onnx changes

* Update num_proc

* Update ngraph-onnx

* Minor change

* Fix env var

* Change ubuntu to 20

* Get compiler on ngraph-onnx

* Add sudo to apt-get

* Add SSL

* Download ssl

* Different way of installing ssl

* Minor changes

* install zlib

* Fix env var

* Fix docker building error

* Revert changes

* Modify dockerfile

* Change pychecks python version

* Cleanup

* Add LayerNorm to expanded ONNX functions

* Revert previous commit

* Add LayerNorm to expanded ONNX functions

* Apply clang

* Move LayerNorm tests to skip_segfault

* Unskip pdpd tests

* Enable pdpd tests on linux

* Refactoring

* Remove 3.6 from reqs

* Refactoring

* Minor changes

* Minor changes

* Relax MO reqs

* Bump torch version

* relax pytest

* Specify pytest version

* Fix pytest pip conflict

* Bump pybind11 to v2.10.1 release tag

* Specify separate pytest version for py3.10

* Bump attrs

* Add py dependency

* Refactor versions

* Add venv activation to tf tests

* Fix fdupes

* Bump OMZ submodule

* Remove find and replace

* Change pybind to upstream fork

* Set pybind to proper commit

* Minor changes

* Try to fix scipy

* Updated exclude patterns for nlohmann json

* [PyOV] Fix wheel requirements for new package versions

* Specify CPU plugin versions

* Bump OMZ version

* Fix linter

* Fix linter 2

* Fix linter 3

* Disable linter

Co-authored-by: Mateusz <mateusz.mikolajczyk@intel.com>
Co-authored-by: jiwaszki <jan.iwaszkiewicz@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-11-08 11:38:39 +04:00
Ilya Lavrenov
b210b19c6d
Risc-v toolchain (#13897) 2022-11-08 10:58:01 +04:00
Szymon Irzabek
3ea77b9966
GNA MTL mixed precision (#13166)
* [GNA] Enable int8 weights for convolutions

* [GNA] Implement convolution low precision tests for MTL

Co-authored-by: Marcin Kacprzak <marcin.kacprzak@intel.com>
2022-11-08 07:34:01 +01:00
Ilya Churaev
0fa1573bbb
Enable disabled check (#13908) 2022-11-08 10:27:23 +04:00
Ilya Churaev
0bb72a4949
Add ctest for some test targets (#13727)
* Add ctest for some test targets

* Fixed test coverage

* Replaced unit tests cmake script

* Fixed code style

* Use ov_add_test_target for FEs

* Fixed code style
2022-11-08 10:25:16 +04:00
Tatiana Savina
07a0ff58f2
DOCS: Developer documentation Inference component update (#13895)
* dev docs fixes

* fix space

* fix paragraphs
2022-11-08 07:42:10 +04:00
Andrew Kwangwoong Park
e1f014ac15
[GPU] Fix performance degradation of bfyx conv with FP16 compared to FP32 (#13847)
Signed-off-by: Andrew Park <andrew.park@intel.com>

Signed-off-by: Andrew Park <andrew.park@intel.com>
2022-11-07 16:55:47 -08:00
Ilya Lavrenov
1f561033fa
temporary commented failed test (#13904) 2022-11-08 01:24:59 +04:00
Taylor Yeonbok Lee
cd94a1f17b
[GPU] Enable Conv/GroupConv shape infer for explicit/valid padding (#13731)
* Enabled Conv dynamic shape & Added conv dynamic functional test

* Fix layout optimizor

* Revert layout optimizer change

* Set expected layout of convolution for dynamic shape to be fsv16

* Fixed groupConv for dynamic shape

Added 1D dw/group convolution tests for both static & dynamic
Currently, 1D group convolution is only works for dw..

* Minor fix

* Updated for 3D conv dynamic case + corresponding test

* Fix lint error

* Fix INSTANTIATE_TEST_CASE to INSTANTIATE_TEST_SUITE

* Fix clang format & skip 1D group conv test
2022-11-07 11:38:52 -08:00
venki-thiyag
835236fae6
#13888 [Bug] Unable to load OpenVINO in Electron app node addon (#13890)
Co-authored-by: venki <venkatesan.t@ringcentral.com>
2022-11-07 19:27:17 +04:00
Pawel Raasz
c37e06f947
Review opset1 split for shape inference aspects (#13844)
* Review split operator for shape inference:
- check label and dimension propagation
- check evaluation lowe, upper and labels

* Review split static shape inference by tests

* Use shape_infer in split evaluate

* Fix compilation issues

* Fix usage of broadcast in bound tests
2022-11-07 17:04:25 +04:00
Liubov Talamanova
58b37c9bc2
[POT] Skip unstable test (#13889) 2022-11-07 12:44:16 +00:00
Roman Lyamin
34b76584f7
[GPU] AvgPool/MaxPool dynamic support (#13754) 2022-11-07 15:46:17 +04:00
Anastasia Kuporosova
713eb9683f
[Pyskip failed tests (#13892) 2022-11-07 14:46:51 +04:00
Roman Kazantsev
995bcdbe47
[TF FE] Refactor Where translator and test it (#13880)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-11-07 12:32:16 +04:00
Roman Kazantsev
2e9a8cd332
[TF FE] Refactor SpaceToDepth and test it in the precommit (#13882)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-11-07 12:23:54 +04:00
Min, Byungil
e676ae7016
[GPU] Resolve reduce test failure (#13607)
+ Added logic to select planar format for b-f axes reduction
+ Bugfix of reorder_unreduced_axis_no_fusion
+ Bugfix to resolve an issue of cgan_mnist

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2022-11-07 16:57:53 +09:00
Maxim Vafin
f1d7647b8d
Fix Slice issue in MO IR Reader (#13784)
* Fix slice issue in MO IR Reader

* Add unit test

* Fix slice test
2022-11-07 11:22:22 +04:00