Commit Graph

9398 Commits

Author SHA1 Message Date
Ilya Lavrenov
74d571de1e
Added PT FE to codeowners / labeler (#15186)
* Added PT FE to codeowners / labeler

* Added python frontend specific API to labeler
2023-01-18 22:06:28 +04:00
Aleksandr Voron
40c239ad3f
added neon_mathfun to arm license file (#15085) 2023-01-18 22:04:20 +04:00
Vladimir Paramuzov
2201a5f83e
Added common ov::execution_mode hint (#15048)
* [GPU] Added common exec mode hint and gpu support

* Add ov::inference precision and update usages. Deprecate ov::hint::inference_precision property

* [GPU] Execution mode tests and fixes

* Fixed code style

* Moved execution_mode test to common. Fixes for python API

* Remove deprecations for hint::inference_precision and just keep both

* Fix test
2023-01-18 20:13:00 +04:00
Maxim Vafin
53e699eaba
Add PyTorch Frontend (#15069)
* WIP

* update input validation

* upsample_nearest2d and upsample_bilinear2d support

* support leaky_relu add test for inplace relu

* update tests, add handler for ListConstruct

* Do not create extra outputs in main body

* add positive case with non-default value

* update testing

* update test, handle non constant size and scale

* remove ie_device

* add aten::group_norm support

* refactoring

* Enable aten::reshape_as operator and add layer test

* more tests

* Fix typo in test

* Resolve conflicts

* fix code style

* expand init version

* expand_as and tests

* add transposed convolutions support

* add tests

* initial support pad

* add circular

* update for differenced in rang

* cleanup

* refactor

* more tests

* apply review comments

* Add split+listunpack transformation

* Add split+getitem transformation

* Add test cases

* fix typo

* Minor fixes

* Apply suggestions from code review

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

* Apply suggestions from code review

* Small fix

* Support converting models without freezing

* support BoolTensor and masked_fill

* add support aten::rsqrt and test for sqrt

* add cumsum and type_as

* support clamp

* support more matrix operations

* add tests

* Add aten::adaptive_avg_pool3d and layer test

* Change to rank

* fix code style in utils.hpp

* Update src/frontends/pytorch/src/op_table.cpp

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

* fix code style

* add tests

* add xfail

* remove unnecessary broadcast

* Changes required by style formater

* aten::_convolution_mode

* Changes requested by a reviewer

* remove code duplication

* add aten::unbind transformation

* full, zeros and ones

* Support getattr list and unrolling nested ifs

* Remove line change

* Enable back freezing in layer tests

* Add aten::norm operator and layer test

* Small fix in layer test

* add aten::roll

* add empty line

* Typo fix

* fix style

* fix style v2

* add pytorch frontend to wheel

* Support all types of numeric norms

* add check for dynamic shapes

* remove random change

* merge statements

* add min and max ops support

* aten::max and aten::min

* move axes range creation to utils

* add transformation for tuple results, update tests

* fix copyright

* aten::var

* add test and translation for numel

* ignore aten::clone

* Add layer test for aten::add operator

* Fix typo

* Remove redundant import

* Add parameter name in forward method

* fix code style

* apply review comments

* Add size+slice+listunpack transform

* Add append listunpack transformation

* Register transformation

* aten::where

* update realization

* Fix issue with getitem

* Fix getitem

* Add layer test for aten::view operator

* Add tests for listunpack

* add test for aten::div

* fix style

* update aten::adaptive_max_pool2d

* fix style

* add aten::floor_divide

* aten::addmm support alpha and beta with different dtype

* nonzero

* Change test name

* update test cases to include other dtypes

* aten::arange

* prim::max transformation for ListConstruct

* rename op

* generalize conv2d implementation for conv1d and conv3d

* aten::unsqueeze_ and tests for aten::unsqueeze (#70)

* add aten::le, aten::ge and tests for other tensor comparision ops (#74)

* add support trigonometry ops (#73)

* support aten::upsample_bicubic2d, aten::ceil, aten::floor (#72)

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

* extend and add tests for avg_pool and max_pool

* extend tests and constant filling ops

* fix as_tensor and full ops

* aten::repeat

* fix code style

* aten::im2col (#61)

* aten::im2col

* remove debug prints, add number of elements check

* fix failed tests

* move helper function

* use split

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

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

* fix code style

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

* Update src/frontends/pytorch/src/utils.cpp

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

* fix code style

* revert removeinf floordiv, add floor_divide file

* Fix merge issue

* reduce code duplication

* refactor

* Add len operator with layer test

* update clamp to support mixed precision and add support torch.long for constants

* aten::selu

* add trunc mode to div

* add else statement

* Add test case to layer test

* Fix submodules (#88)

* update test file

* fix namings

* execute in fp64 and convert back to initial precision

* Revert set_output_size to master. Small fix in If validate

* Fix build and code style

* fix failed tests

* Add torchvision::nms operator and layer test

* Change requested by a reviewer

* Remove div test

* convert constants to input type

* Mark some cases in div tests as xfail (#93)

* Small refactoring (#94)

* Small refactoring

* Fix type

* Fix python codestyle

* Incremental fix code style (#95)

* Fix style (#96)

* Fix copyright

* Fix code style

* Branch clean up (#97)

* Optimize includes and force opset10 (#98)

* Optimize includes

* Force opset10 in pt fe

* Fix codestyle (#99)

* Fix style

* Fix clang codestyle

* Fix cerr with debug log

* Update src/bindings/python/src/pyopenvino/frontend/pytorch/decoder.cpp

* Add pytorch dependency only if pytorch frontend is enabled

* Update src/bindings/python/src/pyopenvino/CMakeLists.txt

* Add layer tests to precommit (#100)

* Add layer tests to precommit

* Remove accidentally added files

* Apply code style on layer tests

* batch norm tests and fixes

* move default weight and bias to else block

* reduce code duplication

* Changes requested by a reviewer

* Changes requested by a reviewer

* Remove dependency from pytorch in pyopenvino (#102)

* Remove dependency from pytorch when fe is disabled

* Change docstring

* Remove pytorch FE dependency from pyopenvino

* Apply codestyle (#107)

* Apply codestyle

* Remove commented line

* Apply suggestions from code review

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

* Fix mock FE test (#108)

* Fix mock PE test (#111)

* Revert changes in StridedSlice (#114)

* Small refactoring (#116)

* Small refactoring

* Fix codestyle

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Fix cmake copyright define (#117)

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

* Apply suggestions from code review

* Update build configs (#120)

* FIx build configs

* Update type cast in full.cpp

* Apply review feedback (#121)

* Apply suggestions from code review

* Apply suggestions from code review

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

* Fix issue after master merge (#122)

* Fix issue after master merge

* Fix build

Co-authored-by: eaidova <ekaterina.aidova@intel.com>
Co-authored-by: bszmelcz <bartosz.szmelczynski@intel.com>
Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
Co-authored-by: sikorsl1 <leonard.sikorski@intel.com>
Co-authored-by: Leonard Sikorski <l.sikorski123@gmail.com>
Co-authored-by: Mateusz <mateusz.mikolajczyk@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-01-18 18:16:57 +04:00
mei, yang
1794fb40a0
Meiyang/paddle 2.4 (#15177)
* PaddlePaddle 2.4.1 support

* Update src/frontends/paddle/tests/requirements.txt

lowering PDPD version

* update paddlepaddle to 2.4.0

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-01-18 16:48:47 +03:00
Tomasz Adamowicz
fad52a8dd1
[GNA] Skip GNA config structure initialization when compiling in GNA_SW_FP32 mode (#15013) 2023-01-18 14:33:21 +01:00
Alexandra Sidorova
6525dd4727
[Snippets][CPU] Added FP32 MHA tokenization support (#14327) 2023-01-18 16:59:21 +04:00
Artur Kulikowski
6ec71c376a
Resolve relative path to the extension (#15047)
* Resolve relative path to the extension

* Add symbol to library inside cwd

* Set relative path to the current path

* Remove test
2023-01-18 16:48:11 +04:00
Katarzyna Mitrus
fd6640b6eb
[ShapeInference] GridSample shape infer review (#15102)
* Add more type_prop tests for interval dims and labels

* Add setter for grid sample attributes

* Merge grid sample batch dims

* Add StaticShapeInferenceTest for GridSample

* Fix label test

* Use OpStaticShapeInferenceTest fixture in test
2023-01-18 12:39:05 +00:00
Ilya Naumov
32fce5cb40
Fix Python benchmark_app crash in case of binary input and batch > 1 (#15114) 2023-01-18 16:16:22 +04:00
Alexey Smirnov
86d43a83ce
Add more options to conformance script (#14809)
* Add more options to conformance script

* Addressing review comments

Co-authored-by: Artemy Skrebkov <artemy.skrebkov@intel.com>
2023-01-18 14:25:16 +03:00
Ilya Lavrenov
c4eeecfec5
Remove myriad plugin (#15131)
* Removed Intel MYRIAD plugin

* Removed Intel MYIAD from CI files

* Removed Intel MYRIAD from cmake folder

* Removed MYRIAD, HDDL from samples

* Removed MYRIAD, HDDL from scripts folder

* Removed MYRIAD from bindings folder (C and Python API)

* Removed MYRIAD tests

* Removed MYRIAD from tests folder

* Removed MYRIAD from tools folder

* Removed HDDL (VAD), MYRIAD (NSC2) from documentation

* Fixed build for AUTO unit tests

* Fixed clang code style

* Fixed comments and issues

* removed MYRIAD from AUTO tests

* Disabled MULTI tests in CI

* Update docs/OV_Runtime_UG/auto_device_selection.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/get_started/get_started_demos.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/OV_Runtime_UG/deployment/local-distribution.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-01-18 15:19:44 +04:00
Pawel Raasz
a1203b931a
Review slice for shape inference aspects (#14611)
* Review slice ope for
- Interval dimension and label propagation
- add template shape inference with static shape test
- check preserve partial values on inputs
- check upper/lower evaluate

* Add bounds evaluation for inputs start, stop

* Share code between slice and strided slice
Use same function to calculate elements in step

* Add array includes

* Add to int64_t strides size

* Fix windows compile warnings

* Fix shape inference for unknown axes

* Remove empty lines in slice shape inference

* Correct slice static shape tests

* Use arrays of const chars to store literals
Remove and update exception messages for strided slice

* Fix slice test and apply review comments

* Fix compilation issues

* Fix ellipsis when there is not begin

* Fix get element type for const inputs

* Insert optional axes as const or dynamic param

* Remove temp vectors for dimensions calculation

* Revert set optional input in ctor

* Fix forward slicing for negative start and MAX end
2023-01-18 14:40:53 +04:00
Sebastian Golebiewski
3094384d74
revert tutorials (#15164) 2023-01-18 08:32:22 +01:00
Taylor Yeonbok Lee
b98900859b
[GPU] Let reorder_inputs pass to use not only output_layout but also input layout for dynamic shape (#15037)
Previously, reorder_input pass checked only output layouts of each node, with an assumption that the input/output ranks are same at that pass.
However in dynamic shape using ngraph shape infer, there are cases input / output ranks differ. In such cases, the reorder_input pass inserts reorder to the format of current node's output_layout in the input of the current node, which causes error.
Fixed the above behavior by applying set_preferred_input/output_layout.
2023-01-18 09:41:11 +04:00
Anastasia Kuporosova
fcd95f2169
[PyOV] Move py_object_to_any under namespace (#15147)
* [PyOV] Move py_object_to_any under namespace

* remove inline

* codestyle

* fix frontend
2023-01-17 23:53:13 +04:00
Ilya Lavrenov
c29f111717
Enabled Windows ARM64 build using MSVC cl compiler (#15132)
* Fixed Windows Arm64 build

* Fixed linker warnings in docs

* Fixed Windowd ARM build

* Reverted changes in docs

* Added OpenVINO level macro to define CPU architecture

* Properly remove xbyak from reference kernels optimizations

* Added documentation for cmake functions

* Fixed samples build

* Added installation dir for host protoc

* Fixed installation stage for host_protoc

* Added build dir

* Fixed compilation on Apple

* cççç

* Fixed clang code-style

* Tely on CPU id from xbyak

* Fixed build

* Fixed compilation on mac

* Fixed compilation
2023-01-17 17:29:00 +04:00
Roman Kazantsev
5043797b1c
[TF FE] Support Group Convolutions (#15130)
* [TF FE] Support Group Convolutions

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

* Split cases of regular Convolution and GroupConvolution operations

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-17 16:15:19 +04:00
Pavel Esir
1d5fa360d4
fix check for data nodes in emitter.py (#14802)
* fix checking if there are data nodes for operations with several outputs

* added unit-test

* added ports explicitly, removed redundant lambda

* typo in port
2023-01-17 16:11:57 +04:00
Marcin Kusmierski
745ef24e19
[CMAKE][NCC] Enable custom ncc style file and Improve ncc usage for windows. (#15031)
* add possibility to set custom ncc style file
* add possibility to run NCC on Windows in case Clang is installed
    and available in PATH
2023-01-17 15:10:13 +04:00
Ilya Lavrenov
34853c8ae9
Fixed Azure CI post-commit build (#15159) 2023-01-17 15:00:57 +04:00
Ashley DeFlumere
daf9f0fbbf
Update vpu.json (#14612)
Update POT tool configs to use unified scales for concat by default.

Co-authored-by: Alexander Kozlov <alexander.kozlov@intel.com>
Co-authored-by: Liubov Talamanova <liubov.talamanova@intel.com>
2023-01-17 12:26:36 +04:00
Przemyslaw Wysocki
8dd9c890b0
[PyOV] Update requirements for Python 3.11 - docs (#15071) 2023-01-17 08:23:35 +01:00
Sebastian Golebiewski
0d2f1facbb
heading fix (#15162) 2023-01-17 15:09:21 +08:00
Sungeun Kim
8ab2e0e8d6
[GPU] bugfix: partial subgroup issue (#14845)
Behavior is undefined if the subgroup size is smaller than
the maximum subgroup size; in other words, if this is a partial subgroup.
2023-01-17 16:05:01 +09:00
hyunback kim
ef0bc2b406
[GPU] Fix segfault with exec_graph_path option from model included implicit concat (#15161)
Opt-out primtive_onednn_imple doesn't share ExecutionConfig issue

Signed-off-by: hyunback <hyunback.kim@intel.com>
2023-01-17 16:01:57 +09:00
Dohyun Kim (Felix)
5e7b4fe369
[GPU] Add test utility functions (#14738)
* Add useful utility functions when writing/debugging test.
* Fix conv_onednn_cases/convolution_gpu_onednn.conv_onednn_cases/in8x8y1z32f_output32f_filter3x3y1z_groups1_stride1_batch32_format0_with_bias_1_onednn_impl
2023-01-17 11:39:45 +09:00
Roman Kazantsev
04c9c28869
[TF FE] Fix LRN operation and test it (#15145)
It allows to fix inference results mismatch for some models

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

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-16 21:31:24 +04:00
Tatiana Savina
74f4a5e47d
update footer (#15153) 2023-01-16 19:59:37 +03:00
Karol Blaszczak
00b88550a0
DOCS-revert_notebooks_version (#15152)
revert to the working version
2023-01-16 17:24:52 +01:00
Tomasz Dołbniak
f4dda48795
ONNX Unique op support (#15076) 2023-01-16 15:12:03 +01:00
Eddy Kim
14a7e443d0
Adding missed conversion logics between layout and string (#15103)
* added missed layout to string conversion

* added an unit test for layout_from_string

* added missing spaces around =

* replaced 95 with SCALAR

* moved layout_to_string into a new file

* changed to parametrized test
2023-01-16 17:32:30 +04:00
Katarzyna Mitrus
89e2c0e2fa
Add error handling in broadcast shape inference and init clamp attributes (#15118)
* Initialize clamp class members

* Add error message if broadcast_merge_into return false
2023-01-16 12:26:21 +01:00
Vladimir Paramuzov
0c79caa45c
[GPU] Use in-order queue for devices with dpas support (#15061)
* [GPU] Use in-order queue for devices with dpas support

* [GPU] Don't query properties in inference time

Co-authored-by: Mingyu Kim <mingyu.kim@intel.com>
2023-01-16 15:19:56 +04:00
Pawel Raasz
59c868f5ae
Add ov::label_t alias and set it to uint32_t (#15010)
* Add ov::label_t alias and set it to uint32_t
to simplify conversion to tensor element type

* Fix clang formatting

* Fix one hot test to use label_t

* Remove label types alias duplicates
propagate using alias for label types

* Correct label type in transpose tests

* Define label_t in dimension
remove size_t usage as label type.

* Correct label type usage in Einsum and LSTM op's

* Correct label type usage in tracker transformation
scatter update and split op tests

* Correct usage label type in type_porp tests
- squeeze
- tile
- transpose
- variadic split

* Correct usage label type in type_porp tests
- squeeze
- transpose
- unsqeeze
- variadic split
2023-01-16 12:14:10 +01:00
Sebastian Golebiewski
d87b8e1dcb
DOCS: Update of 'Creating a YOCTO image' article (#15129)
* update

Updating master branch in meta-intel repository for OpenVINO 22.3

* Update installing-openvino-yocto.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-01-16 10:49:54 +00:00
Jan Iwaszkiewicz
4be484574d
[PyOV] Add UUID property and correct translator (#15110) 2023-01-16 10:16:24 +01:00
Yuan Xu
e1027e9138
Add install dependencies info for APT & YUM (#15023) (#15125)
* add install dependencies info

* update according to comments

* fix formatting

* fix formatting

* small corrections

* fix formatting & issues

* minor correction
2023-01-16 16:54:10 +08:00
Anastasia Kuporosova
749467f0c3
[PyOV] Mark replacement of topk in test (#15095) 2023-01-16 09:37:47 +01:00
Ilya Lavrenov
8eed22b477
Remove excess dependencies from scripts (#14995)
* Remove excess Azure Pipelines steps

* Installed unzip inside Azure pipelibes

* Added --no-install-recommends

* Move ccache to build tools

* Added libffi-dev for python _stypes

* Exit if debian packages cannot be installed

* Added comment

* Install wget for cmake downloading

* Update Azure

* Try to fix samples tests on Debian Linux

* Fixes

* Moved env

* More refactoring

* Fixes

* Revert: bash => script back

* Fixed arm64 linux

* Fixed CUDA

* Fixed mac

* Try to fix

* Try to fix cuda

* Fixed CUDA

* Fixes

* Optimize Mac build

* Fixed windows

* Try to fix debian

* Build CC COLLECT

* Use ninja for CC

* Try to fix WinCC

* Apply suggestions from code review

* Fixed sample spath

* Update .ci/azure/windows_conditional_compilation.yml

* Apply suggestions from code review

* Fixed CC ON compilation with ninja

* Improvements

* Print CC header content

* Try to fix Ninja build for Win CC

* Added explicit dependency between targets

* Reverted changes in Windows CC Azure config

* Update cmake/developer_package/compile_flags/os_flags.cmake
2023-01-16 12:12:57 +04:00
hyunback kim
e75fa049ac
[GPU] integration oneDNN3.0 (#14647)
* Support oneDNN3.0 API
* Use binary_mul post_opt instead of oscale channel-wise mask(2)
* Disable some post-opt fusing because of no eltwise scale API
    eltw(non_linear)+eltw(linear), eltw+sum+eltw(linear)
* Fix hardwish issue in 3.0
   hard coded hardswish parameter(2.7) is changed alpha and beta from user's required input.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2023-01-16 17:11:17 +09:00
Ilya Churaev
0c9abf43a9
Updated copyright headers (#15124)
* Updated copyright headers

* Revert "Fixed linker warnings in docs snippets on Windows (#15119)"

This reverts commit 372699ec49.
2023-01-16 11:02:17 +04:00
Ilya Lavrenov
53e9d7acea
Fixed compilation on Linux (#15127) 2023-01-16 11:01:33 +04:00
Ilya Lavrenov
372699ec49
Fixed linker warnings in docs snippets on Windows (#15119) 2023-01-16 07:29:44 +04:00
yanlan song
d79c04a0b1
unify name (#15067)
Signed-off-by: fishbell <bell.song@intel.com>

Signed-off-by: fishbell <bell.song@intel.com>
2023-01-15 03:03:38 +00:00
Sebastian Golebiewski
fe290b7acb
DOCS: Updating the diagram in the home page -for master (#15107)
restyling the first paragraph and updating the diagram
2023-01-14 17:33:19 +01:00
dependabot[bot]
a8b1072edb
Update six requirement in /src/frontends/paddle/tests (#14983)
Updates the requirements on [six](https://github.com/benjaminp/six) to permit the latest version.
- [Release notes](https://github.com/benjaminp/six/releases)
- [Changelog](https://github.com/benjaminp/six/blob/master/CHANGES)
- [Commits](https://github.com/benjaminp/six/compare/1.15.0...1.16.0)

---
updated-dependencies:
- dependency-name: six
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-14 02:39:31 +04:00
Jan Iwaszkiewicz
8178b046f8
[PyOV] Add properties of GPU plugin to bindings (#15089) 2023-01-13 16:14:50 +01:00
Eddy Kim
879a7de889
Update calculateFileInfo for the null string case (#15064)
* updated not to find absPath for null filePath

* changed to cache only std::runtime_error

* fix clang-format error
2023-01-13 17:47:25 +04:00
Ilya Churaev
2d9a51fa6a
Move CoreImpl to separate file (#15088)
* Move CoreImpl to separate file

* Added new files

* Small fixes

* Moved ov::Core

* Fixed typo

* Moved DeviceIDParser

* Try to fix build
2023-01-13 17:10:09 +04:00