Commit Graph

7872 Commits

Author SHA1 Message Date
Tomasz Dołbniak
5a5c404f13
Hello reshape SSD sample fix (#12004) 2022-06-30 13:35:14 +03:00
Bo Liu
7834dba545
fix CPU Plugin deformable conv Node output incorrect issues with uneven dilations (#11940) 2022-06-29 18:14:30 +08:00
Min, Byungil
730c3f8f25
[GPU] Update Debug config for GPU plugin (#11983)
+ Added OV_GPU_DumpLayersResult
+ Applied minor update

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2022-06-29 11:41:13 +03:00
Karol Blaszczak
563d4f16e6
DOCS-nncf_rephrasing (#11997) 2022-06-29 08:54:05 +02:00
Wonju Lee
62d5f9a006
[POT] Rename ranger to range_supervision (#11998)
* fix: rename ranger by range_supervision

* ci: dummy commit
2022-06-29 15:27:57 +09:00
stephenli2000
4125d71ce8
setupvars.sh: Removing extra semicolon, which breaks glibc build (#11849)
This extra semicolon creates an output as example below. The extra
'::' is equivalent to add '.' as part of the LD_LIBRARY_PATH. This
breaks glibc build, and very often creates weird issue when launch
commands from different path.

...inference_engine/external/tbb/lib::/opt/intel/openvino_2021/...

We also noticed that :${parameter:+:$parameter} is widely used in
this file. Please review the code and fix as needed.
2022-06-29 08:11:24 +02:00
Vladyslav Tsilytskyi
72505b1d82
Use 2020-resolver feature only for pip3 < 20.3.0 (#11926)
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2022-06-28 12:05:13 +02:00
Katarzyna Mitrus
674ca1ccc2
[ONNX] Enable Concat with empty tensor/scalar (#11979) 2022-06-28 08:34:10 +02:00
Chenhu Wang
1288706589
large_batch_opt (#11951) 2022-06-28 10:33:16 +08:00
Karol Blaszczak
a4e6cda7e8
DOCS-restore_gsearch_comma (#11980) 2022-06-27 23:27:12 +02:00
Mateusz Mikolajczyk
a70bbad988
[PyOV] Fix loading data to Tensor from array-like objects (#11974) 2022-06-27 16:26:45 +02:00
opoluektov-lohika
8a21e4e062
[GPU] Implement ExperimentalDetectronDetectionOutput operation (#11772)
* ExperimentalDetectronDetectionOutput: refine sorting criteria for NMS stage

This is to ensure the operation produces stable predictable results across
the possible sorting algorithm implementaions.
This property is useful for the operation testing.

* [GPU] Implement ExperimentalDetectronDetectionOutput operation

* [GPU] ExperimentalDetectronDetectionOutput: use vector types and operations in kernel

* Reformat changed files to make clang format checker happy

* [GPU] ExperimentalDetectronDetectionOutput: add another test case to the unit test

* [GPU] ExperimentalDetectronDetectionOutput: Add f16 test

* ExperimentalDetectronDetectionOutput: single-layer test: use all three outputs

* [GPU] ExperimentalDetectronDetectionOutput: increase single layer test coverage

More attribute permutations were added.
2022-06-27 23:11:03 +09:00
Chenhu Wang
95a297ed68
onednn_update (#11930) 2022-06-27 11:22:50 +00:00
Inhyuk Jo
4d741703d1
[POT] Fix dynamic shapes and batchfying data (#11923)
* fix: batchfy data by sampler or data loader

* feat: add batched sampler

* docs: update doc
2022-06-27 15:18:36 +09:00
Luwei Zhou
4be0c59505
Fix the Non_Zero childedge check. (#11963) 2022-06-27 10:43:38 +08:00
guozhong wang
44da3f06c4
add tag for log (#11887)
* add tag for log

* cumulative log tag output AUTOPLUGIN

* add use comment for log_xxx_tag and use AUTO OR MULTI for log tag
2022-06-26 15:10:45 +08:00
guozhong wang
c0a2c98a45
add testcase for plugin properties should not be revised by compile_m… (#11842)
* add testcase for plugin properties should not be revised by compile_model

* rename smoke_cpuCompileModelBehaviorTests to smoke_gpuCompileModelBehaviorTests

* remove property EXCLUSIVE_ASYNC_REQUESTS in ov2.0 test

* add testcase for plugin properties should not be revised by loadNetwork
2022-06-25 16:37:43 +08:00
River Li
2bbd2b1990
Fix coverity issue in executorManager (#11964)
1. fix coverity issue
2. avoid oneTBB build error due to different API with TBB

Change-Id: I0339446e33186e0ce57de07aa8492186f2f6e369
2022-06-25 10:22:34 +08:00
Wang, Yang
bd04dc1ecf
fix compiled model failed issue when set config with ov device properties (#11793)
* 1. Enable IE Core filter to promote the secondary properties to first level for hardware device.
2. Enable IE Core filter to pass the secondary properties to AUTO plguin.
3. Enable AUTO Plugin to parse secondary properties to first level and pass them to corresponding target hardware device.

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

* 1. Enable MULTI Plugin to support secondary properties.

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

* 1. Enable HETERO Plugin to support secondary priorities.

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

* Update.

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

* Catch the EXPECT_CALL with AVAILABLE_DEVICES argument inputting to GetMetric.

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

* Revert the logic of handling secondary properties for MULTI and HETERO device.

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

* Update.

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

* Remove the secondary property flattening logic because this logic has been implemented within AUTO plugin.

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

* 1. update flatten logic when secondary properties is specified.
2. add the test case with secondary properties for CPU.

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

* add the test case with secondary properties for GPU plugin.

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

* Update.

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

* Update.

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

* Add debug message to fix the test case failure issue.

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

* Add more debug info.

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

* Update.
1. For IE Core, 1st level property overides the 2nd level property.
2. For AUTO plugin, add available device list to check if the secondary properties is vaild.

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

* Add CUDA and ARM.

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

* Update device name for ARM Plugin and add device name for HPU plugin.

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

Co-authored-by: Chen Peter <peter.chen@intel.com>
2022-06-25 10:17:30 +08:00
Karol Blaszczak
23b0ba6898
Update integrate_with_your_application.md (#11833) 2022-06-24 13:26:06 +02:00
Kevin Putnam
f19b4c7ae4
Puts page switch parameters in alphabetic order to support S3 (#11960)
Signed-off-by: intelkevinputnam <intelkevinputnam@github.com>

Co-authored-by: intelkevinputnam <intelkevinputnam@github.com>
2022-06-24 11:59:10 +02:00
Wang, Yang
30bd4a905e
Support ov::device::capabilities for AUTO plugin. (#11925)
* 1. Enable OPTIMIZATION_CAPABILITIES for AUTO plugin.
2. Add corresponding test case.

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

* Remove EXPORT_IMPORT as Export is not implemented in the AUTO/MULTI.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2022-06-24 10:14:34 +08:00
Yuan Xu
079d1d6e74
fix the link to VPU extensibility article (#11956) 2022-06-23 11:24:32 +00:00
Yuan Xu
5008ee8090
Troubleshooting guide update (#11896)
* Add Overview page

* Revert "Add Overview page"

* fix errors & formatting

* fix article usage according to the styles

* fix errors

* update according to PXT comments

* CVS-80775

* update support matrix with Python version

* fix formatting

* fix formatting

* CVS-71745

* update formatting

* fix formatting

* fix formatting

* fix links & errors

* fix formatting

* update bullet points

* update

* adjust the order

* update

* update

* updates

* update references

* update

* update

* apply same updates with 22/1

* minor fix

* update reference link

* fix CVS-71846

* test

* add troubleshooting steps

* restructure get started home page

* update navigation menu

* update formatting

* fix mistakes

* update wording

* update

* rename configurations files

* update wording

* adjust the structure

* update formatting

* reverse the heading

* test with formatting

* 2nd version of Get Started homepage

* add line breaks

* change to ordered list

* update wording

* update content

* updates

* update DL workbench reference

* update wording

* update references to pip installations

* remove redundant files

* update headings

* update

* update

* restructure

* rename

* updates

* remove a comment

* correct grammar

* fix formatting

* Update docs/install_guides/troubleshooting-steps.md

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

* Update docs/install_guides/troubleshooting-steps.md

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

* integrating comments

* update

* update

* correct an error

* update

* typo

* hiding CentOS issues

* update verification steps

* to show one change

* to show the change

* add comments

* update comments

* revert the changes

* update formatting

* test formatting

* update code formatting

* update formatting

* Update docs/install_guides/troubleshooting-steps.md

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

* update content, remove some comments

* update Python installation info

* update formatting

* Update docs/install_guides/troubleshooting-steps.md

Co-authored-by: Ryan Loney <ryanloney@gmail.com>

* Update docs/install_guides/troubleshooting-steps.md

Co-authored-by: Ryan Loney <ryanloney@gmail.com>

* Update docs/install_guides/troubleshooting-steps.md

Co-authored-by: Ryan Loney <ryanloney@gmail.com>

* Update docs/install_guides/troubleshooting-steps.md

Co-authored-by: Ryan Loney <ryanloney@gmail.com>

* Update docs/install_guides/troubleshooting-steps.md

Co-authored-by: Ryan Loney <ryanloney@gmail.com>

* Update docs/install_guides/troubleshooting-steps.md

Co-authored-by: Ryan Loney <ryanloney@gmail.com>

* Update docs/install_guides/troubleshooting-steps.md

Co-authored-by: Ryan Loney <ryanloney@gmail.com>

* Update docs/install_guides/troubleshooting-steps.md

Co-authored-by: Ryan Loney <ryanloney@gmail.com>

* Update docs/install_guides/troubleshooting-steps.md

Co-authored-by: Ryan Loney <ryanloney@gmail.com>

* update wording

* test formatting

* update formatting

* update formatting

* fix formatting

Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com>
Co-authored-by: Ryan Loney <ryanloney@gmail.com>
2022-06-23 10:22:30 +00:00
Karol Blaszczak
1341c0d6f4
Docs doc structure step 1 (#11922)
* DOCS-structure_workflow
workflow diagram files and formatting
added overview articles on models and deployment
added the ecosystem page and changed the header from addons

* DOCS-structure_dlworkbench
* DOCS-structure_ovtf
2022-06-23 10:38:08 +02:00
Artur Kulikowski
7e7bb37fe3
Fixed FakeOutputResolver to avoid renaming correctly named nodes (#11938)
* fixed FakeOutputResolver to avoid renaming correctly named nodes

* fixed failed mo_args test: process reverse_input_channels through eltwise with constant with shape=[]

* changed fix to more accuarate to avoid possible issues

* Remove unnecessary iterating over producer outputs

Co-authored-by: sadolini <svetlana.a.dolinina@intel.com>
2022-06-23 08:05:06 +00:00
RICKIE777
ebeb0a3802
Add hello_classification_ov_c test (#11933)
Co-authored-by: River Li <river.li@intel.com>
2022-06-23 15:08:53 +08:00
Paul Youngsoo Ahn
11a9888c3f
[GPU] Fix coverity issues(#11876) (#11876)
- CID: 1489915
2022-06-23 07:21:05 +03:00
River Li
b490ef545f
Property to terminate tbb threads (#11650)
* Property to force terminate tbb threads

During inference done, tbb threads cannot be closed by itself, which cause memory leak and unload/lingering threads.
Sometimes the tbb threads need to be terminate for resource(memory, thread) consumption

This PR contains:
1. Add a new property to control whether force to terminate tbb threads.
2. Property key is "FORCE_TBB_TERMINATE", default value is false.
3. Explicitly to terminate tbb task scheduler during unload openvino dll if this property is set true.
    e.g: core.set_property(device, ov::force_tbb_terminate(true));
4. If not set FORCE_TBB_TERMINATE, there will be no any additional tbb operations.

Change-Id: I32dc0ba122bb19a9dbf3ba12fdd596aad9ac54b4

* Fix executorManager test case

Change executorManager from static to be dynamic, the test case should fit this change.

* Change frontendManger to be non-static instance

Make frontendManger to be non-static instance.
We should guard it is not released before Model, due to Model will use the mem allocated by frontendManger.
So put frontendManager reference in ov::Model to make it work.

* Fix race condition between executor and executorManger

* Add test case for tbb property

1. Add basic test case for ov::force_tbb_terminate property
2. set ov::force_tbb_terminate to be false

* Avoid terminate tbb in case of no tbb thread created

* Fix Constant ops segmentfault issue

There is segmentfault issue during Constant destruction, which is caused by some shared memory is double free
Test case is:
	ie = IECore()
        net = ie.read_network(model=test_net_xml, weights=test_net_bin)
        query_res = ie.query_network(net, device)
        func_net = ng.function_from_cnn(net)
        ops_net = func_net.get_ordered_ops()
ie and net will be released before ops_net destruction, so Constant will free the shared memory that has been freed

* Make constant::m_data is released before frontendmanager

* tiny format change

* change tbb blocking_terminate to terminate

Tbb blocking_terminate calling will cause some segmentfault during run some special models,
the reason may comes from block_terminate cause current thread block here to wait for tbb exit,
but cannot handle some resource dependencies.
After adopt terminate(), the dependencies can be resolved and no segmentfault any more.

Change-Id: I0b920630a25cd3fd2747c57ec71ca749ba35573b

* Remove unnecessary dependencies

* Disable dynamic lib test case in static library compilation version

As CVS-68982 description, we should disable the test case which will load
dynamic library in openvino static library compilation.

* Fix nested-namespace-definition issue

* Address reviewer's comments
2022-06-23 03:20:15 +00:00
Tomasz Jankowski
bf2bd624b6
Limit ONNX version (#11949)
OV does not currently support opset 17 introduced in onnx 1.12 release.
2022-06-22 22:26:47 +02:00
Bartek Szmelczynski
1543e35b1b
[MO] update ROIAlign op to opset9 (#11623) 2022-06-22 10:58:15 +02:00
Adam Tumialis
4426aa58e2
Update windows.yml (#11943)
Temporary change for Win build timeout in Azure.
2022-06-22 10:30:33 +02:00
Roman Baranchuk
5cba0ae871
[CPU] GRN: dynamic shapes support (#11678) 2022-06-22 10:45:06 +08:00
Roman Baranchuk
dab9da25fa
[CPU] Roll: dynamic shapes support (#11707) 2022-06-22 10:33:18 +08:00
Roman Baranchuk
44cecc8579
[CPU] ReverseSequence: dynamic shapes support (#11644) 2022-06-22 10:27:06 +08:00
Tomasz Jankowski
c8ced8728e
[Core] Fix GridSample assertion (#11924)
* Fix GridSample assertion

* Avoid ONNX opset 17 backend tests
2022-06-21 23:28:21 +02:00
Krzysztof Bruniecki
d25b8466f6
[GNA] Fix and extend removed logging capabilities (#11880)
* [GNA] Fix and extend warning and debug log levels using speech_sample

* [GNA] Cleanup and apply const correctness

* Apply review
2022-06-21 09:57:44 +02:00
Yuan Xu
dc6e5c51ee
update pypi installation for pypi.org (#11907)
* update pypi installation for pypi.org

* Update docs/install_guides/pypi-openvino-dev.md

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

* Update docs/install_guides/pypi-openvino-rt.md

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

* Update docs/install_guides/pypi-openvino-rt.md

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

* Update docs/install_guides/pypi-openvino-dev.md

* update

* remove comment

* remove comment

* hide Visual Studio error

* update wording

Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com>
2022-06-20 17:06:49 +08:00
Katarzyna Mitrus
217b39e76b
[MO] Name fix for mxnet Eye conversion (#11903)
* Fix mx eye op name string

* Enable default for num_columns 0
2022-06-20 07:03:11 +02:00
yanlan song
7f435059c9
Bell/fix single device coredump (#11895)
* enable binder schedule

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

* add cases

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

* refine

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

* fix build failure

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

* fix coredump

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

* do not return hw requests directly, potential issues

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

* fix bug

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

typo

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

* optimize memory

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

Co-authored-by: Chen Peter <peter.chen@intel.com>
2022-06-20 10:10:45 +08:00
Wilson Seok
477bfa1c09
[GPU]fix kernel select validate in deconv kernel fsv16 for fs=8 input (#11909)
* fix kernel select validate in deconv kernel fsv16 for fs=8 input
* apply the WA for Windows only
* Narrow down condition of ref kernel selection
2022-06-20 10:34:45 +09:00
River Li
ce5b2c6a45
Refine ov_partial_shape for OV API 2.0 C interface (#11891)
* Refine ov_partial_shape for OV 2.0 C interface

To avoid potential string security problem, remove string pointer from ov_partial_shape structure.

* Remove redundant code

* fix typo issue

* fix shape test issue

* fix some minor issues

* Address reviewing comments

Use Dimension to represent rank of parital shape.

* Appy safer method to parse partialShape string

1. adopt ov::Dimension::value_type to construct ov::Dimension
2. safter method to convert string to dimension value
3. apply std::vector<std::string> to replace std::vector<char *> during pasrsing partialShape string

Change-Id: I0e0b70a915fc5c5fefad51de51f167798854f55e
2022-06-20 08:22:39 +08:00
Xiping Yan
870f84f19b
Xp/maxnick in place fix 43602 (#11664)
* Convolution concat sum inplace conflict fix

* Minor refactoring.

* Rebase to OV2.0, build pass.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Remove old file.
Rebase introduce this file by mistake.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Move functional test for subgraph.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Disable some crash test for continue to test others.

* Rename ConcatConvSumInPlaceTest to ReLuConcatConvSumInPlaceTest
fix ci crash issue.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Revert "Disable some crash test for continue to test others."

This reverts commit f7a8677c002747b45e84f74672f76e2fdfc7ab22.

* Add const for inPlace.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* fix build issue, missing braces;

Co-authored-by: Maksim Kutakov <maksim.kutakov@intel.com>
2022-06-17 16:35:58 +08:00
Min, Byungil
d3ca2f8cf1
[GPU] Add functionality of debug config ForceImpltype (#11884)
+ Force one layer using id
+ Add do, reduce to the primitive list

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2022-06-17 15:03:34 +09:00
Kelvin Choi
49c1a25e0f
[GPU] Add deeper case handling for ConvertColor op (#11874) 2022-06-17 09:15:17 +09:00
Yuan Xu
d7b8d80a61
Cumulative throughput 2022.2 (#11831)
* Add Overview page

* Revert "Add Overview page"

* update auto with cumulative throughput

* update formatting

* update formatting

* update content

* update

* fix formatting

* Update docs/OV_Runtime_UG/auto_device_selection.md

Co-authored-by: Chen Peter <peter.chen@intel.com>

* update

* Update docs/OV_Runtime_UG/auto_device_selection.md

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

* Update docs/OV_Runtime_UG/multi_device.md

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

* Update docs/OV_Runtime_UG/auto_device_selection.md

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

* Update docs/OV_Runtime_UG/auto_device_selection.md

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

* Update docs/OV_Runtime_UG/auto_device_selection.md

* Update docs/OV_Runtime_UG/auto_device_selection.md

* Update docs/OV_Runtime_UG/auto_device_selection.md

* Update docs/OV_Runtime_UG/auto_device_selection.md

* Update docs/OV_Runtime_UG/auto_device_selection.md

Co-authored-by: Chen Peter <peter.chen@intel.com>

* Update docs/OV_Runtime_UG/auto_device_selection.md

* Update docs/OV_Runtime_UG/auto_device_selection.md

* Update docs/OV_Runtime_UG/auto_device_selection.md

* Update docs/OV_Runtime_UG/auto_device_selection.md

* Update docs/OV_Runtime_UG/auto_device_selection.md

* update indentation of table

Co-authored-by: Chen Peter <peter.chen@intel.com>
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2022-06-16 16:23:10 +00:00
Tingqian Li
2fec03024d
Add signal stack management for AMX in linux python API (#11894)
* Add signal stack management for AMX in linux python API

* fix wording

* fix empty line

* add AT_MINSIGSTKSZ definition

* Fix misspelling and conditional compiling on __linux__
2022-06-16 20:17:05 +08:00
guozhong wang
164a59925a
ctput enable perf_count (#11854) 2022-06-16 15:44:35 +08:00
Tomasz Jankowski
f8c4e736b4
[Core] GridSample operator reference implementation (#11841) 2022-06-16 08:47:29 +02:00
mei, yang
39981bf2b8
relax the class number check in paddle multiclass_nms op (#11857)
* relax the class number check in paddle multiclass_nms op

* relax checks in paddle multiclass_nms op
2022-06-16 11:29:15 +08:00