Commit Graph

12695 Commits

Author SHA1 Message Date
Mikhail Ryzhov
6f55feb592
[GHA] concurrency fix (#20040)
* fixed cancelation issue in post-commits

* hardcoded os suffix

* added comments

* Update .github/workflows/linux.yml

* improved condition to support release branches
2023-09-26 17:35:23 +02:00
Nadezhda Ageeva
784cce37b3
[HETERO]: Mask subgraphs by operations (#19834)
* [HETERO]: Mask subgraphs by operations

Fix GPU tests. Fix mapping of subgraphs inputs to outputs.

Raise exception on last device

Fix dot files dumping

Small fix

* [HETERO] Fix debug dump after https://github.com/openvinotoolkit/openvino/pull/19392/

* [HETERO] Second fix for debug dump after https://github.com/openvinotoolkit/openvino/pull/19392/
2023-09-26 19:11:11 +04:00
Roman Lyamin
1ba8005688
[GPU] Disabling redundant copying of constant weights (#18949) 2023-09-26 18:43:57 +04:00
Xuejun Zhai
845bbfc9c5
[C API] Fix the BOOLEAN in ov_element_type conflict with the typedefine in Windows.h (#19380)
* [C API] Fix BOOLEAN confict between Windows.h & ov_element_type_e in OV

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

* [C API] fix clang format

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

* [C API] Add test for BOOLEAN conflict

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

* [C API] fix clang format

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

* [C API] Fix warning & comments

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

* [C API] enable OV_BOOLEAN for windows & linux

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

* [C API] fix build error

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

* [C API] Remove WIN_BOOLEAN

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

* Update ov_windows_conflict_test.cpp

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-09-26 18:21:50 +04:00
Mateusz Tabaka
5384fe43df
Add EnableShapeOfConstantFolding transformation (#19880)
* Add EnableShapeOfConstantFolding transformation

Transpose sinking (that is used in TF frontend) disables ShapeOf constant folding
which prevents some optimizations further in the pipeline.
This patch introduces EnableShapeOfConstantFolding that removes DisableConstantFolding
from ShapeOf nodes.

Ticket: CVS-118890

* add description

* review comments

* headers
2023-09-26 15:53:23 +02:00
Anastasiia Pnevskaia
2bbfe7b44d
Added support of shapes and types from original FW in ov.convert_model() (#20009)
* Added support of shapes and types from paddle, torch and tf.

* Removed changes from requirements.

* Corrected test.

* Moved helper methods to utils.

* Separated tests by frameworks.

* Removed changes from complex_params test.
2023-09-26 17:41:01 +04:00
Vitaliy Urusovskij
c3565e3eac
ScatterNDUpdate, ScatterElementsUpdate, Roll layer tests to API2.0 (#20048)
* `ScatterNDUpdateLayerTest` to API2.0

* `ScatterElementsUpdateLayerTest` to API2.0

* `RollLayerTest` to API2.0
2023-09-26 15:29:40 +02:00
Pawel Raasz
79ff291314
[CI]Fix Azure openvino-lin build issues (#20045) 2023-09-26 15:29:31 +02:00
bstankix
5722609389
[DOCS] Bugfix coveo sa-search url (#20054) 2023-09-26 15:21:50 +02:00
Nadezhda Ageeva
9e7938106b
[Transformations] Fix unroll if transformation rt info (#20047)
* [Transformations] Fix unroll if transformation rt info

* Update test to check body names
2023-09-26 13:13:52 +00:00
Pawel Raasz
519f13a177
[core]Api 2.0/migrate logical reduce ops to new API (#20043)
* Migrate ReduceLogicalOr to new API

* Migrate ReduceLogicalAnd to new API
2023-09-26 14:45:19 +02:00
Xuejun Zhai
27decbbd48
[AUTO BATCH][FUNC TEST] keep naming style (#20046) 2023-09-26 12:28:16 +00:00
Vitaliy Urusovskij
a519770a87
ScatterUpdate, Select layer tests to API2.0 (#20010)
* `SelectLayerTest` to API2.0

* `ScatterUpdateLayerTest` to API2.0
2023-09-26 11:27:20 +00:00
Irina Efode
47dec42ca0
[CONFORMANCE] Provide correct numbers for rel_passed && rel_all (#20035) 2023-09-26 12:24:56 +02:00
Tatiana Savina
b6427ad0fb
format fixes (#20030) 2023-09-26 10:49:03 +02:00
Alexandra Sidorova
69c237f340
[Snippets] Created common static method is_supported_fq (#19775) 2023-09-26 11:12:41 +04:00
Anton Voronov
3ce48fc3d6
Fixed OV static build issues (#19976) 2023-09-26 10:23:00 +04:00
Ilya Lavrenov
5616c26d19
Debian packages on GHA (#20033)
* Refactored Linix GHA pipeline

* Move ONNX tests to Unit

* Install tests together with openvino

* Added checks for GNA usage in docs python snippets

* Install openssl for working pip

* Disabled onnx_dyn_shapes_expand_1_dyn_shape ONNX test

* exclude dyn shapes from onnx

* Migrated samples tests

* Fixed ONNX tests

* caches for PT tests dependencies

* Build Contrib separately from main OpenVINO

* More fixes

* Added python install for samples stage

* Installed manifests for ONNX FE tests

* Try to avoid libgl1 dependency in tests

* Clean-up

* Fixed issue with manifests in ONNX tests

* Try to build debian packages in GHA

* Fixed debian packages build for multi-config generators
2023-09-26 01:54:41 +04:00
Evgeny Kotov
d6d6888d7a
LPT opset12::Pad negative indexes support (#19430)
* changed unit tests

* add unit tests; fixed

* code review fixes

* remove debugging

* remove debug code

* add tests to ov_cpu_func_tests

* add negative padding tests to ov_gpu_func_tests

* code review fixes: change point to check positive indexes; check Pad mode in the list of currently supported

* code review fix: move check in canBeTransformed
2023-09-25 18:59:16 +00:00
Anastasiia Pnevskaia
999e9ef9ad
Removed unused code from OVC cli_parser. (#20034)
* cli_parser clean-up.

* cli_parser clean-up.
2023-09-25 20:44:05 +04:00
Sofya Balandina
947c7ba03a
[TEMPLATE] Disable ReferenceTopKTest topk_min/max_sort_none on MacOS (#19878)
* [TEMPLATE] Disable ReferenceTopKTest topk_min/max_sort_none on MacOs

* Apply suggestions from code review

disabled tests only for macOS x86_64, because they pass on Apple M1 / M2

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-09-25 16:26:51 +00:00
Wang, Yang
bf7fcb08e7
No exception throws when getting version from unregistered plugin (#19722)
* Updated the behavior of core.get_version() and added corresponding test cases.

* Remove the prompt message.

* Update src/inference/src/dev/core_impl_ie.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

---------

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
Co-authored-by: yanlan song <bell.song@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-09-25 17:43:21 +04:00
Ilya Lavrenov
85145cd60c
Refactored Linix GHA pipeline (#20021)
* Refactored Linix GHA pipeline

* Move ONNX tests to Unit

* Install tests together with openvino

* Added checks for GNA usage in docs python snippets

* Install openssl for working pip

* Disabled onnx_dyn_shapes_expand_1_dyn_shape ONNX test

* exclude dyn shapes from onnx

* Migrated samples tests

* Fixed ONNX tests

* caches for PT tests dependencies

* Build Contrib separately from main OpenVINO

* More fixes

* Added python install for samples stage

* Installed manifests for ONNX FE tests

* Try to avoid libgl1 dependency in tests

* Clean-up

* Fixed issue with manifests in ONNX tests
2023-09-25 17:00:30 +04:00
Andrey Kashchikhin
6d3f94762e
fix (#20037) 2023-09-25 16:44:14 +04:00
Mahimai Raja J
39f6cbf259
Refactored with single dispatch generic function implementation (#19958)
* Refactored with single dispatch generic function implementation

* Resolved mypy linting warnings

* Update src/bindings/python/src/openvino/preprocess/torchvision/torchvision_preprocessing.py

* Update src/bindings/python/src/openvino/preprocess/torchvision/torchvision_preprocessing.py

---------

Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>
2023-09-25 16:32:22 +04:00
Sofya Balandina
0dd54c8a0e
[apiConformance] Change test for ov::hint::inference_precision RW property (#19977) 2023-09-25 16:27:23 +04:00
Pawel Raasz
7d1b7b6bec
[core] Api 2.0/migrate operators without evaluate (#19988)
* Migrate ops evaluate

* Remove using ngraph and std from ops

* Use OPENVINO_ASSERT instead of NGRAPH_CHECK

* Move `shape_util.hpp` to `dev_api/openvino/core/`

* Remove visit_attributes, same as base impl

* Fix build issues

* Fix build issues
2023-09-25 14:22:59 +04:00
Piotr Krzemiński
a4e1f9dbf8
[Spec][Opset13] Multinomial specification (#19866)
* [Spec] Multinomial specification

* [Spec] Apply recommended style fixes to Multinomial_13.md

* [Spec] Add range mathematical formulation

* [Spec] Update Multinomial input types

* Update opset13.md

* Update opset.md

* Update docs/ops/generation/Multinomial_13.md

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

* Update Multinomial_13.md

* Update opset13.md

* Update docs/ops/generation/Multinomial_13.md

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

* Update Multinomial_13.md

* Update Multinomial_13.md

* Update Multinomial_13.md

* Update docs/ops/generation/Multinomial_13.md

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

* Update docs/ops/generation/Multinomial_13.md

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

* Update docs/ops/generation/Multinomial_13.md

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

* Update Multinomial_13.md

* [Spec] Replace 3107670 syntax with ..math

* Update Multinomial_13.md

* Update Multinomial_13.md

* Update docs/ops/opset13.md

Co-authored-by: Mateusz Mikolajczyk <mateusz.mikolajczyk@intel.com>

* [Spec] Apply changes from Ref/Core PR

* Update Multinomial_13.md

---------

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
Co-authored-by: Mateusz Mikolajczyk <mateusz.mikolajczyk@intel.com>
2023-09-25 10:54:40 +02:00
Yuan Hu
ec45107723
[CPU] Fix memory leak in binconv (#19999) 2023-09-25 12:45:25 +04:00
jmacekx
9091afc26c
[DOCS] use etree to fix docs generated by doxygen (#20024) 2023-09-25 10:38:58 +02:00
Katarzyna Mitrus
37271c1e7c
[Opset13][CPP] Initialization of Opset13 (#20005)
* Opset13 init

* Update test pattern ops

* Update remaining files
2023-09-25 10:20:37 +02:00
Oleg Pipikin
f82c668d28
Refactor GatherLayerTest, GatherElementsLayerTest (#20020)
* Refactor GatherLayerTest

* Refactor GatherElementsLayerTest
2023-09-25 11:29:57 +04:00
Roman Lyamin
2e88aa0770
[GPU] Added int32 weights support for reorder_weights kernels (#20015) 2023-09-25 09:23:47 +04:00
Sun Xiaoxia
c983b464ba
enable cpu pinning on Windows by setting property affinity CORE (#19418)
* set enableCpuPinning=true by '-p YES'

* add test case of setting ov::Affinity::CORE

* add affinity=NUMA/HYBRID_AWARW

* fix build failure
2023-09-25 12:51:09 +08:00
Andrey Babushkin
3e82849f3c
[workflows/linux] Switch to self-hosted runners in Azure Kubernetes Service (#19183)
* [workflows/liux] Trying AKS runners

* Remove sudo usages

* Fix repositories path

* Well, adding debug output

* execution bit?

* more debug output

* using bash...

* We should use shell syntax for env variables in 'run' sections

* again, may be we should use bash...

* fix cloning path for openvino repo

* more debug output

* Trying to populate WORKSPACE var in other way

* Trying different WORKSPACE

* export ALL variables for samples tests

* Trying to put openvino build into correct directory

* Replace more occurences of BUILD_DIR...

* Use shell expansion instead of Actions syntax in run steps

* Skip unit test failures

* Oops, there's no pytest for MO unit tests

* Oops, typo

* Fix LAYER_TESTS_INSTALL_DIR variable expansion

* Fix LAYER_TESTS_INSTALL_DIR for new stages

* Replace all the varibles

* Comment out CCACHE_DIR

I want to test worst-case scenario

* Comment setup ccache step

* Revert "Comment out CCACHE_DIR"

This reverts commit 046663a9f1.

* Just checking something

* Update with new stages from master

* One more stage to fix

* Fix INSTALL_DIR again (new stages were merged to master?)

* Remove concurrency limit (for test purposes)

* Trigger one more pipeline

* Disable concurrency settings

* Trigger another build

* Disable ccache (for testing purposes)

* trigger another build to measure duration without ccache

* And one more test commit

* Return back ccache

* Testing new image

* Enable concurrency back

* Using new image

* And another image

* Trying build on the clean image

* Install git

Upstream ubuntu image doesn't have git

* Oops, forgot apt-get update

* Upstream Ubuntu image, but using ACR cache

* Remove debug output

* Use Ubuntu image from ACR cache for the rest of the stages

* Display version of ccache

* Swith to ubuntu 20 temporarily (I hope)

* Set CCACHE_TEMP_DIR outside of shared space

* Revert "Swith to ubuntu 20 temporarily (I hope)"

This reverts commit 2e53109d83.

* trying ccche nohardlink option

* Trying to disable ccache file cloning

* fix CCACHE_TEMPDIR

* Install git to Python unit tests stage

* Install libsnappy-dev as tests require it

* Install python to test stage

* Fix env vars syntax in few places

* Update docker image name

* Increase timeout for CPU tests

* Debug output - trying to find out what's wrong with test reports

* Change file name in debug-output 'find' command

* let's try shell syntax for upload artifact action...

It most likely won't work but I see strange output in the logs:
Error: No files were found with the provided path: /__w/openvino/openvino/install/tests/TEST*.xml
/runner/_work/openvino/openvino/install/tests/logs/failed/*.log
/runner/_work/openvino/openvino/install/tests/logs/crashed/*.log
/runner/_work/openvino/openvino/install/tests/logs/hanged/*.log
/runner/_work/openvino/openvino/install/tests/logs/interapted/*.log
/runner/_work/openvino/openvino/install/tests/logs/disabled_tests.log. No
artifacts will be uploaded.

So the first path is translated to the path inside the container
correctly and the rest are not O_o

* Revert "let's try shell syntax for upload artifact action..."

This reverts commit eb19b4f319.

* Leave just disabled_tests.log (as it is the only one present)

* Use my own directory instead of github.workspace

Inside-container path translation doesn't work for upload-artifact
actions (it works only for the first path, but not for the rest)

* Revert "Leave just disabled_tests.log (as it is the only one present)"

This reverts commit 4321827880.

* Okay, let's try hardcoded workspace path...

* Okay, path should be inside "official" workspace. Hardcode it

* Missed some variables, replace github.workspace to hard-coded value

* Remove debug output 'find' command

* Remove old-style cache setup

* Clean ccache stats after cmake

* Change docker image to the one with non-root user

* Oops, switch to Ubuntu 20

* Playing with concurrency group name

* Oops, forgot sudo for ninja installation

* Revert "Oops, forgot sudo for ninja installation"

This reverts commit a7e1730279.

* Revert "Oops, switch to Ubuntu 20"

This reverts commit 19fe75f4af.

* Revert "Change docker image to the one with non-root user"

This reverts commit 553116492d.

* Use Ubuntu 20 DockerHub image

* Trying to force apt-get packages not to wait for user input

* Make DEBIAN_FRONTED for all stages

* Update reason of skipped MO unit test

* Add DEBIAN_FRONTED to all jobs

* Fix environment variables expansion in newly-added stages

* Update .github/workflows/linux.yml

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

* Update .github/workflows/linux.yml

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

* Fix review comments

* More review comment fixes

* Remove DEBIAN_FRONTEND from Python Models job

* "Get tools versions" step is absent on master

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-09-23 13:02:28 +04:00
Sun Xiaoxia
678e919b13
CPU pinning on Windows (#19405)
* add cpu pinning on windows

* remove pinning limitation on windows

* only support the machine with one numa node

* fix code style

* fix build error on macos

* set mask initial value

* fix test failure on window

* fix build failure on macos, add limitation on windows machine with two sockets

* fix test failure on windows

* fix test failure

* fix comments
2023-09-23 11:28:15 +08:00
Maxim Vafin
f735999e7b
Improve testing for hf models (#20017) 2023-09-22 20:10:33 +00:00
Pawel Raasz
93f2a1947c
Reduce binary size of CumSum implementation (#20004) 2023-09-22 20:41:32 +02:00
Pawel Raasz
efb8484124
[core] Api 2.0/migrate swish op to new API (#19934)
* Migrate Swish operator to new API

* Remove `visit_attributes` as is same in base class
2023-09-22 16:38:24 +04:00
Oleg Pipikin
ce378739f0
Refactor DetectionOutputLayerTest, DFTLayerTest, EltwiseLayerTest (#19922)
* Refactor DetectionOutputLayerTest

* Refactor DFTLayerTest

* Refactor EltwiseLayerTest

* Fix

* Fix

* Disable tests
2023-09-22 16:35:20 +04:00
Vladimir Paramuzov
5611f7d65c
[GPU] Fix constants reuse (#20003) 2023-09-22 15:29:38 +04:00
Mateusz Mikolajczyk
7a2ac27f09
[Spec][Opset13] BitwiseAnd-13, BitwiseNot-13, BitwiseOr-13, BitwiseXor-13 specifications (#19798)
* [Spec] BitwiseNot-13 specification

* Improvements

* add other specifications

* Doc improvements

* Fix typos

* add opset13

* Fix typo

* add opset13

* Fix

* Improve example?

* Fix step formatting

* Apply suggestions from code review

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

* Add suggested changes

* Fix missing the

---------

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
2023-09-22 13:14:46 +02:00
Maciej Smyk
fb41324141
Update weight_compression.md (#20000) 2023-09-22 13:06:27 +02:00
Ekaterina Aidova
c76475288b
[PT FE]: support aten::scatter_reduce and extend aten::scatter (#19980)
* [PT FE]: support aten::scatter_reduce and extend aten::scatter out arg support

* create mapping inside function
2023-09-22 15:05:33 +04:00
Pavel Esir
9271b79540
[OVC] do not parse inputs for py_api (#19742)
* [OVC] do not parse inputs

* fix unit-tests

* remove redundant lines, add test case

* add one more unit-test

* skip None values

* replace str with List in test_mo_import_from_memory

* corrected type hints, added a safety assert
2023-09-22 15:05:21 +04:00
Oleg Pipikin
c1271d1217
Refactor EmbeddingBagOffsetsSumLayerTest, EmbeddingBagPackedSumLayerTest, EmbeddingSegmentsSumLayerTest (#19952)
* Refactor EmbeddingBagOffsetsSumLayerTest

* Refactor EmbeddingBagPackedSumLayerTest

* Refactor EmbeddingSegmentsSumLayerTest
2023-09-22 10:12:28 +00:00
Ekaterina Aidova
26d18c924b
[PT FE]: support aten::broadcast_tensors (#19994)
* broadcast tensors

* [PT FE]: support aten::broadcast_tensors

* apply review comments

* remove add
2023-09-22 13:54:44 +04:00
Maxim Vafin
2151e5f979
[PT FE] Add tests for timm models (#19997)
* Add tests for timm models

* Apply suggestions from code review

* Some improvements

* Update tests/model_hub_tests/torch_tests/test_transformers.py
2023-09-22 10:34:07 +02:00
Pawel Raasz
e7c1344d3c
[core] Api 2.0/migrate Add operator to new API (#19984)
* Migrate Add operator to new API

* Remove `visit_attributes` as it calls base impl

* Use shape inference to calculate broadcast shape
2023-09-22 11:57:02 +04:00
Pawel Raasz
aa293c09ac
[core]Api 2.0/migrate ceiling op to new API (#19909)
* Migrate Ceiling op to new API

* Remove f16 precision from evaluate

* Correct ceiling reference doxy comments
- correct functor arg to be const
2023-09-22 10:53:41 +04:00