Commit Graph

8630 Commits

Author SHA1 Message Date
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
Przemyslaw Wysocki
7bf6faf4cb
Bump pytorch (#13688) 2022-11-07 11:21:36 +04:00
Vladimir Paramuzov
ad403cf55e
[GPU] Remove f16<->f32 conversion duplicates (#13735) 2022-11-07 11:01:20 +04:00
Wang, Yang
560dba22cb
Fix the logic issue of handling the ov::device::properties in the ie core. (#13482)
* Update the logic to handle the ov:device::properties in the ie core.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Update test cases.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* 1. Remove the config filter within AUTO plugin when passing the configs to target hardwre device through AUTO plugin.
2. add test cases to check if the secondary properties have been passed into the target device through virtaul device.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Add mock tests to check if device properties works throgh the AUTO or MULTI  plugin.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Update.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Add mock head file for loadnetwork with device properties testing.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Update.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Update gtest commit to fix the warning issue appeared in the macro MATCHER_P.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2022-11-07 10:36:25 +08:00
Wang, Yang
8f9fc34ed3
Enable AUTO to accept the ov::device::properties with device name contained the index. (#13665)
Signed-off-by: Wang, Yang <yang4.wang@intel.com>

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2022-11-07 10:23:35 +08:00
yanlan song
394b6fe9ee
Bell/execution device (#13737)
* debug only

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

* add execution_device property for auto

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

* Revert "debug only"

This reverts commit 5ef6140b63.

* revert debug code

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

* polish tests to cover multiple gpu platform

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

clean up

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

* clang format

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

* only cpu in cpuFunctest

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

* thread-safe implementation

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

* remove not needed locl

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

* apply review comments

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

* remove blank line

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

Signed-off-by: fishbell <bell.song@intel.com>
2022-11-07 10:12:28 +08:00
Roman Kazantsev
57eddaa239
[TF FE][Common] Use opset Unique in TF FE and move Unique decomposition to common (#13818)
* [TF FE][Common] Move TF FE to opset Unique and add Unique decomposing to common

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

* Add Unique decomposition transformation into the common part

* Add transformation tests for UniqueDecomposition

* Fix unique_decomposition_test

* Simplify condition of transformation applicability

* Clarify the comment when the transformation is applicable

* Fix transformation test

* Fix transformation test

* Add support of opset10 in IR Reader

* Mark the single element case as xfail

* Fix tensor names in the transformation

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-11-07 01:24:23 +03:00
Przemyslaw Wysocki
520b9ff68c
[PyOV] Disallow Python 3.6 usage (#13240)
* Remove py3.6 constraints

* Cleanup out of date python versions

* Bump pybind11 to v2.10.1 release tag

* [PyOV] Fix wheel requirements for new package versions

Co-authored-by: jiwaszki <jan.iwaszkiewicz@intel.com>
2022-11-06 10:45:42 +04:00
Liubov Talamanova
03dbd8c4e7
[POT] Update node names in ONNX models (#13872) 2022-11-05 21:00:19 +01:00
Jan Iwaszkiewicz
664c196a13
[PyOV] Fix wheel requirements for new package versions (#13871)
* Bump pybind11 to v2.10.1 release tag

* [PyOV] Fix wheel requirements for new package versions
2022-11-05 16:01:45 +04:00
Liubov Talamanova
02d30c8aaa
[POT] Unify MatMul scales (#13717)
* Support FQ scales unification for MatMul

* Add test

* Update test_scales.py
2022-11-05 09:33:54 +04:00
Katarzyna Mitrus
c953186ff0
GRU/AUGRUCell shape inference function (#13708)
* Add shape_infer function for GRUCell op

* Add shape_infer function for AUGRUCell

* Consts refactor

* Add batch_size check

* Enable GRUCell shape_infer for CPU

* Style apply

* Use OV_EXPECT_THROW in tests

* Use helper for input shapes

* Use .back() instead of index

* Change rnn_seq namespace to rnn

* Fix win warnings

* Enable AUGRUCell/Sequence shape_infer on CPU

* Fix warn

* Fix warn
2022-11-04 23:31:58 +03:00
Ilya Lavrenov
19c2ec068a
Updated exclude patterns for nlohmann json (#13858) 2022-11-04 21:26:14 +04:00
Alexandra Sidorova
cbf037b9a8
[Snippets] Fixed SnippetsMarkSkipped for dynamic branches (#13751) 2022-11-04 16:15:19 +04:00
Sungeun Kim
f1cf1948d5
[GPU] add errata for onednn layout selection (#13758) 2022-11-04 15:44:36 +04:00
Pawel Raasz
0646d49d35
Review opset1 squeeze for shape inference aspects (#13716)
* Review squeeze operator for
- label preserve and propagation
- partial values preserve and propagation
- interval shapes propagation

* Review static shape inference tests

* Add template shape inference for squeeze

* Update include for OV_EXPECT_THROW

* Correct has_static_axes initialization

* remove test_squeeze from xfail 44968

* Fix inference parameter op with no data
- add additional test to check if axes are parameter without data
- revert xfail marks for squeeze tests

* Fix inference parameter op with no data
- add additional test to check if axes are parameter without data
- revert xfail marks for squeeze tests

* Refactor axes acquire logic
2022-11-04 13:42:05 +03:00
Zlobin Vladimir
28a118be39
Apply improvements I found during https://github.com/openvinotoolkit/openvino/pull/13388 (#13743) 2022-11-04 14:41:15 +04:00
Zlobin Vladimir
65f83b591e
benchmark_app: --latency_percentile: don't list all values (#13799)
Ticket 95243
2022-11-04 13:53:05 +04:00
Artur Kulikowski
a48d1558e3
ONNX: Throw exception if attribute reduction is used in ScatterND or ScatterElements (#13778)
* ONNX: Throw exception if `reduction` attribute has unsupported value

Operators:
- ScatterND
- ScatterElements
2022-11-04 10:40:14 +01:00
Tomasz Adamowicz
5f0b063455
[GNA] Support GNA 3.5 (MTL) target in OV (#13478)
* Enable TLV

* [GNA] Add smoke test for Conv with padding on MTL

* [GNA] Allow skipping tests based on gna lib version

Co-authored-by: Krzysztof Bruniecki <krzysztof.bruniecki@intel.com> 🥇
2022-11-04 10:26:22 +01:00
Vladimir Paramuzov
8b93e3f2ec
[GPU] Ability to compile OV with OCL 1.2 (#13706) 2022-11-04 12:31:01 +04:00
Liubov Talamanova
8789fcda04
[POT] Propagate FQ through Gather (#13583)
* Add Gather to QUANTIZE_AGNOSTIC_OPERATIONS

* Add test

* Update HW configs path in tests

* Fix tests

* Update CI references
2022-11-04 12:21:20 +04:00
Tingqian Li
f34f35bfc7
[CPU] Enable scratchpad user mode for oneDNN based nodes (#12038) 2022-11-04 11:10:26 +03:00
Roman Kazantsev
de687650d2
[TF FE] Fix output names list for meta format (#13828)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-11-04 11:40:59 +04:00
avoskoboinyk-lohika
6fc23b4768
[CPU] Optimize DFT operation (#11946) 2022-11-04 09:46:46 +03:00
Taylor Yeonbok Lee
e9e3044d99
Fix error in calling is_dynamic (#13769) 2022-11-04 09:31:41 +03:00
Evan
f1fe3a2f65
Docs: Update "Install OpenVINO Runtime on Windows from Archive File" page (#13332)
* docs: big update to Windows archive install steps

* docs: apply correct note format

* docs: add link to archives

* docs: minor update

* docs: change archive download link to GitHub

* Update docs/install_guides/installing-openvino-from-archive-windows.md

Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com>

* docs: typo fix

* docs: minor change

* docs: remove "For Python developers" in Software tab

* docs: fix curl command

* docs: clarify that archive install is for C++ users

* docs: add link to PyPI page

* docs: Change back to numbered instructions

* Update docs/install_guides/installing-openvino-from-archive-windows.md

* Update docs/install_guides/installing-openvino-from-archive-windows.md

* Update docs/install_guides/installing-openvino-from-archive-windows.md

* Apply suggestions from code review

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

* Update docs/install_guides/installing-openvino-from-archive-windows.md

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

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

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

* Update docs/install_guides/installing-openvino-from-archive-windows.md

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

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

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

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

* Update docs/install_guides/installing-openvino-from-archive-windows.md

* Update docs/install_guides/installing-openvino-from-archive-windows.md

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

Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com>
Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2022-11-04 09:01:24 +03:00
Ilya Lavrenov
87f61cf822
Added per component copyright files for debian / rpm (#13833) 2022-11-04 08:15:00 +04:00
Roman Kazantsev
954b9d3149
[TF FE][Tests] Add layer tests for SegmentSum and DynamicPartition in the pre-commit (#13812)
After fixes for TopK and arithmetic operations for integer tensors, we are ready to switch
these tests in the pre-commit

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

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-11-04 05:02:48 +03:00