Commit Graph

12989 Commits

Author SHA1 Message Date
Piotr Krzemiński
e24b6211e3
[BUGFIX][Core][Template] Multinomial shape filling for 1D input (#20359)
* [BUGFIX] Fix incorrect shape filling for 1D tensor smaller than requested sample size

* [FIX] Remove redeclaration
2023-10-10 22:51:59 +00:00
Ilya Lavrenov
df55e282e3
Update tensorflow requirement in /src/bindings/python (#20372)
Updates the requirements on [tensorflow](https://github.com/tensorflow/tensorflow) to permit the latest version.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](https://github.com/tensorflow/tensorflow/compare/v1.15.5...v2.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 02:18:14 +04:00
Ilya Lavrenov
b3ead62631
Fixed numpy deprecation error (#20375) 2023-10-11 00:38:23 +04:00
Oleg Pipikin
c61fce428e
Refactor PowerLayerTest, PriorBoxClusteredLayerTest, PriorBoxLayerTest (#20349)
* Refactor PowerLayerTest

* Refactor PriorBoxClusteredLayerTest

* Refactor PriorBoxLayerTest
2023-10-10 23:54:46 +04:00
Ilya Lavrenov
0a0d0f0aa5
Revert "Switch telemetry to opt-out approach. (#20290)" (#20370)
This reverts commit b630bffa14.
2023-10-10 22:08:20 +04:00
Oleg Pipikin
246d8efada
Refactor LoopLayerTest, LrnLayerTest, LSTMSequenceTest, LSTMCellTest (#20269)
* Refactor LoopLayerTest

* Refactor LrnLayerTest

* LSTMCellTest

* Refactor LSTMSequenceTest
2023-10-10 19:54:20 +02:00
Andrey Kashchikhin
0060b26b74
[CI] [GHA] [Azure] Unskip test_div_uint8_cpu, unskip src/frontends/onnx/tests/test_python/test_zoo_models.py in Win and Linux pipelines (#20366)
* only skip test if mac

* unskip

* skip for onnx fe as well

* remove skips

* rm unused imports

* revert import
2023-10-10 21:06:18 +04:00
Ivan Novoselov
c385c13185
[Snippets] Delegate domain optimization to a LIR pass (#18991) 2023-10-10 18:23:28 +04:00
Nadezhda Ageeva
4426486e6f
[nGraph Transformations] Add missing rtinfo copy in ConvertPrecision transformation (#20347) 2023-10-10 13:47:52 +00:00
Andrey Kashchikhin
3ebadc14d1
[CI] [GHA] mac pipeline review leftovers; small cleanup of the Linux pipeline (#20353)
* skip gna-related tests on mac; rm unused in pipelines

* rm unused env var

* use if instead of commenting out

* add name

* return pr trigger

* rm pr trigger
2023-10-10 17:10:46 +04:00
Mateusz Mikolajczyk
670fff062e
[Opset13][pyAPI] Python API BitwiseNot-13 (#20265)
* Add pyAPI BitwiseNot-13

* Update src/bindings/python/src/openvino/runtime/opset13/ops.py

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>

* Remove whitespace from ops.py

---------

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
2023-10-10 14:27:45 +02:00
Yuan Hu
b358d283d0
[CPU] Enable skipped custom shape infer test cases (#19037)
* enable eltwise skip test

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

* enable skipped test of onehot

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

* remove shapeof OD test. cpu node shape_of don't support it

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

* enable skipped test case of strideslice

remove default stride test

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

* enable skipped test case of matmul

remove some test cases, custom matmul only support some rank

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

* fix eltwise autob issue

powerstatic don't get the autob attibute from origin op

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

* Revert "fix eltwise autob issue"

This reverts commit 1139296411.

* Revert "enable eltwise skip test"

This reverts commit c9f0a6f225.

* disable eltwise none autob test

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

* add error message for OPENVINO_ASSERT

go NgraphShapeInfer branch in matmul node
when input0 rank is not equal to input1 rank

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

* create ticket for EltwiseShapeInfer and skip the test case

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

* revert test case order in matmul

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

---------

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>
2023-10-10 14:03:59 +02:00
Ekaterina Aidova
0dcde7f7bc
[PT FE]: support aten::pixel_unshuffle (#20325) 2023-10-10 15:18:35 +04:00
Evgeny Kotov
4d9f2f3cd7
Support new operations in TS: Selu, Swish, HSwish, Tile, CumSum, HardSigmoid (#19990)
* add new operations as unary

* get unary as input(0) instead of iterating pattern map

* add CumSum + unit tests

* add Tile + unit tests

* add tile

* fix ts_tile

* code review fix: use ADD_MATCHER

* fix bug CI tests
2023-10-10 15:06:10 +04:00
Ekaterina Aidova
a5b6606132
[PT FE]: support aten::amax, aten::amin, aten::clip, aten::clamp_ (#20338) 2023-10-10 11:05:10 +00:00
Andrey Kashchikhin
1454e77bbf
[CI] [GHA] Introduce GHA macOS Pipeline (#20212)
* start transferring

* start with samples

* start with initial two stages

* change name

* skip pytorch tests; rm unused comments

* rm setupvars sourcing; make test steps similar to those in linux pipeline

* add missing options and setupvars sourcing

* add skips for mac

* install wheels directly

* add deployment target

* add skips for pytorch layer tests; experiment with samples

* do not exclude files for archives; set rpath

* apply comments; rm unnecessary stages

* Update mac.yml

fixed MO Python API tests

* Update .github/workflows/mac.yml

* Update openvino.cmake

add LC_RPATH to libopenvino.dylib

* Update src/cmake/openvino.cmake

* Update CMakeLists.txt

reverted changes in samples build

* Update openvino.cmake

removed rpath changes

* add setupvars

* disable pr trigger

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-10-10 14:43:09 +04:00
Andrey Kashchikhin
fca34c6f9f
[CI] [GHA] Refactor Win pipeline: split the Build job, remove unnecessary requirements installation (#20320)
* split build job; rm unnecessary requirements installation

* add missing OV Contrib build

* align requirements install

* rm incorrectly place vsvars, apply comments: add missing tests

* rm build and source options in the cmake OV Contrib command

* add missing build directory

* add logs

* Update windows.yml

Fixed rebuild from scratch with OpenVINO Contrib

* verbose archive extraction

* Fixed path for extraction of openvino_tests package

* Use windows-latest-8-cores for samples

* Update windows.yml

* Update .github/workflows/windows.yml

* use filename for wheel; build ov contrib with ov

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-10-10 13:35:35 +04:00
Oleg Pipikin
34a86ecb3a
Refactor BinaryConvolutionLayerTest and BucketizeLayerTest (#19654)
* Refactor BinaryConvolutionLayerTest

* Refactor BucketizeLayerTest
2023-10-10 11:25:57 +02:00
Maxim Vafin
0fec05ecf2
Mark models according to last validation and fix some problems in models (#20324)
* Mark models according to last validation and fix some problems in models

* Update tests/model_hub_tests/torch_tests/hf_transformers_models
2023-10-10 11:23:23 +02:00
Anastasiia Pnevskaia
b630bffa14
Switch telemetry to opt-out approach. (#20290)
* Switch telemetry to opt-out approach.

* Minor correction.

* Small correction.
2023-10-10 13:14:45 +04:00
Mateusz Tabaka
4a3ce48f7a
CompressQuantizeWeights optimizations (#20025)
* Optimize CompressQuantizeWeights transformation

- remove CoordinateTransform usage from FakeQuantize reference implementation
- move ZeroPointOptimizer functionality inside CompressQuantizeWeights
- compute scale and zero point in the same loop

Ticket: CVS-119273

* review comments

* clang format

* fix comments
2023-10-10 13:10:05 +04:00
Pratham Ingawale
ed45a92e30
Remove test-generator dependency (#18512)
* changed from generator to unittest

* common_test.py tested for pylint 7.96/10

* ChangeRandomUniformOutputType_test pylint 10/10

* replaced  generator functionality from compress...

* replaced generator functionality in MatMulNormal..

* replaced generator functionality in ShuffleChan...

* replaced generator functionality in import_from_mo_test.py

* replaced generator functionality in meta_data_test.py

* replaced generator functionality in extractor_test.py

* replaced generator functionality in interpolate_reshape_test.py

* replaced generator functionality in Pack_test.py

* replaced generator functionality in rank_decomposer_test.py

* replaced generator functionality in size_replacer_test.py

* replaced generator functionality in utils_test.py

* replaced generator functionality in eltwise_test.py

* replaced generator functionality in concat_test.py

* replaced generator functionality in tdnn_component_replacer_test.py

* replaced generator functionality in MXFFTToDFT_test.py

* replaced generator functionality in activation_ext_test.py

* replaced generator functionality in AttributedSliceToSlice_test

* replaced generator functionality in squeeze_ext_test.py

* replaced generator functionality in transpose_ext_test.py

* replaced generator functionality in unsqueeze_ext_test.py

* replaced generator functionality in ObjectDetectionAPI_test.py

* replaced generator functionality in  RFFTRealImagToRFFTSplit_test.py

* replaced generator functionality in TFFFTToDFT_test.py

* replaced generator functionality in WhereDecomposition_test.py

* replaced generator functionality in graph_test.py

* replaced generator functionality in ConvertGroupedStridedSlice_test.py

* replaced generator functionality in dequantize_linear_resolver_test.py

* replaced generator functionality in FusedBatchNormTraining_test.py

* replaced generator functionality in L2NormFusing_test.py

* replaced generator functionality in PreserveRuntimeInfo_test.py

* replaced generator functionality in quantize_linear_resolver_test.py

* replaced generator functionality in UpsampleToResample_test.py

* replaced generator functionality in broadcast_test.py

* replaced generator functionality in loader_test.py

* replaced generator functionality in cast_test.py

* replaced generator functionality in Complex_test.py

* replaced generator functionality in dft_signal_size_canonicalization_test.py

* replaced generator functionality in div_value_propagation_test.py

* replaced generator functionality in einsum_test.py

* replaced generator functionality in expand_dims_test.py

* replaced generator functionality in ExtractImagePatches_test.py

* replaced generator functionality in eye_test.py

* replaced generator functionality in gatherelements_test.py

* replaced generator functionality in If_test.py

* replaced generator functionality in interpolate_test.py

* replaced generator functionality in MatMul_test.py

* replaced generator functionality in MatMul_value_propagation_test.py

* replaced generator functionality in one_hot_test.py

* replaced generator functionality in ONNXResize11_test.py

* replaced generator functionality in ReduceOps_test.py

* replaced generator functionality in reshape_test.py

* replaced generator functionality in scatter_test.py

* replaced generator functionality in slice_test.py

* replaced generator functionality in conversion_with_layout_test.py

* replaced generator functionality in conversion_incorrect_models_test.py

* replaced generator functionality in conversion_basic_models_test.py

* replaced generator functionality in split_test.py

* replaced generator functionality in squeeze_test.py

* replaced generator functionality in mo_fallback_test_actual.py

* replaced generator functionality in layer_to_class_test.py

* replaced generator functionality in ir_engine_test.py

* replaced generator functionality in mo_fallback_test_tf_fe.py

* replaced generator functionality in freeze_placeholder_test.py

* replaced generator functionality in broadcasting_test.py

* replaced generator functionality in broadcasting_test.py

* replaced generator functionality in transpose_test.py

* replaced generator functionality in custom_replacement_config_test.py

* replaced generator functionality in unsqueeze_test.py

* replaced generator functionality in upsample_test.py

* replaced generator functionality in upsample_test.py

* Removed test-generator dependency from openvino/tools/constraints.txt

* replaced generator functionality in freeze_placeholder_test.py

* replaced generator functionality in conversion_incorrect_models_test.py

* removed test-generator from requirements_dev,constraints.txt,requirements.txt

* removed import generator from CorrectPaddingsForPadAfterComplex_test.py

* adding test_generator dep..

* revert back constraints.txt

* revert back requirements_dev

* pytest:- MatMulNormalizer_test.py

* pytest:- ShuffleChannelPatternOptimization_test.py

* pytest:- import_from_mo_test.py

* generator_to_pytest interpolate_reshape_test.py

* pytest:- rank_decomposer_test.py

* pytest:- size_replacer_test.py

* pytest:- concat_test.py

* pytest:- eltwise_test.py

* pytest:- utils_test.py

* pytest:- tdnn_component_replacer_test.py

* pytest:- MXFFTToDFT_test.py

* pytest:- activation_ext_test.py

* pytest:- AttributedSliceToSlice_test.py

* pytest:- squeeze_ext_test.py

* pytest:- transpose_ext_test.py

* pytest:- unsqueeze_ext_test.py

* pytest:- ObjectDetectionAPI_test.py

* pytest:- RFFTRealImagToRFFTSplit_test.py

* pytest:- TFFFTToDFT_test.py

* pytest:- WhereDecomposition_test.py

* pytest:- graph_test.py

* pytest:- ConvertGroupedStridedSlice_test.py

* dequantize_linear_resolver_test.py

* pytest:- FusedBatchNormTraining_test.py

* pytest:- L2NormFusing_test.py

* pytest:- PreserveRuntimeInfo_test.py

* pytest:- quantize_linear_resolver_test.py

* pytest:- UpsampleToResample_test.py

* pytest:- broadcast_test.py

* pytest:- cast_test.py

* pytest:- Complex_test.py

* pytest:- dft_signal_size_canonicalization_test.py

* pytest:- div_value_propagation_test.py

* pytest:- einsum_test.py

* pytest:- expand_dims_test.py

* pytest:- ExtractImagePatches_test.py

* pytest:- eye_test.py

* pytest:- gatherelements_test.py

* pytest:- If_test.py

* pytest:- interpolate_test.py

* pytest:- MatMul_test.py

* pytest:- MatMul_value_propagation_test.py

* pytest:- one_hot_test.py

* pytest:- ONNXResize11_test.py

* pytest:- ReduceOps_test.py

* pytest:- reshape_test.py

* scatter_test.py

* pytest:- slice_test.py

* pytest:- split_test.py

* pytest:- squeeze_test.py

* pytest:- transpose_test.py

* pytest:- unsqueeze_test.py

* pytest:- upsample_test.py

* pytest:- common_test.py

* pytest:- broadcasting_test.py

* revert back ir_engine_test.py

* revertback :- custom_replacement_config_test.py

* revertback:- mo_fallback_test_actual.py

* revertback:- mo_fallback_test_tf_fe.py

* pytest:- layer_to_class_test.py

* revertback:- conversion_basic_models_test.py

* revertback:- conversion_incorrect_models_test.py

* revertback:- conversion_with_layout_test

* revertback:- constraints.txt

* revertback:- loader_test.py

* pytest:- Pack_test.py

* revertback:- freeze_placeholder_test.py

---------

Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
2023-10-10 12:42:49 +04:00
Xuejun Zhai
d205684aff
[C API] Fix coverity scan issue about GET_INTEL_GPU_PROPERTY_FROM_ARGS_LIST (#20330)
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-10-10 07:21:31 +00:00
Anton Voronov
aa6adcd261
Gather: removed indices normalization pass and added some checks for Gather-8 -> Gather-7 conversion (#19666)
* Do not normalize negative indices for Gather v8

* code style fix

* added transformation test with accuracy check for Gather-v8

* removed GatherNegativeConstIndicesNormalize transformation at all

* ConvertGather8ToGather7 conversion: added more checks

* Introduced shared Gather8withIndicesDataLayerTest: added CPU, GPU instances

* code style fix

* small fix

* review fixes

* do negative indices normalization if possible

* code style fix

* refactor cpu test instances

* code style fix
2023-10-10 11:17:33 +04:00
Mateusz Mikolajczyk
ef0c10df6c
[Opset13][pyAPI] Python API binary BitwiseAnd-13, BitwiseOr-13, BitwiseXor-13 (#20261)
* add xor

* Add and and or

* Add ch srequested in review
2023-10-10 09:04:06 +02:00
Sebastian Golebiewski
1e05949888
Changing file structure of Learn Openvino section (#20337) 2023-10-10 08:34:53 +02:00
Anton Voronov
c417d15432
[CPU] FullyConnected: sparse weights fix (#20117) 2023-10-10 10:24:38 +04:00
Ekaterina Aidova
67a62186ee
support aten::channel_shuffle (#20240)
* support aten::channel_shuffle

* remove getting rank
2023-10-10 08:16:26 +02:00
Maxim Vafin
feaf05cc5f
[PT FE] Support aten::max_poolnd_with_indices (#20322) 2023-10-10 08:00:02 +02:00
Maxim Vafin
d07b2ccc5f
[PT FE] Return dynamic shape when static shape exist in graph (#20289) 2023-10-10 07:59:46 +02:00
Wanglei Shen
60b82372d1
Support SRF in MT 2.0 on Linux (#20301)
* add test data for SRF on Linux

* update cpu map detection for Ecore only platform

* update test data for smoke test of streams generation

* update test data
2023-10-10 13:59:27 +08:00
Ilya Churaev
cf83750867
Move ConvEltwiseFuse to new API (#20331) 2023-10-10 09:32:18 +04:00
Ilya Lavrenov
e30f75bb4d
Rpath story (#20297) 2023-10-10 06:27:26 +02:00
hyunback kim
bf9bdaa671
Onednn3.3 (#19299)
* [GPU] oneDNN3.3 integration.
* Supports new formats from oneDNN3.3 requires.
* Fix Perf regression because of the wrong mvn kernel selection issue.
    modnet_webcam_portrait_matting.int8
    person-reidentification-retail-0248.int8
* support undefined onednn tag for using any tag instead.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2023-10-10 12:47:55 +09:00
Tomasz Jankowski
86d0bdb2db
[Ref] Drop legacy API - leftovers (#20271)
* Merge opt_kernel into reference

* Remove get_default_order

* Use ov:: in jit generators

* Remove unused template function

* Add reshape parameter for consistency with Op spec

* Add brief description and such

* Remove unused param from reshape ref

* Use C++ casting
2023-10-10 03:27:22 +02:00
Oleg Pipikin
9361c2c810
Refactor InterpolateLayerTest, IsInfLayerTest, LogSoftmaxLayerTest, LogicalLayerTest (#20196)
* Refactor InterpolateLayerTest

* Refactor IsInfLayerTest

* Refactor LogSoftmaxLayerTest

* Refactor LogicalLayerTest
2023-10-10 01:59:39 +02:00
Oleg Pipikin
b54e4c9924
Refactor MatMulTest, MaxMinLayerTest, Mvn1LayerTest (#20292)
* Refactor MatMulTest

* Refactor MaxMinLayerTest

* Refactor Mvn1LayerTest
2023-10-10 00:35:32 +02:00
Ilya Lavrenov
ead4b8a0ec
Moved cmake functions, variables to API 2.0 naming style (#20281)
* Merge Linux CC + static build + clang compiler

* Improvements

* Removed ie prefixes from cmake scripts

* Fixes for NPU
2023-10-09 22:30:32 +04:00
Ilya Lavrenov
cba4721cf6
Fixed wrong target usage in auto func tests (#20314) 2023-10-09 15:11:15 +04:00
Roman Lyamin
99de7818be
[GPU] Extended SupportedFusedOps for Concatenation (#20096) 2023-10-09 14:28:37 +04:00
Ilya Lavrenov
ba6a676484
Aligned tests with azure linux.yml (#20304)
* Aligned tests with azure linux.yml

* Apply suggestions from code review

fixed comments

Co-authored-by: Andrey Kashchikhin <andrey.kashchikhin@intel.com>

---------

Co-authored-by: Andrey Kashchikhin <andrey.kashchikhin@intel.com>
2023-10-09 12:55:26 +04:00
Wang Xin
904f992e0b
fix a wrong comment (#20307) 2023-10-09 12:44:42 +04:00
River Li
20a3a599da
[C API] add ov_shutdown API (#20305) 2023-10-09 12:36:52 +04:00
Mikhail Ryzhov
e1faf3ddd0
[GHA] Parallel test script code style (#20119)
* fixed code style

* extend logs

* fixed  comments

* comments
2023-10-09 10:23:57 +02:00
Ilya Lavrenov
142c6a4b67
Ability to compile samples without API 1.0 headers (#20299) 2023-10-08 23:24:28 +04:00
Ilya Lavrenov
ffbffed749
Enabled warnings as errors for static Ubuntu 22.04 (#20302) 2023-10-08 23:23:54 +04:00
Ilya Churaev
51afe489aa
Moved migrated classes to ov::test namespace (#20226)
* Moved migrated classes to ov::test namespace

* Revert redundant changes

* Fixed build
2023-10-08 17:16:24 +04:00
yanlan song
ad41d0f52f
rework auto test cases (#19862)
* initial commit

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

* clean up

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

* fix windows build failure

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

* enable auto func tests

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

* enable auto_func_test to ci

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

* some clean up in gpu case

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

* clang

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

* fix build warning

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

* enable new tests

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

* fix build warning

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

* enable consistency test

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

* try fix build error on manylinux

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

* enable cpplint

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

* enable clang-format

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

enable some tests

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

* fix typo

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

* clang for unit tests

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

* fix merge conflict

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

---------

Signed-off-by: fishbell <bell.song@intel.com>
2023-10-07 14:44:25 +04:00
Mikhail Ryzhov
7e7b6482aa
[GHA][HF] Switch python nightly tests to github runners (#20286)
* switched runners to GHA

* excluded timm models from nightly scope

* added sudo steps

* switched precommit too
2023-10-07 02:22:32 +04:00
Ilya Lavrenov
03dca44611
Small improvements in conan, vcpkg docs (#20272) 2023-10-06 23:11:03 +04:00