Commit Graph

12608 Commits

Author SHA1 Message Date
Nikita Malinin
064a18eb09
[POT] Change python version to 3.8+ (#20071)
* Change python version to 3.8+

* Fix tests
2023-09-27 18:01:34 +04:00
Maciej Smyk
129126bddc
[DOCS] Release Notes files location update for master (#20085)
* release_notes

* update-1
2023-09-27 17:51:47 +04:00
Min, Byungil
b8f6720c18
[Doc] Fix invalid info in bulid_linux.md (#20076)
Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-09-27 14:14:53 +04:00
Andrei Beleiu
b5f4087f66
[transformations][WeightsDequantizeToFakeQuantize] Extend pattern matching (#19772)
* [transformations] WeightsDequantizeToFakeQuantize: Extend pattern matching with the case when both Subtract inputs are Convert

* [transformations] WeightsDequantizeToFakeQuantize: Added new tests to cover the extention added to pattern match

* Fix review comments
2023-09-27 10:06:06 +01:00
Sonder
5079c50bb8
Update the regular syntax in cmakelist (#20066) 2023-09-27 12:26:17 +04:00
Ilya Lavrenov
a6e7bac962
Added RISC-V Conan build (#20064) 2023-09-27 12:24:20 +04:00
Maciej Smyk
edfb951876
[DOCS] Toctree update for Plugin articles for master (#20061)
* toctree update

* Update step3_main.md
2023-09-27 09:32:11 +02:00
Mateusz Mikolajczyk
f5fe664fb7
[Ref][Core][Opset13] Add BitwiseNot operation (#19956)
* [Ref][Core][Opset13] Add bitwise_not operation

* Fix CI issues + add missing test

* improve test

* formatting

* Requested changes

* Remove unused include

* Add requested changes

* Try to fix test problems

* Fix CI

* Fix type validation

* Add checks in template eval
2023-09-27 08:17:53 +02:00
hyunback kim
4ea370c172
[GPU] Support bfwzyx format in strided_slice. (#20027)
* [GPU] Support bfwzyx format in strided_slice.

GroundingDino model needs 6dims format.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2023-09-27 10:39:16 +09:00
Anastasia Kuporosova
9dfed28aed
[PyOV] Make openvino properties behave as python property object (#20007)
* properties as property

* working prototype

* another attempt

* fix for test

* cosmetic changes

* generate properties

* test upste

* add comments

* update submodules

* apply comments
2023-09-26 21:38:53 +02:00
Irina Efode
2742752747
[CONFORMANCE] Provide plugin impl status based on QM instead of compile_model (#20036) 2023-09-26 23:01:27 +04:00
Ilya Lavrenov
8349849e1c
Use FindPython3.cmake (#19847)
* Use FindPython3.cmake

* Fixed compilation on macOS 14 with new core development tools

* Try to use Python3_SOABI instead of PYTHON_MODULE_EXTENSION

* Use Development.Module

* Keep specifying only Python3_EXECUTABLE

* Print PYTHON_MODULE_EXTENSION

* Added check for minimal cmake version for python API

* Returned Python3_INCLUDE_DIR for cross-compilation case

* Try to allow cmake older than 3.18

* Use build python interpreter to check cython dependency

* revert changes in .ci/openvino-onnx/Dockerfile

* removed unused code

* Fixed issue with variables scope

* Experiment: remove include dirs

* Corrected docs

* Use pybind11 function to set extension

* Revert "Experiment: remove include dirs"

This reverts commit 6f7f90211c.

* Refactor ConvolutionBackpropDataLayerTest, ConvolutionLayerTest, DeformableConvolutionLayerTest (#19810)

* Refactor ConvolutionBackpropDataLayerTest

* Refactor ConvolutionLayerTest

* Refactor DeformableConvolutionLayerTest

* Apply comments

* Apply comments

* Fix

* Updated minimum cmake version for Windows

* Simplified check

* Removed useless message status

* Use puiblic option

---------

Co-authored-by: Oleg Pipikin <oleg.pipikin@intel.com>
2023-09-26 20:57:29 +02:00
Oleg Pipikin
7852b44c5f
Refactor GrnLayerTest, GroupConvBackpropLayerTest, GroupConvolutionLayerTest, GRUCellTest (#20026)
* Refactor GrnLayerTest

* Refactor GroupConvBackpropLayerTest

* Refactor GroupConvolutionLayerTest

* Refactor GRUCellTest
2023-09-26 19:28:45 +02:00
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