Commit Graph

8448 Commits

Author SHA1 Message Date
Sebastian Golebiewski
cf54cbafac
DOCS: Improving Readability of Further Low-Level Implementation Details - for master (#13522)
* Improving Readability of Further Low-Level Implementation Details

The changes include recreation of the graphics to improve the readability of the article. Minor proofreading corrections have been applied as well.
2022-10-28 07:26:06 +02:00
yanlan song
3f4c53a779
Bell/fix priority (#13667)
* debug only

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

* fix model priority with -d AUTO

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

* add tests

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

Signed-off-by: fishbell <bell.song@intel.com>
2022-10-28 04:58:25 +03:00
Paul Youngsoo Ahn
694d2f73eb
[GPU] Range new shape infer (#13582) (#13582)
- move dynamic functional tests to dynamic folder
2022-10-27 18:29:49 -07:00
Taylor Yeonbok Lee
33c230a40d
Fix reshape calc_output_layout failure in squeeze shape_infer test. (#13698)
Failure: Comparing reshape->output_shape with a new tensor() object was not working as intended.
Since the original intention was to check whether cldnn::tensor type output_shape is set or not,
so replaced the comparision to use size of the output_shape.
2022-10-28 04:17:44 +03:00
Ivan Tikhonov
8714cf643e
Fix UnrollIf transformation to support nested If (#13654)
* Added a recursive call into UnrollIf transformation to support nested If unrolling
2022-10-28 03:49:52 +03:00
Egor Duplenskii
7e2cefab8a
[CPU] Move to oneDNN v2.7 (#12281) 2022-10-28 01:40:07 +03:00
Luo Cheng
4ec5499c5d
[FrontEnd] add control flow, basic tensor array support for paddle faster_rcnn model (#10684)
* support control flow, tensor array

* fix clang error

* support ppdet2.3 model

* 1. code clean; 2. more comments inlined.

* fix after clone ov::Model no more in need.

* support dynamic shape; more comments

* only process same rank

* remove unused function

* simplify the loop logic

* fix review comments

* support shape{1} {}

* disable FoldSubgraphEmptyInputs because loop in loop

* fix review comments

* remove scalar{}->shape{1} testcase

* allow re-infer shape when backedge changes input shape

* fix condition shape to {1}

* support output rank is not same or dynamic

* fix refactor error

* apply review comments

* fix win warnings

* remove TransformEliminateConvert

Co-authored-by: jialipen <cecilia.peng@intel.com>
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2022-10-27 18:36:24 +03:00
Ilya Lavrenov
fbd6d14c3b
Several fixes for compilation fixes (#13674)
* Added i386 support

* Cross-compiled wheel package

* Fixes

* Try to use cross-env

* Fixed path to crossenv

* Strict dependency

* Removed numpy dependency

* explicitly activate crossenv

* Don't install ONNX for tests conversions during cross-compilation

* Updates

* Extra improvements

* Fixed compilation with strict flags

* Fixes

* Revert changesin .ci/azure/linux_arm64.yml
2022-10-27 17:30:24 +04:00
Ilya Churaev
84710e4440
Bump CMake for Linux Azure (#13652)
* Bump Cmake for Linux

* Fixed environment

* Change CI script

* Disable some warnings

* Fixed compiler flag

* Enabled Warnings as error for Linux

* Revert "Enabled Warnings as error for Linux"

This reverts commit bfb09efb71.

* Use prebuild cmake

* Remove redundant check
2022-10-27 17:08:56 +04:00
Maciej Smyk
44b75c727c
Update dl_workbench_overview.md (#13681) 2022-10-27 14:42:56 +02:00
Roman Kazantsev
d53c2c5e41
[DOCS][MO] Clean-up MO docs sources (#13641)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-27 16:06:18 +04:00
Oleg Pipikin
ad1c824e50
Eliminate reader tests (#13409)
* remove reader tests #1

* remove reader tests #2

* remove reader tests #3

* remove reader tests #4

* Add clone_with_new_inputs to visitor tests

* fixes
2022-10-27 14:42:23 +03:00
Liubov Talamanova
ee93ddc453
Update references (#13637) 2022-10-27 10:55:54 +00:00
Irina Efode
dcd3ed18f6
Update third-party-programs according PM requirments (#13610) 2022-10-27 13:39:20 +04:00
Pawel Raasz
d96c25844d
Review opset1 unsqueeze for shape inference aspects (#13538)
* Use non-blocking assertions in unsqueeze tests
for independent properties

* Review unsqueeze interval shape propagation:
- extend partial shape propagation tests
- add invalid axis value tests
- fix issues when repeated axes on input

* Shape inference test, unsqueeze using default ctor
- private fields set by setters

* Review unsqeeze bounds propagation:
- preserve and propagate labels
- bounds propagation lowe/upper

* Add template shape inference for unsqueeze
- extract current implementation and unify it for shape types
- add unit test for static shape inference
- add unsqueeze in/out indexes

* Unify axes normalization

* Use common fixture for static shape inference

* Fix build issue in GPU plugin
- include unsqueeze shape inference

* Remove enum with in/out indexes
Due to build issue on Windows

* Remove make move iterator
minor changes validation util

* Add test for label propagation
- expand static shape inference tests

* Add common validation for axes input

* Fix build issues

Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2022-10-27 10:28:24 +03:00
Maciej Smyk
d8f7e791ec
DOCS: Port from 22.2 - Security Add-on directive fix (#13261)
* Update ovsa_get_started.md
2022-10-27 08:25:45 +02:00
Artyom Anokhov
65293b1492
Added frontends RPMs generation (#13618)
* cmake/packaging/rpm.cmake: Added Frontends

* rpm_post_build: Added link to Fedoraproject wiki with rpmlint errors info

* RPM: Throw warning for rpmlint findings instead of FATAL ERROR till there is no filtering/suppression of errors

debian.cmake: Added one more error to suppress
thirdparty/CMakeLists.txt: added CentOS(RHEL) for gflags shared libs case
install_openvino_dependencies: Added gflags installation

* Fixed gflags issues for RHEL/CentOS

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-10-27 10:08:54 +04:00
Taylor Yeonbok Lee
728c9631b7
Dynamic shape : remaining changes to run bert (#13306)
* Initial dynamic shape smoke test for GPU

* Bert dynamic runs without crash

* Additional fix to resolve error in bert-large-uncased-whole-word-masking-squad-emb-0001

* Fix error in unfusion function: input nodes of the current (fused) node need to be updated with the latest dependency if they are fuesed to other nodes

* Several fixes
(1) Fix program to clear _kernels after all build_program steps finished
(2) Fix update_kernel not to init_kernel when impl_cache hit
(3) Fix update_kernel to clear kernels_cache::_kernels after adding the new impl to impl_cache
(4) No longer need to remove kernel from kernels_cache::_kernels after the corresponding impl is dropped from impl_cache

* Fix crash of bert_emd_4layer

* Applied review comment

* Applied review comment : fix add_required_reorder

* Fix broadcast to propagate dynamic shape properly & reverted change on constant

* Added a new unfusion unittest

* Fix broadcast single input case to use predefined shape properly

* Fixed count_non_zero output to result only one element of count

* Removed output_layout str for gather_nonzero
Removed unused ov_input_rank for count_nonzero

* Fixed create_host_blob to use usm if the target layout is not dynamic.
(Previous impl has an error when the network is dynamic but the output is static)
Moved dyn shape smoke test under dynamic directory

* Fix lint error
2022-10-27 07:20:18 +03:00
Kelvin Choi
a7a14a89c8
[GPU] Support dynamic shape for one-hot and reshape operations (#13516) 2022-10-26 17:12:17 -07:00
Mateusz Tabaka
154850e8ca
Eliminate dequantization shift when zero point == 0 (#13353)
Ticket: 91111
2022-10-27 01:37:13 +02:00
Alexey Lebedev
554af81085
[tools][benchmark_app] --extensions parameter (#11289)
* Replace -l and -c by --extensions

* revert -c

Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>
2022-10-26 23:26:51 +02:00
Pawel Raasz
dd11d57fc5
Fix core tests warnings as errors and ONNX CI (#13648)
* Fix gather type_prop test build issue on windows

* Add pytest-forked to test requirements

* Update src/bindings/python/requirements_test.txt

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

* Remove warning suppression for core tests

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2022-10-26 22:14:25 +03:00
Irina Efode
92300d641d
[CONFORMANCE] Fix Gelu op in the report && opset10 to all slt related files (#13596)
* [CONFORMANCE] Fix Gelu op in the report && opset10 to all slt related files

* Remove debug code

* fix defines
2022-10-26 18:18:55 +03:00
Irina Efode
9adbbfb98f
[API CONFORMANCE] Remove skips from ie_executable_network (#13574)
* Remove skpps from ie_executable_network

* fix heder file

* fix build
2022-10-26 17:53:49 +04:00
OlehKravchyshyn
dc1a8b7795
[GPU] added optimized blocked formats support for 5d interpolation liner onnx and nearest modes (#12977)
This commit contains two features which are split into two commits:
1) linear onnx interpolation of 5d formats
2) Optimize blocked formats for linear_onnx and nearest formats
   - contain correspondent unit and single layer tests
2022-10-26 21:53:38 +09:00
Bartek Szmelczynski
bdc037adcf
Add IsFinite operator (#13441) 2022-10-26 13:24:01 +02:00
Anastasia Kuporosova
9872a34bb9
[PyOV] mark pyopenvino as internal (#13427)
* [PyOV] makrk pyopenvino as internal

* change pyov -> _pyov

* change pyov -> _pyov

* replace impor in py files

* change install path

* undo some changes

* Revert "undo some changes"

This reverts commit 9e5794a394c1b7cd1823f70a0ddd4f8742547edf.

* replace in rest files

* keep folder w/o underscore

* undo changes in ci configs

* improve changes in cmake

* add pyopenvino deprecation warning

Co-authored-by: Adam Tumialis <adam.tumialis@intel.com>
2022-10-26 12:51:31 +02:00
Piotr Krzemiński
f893a58816
[BENCHMARK_APP] Show input command in output (#13402) 2022-10-26 10:58:09 +02:00
Ilya Churaev
848d880eb3
Fix Warning as error for Android ARM64 build (#13638)
* Fix Warning as error for Android ARM64 build

* Fixed preprocessing build

* Fixed cmake options

* Try to fix android build

* Disable some warning
2022-10-26 12:56:44 +04:00
Wang, Yang
82942a12b2
[AUTO] Benchmark failed to pass nthreads and pin to AUTO/MULTI (#13396)
* Create device property for passing nthreads or pin to AUTO or MULTI in benchmark app.

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

* Update the logic of the multi device properties setting for the same target device.

* refactor the logic to pass nthreads and pin to AUTO and MULTI.

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

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2022-10-26 14:43:02 +08:00
Tetiana Gubanova
632378c930
[GPU] Add blocked layout support to deconvolution reference implementation (#12574)
* Add blocked layout support to deconvolution reference implementation

* Fix crash in tests for corresponded format
2022-10-25 23:27:56 -07:00
Roman Kazantsev
9cd5c8b362
[TF FE] Add translators for IsInf and IsNan and test it (#13606)
* [TF FE] Add translators for IsInf and IsNan and test it

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

* Add changes in tf_utils

* Apply code-review: add xfail and use of unary op

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-26 09:03:17 +03:00
Sungeun Kim
168cf0a1a0
[GPU] remove WA for fallback pooling to cldnn. (#13540)
* remove WA for fallback pooling to cldnn.
* remove unnecessary code for deconv
* add format::bfzyx/b_fs_zyx_fsv32 to reduction_onednn
2022-10-26 13:39:20 +09:00
Mateusz Bencer
6791338710
[ONNX FE] Handle Pad value if non-scalar value provided (#13611) 2022-10-25 21:56:30 +03:00
Pawel Raasz
5d710bab2f
Review opset8 gather for shape inference aspects (#13578)
* Review interval shape propagation

* Review preserve label, partial value

* Review gather static shape inference
- unify and extend gather static shape inference test

* Introduce OV_EXPECT_THROW test macro
- wrapper for gtest macro with additional matcher for exception what()
- apply OV_EXPECT_THROW in gather type prop tests

* Use gtest `expect` instead of `assert`

* Add gather default ctor test

* Remove leftovers
2022-10-25 21:23:02 +03:00
Sun Xiaoxia
6d665e5b77
update tbb 2020 package which fix memory leak issue (#13552)
* update tbb version 2020.3 commitid is 617e9a71

* set USE_NEW_LOCATION TRUE

* modify SHA256

Co-authored-by: Chen Peter <peter.chen@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-10-25 18:46:02 +04:00
Karol Blaszczak
90b3b07e87
DOCS-diagram_fix (#13623) 2022-10-25 16:32:18 +02:00
Ilya Churaev
2a344b66cb
Update to the latest cmake for Windows (#13604)
* Update to the latest cmake for Windows

* Skip new warnings

* Added compiler flags for old cmake

* Disabled some warnings

* Suppress new warnings

* Fixed some errors

* Disable some warning for lpt

* Fix some warnings

* Disable new warnings

* Fix some warnings

* Disabled Was error for arm

* Fixed some errors

* Fixed some new warnings

* Fixed auto plugin

* Fixed Windows warning

* Fixed Windows

* Disable some warnings

* Some changes

* Small test fixes

* Fixed python build

* Added skip warnings for legacy python API
2022-10-25 18:11:46 +04:00
Xuejun Zhai
dd3a37657c
[MAC BUILD]fix benchmark build error caused by string compare (#13566)
* fix benchmark build error caused by string compare

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

* [Onlt Test] only for test mac build, will revert after validation

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

* fix benchmark build error caused by string compare

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

* [benchmark] change string compare func from strcmp() to std::string::compare

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

* Revert "[Onlt Test] only for test mac build, will revert after validation"

This reverts commit 313e8428d4.

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
2022-10-25 18:03:28 +04:00
Sebastian Golebiewski
b6189a53d6
Fixing indentation in Plugin Testing - for 22.2 (#13381)
A minor fix that corrects indentation of snippets.
2022-10-25 13:50:42 +03:00
Maciej Smyk
9df5856849
DOCS: Fix for Runtime Inference - master (#13551)
Port from #13549

Fixed the following issues:

Switching between C++ and Python docs for "Shape Inference",
Removed repetitions,
Quote background in bullet list at the beginning of "Multi-device execution",
Broken note directives,
Fixed video player size in "Inference with OpenVINO Runtime",
Standardize Additional Resources throughout Runtime Inference.
2022-10-25 12:41:33 +02:00
Katarzyna Mitrus
37abc159ef
Revision of BinaryElementwiseArithmetic evaluate_lower/upper (#13390)
* Interval value propagation tests for Add and Sub

* Add interval value prop tests for Divide and Power

* Add interval value prop tests for Max and Min

* Add mixed ops subgraph tests

* Tests update

* Style apply

* Restore tests

* Fix elvaluate bounds for Divide op

* Split tests into  separate cases

* Back to const auto& for inputs

* Separate checks for evaluate tensor

* Clean up commented tests

* Introduce OV_EXPECT_THROW test macro
- wrapper for gtest macro with additional matcher for exception what()
- apply OV_EXPECT_THROW in gather type prop tests

(cherry picked from commit f174319339)

* Revert gather type_prop tests changes

* Use OV_EXPECT_THROW in the tests

Co-authored-by: Raasz, Pawel <pawel.raasz@intel.com>
2022-10-25 12:47:47 +04:00
Anastasia Kuporosova
57e6dd1b7e
[Scripts] Warning instead of error in setupvars scripts (#13554)
* Warning instead of error in setupvars script

* apply comments
2022-10-25 09:56:56 +02:00
Xuejun Zhai
1cc4c17daf
[C API DOC][MIGRATION] Add C API migration info from 1.0 to 2.0 (#13424)
* [C API DOC] Add C API doc about migration from 1.0 to 2.0

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

* [C API DOC] clarify migration related docs

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

* [C API DOC] add call inputs_aligned/outputs_aligned

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

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2022-10-25 10:59:59 +04:00
River Li
572bc9fa5d
Fix CC issue of ov_pass_snippets::pass::CommonOptimizations (#13620)
Change-Id: I2c6af156b592665be483079182d5c045d6bee3b6
2022-10-25 09:15:47 +03:00
Tomasz Dołbniak
f8a80b6146
Disabled test re-enabled (#13624) 2022-10-25 06:14:22 +00:00
Oleksii Khovan
1960746c44
[GPU] ScatterElementsUpdate blocked layout support (#12465)
* add parameterized test
* add blocked layouts support
* support for mixed input formats
* fix RHEL 8.2 build
* add scatter_elements_update to whitelist for blocked formats
* Added bs_fs_yx_bsv16_fsv32 format
2022-10-25 08:22:27 +03:00
Mingyu Kim
0e242b3244
[GPU] update onednn to latest 2.7 (#13518) 2022-10-25 12:21:13 +09:00
Sun Xiaoxia
ec14dd3523
Hybrid-aware P/E Core optimization (#13435)
* 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

Co-authored-by: Shen, Wanglei <wanglei.shen@intel.com>
2022-10-24 22:26:22 +03:00
Gorokhov Dmitriy
086bc00d4c
[CPU] Fixed EmbeddingSegmentsSum initialization with dynamic num_segments (#13372) 2022-10-24 18:34:25 +03:00