Commit Graph

8657 Commits

Author SHA1 Message Date
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
Jan Iwaszkiewicz
0f0a08cde1
[PyOV] Refine InferRequestWrapper and AsyncInferQueue (#13512) 2022-10-20 21:34:03 +02:00
Mateusz Mikolajczyk
ffc74c8fe2
IsInf operator (#13383) 2022-10-20 20:59:01 +03:00
Oleksii Khovan
2f982b9490
[GPU] reorg_yolo blocked layouts support (#12463)
* add unit test for reorg_yolo
* add validation to reorg_yolo kernel
* add blocked formats support
* remove non-working yxfb optimization
* add reorg_yolo to whitelist for blocked formats
2022-10-20 19:35:43 +03:00
Irina Efode
99bb3bba6e
Fix reports using 'NOT RUN' (#13577) 2022-10-20 17:37:04 +03:00
Irina Efode
53d2c7c3c5
Exclude Python conformance utils from Azure pre-commit (#13422)
* Final

* Update linux_arm64.yml

* Update windows.yml
2022-10-20 14:06:37 +00:00
Roman Kazantsev
22f3bee0f9
[TF FE] Refactor translation for Concat and ConcatV2 operations and add tests (#13542)
* [TF FE] Refactor translation for Concat and ConcatV2 operations and add tests

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

* [TF FE] Correct the layer tests for passing

* Apply code-review feedback: remove redundant function

* Fix a name of function to create Concat model in the layer test

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-20 16:01:31 +02:00
Mateusz Bencer
88ffc23e3a
Added README for ONNX Frontend (#13325) 2022-10-20 15:54:25 +02:00
Zlobin Vladimir
0d4b331f84
guard exception in classification_sample_async (#13530) 2022-10-20 12:23:34 +03:00
Evgeny Kotov
bea82ec92b
TransposeSinking for unary backward and forward propagation (#13263)
* move transformation to common; use opset9; fix Gelu and Softsign operations; misc fixes

* cpplint fixes

* rename DoTransformation; use TransformationTestsF for testing

* test register_new_nodes working by creating multiple unary operations

* fix transformation constraints; add unit test on it

* remove unneeded headers

* remove unneeded comments

* fix tests iteration types

* rename unit test

* parametrized input shape and type

* swap nodes instead of creating new

* transpose can have not just a constant node on the 1-st input

* Update src/tests/functional/inference_engine/transformations/common_optimizations/transpose_sinking_unary.cpp

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>

* Update src/tests/functional/inference_engine/transformations/common_optimizations/transpose_sinking_unary.cpp

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>

* Update src/tests/functional/inference_engine/transformations/common_optimizations/transpose_sinking_unary.cpp

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>

* clang cleanup

* return back nodes swapping; wrote additional unit tests

* add unit tests

* fix unit tests namespace

* add unit tests

* remove debug

* cpplint fixes

* use 2 ways of swapping: nodes and outputs

* clang fixes

* move choise descision into separate function

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
2022-10-20 13:20:35 +04:00
Piotr Krzemiński
d715ecaa32
[CPP/SAMPLES] Samples location independant on script execution directory (#13251) 2022-10-20 10:01:55 +02:00
Przemyslaw Wysocki
a0e2f14790
[PyOV] Upgrade linter Python version (#13531) 2022-10-20 10:01:13 +02:00
Mateusz Bencer
d3d8fd8c20
[ONNX FE] Added support of FusedConv op (#13553) 2022-10-20 09:18:24 +02:00
taixiurong
2d8cf904c8
support paddle elementwise_floordiv (#13059) 2022-10-20 05:59:01 +00:00
Pavel Durandin
dfd5b461f1
[GPU] Fix gpu unit and functional tests on windows (#13560) 2022-10-20 09:56:29 +04:00
OlehKravchyshyn
3500d75187
[GPU] Add supporting blocked format for reverse operation (#12032) 2022-10-20 14:18:00 +09:00
Georgy Krivoruchko
09b349607e
Improved quality of Equal test source code (#13548) 2022-10-20 08:12:22 +03:00
Ilya Churaev
44bbfefacd
Fixed loading old extensions inside the OpenVINO (#13543) 2022-10-20 07:04:57 +04:00
Xuejun Zhai
b7d956b2df
[DOC][C API][DYNAMIC SHAPE] Add doc for C API dynamic shape (#13397)
* [C API DOC] C API user guide for dynamic shape

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC][Dynamic shape] add resource free for dynamic shape doc

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC][Dynamic shape] free char *

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC][Dynamic shape] clarify code

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
Co-authored-by: River Li <river.li@intel.com>
2022-10-20 07:04:14 +04:00
hyunback kim
71f3c8c786
[GPU] Fix brain-tumor-segmentation-002/INT8/onnx running failed (#13274)
reorder_input has the issue when using generated reorder case.
And handle_reshape has only handle 4 dims (bfyx), so support 5, 6 dimes

Signed-off-by: hyunback <hyunback.kim@intel.com>
2022-10-20 11:29:53 +09:00
Roman Kazantsev
5a3df29854
[TF FE] Refactor DepthToSpace and test it (#13544)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-20 01:35:25 +03:00
Nadezhda Ageeva
a4655bb6b3
[GNA] Insert identity using ngraph transformation (#13317)
* [GNA] Insert identity using ngraph transformation

* Update src/plugins/intel_gna/src/ops/identity.hpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Update src/plugins/intel_gna/src/transformations/rt_info/gna_precision_change_flag.hpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Update src/plugins/intel_gna/src/transformations/rt_info/gna_precision_change_flag.cpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Update src/plugins/intel_gna/src/transformations/insert_identity_layer.hpp

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* Rewrites pass with Identity insertion using recusrive function. Adds test for Split. Adds comments

* Change namespace for element type

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>
2022-10-19 20:27:55 +03:00
Anastasia Kuporosova
2455bb67d4
[PyOV] Fix iteration over AsyncInferQueue (#13496)
* [PyOV] Fix iteration over AsyncInferQueue

* apply comments
2022-10-19 17:45:07 +02:00
18582088138
152511daa8
Benchmark sort opt (#12350)
* Benchmark_app python and c/c++ script add op profiling feature

* Fix compile bug about benchmark c/c++ op profiling

* Fix Compile Bug

* Fix issue in PR#12350 : 1. report_type info update; 2. priority of -pc and -pcsort; 3.align format between c++ and python; 4.check 'proportion' for 0 and print N/A; 5.detect the confusing print info

* Fix 8/17 review suggestion

* Fix 8/23 suggestion

* Fix the clang-format issue

* Fix the win-cc issue

* Fix win-cc issue about conversion from 'double' to 'float', possible loss of data

* Push PR by ODT group account

Co-authored-by: Chen Peter <peter.chen@intel.com>
Co-authored-by: Fiona Zhao <fiona.zhao@intel.com>
2022-10-19 22:59:12 +08:00
Anastasiia Pnevskaia
c95b3e5138
Moved MVN reference to ov::core. (#13327)
* Moved MVN reference to ov::core.

* Code style.

* Applied comments.

* Code style.

* Returned evaluate in evaluates_map()

* Added constant folding test.

* Use new API.

* Use new API.

* Use new API.

Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2022-10-19 16:46:28 +03:00
Trawinski, Dariusz
eb0dd26e4b
fix documentation building including notebooks (#13546) 2022-10-19 13:23:59 +02:00
Chen Xu
98dbb91af6
[CPU] Support topk sort for int32 directly (#13448) 2022-10-19 13:38:33 +03:00