Commit Graph

5317 Commits

Author SHA1 Message Date
Tingqian Li
57900a4a18
Add constructor to allow implict convertion at compile-time but not at run-time (#8525)
Signed-off-by: Li, Tingqian <tingqian.li@intel.com>
2021-11-13 14:05:09 +03:00
Ilya Lavrenov
8abf1eca7a
Fixed ie_wheel build (#8565) 2021-11-12 23:05:53 +03:00
Maxim Vafin
fbf1343ff5
Check if argv has compress_fp16 attribute (#8545) 2021-11-12 22:54:10 +03:00
Ilya Znamenskiy
c565799c71
[GPU] Moving onednn post ops logic into cldnn::program_node (#8511) 2021-11-12 22:48:55 +03:00
Anastasia Kuporosova
2c9a4c59f2
[Python API] add new api (#8149)
* Bind exec core ov (#50)

* Output const node python tests (#52)

* add python bindings tests for Output<const ov::None>

* add proper tests

* add new line

* rename ie_version to version

* Pszmel/bind infer request (#51)

* remove set_batch, get_blob and set_blob

* update InferRequest class

* change InferenceEngine::InferRequest to ov::runtime::InferRequest

* update set_callback body

* update bindings to reflect ov::runtime::InferRequest

* bind set_input_tensor and get_input_tensor

* style fix

* clen ie_infer_queue.cpp

* Bind exec core ov (#50)

* bind core, exec_net classes

* rm unused function

* add new line

* rename ie_infer_request -> infer_request

* update imports

* update __init__.py

* update ie_api.py

* Replace old containers with the new one

* create impl for create_infer_request

* comment out infer_queue to avoid errors with old infer_request

* update infer_request bind to reflect new infer_request api

* comment out inpuit_info from ie_network to avoid errors with old containers

* Register new containers and comment out InferQueue

* update infer request tests

* style fix

* remove unused imports

* remove unused imports and 2 methods

* add tests to cover all new methods from infer_request

* style fix

* add test

* remove registration of InferResults

* update name of exception_ptr parameter

* update the loops that iterate through inputs and outputs

* clean setCustomCallbacks

* style fix

* add Tensor import

* style fix

* update infer and normalize_inputs

* style fix

* rename startTime and endTime

* Create test for mixed keys as infer arguments

* update infer function

* update return type of infer

Co-authored-by: Bartek Szmelczynski <bartosz.szmelczynski@intel.com>

* fix get_version

* fix opaque issue

* some cosmetic changes

* fix codestyle in tests

* make tests green

* Extend python InferRequest

* Extend python Function

* Change return value of infer call

* Fix missing precisions conversions in CPU plugin

* Rework of runtime for new tests

* Fixed onnx reading in python tests

* Edit compatibility tests

* Edit tests

* Add FLOAT_LIKE xfails

* [Python API] bind ProfilingInfo (#55)

* bind ProfilingInfo

* Add tests

* Fix code style

* Add property

* fix codestyle

* Infer new request method (#56)

* fix conflicts, add infer_new_request function

* remove redundant functions, fix style

* revert the unwanted changes

* revert removal of the Blob

* revert removal of isTblob

* add add_extension from path

* codestyle

* fix win build

* add inputs-outputs to function

* Hot-fix CPU plugin with precision

* fix start_async

* add performance hint to time infer (#8480)

* Updated common migration pipeline (#8176)

* Updated common migration pipeline

* Fixed merge issue

* Added new model and extended example

* Fixed typo

* Added v10-v11 comparison

* Avoid redundant graph nodes scans (#8415)

* Refactor work with env variables (#8208)

* del MO_ROOT

* del MO_ROOT from common_utils.py

* add MO_PATH to common_utils.py

* change mo_path

* [IE Sample Scripts] Use cmake to build samples (#8442)

* Use cmake to build samples

* Add the option to set custom build output folder

* Remove opset8 from compatibility ngraph python API (#8452)

* [GPU] OneDNN gpu submodule update to version 2.5 (#8449)

* [GPU] OneDNN gpu submodule update to version 2.5

* [GPU] Updated onednn submodule and added layout optimizer fix

* Install rules for static libraries case (#8384)

* Proper cmake install for static libraries case

* Added an ability to skip template plugin

* Added install rules for VPU / GPU

* Install more libraries

* Fixed absolute TBB include paths

* Disable GNA

* Fixed issue with linker

* Some fixes

* Fixed linkage issues in tests

* Disabled some tests

* Updated CI pipelines

* Fixed Windows linkage

* Fixed custom_opset test for static casr

* Fixed CVS-70313

* Continue on error

* Fixed clanf-format

* Try to fix Windows linker

* Fixed compilation

* Disable samples

* Fixed samples build with THREADING=SEQ

* Fixed link error on Windows

* Fixed ieFuncTests

* Added static Azure CI

* Revert "Fixed link error on Windows"

This reverts commit 78cca36fd2.

* Merge static and dynamic linux pipelines

* Fixed Azure

* fix codestyle

Co-authored-by: Bartek Szmelczynski <bartosz.szmelczynski@intel.com>
Co-authored-by: Piotr Szmelczynski <piotr.szmelczynski@intel.com>
Co-authored-by: jiwaszki <jan.iwaszkiewicz@intel.com>
Co-authored-by: Alexey Lebedev <alexey.lebedev@intel.com>
Co-authored-by: Victor Kuznetsov <victor.kuznetsov@intel.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>
Co-authored-by: Dmitry Pigasin <dmitry.pigasin@intel.com>
Co-authored-by: Artur Kulikowski <artur.kulikowski@intel.com>
Co-authored-by: Ilya Znamenskiy <ilya.znamenskiy@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2021-11-12 22:44:44 +03:00
Ilya Lavrenov
a0b5de0c88
Fixed incorrect install of pugixml in dynamic build (#8566) 2021-11-12 22:42:27 +03:00
Ilya Znamenskiy
57eff5c287
[GPU] Fixed pooling_imad kernel error and expanded corresponding tests (#8527) 2021-11-12 22:19:58 +03:00
Mateusz Tabaka
b305a01e21
[ONNX] don't set friendly names after processing Identity node (#8432)
unless the Identity node is connected to output

Ticket: 69827
2021-11-12 16:10:50 +01:00
Mateusz Tabaka
b36fe0d966
Add support for ONNX operator com.microsoft.Attention (#8008)
Ticket: 62890
2021-11-12 15:35:46 +01:00
Svetlana Dolinina
ae6b16c084
Add outputs for nodes from loops (#7844)
* initial version of transformation workable for loop

* moved transformation to back + minor changes in result names

* fixed mistake: to concatenate results of all iterations Unsqueeze should be added

* added shape inference for new nodes and extend test

* added support of TensorIterator

* If support + test;
fix to save model with TI after transformation

* fix code and tests according to run with ir_reader

* added finding max internal_layer_id in sub-graph + added comments to code

* turn off transformation because it should not be used in MO scenarios

* refactor code to find out iterations count for TensorIterator

* chenged name of final result to srtucture loop1.loop2.node for path [loop1, loop2, node]

* change port number to index of added output

* return list of new nodes

* change naming of output to standard way;
return result node as output of transformation

* refactor transformation, add more comments; fine up tests

* review fixes: add more comments, refactoring of infer function, fix in iterations count calculation

* added processing of dynamic iterations count + tests

* moved iterations count calculation to TI

* fixed bug in iterations count calculation

* fix bug with adding iterations count to wrong dimension + test

* review fixes: minor renaming + fixed bug with unset stride for TI

* move logic with output record outside function calculation iteration count;
fix case with negative start/end;
fix case when division result is not integer;
added tests for such cases

* review fixes: refactoring of toerations count calculation
2021-11-12 17:02:15 +03:00
Min, Byungil
338aad25db
[GPU] Resolve performance regression by selecting ref kernel (#8550)
- Not to select fsv16 for u8 to fp32 conv

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2021-11-12 16:39:47 +03:00
Alexey Varyzgin
1f597321de
[CPU][BF16] Concat layer properly handle mixed precision input (#7715) 2021-11-12 16:03:16 +03:00
Anastasia Kuporosova
2d27b73de9
[Python API] Integrate pyopenvino into wheel (#8536) 2021-11-12 13:34:57 +03:00
Ilya Churaev
7c33a0c609
Fixed clone_with_new_inputs for type_relaxed ops (#8541)
* Fixed clone_with_new_inputs for type_relaxed ops

* Fixed comment
2021-11-12 13:28:01 +03:00
Steve Yoo
7a7ea100ec
Migrate Movement 1 Operations (StridedSlice-1) (#8221)
* Migrate StridedSlice-1

* Update generate function to literals for bf16 and f16

* Add shapes to tensors
2021-11-12 12:19:19 +03:00
hyunback kim
e707338909
[GPU] Fix input memory calcuation in allocate_output. (#8463) 2021-11-12 12:07:06 +03:00
Ilya Churaev
471211bc4c
Fixed coverity issue (#8529) 2021-11-12 11:23:47 +03:00
Ivan Tikhonov
00c7da0f5f
[TF FE] Implement and refactor tensorflow layer tests (#8051)
* Revert submodule changes

* Fix build on Win

* Fix precommit: set correct shapes for broadcasting; disable check with ref for use_new_frontend mode

* fix precommit

* Fix precommits

* Temporary skip new tests on GPU with FP16

* Resolve review comments, trigger CI

* Resolve review comments

* Resolve review comments
2021-11-12 11:03:45 +03:00
Alexey Varyzgin
6ac18bbd1b
[CPU] Deconvolution fusing for 1x1 kernel and 2x2 stride (#7958) 2021-11-12 09:50:32 +03:00
Ilya Lavrenov
e57a455b92
Added support of external modules in static build (#8518)
* Added support of external modules in static build

* Enable template plugin static run; disabled CPU tests run in dynamic build

* Make FEM library dynamic

* Fixed static build

* clang-format

* Fixed targets

* Python tests fix

* Fixed python API tests skip

* Fixed pattern

* Fixed pattern 2

* Don't run template plugin tests in static build
2021-11-12 08:56:57 +03:00
Vladislav Golubev
0c3cee5e3b
[LPT] Security fixes (#8436) 2021-11-12 01:10:02 +03:00
Smirnov Grigorii
8f55d72c93
fixed bug with disabled tests in conv_fusion_test.cpp (#8482)
* remove /DISABLED_/ from conv_fusion_tests.cpp

* fixed? i changed some shapes in tests data
2021-11-12 00:51:44 +03:00
Edward Shogulin
8686100c80
[LPT] isAsymmetricOnWeights fix: small zero points ignoring (#8429) 2021-11-11 22:58:56 +03:00
Eugeny Volosenkov
f46e8bb3f8
Ngraph/fix serializer (#8461)
* Fix serializer

* Fix code style

* add test for bodies without parameters]
2021-11-11 22:06:19 +03:00
Ilya Lavrenov
894fe21995
Fixed typo in file name (#8535) 2021-11-11 14:50:43 +03:00
Victor Kuznetsov
6229e17ebe
switch searchpath for timeline report (#8454) 2021-11-11 14:49:28 +03:00
Tomasz Dołbniak
0e7eef3c88
ONNX MaxPool (opset 8+) (#7100) 2021-11-11 14:48:32 +03:00
Andrei Kochin
9d42aa22b6
MO: Update reminder message for master (#8451) 2021-11-11 14:15:45 +03:00
Ilya Churaev
0017ec71fd
Added hash to type_info (#8175)
* Added hash to type_info

* Fast hash

* Fixed tests

* Added new tests

* Fixed build

* Fix centos

* Fixed segfault

* Fixed test

* Fixed build

* Revert "Fix centos"

This reverts commit c739e923aa.

* Try to fix cent os

* Fixed style

* Fixed GCC 4.8

* Try to fix build

* Fixed code style

* remove constexpr from type construction

* Fixed tests

* Revert "Fixed tests"

This reverts commit 50aec37f95.

* Revert "remove constexpr from type construction"

This reverts commit 6c22d7ecfa.
2021-11-11 12:59:37 +03:00
Gleb Kazantaev
abc554513f
Enable SubractFusion and DivideFusion in MOC (#7949)
* Keep changes

* Enabled DivideFusion and ConvertDivideWithConstant in MOC

* Enable SubtractFusion in MOC; Remove eltwise fusion from MO

* Temporary disable fusions

* Temporary disable ConvertDivide folding

* Update ConvertDivide

* Update remove filtering boxes pass execution
2021-11-11 12:20:45 +03:00
Vladislav Golubev
869408075c
[LPT] Added method to insert dequantization and avoid dq propagation to the shapeOf subgraps (#8214) 2021-11-11 09:10:40 +00:00
Edward Shogulin
634e933c6d
[LPT] undefined precision for denormal values fix (#8430)
* [LPT] undefined precision for denormal values fix

* [LPT] FakeQuantize tests extending
2021-11-11 11:34:18 +03:00
Elizaveta Lobanova
73226b0b99
Clamp fusion transformation is updated to combine min and max operations to clamp (#8467)
* Clamp fusion transformation is updated to combine min and max operations to clamp

* Applying comments
2021-11-11 11:17:43 +03:00
Egor Shulman
a560ba58e6
[CPU] Math dynamic done (#8290) 2021-11-11 10:42:19 +03:00
Milana Shhanukova
700beb7d1f
[POT] Update add node name (#8487)
* Update node name to make ports visible

* proxy algo

* m

* mistype for add node name

* undo_utils

* Update utils.py

* Update algorithm.py

* undo
2021-11-11 10:35:00 +03:00
Egor Shulman
0343babacb
[CPU] ExperimentalDetectronROIFeatureExtractor dynamic done (#8376) 2021-11-11 10:28:28 +03:00
Pavel Esir
68badf5165
[MO] add IteratorGetNextCut (#8040)
* added IteratorGetNextCut, some improvements in graph.py

* added allowed types check

* reused new graph API for ports

* returned back old API 'out_nodes', removed soft-getting name from base class, changed run_after -> []

* correctly used new port API

* corrected IteratorGetNext message
2021-11-11 10:27:51 +03:00
Ilya Churaev
f1ca728ab1
Deprecated set_* methods in desctiption::Tensor (#8510)
* Deprecated set_* methods in desctiption::Tensor

* Fix code style

* Fixed tests
2021-11-11 09:52:59 +03:00
Ilya Lavrenov
461f746430
Install rules for static libraries case (#8384)
* Proper cmake install for static libraries case

* Added an ability to skip template plugin

* Added install rules for VPU / GPU

* Install more libraries

* Fixed absolute TBB include paths

* Disable GNA

* Fixed issue with linker

* Some fixes

* Fixed linkage issues in tests

* Disabled some tests

* Updated CI pipelines

* Fixed Windows linkage

* Fixed custom_opset test for static casr

* Fixed CVS-70313

* Continue on error

* Fixed clanf-format

* Try to fix Windows linker

* Fixed compilation

* Disable samples

* Fixed samples build with THREADING=SEQ

* Fixed link error on Windows

* Fixed ieFuncTests

* Added static Azure CI

* Revert "Fixed link error on Windows"

This reverts commit 78cca36fd2.

* Merge static and dynamic linux pipelines

* Fixed Azure
2021-11-10 18:25:51 +03:00
Ilya Znamenskiy
91da09b1e5
[GPU] OneDNN gpu submodule update to version 2.5 (#8449)
* [GPU] OneDNN gpu submodule update to version 2.5

* [GPU] Updated onednn submodule and added layout optimizer fix
2021-11-10 17:58:11 +03:00
Artur Kulikowski
ba8f9d613e
Remove opset8 from compatibility ngraph python API (#8452) 2021-11-10 15:47:12 +01:00
Dmitry Pigasin
331372e7ff
[IE Sample Scripts] Use cmake to build samples (#8442)
* Use cmake to build samples

* Add the option to set custom build output folder
2021-11-10 17:31:28 +03:00
Victor Kuznetsov
852dd93803
Refactor work with env variables (#8208)
* del MO_ROOT

* del MO_ROOT from common_utils.py

* add MO_PATH to common_utils.py

* change mo_path
2021-11-10 16:59:58 +03:00
Tomasz Jankowski
cfdc4c1f3d
Avoid redundant graph nodes scans (#8415) 2021-11-10 14:50:58 +01:00
Ilya Churaev
54c384db11
Updated common migration pipeline (#8176)
* Updated common migration pipeline

* Fixed merge issue

* Added new model and extended example

* Fixed typo

* Added v10-v11 comparison
2021-11-10 16:27:23 +03:00
Victor Kuznetsov
9fc64ea726
add performance hint to time infer (#8480) 2021-11-10 16:07:08 +03:00
Wilson Seok
35ba404bcb
Migrate ngraph backend test/prior box (#8227)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add op reference test of prior_box/prior_box_clustered/reorg_yolo and remove ngraph backend test

* remove related backend test file
2021-11-10 15:28:41 +03:00
Indira Salyahova
a788dc31e2
fix: delete fq if node precision bool (#8336) 2021-11-10 15:27:45 +03:00
Tagir Rakipov
ac0582c2d9
[POT] get_num_levels function (#8393)
* added function for calculating the number of discret levels in the input tensors and tests for this function

* added function for calculating the number of discret levels in the input tensors and tests for this function

* fixed pylint issues

* changed the function for delta estimation from mean to min

* added empty delta array processing in get_num_levels func and tests for it
2021-11-10 15:27:09 +03:00
Indira Salyahova
dd5efdca85
style(telemetry): change telemetry constructor (#8428) 2021-11-10 15:26:02 +03:00