Commit Graph

8433 Commits

Author SHA1 Message Date
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
Georgy Krivoruchko
94c40d6a82
[TF][FE] Fixed wrong output naming in AvgPool (#13575) 2022-10-24 16:50:51 +04:00
Smirnova Maria
9ea33715a0
Modify stress tests so that data can be pushed to OVVP (#13452)
* Change stress tests db fields

* Add option for upload data to database by API handler

* Push modified data only to new database

* Fix adding log info to new db
2022-10-24 13:57:37 +02:00
Gorokhov Dmitriy
9f40eb7196
[CPU] Fixed integer compute for arithmetic operations (#13556) 2022-10-24 15:54:52 +04:00
Roman Kazantsev
be1b72d1e9
[Core] Correct shape inference for StridedSlice with non-const begin (#13581)
* [Core] Correct shape inference for StridedSlice with non-constant begin, end, and strides

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

* Fix build issue

* Fix build issue

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-24 15:18:02 +04:00
Min, Byungil
4188f1f181
[GPU] Update for layout query (#13346)
+ support multiple input and output target formats
+ implement generic logic for selection formats and find_data_format
+ Add TCs for select_preferred_formats

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2022-10-24 15:27:09 +09:00
Felix Dohyun Kim
385d87edaf
[GPU][DG2] Fix output scale post-op condition (#13567)
* fix bug in oscale post-op condition
2022-10-24 10:17:00 +09:00
trixirt
a55b277c68
Use shared gflags on Fedora (#13600)
Static gflags is not available on Fedora, leading to a configure
error.  So use the shared version.

Signed-off-by: Tom Rix <trix@redhat.com>

Signed-off-by: Tom Rix <trix@redhat.com>
2022-10-23 22:46:13 +04:00
trixirt
a7d275bea6
check if ncc is enabled before looking for ncc.py (#13598)
If ENABLE_NCC_STYLE=OFF, the check for ncc.py still happens.
A confusing warning is reported and a redundant setting of
ENABLE_NCC_STYLE to OFF is done.

Check that ENABLE_NCC_SYTLE is enabled before looking for ncc.py

Signed-off-by: Tom Rix <trix@redhat.com>

Signed-off-by: Tom Rix <trix@redhat.com>
2022-10-23 22:44:50 +04:00
Andrei Kochin
247675b0bc
[MO] Update reminder message for 2022.3 (#13572) 2022-10-21 19:43:38 +04:00
Ilya Lavrenov
786690a44f
Added post-processing for python wheel platform tags (#13584) 2022-10-21 17:42:26 +04:00
Roman Lyamin
478939ea9e
[GPU] GEMM dynamic (#13248) 2022-10-21 16:19:35 +04:00
Evgenya Stepyreva
1047bb7732
Simplify Reshape inserted while converting RNN from mxnet (#13570) 2022-10-21 14:29:39 +04:00
Ilya Churaev
5e25341904
Added reading of meta information from IR (#12925)
* Added reading of meta information from IR

* Fixed code style

* Added tests to cover multi-threading and removed file

* Fixed asserts

* Changed parsing of meta information

* Added meta information serialization

* Fixed unit tests

* Support unset_cli_parameters

* Changed get meta API

* Fixed threading tests

* Fixed mutex

* Removed serialization

* Fixed tests

* Fixed build

* Add quantization_parameters

* Use rt_info instead of meta section

* Disable old rt_info serialization

* Try to fix MO Reader for new rt info

* Fixed property name

* Added test to new meta format

* Added tests for new PoT config

* Added tests for new rt_info attributes

* Remove redundant code

* Revert old rt_info style for nodes

* Add get API for python

* Added python tests

* Fixed python code style

* Fixed tests code style

* Fix flake8

* Fixed python tests

* Add has_rt_info to test

* Added more comments

* Extended tests and API

* Changed error message

* Use new API to get model version

* Fixed comments on python API

* Fixed comments

* Fixed comments

* Update src/bindings/python/src/pyopenvino/graph/model.cpp

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

* Update src/bindings/python/src/pyopenvino/graph/model.cpp

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

* Fixed comments

* Fixed python check

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2022-10-21 12:21:41 +04:00
Przemyslaw Wysocki
27a03948c2
[PyOV] Rewrite map to generator in ie_api.py (#13571) 2022-10-21 09:56:48 +02:00
Ilya Churaev
85d78a3ef0
Build code snippets together with doc (#13541)
* Build code snippets together with doc

* Added separate step for code snippets

* Try to enable CI step

* Disabe myriad

* Try to fix Windows

* Detect number of cores

* Reduced build time of code snippets
2022-10-21 06:29:19 +03:00