Commit Graph

5520 Commits

Author SHA1 Message Date
Yuan Hu
063df47ec9
continue to load candidate device when load device failed (#8006)
* fix potential risk

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

* try catch exception when load nextwork

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

* wait for the first ready device instead of cpu

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

* continue to select next device if load failed

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

* Refactoring code to make code easy and readable

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

* debug core dump

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

* improve the code

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

* add test code

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

* test draft

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

* improve test code

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

* remove debug print

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

* fix some reviews

add comments on test
init flags in hpp
remove draft code

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

* fix code format

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

* try to fix compile static library issue in ci

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

* fix compile issue in centos76

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

* fix build issue on windows

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

* fix a review

merge loop

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

* rebase master

fix conflict with PR 8389

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

* fix some review issue

lock issue
change NULL to nullptr
misprint issue
add EXPECT_CALL for ON_CALL

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

* run test in ci

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

* add more EXPECT_CALL test

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

* fix the comment of test config

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

* Fix merge from master (was required to resolve conflicts)

Co-authored-by: Maxim Shevtsov <maxim.y.shevtsov@intel.com>
2021-11-20 17:49:19 +03:00
Ilya Lavrenov
543ca4f318
Enabled proper OpenVINOConfig.cmake generation for static build (#8634)
* Enabled PDPD, TF on Windows

* Try to build samples against static libs

* Fixes

* Fixes

* fix

* Used ENABLE_GAPI_PREPROCESSING in C API tests

* Revert "Used ENABLE_GAPI_PREPROCESSING in C API tests"

This reverts commit df9d53e3cc.

* Fixes

* Revert exclude

* Enabled proper OpenVINOConfig.cmake generation

* Try

* Try
2021-11-20 02:27:43 +03:00
Anastasia Kuporosova
d414b35d75
[Python API] Remove unused dependency on onnx_frontend (#8688) 2021-11-20 00:17:53 +03:00
Anton Pankratov
bcb7415fce
Fixed exec net config test (#8710) 2021-11-19 23:31:42 +03:00
Anastasia Kuporosova
543584d577
[Python API] add_outputs api (#8626)
* [Python API] add_outputs api

* add tests and missed api for tests

* fix codestyle

* add documentation

* fix code style

* fix building

* add tensorDescriptor tests

* add get_any_name and more checks

* descriptor tensor name
2021-11-19 20:19:19 +03:00
Katarzyna Mitrus
83991607c3
[Python API] Add missing opest8 ops to compatibility python API (#8659) 2021-11-19 19:32:03 +03:00
Jan Iwaszkiewicz
7e457bfd72
Fix B006 error and Core object lifetime for compile_method on CPU plugin (#8683) 2021-11-19 15:56:54 +01:00
Indira Salyahova
d9241dda72
fix: check int branch while find fqs_to_unify (#8661) 2021-11-19 15:21:27 +03:00
Mikhail Nosov
e34a66d828
Typo fix in I420toRGB specification example (#8705) 2021-11-19 10:47:19 +00:00
Gleb Kazantaev
0e749b8b15
Reduce number of Function Validations (#8668) 2021-11-19 13:04:49 +03:00
Ilya Lavrenov
1ca9592d75
Removed WA for CPU interpolate NHWC (#8686) 2021-11-19 11:38:06 +03:00
Evgeny Talanin
2777820882
Skip Exp test (#8692)
* Skip Exp test

* Fix regexp

* One more attempt...

* Update exp.cpp
2021-11-19 11:08:39 +03:00
song, bell
ea0095ad6d
stick to default memory if userrequest exceed the optimal number (#8640)
* stick to default memory if userrequest exceed the optimal number

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

* formatting

Signed-off-by: fishbell <bell.song@intel.com>
2021-11-19 10:29:16 +03:00
Mikhail Nosov
aaac5de2fa
[OV2.0] I420 preprocessing color format support (#8680)
* Add I420 preprocessing

Tests:
- Template reference
- OpenCV
- Legacy Preprocessing tests
- Functional shared tests for plugins (CPU)
- Disable i420 preprocessing tests on GPU

* clang-format fix
2021-11-18 23:30:44 +03:00
Anastasia Popova
5e15288c8a
Separated old_api_map into two attributes. (#8632)
* Separated old_api_map into old_api_map_order and old_api_element_type.

* Clang format, small fix.

* Corrected comment.

* Removed OldApiMapOrderAttr class.
2021-11-18 22:04:50 +03:00
Andrey Zaytsev
6f1a3acf3c
Feature/azaytsev/doc int8 image fix (#8684)
* Added info on DockerHub CI Framework

* Feature/azaytsev/change layout (#3295)

* Changes according to feedback comments

* Replaced @ref's with html links

* Fixed links, added a title page for installing from repos and images, fixed formatting issues

* Added links

* minor fix

* Added DL Streamer to the list of components installed by default

* Link fixes

* Link fixes

* ovms doc fix (#2988)

* added OpenVINO Model Server

* ovms doc fixes

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>

* Updated openvino_docs.xml

* Updated the link to software license agreements

* Revert "Updated the link to software license agreements"

This reverts commit 706dac500e.

* Fixed diagram

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>
2021-11-18 21:37:51 +03:00
Evgeny Kotov
0da094f7ff
clockwork fixes (#8646) 2021-11-18 19:57:56 +03:00
Maksim Kutakov
a3fae37fe1
[CPU] Native dynamic shapes support in the Convolution node (#8047)
* Dynamic conv first commit

* Fixes after rebase

* Refactoring:

1. Conv node code refactor
2. DW conv fusing is disabled for dynamic case
3. Weights static shape constraint was added

* Minor fix for 1st rank bias

* WA fix

* MKLDNN dynamic conv fixes

* Temporal WA on format serialization

* Convolution SL prepared for dynamism

* Fix for bias fusing

* Update for nspc heuristics

* Convolution SL tests are updated with dynamic shapes

* GroupConv SL tests are updated with dynamic shapes

* Wip

* Dynamic shapes post ops support

* Dynamic shapes convolution full SL tests support

* Convolution builder changed to support pShape

* Convolution CPU SL test moved to the new Test Infra

* Skip tests conf update

* Auto padding support in dynamic mode with test

* Convolution dyn tests for bf16

* Group Conv test commented

* Submodule up

* First review fixes

* Group convolution dynamic shapes SL test

* Serialize format method has been fixed

* Floating point numbers resolution changed to even number

* AutoPad flag was added

* Skip test config updated with changed signature

* An attempt to reduce SL test time

* Dilated convolution tests extracted from the precommit
2021-11-18 18:53:16 +03:00
Irina Efode
3efd842dd9
[IE TESTS] Skip sporadic failures for ref test (#8685) 2021-11-18 18:52:46 +03:00
Ilya Lavrenov
71c28b3f9f
Removed samples installation (#8675) 2021-11-18 18:42:45 +03:00
Sergey Shlyapnikov
be786ee7af
[GPU] Do not add paddings for OneDNN primitives (#8619)
* Fix review comments for Convolutions

* [GPU] Do not add paddings for OneDNN primitives

* Add unit test for correct padding between onednn and cldnn primitives
2021-11-18 16:48:30 +03:00
Ilya Lavrenov
90e10e369d
Configurable G-API preprocessing in static build (#8631)
* Added cmake option todisable G-API preprocessing

* Enabled PDPD, TF on Windows

* Revert "Enabled PDPD, TF on Windows"

This reverts commit 2851cba056.
2021-11-18 16:40:53 +03:00
Andrew Kwangwoong Park
9972410aa3
[GPU] Add IE Core GPU plugin metric to query overall memory statistics for GPU device (#8421) 2021-11-18 14:26:53 +03:00
Irina Efode
2468a015dc
[IE TESTS][Conformance] API conformance instances (#7948)
* [IE TESTS] Add API Conformance

* Inst

* temp

* Small refactoring

* Instantiatians

* ov_plugihn

* Fix some cases

* fix template

* Six oss build

* Update conformance.hpp

* fix

* try to fix

* Apply comments

* Remove extra
2021-11-18 13:44:44 +03:00
Bo Liu
a84d01cb0d
fix PaddlePaddle fuzz test when tensor_name=null (#8624) 2021-11-18 13:31:37 +03:00
Alexander Zhogov
ae0a1e930b
Azure CI: Try ccache on Linux (#8652)
* Azure CI: Try ccache on Linux

* Create initial dir

* Add --max-size=1T --show-config
2021-11-18 12:04:37 +03:00
Sergey Shlyapnikov
838a4eb269
[GPU] Add memory type information for GPU verbose print (#8662) 2021-11-18 11:28:35 +03:00
Anastasia Kuporosova
cdb827b550
[Python API] Add query_state api (#8633)
* [Python API] Add query_state api

* fix code style

* fix test

* fix test and it's codestyle
2021-11-18 10:49:01 +03:00
Edward Shogulin
754925b17b
Revert "[LPT] GroupConvolution: 3D tensor support (#8401)" (#8664)
This reverts commit 2fc4856b8a.
2021-11-18 10:16:24 +03:00
Maksim Kutakov
60d2643b3e
[CPU] Several CPU specific SL tests are extended with dynamic shapes (#8339) 2021-11-18 10:10:24 +03:00
Ilya Churaev
f639e4e902
Moved inference_engine samples to cpp folder (#8615)
* Moved inference_engine samples to cpp folder

* Fixed documentations links

* Fixed installation

* Fixed scripts

* Fixed cmake script

* Try to fix install

* Fixed samples

* Some fix
2021-11-18 10:08:20 +03:00
Mikhail Nosov
03c8542357
[I420 color conversion] I420toRGB/I420toBGR reference implementation (#8605)
* ngraph part

* Template reference tests
Common plugin tests
CPU compliance tests
Serialization tests

* Clang format fixes

* Remove reference implementation for f16, bf16, f64 types

* Fix ninja build

* Fix opset8_dump test

* Fix opset8_dump test

* Fix CentOS build

* Removed Myriad preprocessing tests (to be added by separate PR)
2021-11-18 09:48:18 +03:00
Mikhail Nosov
2245ea8be2
[FrontEnd] Rename all frontends from "*_ngraph_frontend*" to "_ov_frontend*" (#8645)
* Renaming all frontends from "*_ngraph_frontend*" to "_ov_frontend*"

Also Debug builds on Windows release frontends without "d" suffix will not be loaded

* Fix review comments and add wheels test debug prints

* More debug prints

* Load by absolute path and remove debug prints
2021-11-18 09:26:13 +03:00
Kelvin Choi
517cf8dff6
[GPU] Add new operation GatherND-8 (#8586)
Signed-off-by: Kelvin Choi <kelvin.choi@intel.com>
2021-11-18 13:24:02 +09:00
Katarzyna Mitrus
1dbb8910e3
[Slice-8] Add inputs count check in Slice evaluate and remove from eval map (#8651) 2021-11-18 00:46:03 +03:00
Maxim Vafin
1c879aad08
Temporarily disable new FP16 generation (#8650) 2021-11-17 23:24:01 +03:00
Ilya Lavrenov
df30694699
Added apiValidator checks for frontends (#8655) 2021-11-17 23:19:15 +03:00
Alexandra Sidorova
83b8099363
[CPU] Added dynamism support for StridedSlice (#8532) 2021-11-17 22:52:23 +03:00
Ilya Lavrenov
ff1f73910f
Move OpenCV find_package closely to benchmark_app (#8654) 2021-11-17 19:47:33 +03:00
Edward Shogulin
2fc4856b8a
[LPT] GroupConvolution: 3D tensor support (#8401) 2021-11-17 19:44:19 +03:00
Gleb Kazantaev
58b0793386
Avoid excess validations for preprocessing which doesn't require shape/type propagation (#8602) 2021-11-17 18:04:44 +03:00
Bartek Szmelczynski
099d451d35
add read_model from buffer (#8593)
* add read_model from buffer

* add new line

* remove bad quotes

* rename functin args

* fix read_model from buffer, add tests with empty weights

* remove redundant include

* add blank line

* fix indentation

Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>
2021-11-17 16:45:01 +03:00
Mikhail Nosov
c81e1aef05
[OV20] I420toRGB and I420toBGR operations specification (#8292) 2021-11-17 16:06:27 +03:00
Katarzyna Mitrus
6855efd315
[ONNX] Support ONNX importer Slice by ov::opset8::Slice (#7888) 2021-11-17 12:23:28 +01:00
Artur Kulikowski
9c6cf6171d
Revert "Remove opset8 from compatibility ngraph python API (#8452)" (#8625) 2021-11-17 11:39:39 +01:00
Andrey Somsikov
b53a0dca2a
Update README.md (#8638) 2021-11-17 12:51:53 +03:00
Anton Chetverikov
67f982ff09
GatherND_8 pythonAPI (#8374)
* Add GatherND_8 operation

* Update shape infer function and tests

* Initial commit for nGraph GatherND_8 operation

* Add GatherNDBase class implementation

* Fix base class errors

* Add missrd header

* Update base class

* Update GatherND_8 implementation

* Fix codestyle

* Fix wrong rank

* Implement tests for gatherND_8 shape inference function

* fix codestyle

* Add limitation to doc

* Siplyfy check in shape inference

* Add more test cases

* Update shape inference function

* Add more test cases to cover all case with dynamic input shapes

* Update shape inference function

* Refactor tests

* Initial commit for gatherND_8 reference implementation

* Add visitor tests for gatherND_8 operation

* Add visitor tests for gatherND_8 operation

* Correct comment

* Add additional check is shape inference function

* Update shape inference implementation for gathernd operartion

* Fix codestyle

* Remove restriction for data is fully defined

* Update shape inference functon

* Add gatherND_8 reference to evaluate map

* Add tests for gathernd_8 reference in batch_dims > 1

* Fix codestyle

* Fix codestyle

* Fix missed check for nonetype

* Remove redundant checks for batch_dims

* Use get_shape method instead of get_input_shape in GatherND reference implementation call

* update reference implementation call

* Properly add GatherND_8 to test opset table

* Update GatherND reference implementation for support opset8 version

* Add unit tests for gatherND_8 reference implementation

* Update gatherND reference implementation call in evaluate map

* Mark failed tests for missed plugin gatherND_8 implementations

* Fix codestyle

* Fix codestyle

* Initial commit for gaherND_8 python api

* Fix codestyle

* Update tests

* Move common methods to base class

* Fix codestyle

* Revert clone_with_new_input function moving

* Add more test for reference

* partially revert API changes

* Fix test

* Fix codeslyle
2021-11-17 12:41:39 +03:00
Aleksandr Korolev
b9b50527fd
[IE[[VPU] Coverity issues fix (#8598)
- Coverity issues fix
- profinfo.execution_index was uninitialized in some cases
- Removal deadcode
2021-11-17 12:28:22 +03:00
Andrew Kwangwoong Park
af19b26980
[GPU] Fix CLDNN_CACHE_PATH for destination path to which cache.json will be copied (#8614)
Signed-off-by: Andrew Kwangwoong Park <andrew.kwangwoong.park@intel.com>
2021-11-17 11:57:26 +03:00
Roman Kazantsev
8e327bd2ff
[MO, TF] Support Custom Wide and Deep CTR model by MO (#8505)
* [MO, TF] Support Custom Wide and Deep CTR model by MO

It implements implicit support of EmbeddingSegmentsMean operation through decomposition.
Also, this extends the current transformation to fuse TensorFlow sub-graph (for Wide and Deep model family)
containing SparseSegmentSum and SparseSegmentMean operations into EmbeddingSegmentsSum or EmbeddingSegmentsMean.

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

* Fix unit-tests after modifications of SparseToDense and EmbeddingSegmentsOperationFusing

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

* Document SparseSegmentMean support

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

* Add computation scheme for normalization coeffs and correct documentation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-11-17 11:44:04 +03:00