Commit Graph

11081 Commits

Author SHA1 Message Date
Nikita Savelyev
100d56261a
Added missing import keyword (#17271) 2023-04-28 00:05:20 +04:00
Roman Lyamin
fbc14a2efb
[GPU] Coverity fixes (#17241) 2023-04-27 22:14:27 +04:00
Anastasiia Pnevskaia
6be92361a2
[DOCS] Document Model Optimizer Python API (#14380)
* Added MO convert_model() documentation.

* Apply suggestions from code review

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Updated Convert_Model pages for PyTorch and TF with PythonAPI info. United TF2 and TF formats lists.

* Added info on flag params, example_input formats list, small corrections.

* Moved MO python API to separate doc. Small text corrections.

* Added TF types conversion description.

* Removed duplicating info.

* Added description of InputCutInfo types and default onnx opset.

* Small correction.

* Changed type table to bullets, added blank lines.

* Added quote marks.

* Removed redunrant bullets.

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Apply suggestions from code review.

* Added new line.

* Apply comments from review.d

* Update docs/MO_DG/prepare_model/convert_model/Convert_Model_From_TensorFlow.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Added description of lists of parameters.

* Update docs/MO_DG/prepare_model/MO_Python_API.md

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>

* Added details about input_shape, example_input.

* Updated PyTorch page.

* Corrected input_signature description.

* Format correction.

* Format correction.

* Format correction.

* Format correction.

* Small correction.

* Small correction.

* Removed input_signature param description.

* Updated text.

* Small correction.

* Small correction.

* Removed not needed examples.

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Added new line.

* Update docs/MO_DG/prepare_model/MO_Python_API.md

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Added titles of examples.

* Update docs/MO_DG/prepare_model/MO_Python_API.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/MO_DG/prepare_model/MO_Python_API.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/MO_DG/prepare_model/convert_model/Convert_Model_From_PyTorch.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
2023-04-27 17:59:19 +00:00
Vladimir Paramuzov
b019868653
[GPU] Added missing second input to splitted reshape in handle reshape pass (#17254) 2023-04-27 17:21:17 +01:00
Vladislav Golubev
bf59a67d94
[Shape inference] Pooling: Dimension div fix (#17197)
* Dimension div fix

* codestyle fixes

* Convolution labels propagation test instances corrected
2023-04-27 17:18:12 +01:00
Sun Xiaoxia
893b29eab4
HOT FIX: Xiaoxia/fix read wrong data in muti threading (#17240)
* fix threading test sporadic failure

* fix read wrong data in muti threading

* fix read and write sync

* add lock before cpu._cpu_mapping_table[i][CPU_MAP_USED_FLAG],because CPU_MAP_USED_FLAG may be modified by set_cpu_used
2023-04-27 22:44:44 +08:00
Maxim Vafin
1d443c6da6
Fix problems with pytorch models passed to convert_model (#17255)
* Do eval() only for torch Module

* Add test

* Support decoder in convert_model

* Enable tests
2023-04-27 18:33:46 +04:00
Mateusz Bencer
2b8a6ba99a
condition to print warnings (#17195) 2023-04-27 13:43:32 +00:00
Jan Iwaszkiewicz
ca02336c1b
[PyOV] Bump pybind to 2.10.4 (#17251) 2023-04-27 16:41:45 +04:00
Artyom Anokhov
e06c4cc6fd
CMakeLists: Changed FATAL_ERROR to Warning in case of OpenCLHeaders not found (#17260) 2023-04-27 16:22:53 +04:00
Ivan Tikhonov
40bf400b18
Add FakeQuantize op support in TS transformations (#17243)
* Add FQ op support in TS transformations

* codestyle

* Mark FQ as supported op in the TS ops list
2023-04-27 15:09:07 +04:00
Nikolay Shchegolev
22bb3af7df
[CPU] Disable test case with sporadic failure. (#17256) 2023-04-27 14:06:33 +04:00
Sebastian Golebiewski
c0767a7e27
[DOCS] TensorFlow Lite FrontEnd updating dev docs (#17225)
* update with tflite

* Update index.md

---------

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2023-04-27 13:58:25 +04:00
Anastasiia Pnevskaia
59e28f8d0d
Disabled tests. (#17231) 2023-04-27 13:39:58 +04:00
Sebastian Golebiewski
40128cded1
update tuts (#17201) 2023-04-27 11:29:19 +02:00
Ryszard Jezierski
8005a3d0b0
Removed unneeded deprecated test code (#16939) 2023-04-26 23:53:10 +04:00
Ryszard Jezierski
561bf6d478
Removed deprecated parser tests (#17151) 2023-04-26 23:51:53 +04:00
Yuan Hu
cecd0e75a6
coverity Uninitialized scalar variable (#17182)
Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>
2023-04-26 23:49:21 +04:00
Nesterov Alexander
dbaa1f0c0d
[ARM CPU] Fix interpolate tests (#17171)
* fix interpolate bug

* fix interpolate bug - some tests

* fix interpolate bug - change init

* fix interpolate bug - shape fix

* fix interpolate bug - shape fix 2

* fix interpolate bug - add assert
2023-04-26 23:28:02 +04:00
Wilson Seok
03a428f50c
[GPU] Fix remove redundant reorder to skip reorder fusing when sibling node doesn't support fused padding (#17041)
* initial fix

* add corresponding unit test

* skip reorder fusing when sibling node does not support fused padding

* fix data type of axis for win build

* Revert "fix data type of axis for win build"

This reverts commit 719ea75d7826aafc7bb94c1971586c33a9842f10.

* add static casting for win build
2023-04-26 16:53:23 +00:00
Sun Xiaoxia
7fc65ae3c5
fix threading test sporadic failure (#17230)
Co-authored-by: Wanglei Shen <wanglei.shen@intel.com>
2023-04-26 20:27:49 +04:00
Maxim Vafin
10392644e3
[PT FE] Enable stable sort layer tests (#17229)
* [PT FE] Enable stable sort layer tests

* Remove unused code
2023-04-26 18:24:38 +02:00
Ivan Tikhonov
80519162ae
Reduce the binary size of transformation lib (#17220)
* Replace opset with op version for TransposeSinking and SmartReshape transformations to reduce binary size

* replace opset with op version in some op_conversions transformations

* codestyle
2023-04-26 19:03:36 +04:00
Ekaterina Aidova
82ff7e17c9
use input parameter for building example_inputs (#17207)
* use input parameter for building example_inputs

* Update tools/mo/openvino/tools/mo/moc_frontend/pytorch_frontend_utils.py
2023-04-26 17:58:06 +04:00
Egor Duplenskii
f1bc402b38
[CPU] Pick fix for oneDNN v3.1 release (#17144) 2023-04-26 17:44:36 +04:00
Wang Wangwang
962df2cdcb
[AUTO] Exclude other vendor's GPU device in default candidate list (#17063)
* [AUTO] Plugin takes only Intel dGPU as 1st priority

* Update test case

* Simplify the code

* Support more test cases in GetDeviceList API

* Add notIntelGPU to _deviceBlocklist in AUTO plugin

* Restore some code formats

* Update test cases

* Add some logs to GetValidDevice API

* Simplify the code

---------

Co-authored-by: Wanglei Shen <wanglei.shen@intel.com>
2023-04-26 14:42:53 +01:00
Nikolay Shchegolev
c8ac7c9b82
[CPU] Infer_request crashes for SpaceToBatch operation. (#16974)
* [CPU] Infer_request crashes for SpaceToBatch operation.

* Fixes as per comments.

* Fixes as per comments 2.
2023-04-26 17:39:54 +04:00
Vladimir Paramuzov
6ed85178d5
[GPU] Fix layout propagation logic (#17199) 2023-04-26 14:20:48 +01:00
Edward Shogulin
14a14ecd76
[LPT] Precision restriction customization extending: tests (#17196)
* [LPT] Precision restriction customization extending

* comments fix: refactoring

* [LPT] Precision restriction customization extending: tests
2023-04-26 16:53:04 +04:00
Tomasz Adamowicz
546581bcce
[Gna][coverity] fixes for issue type AUTO_CAUSES_COPY (#17192)
* [Gna][coverity] fixes for AUTO_CAUSES_COPY CID: 1491505, 1491595, 1502494, 1502500, 1504698, 1504769, 1507058

* update afte review

* adding const specifier to auto where needed
2023-04-26 13:32:54 +01:00
Ilya Lavrenov
cfbfa18f34
Fixed WASM build in update docker container / new dependencies (#17224) 2023-04-26 16:32:36 +04:00
Edward Shogulin
e593cf8545
[LPT] Precision restriction customization extending (#17147)
* [LPT] Precision restriction customization extending

* comments fix: refactoring
2023-04-26 13:29:09 +01:00
Alexandra Sidorova
a032d67cc7
[CPU] Fixed enforcebf16 condition for transformation pipeline (#17157)
* [CPU] Fixed enforcebf16 condition for transformation pipeline

* [Snippets][CPU][Tests] Added test with bf16
2023-04-26 16:13:01 +04:00
Irina Efode
ca92eb96ad
[CONFORMANCE] Fix Runner on Win (#17221) 2023-04-26 13:03:20 +01:00
Zlobin Vladimir
de30d8523d
State single value is uese (#15458)
Ticket EISW-60868
2023-04-26 14:50:03 +04:00
Ilya Lavrenov
da91b33763
ARM32 ACL kernels in oneDNN (#17142)
* ARM32 ACL kernels in oneDNN

* Fixed review comments

* Fixed ERF

* Disabled several eltwise tests on arm32
2023-04-26 13:50:10 +04:00
Vitaliy Urusovskij
02bfa7804b
Add copyright (#17218) 2023-04-26 13:44:31 +04:00
Luwei Zhou
6cb6c5958a
Fix the SDL issues. (#17107)
* Fix the SDL issues.

* Applied review comments.

* Update Slice test case to test none-const axis input.
2023-04-26 13:35:36 +04:00
Chenhu Wang
737864bdc7
[CPU] layout alignment to improve perf for interpolate pillow modes (#17079)
* infer planar layout with [1,2] axis as nhwc layout pass and kernel

* leftover comments apply

* comment apply
2023-04-26 11:33:17 +02:00
Ivan Tikhonov
95ca54d0ab
Update ConstantFolding transformation to support Gather with dynamic input (#16973)
* ConstFold Gather op in case of dynamic dims in data input

* Update ConstantFolding transformation to support Gather with dynamic input; add test

* always mark ShapeOf nodes as can_be_folded

* add additional checks for fused_names in the gather test

---------

Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
2023-04-26 13:22:47 +04:00
Vladimir Paramuzov
ce5f65af14
[GPU] Use hash of test name for random generator initialization (#17213) 2023-04-26 12:52:38 +04:00
Ekaterina Aidova
6389f423bf
[PT FE]: implement scaled dot product attention (#17178)
* [PT FE]: implement scaled dot product attention

* Apply suggestions from code review

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* Update src/frontends/pytorch/src/op/scaled_dot_product_attention.cpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

---------

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2023-04-26 12:51:02 +04:00
Ekaterina Aidova
5857c4438b
[PT FE]: switch on tracing as main path if example inputs provided (#17194) 2023-04-26 12:50:43 +04:00
Eddy Kim
09265083ed
[GPU] fixed a missing data type (#17200)
* fixed missing data type

* updated the resolution for better accuracy check
2023-04-26 08:28:18 +00:00
Roman Kazantsev
7cf9d109e8
[TF FE] Implement optimal conversion of body graphs (#17211)
* [TF FE] Implement optimal conversion of body graphs

Preliminary setting input shapes and types for body graph InputModel
provides more optimal conversion of body-graphs.

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

* Fix build issue

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-04-26 12:12:54 +04:00
Maciej Smyk
5682e178dd
DOCS shift to rst - Opsets D (#17205)
* Update Operations_specifications.md

* Update Divide_1.md

* Update DFT_7.md

* Update DetectionOutput_8.md

* Update DetectionOutput_1.md

* Update DetectionOutput_1.md

* Update DepthToSpace_1.md

* Update DeformablePSROIPooling_1.md

* Update DeformableConvolution_8.md

* Update DeformableConvolution_1.md

* Update DeformableConvolution_8.md

* fix

* fix

* Update DFT_7.md

* Update DFT_7.md

---------

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2023-04-26 10:11:13 +02:00
Mateusz Tabaka
dfaa4e7bd6
Add ConvertSubtractWithConstant to MOCTransformations (#17058)
* Add ConvertSubtractWithConstant to MOCTransformations

Ticket: CVS-62419

* fix test_mo_import_from_memory tests

* move test file

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-04-26 11:37:42 +04:00
Mateusz Tabaka
da4316845f
ConvMulFusion - handle ConvolutionBackpropData with 3 inputs (#17145)
* ConvMulFusion - handle ConvolutionBackpropData with 3 inputs

Ticket: 98769

* add using

* use compare functions
2023-04-26 11:37:31 +04:00
Sungeun Kim
3c485feea8
removed case to choose onednn impl for deconv (#17108)
- in_dt(f16) wei_dt(f16) out_dt(f32)
2023-04-26 13:20:11 +09:00
Egor Duplenskii
dabd5ee412
[CPU][TESTS] Fix cmake test dependencies (#17202)
Co-authored-by: Maksim Doronin <maksim.doronin@intel.com>
2023-04-26 01:17:12 +04:00