Commit Graph
7090 Commits
Author SHA1 Message Date
Mikhail Nosov c4f5bce3b0 If CMAKE_BUILD_TYPE is not set - set it to 'Release' by default (#11026)
This behavior is already used by default because ONNX is enabled by default and thirdparty/onnx/onnx/CMakeLists.txt forcing CMAKE_BUILD_TYPE to Release if it is not set

It fixes the following issues:
- When ONNX frontend is disabled - source is built for Debug, which is very unexpected comparing to Release with ONNX frontend enabled
- When ONNX frontend is disabled, even libopenvino.so could not be built due to some generated makefiles issues

It is set to 'Release' (not to 'Debug') to comply with default behavior when ONNX is enabled (it is default option working for most users)
2022-03-18 06:59:36 +03:00
Maxim Vafin 0be4bca954 Incremental improvement of MO user guide. (#11010)
* Incremental improvement of MO user guide.

* Apply feedback
2022-03-17 22:38:20 +03:00
Anton Romanov 73994d7c70 Fixed coverity in benchmark app (#11013) 2022-03-17 18:26:59 +03:00
Alina Kladieva aedcf2cb9f Skip hanging Myriad canRun3AsyncRequestsConsistentlyFromThreads (#11011)
* Skip Myriad canRun3AsyncRequestsConsistentlyFromThreads

* Update skip_tests_config.cpp

Fix typo
2022-03-17 17:52:25 +03:00
Mikhail Nosov 4b3dd808df [First Inference] Read time improvements via using 'mmap/munmap' (#10907)
* Performance improvement for constant creation

The issue is that 'are_all_data_elements_bitwise_identical()' is called every time in Constant constructor, and it potentially checks all buffer which is O(N) complexity.
While it is needed only if client uses 'get_all_data_elements_bitwise_identical'

Solution:
- Defer calculation until first call of 'get_all_data_elements_bitwise_identical'
- Store calculated value in mutable class member to reuse it on next calls of 'get_all_data_elements_bitwise_identical'

Test verifies both cases:
a) that constant creation with shared memory data (now O(1)) is significantly faster than creation+bitwiseCheck O(N)
b) Than once calculated, value is taken from cache, which is significantly faster than re-calculation

* fix clang-format

* Stash - Linux implementation

* Windows mmap implementation + unicode

* Clang for windows

* removed debug print

* Add handling of empty bin file

* fix windows includes

* Fix python test

* Unit tests
Fix for Constant with size > 4GB

* Fix review comments
2022-03-17 17:16:06 +03:00
Indira Salyahova 3a8fd7135e [POT] Method сhange to get bias shape in bc and fbc algoritms (#10463)
* refactoring: get bias shape in bc and fbc algoritms

* use scipy to take most frequent shape

* pylint

* update reference

* pylint

* Update test_sanity.py

* update test_sanity.py

* Update test_sanity.py
2022-03-17 16:46:28 +03:00
Sergey LyubimtsevandYuan Xu 412f2190d1 Update for get started samples (#10975)
* Update for get started samples

* Update docs/get_started/get_started_demos.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/get_started/get_started_demos.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/get_started/get_started_demos.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* formatting

* rewording

* fix links

* fix formatting

* Update docs/get_started/get_started_demos.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/get_started/get_started_demos.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* replace squeezenet1.1 with googlenet-v1

* GoogleNet v1 Caffe* model

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2022-03-17 16:01:42 +03:00
Vladimir Zinoviev f12ab5c182 [LPT] Tests on reshape with channel dim reducing (#10999) 2022-03-17 16:00:45 +03:00
Mikhail Nosov 857a1ad2af Caching snippets try/catch to make coverity happy (#11005) 2022-03-17 09:58:18 +00:00
Artyom Anokhov 2b4ee3d937 Fix Deployment Manager configs for MacOS and Win-HDDL target (master) (#11000)
* DM configs: Updated path for MacOS. Removed MovidiusDriver for HDDL target for Windows

* DM config MacOS: Updated name for libov_runtime
2022-03-17 12:45:07 +03:00
Andrey NoskovandMikhail Ryzhov 0091d52c78 [GNA] Added SW_FP32 mode w/o SF for BasicLSTM (#10115)
* [GNA] Added SW_FP32 mode w/o SF for BasicLSTM

* deleted additional test
 added sw_fp32 mode for exisiting test
 changed reference output for new mode

* [GNA] Fixed according to review

* [GNA] Parametrized weights range

* fixed after review

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
2022-03-17 11:32:46 +03:00
Anton Romanov bfa0e3e1a4 Fix samples tests on azure (#10892)
* Fix samples tests on azure

* fixed bmp reader
2022-03-17 11:17:25 +03:00
Dawid Kożykowski cf80156fcc Expose Output object bindings to Python (#10743) 2022-03-16 18:31:38 +01:00
Dawid Kożykowski 6f64de4c27 DynamicQuantizeLinear op support (#10565) 2022-03-16 18:30:15 +01:00
Karol BlaszczakandIlya Lavrenov 33d90c5c77 [DOCS] update HETERO execution (#10758)
* [DOCS] update HETERO execution

a basic language review

* Update docs/OV_Runtime_UG/hetero_execution.md

* Update docs/OV_Runtime_UG/hetero_execution.md

* Update docs/OV_Runtime_UG/hetero_execution.md

* Update docs/OV_Runtime_UG/hetero_execution.md

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-03-16 18:37:30 +03:00
Yegor Kruglov 7cfd8698ce [Master] Cascade RCNN res101 document model support (#10902)
* cascade rcnn model support

* fix typo

* specify model directory

* comments resolving
2022-03-16 18:16:28 +03:00
Vladimir Zinoviev 25e1f6ac97 [CODEOWNERS] LPT folder owner change to LPT team (#10993) 2022-03-16 17:38:29 +03:00
Vladislav Volkov ed8c9d6f9a CPU Plugin refactoring: class names (#10639) 2022-03-16 17:16:29 +03:00
Yegor Kruglov f7b2e3a8ca SoftSign-9 specification (#10690)
* SoftSign-9 specification

* opset9 update

* fix formula

* comments resolving
2022-03-16 14:58:26 +03:00
Vladimir GavrilovandIlya Churaev f7875da083 nGraph shell of operations RDFT and IRDFT (#10353)
* Written header files for the nGraph operations RDFT and IRDFT.

* Written nGraph shell for the operation RDFT.

* Added missed include.

* Added RDFT to opset9 table.

* Code style fixes.

* Written the nGraph shell of the operation IRDFT.

* Added IRDFT to opset9 table.

* Started to write shape infer tests for RDFT.

* Refactoring: shape infer functions of RDFT and IRDFT moved into separate files.

* Written shape infer tests for RDFT.

* Written shape infer tests for IRDFT operation.

* Fixed code style.

* Fixes in the shape infer function of RDFT.

* Fixes in the shape infer function of RDFT.

* Fixes in the shape infer function of IRDFT.

* Deleted redundant includes in include/ngraph/op/irdft.hpp and include/ngraph/op/rdft.hpp

* Deleted redundant includes in include/openvino/op/rdft.hpp and include/openvino/op/irdft.hpp.

* Deleted redundant includes in cpp-files of nGraph shells of operations IRDFT and RDFT.

* Code style fixes.

* Shape inference functions of operations RDFT and IRDFT moved to the namespace ov::op::util.

* Deleted RDFT and IRDFT from docs/template_plugin/backend/opset_int_tbl.hpp.

* Deleted 'using namespace ngraph' from cpp-files of nGraph shells of operations RDFT and IRDFT.

* Fixed typos.

* Merged some loops in shape inference functions of RDFT and IRDFT.

* Written visitor tests for RDFT and IRDFT.

* Small change.

* Common part of RDFT and IRDFT shape validation moved into the separate file.

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2022-03-16 14:54:32 +03:00
097006d97a [GNA] Update documentation (cherry-pick from release) (#10974)
* [GNA] Update documentation (release) (#10873)

* parent 5f755d5e4a
author Nadezhda Ageeva <nadezhda.ageeva@intel.com> 1646919359 +0300
committer Nadezhda Ageeva <nadezhda.ageeva@intel.com> 1647270928 +0300

[GNA] Updte documentation (release)

Update docs/OV_Runtime_UG/supported_plugins/GNA.md

Co-authored-by: Denis Orlov <denis.orlov@intel.com>

Update docs/OV_Runtime_UG/supported_plugins/GNA.md

Co-authored-by: Denis Orlov <denis.orlov@intel.com>

Update docs/OV_Runtime_UG/supported_plugins/GNA.md

Co-authored-by: Denis Orlov <denis.orlov@intel.com>

Update docs/OV_Runtime_UG/supported_plugins/GNA.md

Co-authored-by: Denis Orlov <denis.orlov@intel.com>

Apply comments

Move snippets to separate file

Add notes about POT and 2d convolutions

* Add lins to GNA setup

* cleanup after rebase

* [GNA] small docs fixes (#10959)

* [GNA] small docs fixes

* Update docs/OV_Runtime_UG/supported_plugins/GNA.md

Co-authored-by: Victoria Yashina <victoria.yashina@intel.com>

* Update docs/OV_Runtime_UG/supported_plugins/GNA.md

Co-authored-by: Victoria Yashina <victoria.yashina@intel.com>

* Update docs/OV_Runtime_UG/supported_plugins/GNA.md

Co-authored-by: Victoria Yashina <victoria.yashina@intel.com>

Co-authored-by: Victoria Yashina <victoria.yashina@intel.com>

Co-authored-by: Victoria Yashina <victoria.yashina@intel.com>
2022-03-16 14:37:55 +03:00
Ilya Znamenskiy 848a824260 [GPU] Removed unneeded data from the code (#10987) 2022-03-16 14:22:54 +03:00
Chenhu Wang 3bb83b4ddd [CPU] Fixed undefined values in MVN and Interpolate nodes (#10829) 2022-03-16 14:11:07 +03:00
Alexandra Sidorova 68452e97e2 [CPU] Fixed default ellipsis in StridedSlice (#10713) 2022-03-16 14:09:42 +03:00
Chen Xu 49fb48e744 [CPU] Topk node extend to support horizontal sort for all layouts for top_k == 1 (#10700) 2022-03-16 14:09:14 +03:00
Luo Cheng 4d8adabcaa [CPU] Fusing in non-0 output port exception (#10837) 2022-03-16 14:08:28 +03:00
Alexander Zhogov 8a813d0da9 Update windows.yml
Azure CI: Enable IB again
2022-03-16 13:05:36 +03:00
Mikhail Nosov 7cea7dd4e6 Docs: model caching page update according to OpenVINO API 2.0 (#10981) 2022-03-16 12:22:33 +03:00
Ilya Znamenskiy 2687f6fb2e [GPU] Enabled IFM leftovers inside fully_connected_imad kernel (#10912) 2022-03-16 12:02:36 +03:00
Alexander Zhogov 06f55bd8e8 Azure CI: Disable IB 2022-03-16 08:57:45 +03:00
Yuan Hu 50adb2240c [AUTOPLUGIN] don't check dynamic shape when there is only one device (#10868)
* don't check dynamic shape when there is only one device

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* remove redundant if

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2022-03-16 09:56:23 +08:00
guozhong wang 8c9c592fcf Guozhong/add hint cumulative throughput (#10727)
* mod docs/_static/images/dataset.png and docs/_static/images/inputs.png

* add new hint cumulative_throughput

* clang format properties.hpp

* add set properties and get properties test case for CUMULATIVE_THROUGHPUT

* reset docs/_static/images/dataset.png and docs/_static/images/inputs.png

* reset docs/_static/images/dataset.png and docs/_static/images/inputs.png

* reset dataset.png and inputs.png

* reset dataset.png and inputs.png

* remove test value cumulative_throughput from gpuplugin and cpuplugin testcase

* rollback dataset.png and inputs.png to 41818a377
2022-03-16 09:56:05 +08:00
Yuan Hu 4f6dcc1d32 [AUTOPLUGIN] add fps log (#10662)
* add fps log

add format '%lf' for log
add INFO_RUN and DEBUG_RUN, code only run when greater than special log level
add fps log for device
print device config info with DEBUG_RUN
add mock test for DEBUG_RUN and INFO_RUN

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* use n / end -start instead of (n-1) / ((nst start) -(1st start))

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2022-03-16 09:55:41 +08:00
Andrey Zaytsev ea8f1d0344 Cherry-picked Changes to the OpenVINO 2.0 Transition Guide (#10936) (#10978) 2022-03-15 21:09:33 +00:00
Nadezhda Ageeva 3c721b0f03 [nGraph] [MO] Add ngraph transformations for PRelu fusing (#10209)
* MO: add PRelu fusing pattern with Sub

* PRelu fusing

* Apply review comments

* Code style
2022-03-15 18:57:59 +03:00
Mikhail Nosov 93722fe101 Docs. Fix link in layout overview (#10968) 2022-03-15 15:35:02 +00:00
Sofya Balandina 499ffcaa59 [conformance] SetUp timeout per test (#10426) 2022-03-15 18:28:19 +03:00
azhogov 37e05afd12 GitHub org control: all ignored accounts are showed now 2022-03-15 17:27:08 +03:00
Nikita Malinin e103af056e [POT] References & golds update (#10937)
* Update references

* Update golds & add stats dumping

* Statistics_data upd

* Enable densenet in nightly

* Pylint fixes

* Update try-except WA

* Update simplified gold
2022-03-15 16:55:48 +03:00
Vladimir Paramuzov 4e8e56e887 [GPU] Removed unused variable to fix android build (#10961) 2022-03-15 16:22:13 +03:00
Bartek Szmelczynski aed3b59796 [DOCS] Python snippets for Query device page (#10789)
* create python snippets

* remove redundant space
2022-03-15 16:11:32 +03:00
Taylor Yeonbok Lee 13b6a3d86e [GPU] Fix batchability check of MAX_BATCH_SIZE (#10660)
* Fix batchability check of MAX_BATCH_SIZE

* Applied review comment
2022-03-15 21:31:03 +09:00
Vitaliy Urusovskij 2dbd60c1ae Mark get_type_info_static() op class methods as hidden (#10691)
* Mark `get_type_info_static()` as hidden

Each plugin linked with openvino library contains `type_info_static` symbols. In case when one of the libraries is unloaded and app tries to get opset, it leads to segfault. So mark `get_type_info_static()` as hidden to use only one implementation exactly from openvino lib

* Fix "'visibility' attribute ignored" issue by moving `TestPass` out of test scope

* Fix clang format

* Small update of `If` op

* Revert "fix 79520 (#10449)" to correctly compare DiscreteTypeInfo via `==`

This reverts commit 29883a152a.
2022-03-15 14:59:13 +03:00
Vladislav Golubev 060a149322 [nGraph] get_constant_from_source fix (#10787) 2022-03-15 14:50:21 +03:00
Jan Iwaszkiewicz 660c6a3e84 [DOCS] Python Exclusives overview (#10946)
* Add python docs

* Small fix

* Apply comments

* Fix style
2022-03-15 14:26:12 +03:00
Tomasz Dołbniak 29144d3a6b ONNX Expand extended support (#10833) 2022-03-15 12:21:30 +01:00
Bartek SzmelczynskiandAlexey Lebedev 840e622da5 add snippets for automatic batching (#10910)
* add snippets for automatic batching

* Update docs/snippets/ov_auto_batching.py

Co-authored-by: Alexey Lebedev <alexey.lebedev@intel.com>

* add missing bracket

Co-authored-by: Alexey Lebedev <alexey.lebedev@intel.com>
2022-03-15 14:17:20 +03:00
Sergey Lyubimtsev 5f27c74d96 Add description for zsh: no matches found : openvino-dev[...] issue. (#10950)
* Add description for `zsh: no matches found : openvino-dev[...]` issue.

* spell check
2022-03-15 13:37:39 +03:00
Ilya Znamenskiy fc5356cd3b [GPU] Spelling fixes (#10952) 2022-03-15 12:25:55 +03:00
Yuan Xu e341cdf541 Add Python version for Docker installation (#10840)
* update support matrix with Python version

* fix formatting

* update formatting

* fix formatting

* fix formatting
2022-03-15 12:06:48 +03:00