Commit Graph
399 Commits
Author SHA1 Message Date
Roman Kazantsev 5539d052b0 [JAX][TF Hub][TF FE] Introduce JAX layer tests and support of XLA operations (#19269)
* [JAX][TF Hub][TF FE] Introduce JAX layer tests and support of XLA operations

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

* Fix JAX layer tests infa

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

* Extend run for JAX layer tests

* Use ovc convert_model

* Fix translator and extend layer test cases

* Exclude jax testing on Windows

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-21 16:01:48 +04:00
Anastasiia Pnevskaia 59872ee072 Removed InputCutInfo, disabled input cut in OVC. (#18927)
* Fixed output_model logic.

* Removed InputCutInfo, disabled input cut in ovc.

* Disabled output cut, added tests for setting shapes or types for not all inputs.

* Returned support of numpy type.

* Separated MO and OVC python API tests.

* Small corrections.

* Added output dir test, exceptions test.

* Tests fixed.

* Corrected extension param description.

* Corrected input description, minor code corrections.
2023-08-10 23:47:27 +04:00
Ilya Lavrenov 678c2954ed Properly handle python-package in cpack exclude components (#19089) 2023-08-09 21:10:13 +04:00
Ilya Lavrenov b616cb1212 Try to detect linux-arm64 samples build failure (#18984) 2023-08-04 23:13:14 +04:00
Przemyslaw WysockiandJan Iwaszkiewicz 211c27d0b7 Add MO to PYTHONPATH in lin-debian Azure job (#18959)
* Add MO

* Update .ci/azure/linux_debian.yml

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>

* Add MO reqs

* Fix deps

---------

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2023-08-03 14:36:03 +04:00
62fa09a181 [PyOV] Add torchvision to OpenVINO preprocessing converter (#17934)
* Some progress

* refactoring

* Refactor tests, run black

* Refactor, flake

* Minor change

* Add support for num_output_channels

* WIP

* Add dependency

* Almost done

* Fix flake

* Add MO convert

* Minor changes

* Add interpolation mode tests

* Add requirements for preprocessing

* Fix linter

* Update tests

* Fix type error

* Introduce typing

* Rename module

* Code review

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

Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>

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

Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>

* CR changes

* Fix mypy

* Minor change

* Minor change

* Fix flake

* typing change

* Update types

* Add tools to pythonpath

* Add MO reqs

* Minor change

* Fix PT FE issue

* bugfix

* Use absolute path

* Debug

* Debug req path

* Change MO to OVC

* Enable PT FE building

* Debug

* Skip some tests on ARM

* ADd ticket numbers

* Some progress

* refactoring

* Refactor tests, run black

* Refactor, flake

* Minor change

* Add support for num_output_channels

* WIP

* Add dependency

* Almost done

* Fix flake

* Add MO convert

* Minor changes

* Add interpolation mode tests

* Add requirements for preprocessing

* Fix linter

* Update tests

* Fix type error

* Introduce typing

* Rename module

* Code review

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

Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>

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

Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>

* CR changes

* Fix mypy

* Minor change

* Minor change

* Fix flake

* typing change

* Update types

* Add tools to pythonpath

* Add MO reqs

* Minor change

* Fix PT FE issue

* bugfix

* Use absolute path

* Debug

* Debug req path

* Change MO to OVC

* Enable PT FE building

* Debug

* Skip some tests on ARM

* ADd ticket numbers

* Update test val

* Change pytest version

* Modify GH workflow

* Update cmake

* Update cmake

* fix cmake

* Skip tests on ARM

* Fix after OVC MO changes

* Limit torch requirements

* Raise allowed diff in test

* Debug - remove new bindings

* Debug - remove interpolation modes

* Debug - change test

* Cleanup

* Minor change

* Disable on ARM and Py<38

* Update ARM marker

* limit torchvision for ARM

---------

Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>
Co-authored-by: gklodkox <gracjanx.klodkowski@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-08-02 16:44:30 +04:00
Anastasia Kuporosova 6dd88d76d3 [PyOV] try to run add_extension_test (#18900)
* [PyOV] try to run add_extension_test

* rename flag

* try to run extension test on linux

* run on linux
2023-08-02 11:14:03 +04:00
Przemyslaw Wysocki 4a6282a6f5 Move ONNX FE tests into ONNX FE directory (#18259) 2023-08-01 10:41:05 +02:00
Alexandra Sidorova 4bef661f7a [Snippets][CI] Added ov_snippets_func_tests validation to Azure CI (#18844)
* [Snippets][CI] Added Snippets Func Tests to Azure Windows

* [Snippets][CI] Added Snippets Func Tests to Azure Linux

* [Snippets][CI] Added Snippets Func Tests to GitHib workflow Linux

* [Snippets][CI] Added Snippets Func Tests to GitHib workflow Windows

* [Snippets][CI] Added Snippets Func Tests to Azure Linux Debian
2023-07-28 15:23:10 +00:00
Nadezhda Ageeva a930c74143 [HETERO] Fix problem with ov_hetero_unit_tests (#18794)
* [HETERO] Fix problem with ov_hetero_unit_tests

* FIX 2

* Rename ov_hetero_unit_tests -> ov_hetero_func_tests
2023-07-26 16:12:22 +04:00
Nadezhda Ageeva e2c3d0fe73 Disable hetero tests on linux_debian (#18781) 2023-07-25 17:14:26 +04:00
Nadezhda AgeevaandVitaliy Urusovskij be02d1a3c9 [HETERO] Implement get_runtime_model function (#18586)
* [HETERO] Implement get_runtime_model function

* [HETERO] Adds unit tests

Update src/plugins/hetero/tests/unit/properties_tests.cpp

Co-authored-by: Vitaliy Urusovskij <vitaliy.urusovskij@intel.com>

* Temporarily disable GA

---------

Co-authored-by: Vitaliy Urusovskij <vitaliy.urusovskij@intel.com>
2023-07-25 12:30:04 +04:00
Ilya Lavrenov 86c68fffe4 Removed Intel Myriad headers from new API (#18736)
* Removed Intel Myriad from new API

* Renamed GPU unit tests
2023-07-24 16:20:08 +04:00
Alexandra Sidorova 440c05d5b9 [CI][NVIDIA] Fixed test names (#18585) 2023-07-17 17:47:19 +04:00
Ilya Lavrenov 82fe1677d0 Revert "Use system gflags only in samples (#18478)" (#18543)
This reverts commit bca3f3e441.
2023-07-13 21:05:55 +04:00
Ilya Lavrenov bca3f3e441 Use system gflags only in samples (#18478) 2023-07-13 20:45:22 +04:00
Oleg Pipikin d6c0289008 Move common test utils (#18339)
* Move common test utils

* Apply comments

* Comments 2
2023-07-10 12:48:24 +00:00
Ilya Churaev e5abe855b7 Fixed post commit (#18433) 2023-07-07 16:31:09 +04:00
Ilya Churaev b69190c2c1 Proxy plugin 2.0 (#17416)
* Initial commit for proxy plugin

* Include proxy to openvino library

* Fixed some tests

* Added plugin properties

* Added readme

* Support Compile model for the proxy plugin

* Fixed python

* Remove gmock

* Fixed some tests

* Fixed load plugin tests

* Removed internal PROXY_FALLBACK_PRIORITIES initialization property

* Fixed code style

* Added new tests

* Create architecture.md

* Fixed some proxy tests

* Implement not implemented functions

* Fixed ICore mock

* Remove redundant code

* Added import/export tests

* Fixed hetero import/export tests

* Fixed ICore mock

* Fixed import tests

* Fixed build

* Remove redundant parse config

* Fixed some comments

* Try to fix Windows build

* Fixed incorrect logic

* Small fix in tests

* Fixed python API

* Fixed typo

* Try to fix python

* Switch GPU under proxy

* Fixed GPU name

* Revert GPU plugin under proxy

* Small changes in CMake files

* Temp commit

* Build without proxy

* Revert "Temp commit"

This reverts commit 1ac9824bdf.

* Fixed test linking

* Removed tests from ncc check

* Add option to disable proxy plugin

* Fixed minor comments

* Disable some proxy tests if IR frontend is disabled

* Enable Intel GPU under the proxy

* Fixed typo

* Fixed segfault in tests

* Small fix for case if only GPU is registered

* Fixed code style

* Added remote context tests

* Added proxy tests to CI

* Fixed mock engine

* Test change

* Revert "Test change"

This reverts commit 2d1d67766f.

* Add new tests

* Removed some tests

* Revert "Removed some tests"

This reverts commit 090398652f.

* Revert incorrect logic

* Removed unused variables

* Use original name for the GPU plugin

* Fixed CMake

* Do not show hidden devices

* Try to fix GPU remote context

* Fixed GPU plugin build

* Added interface for proxy remote context

* Remove local properties

* Remove redundant API

* Fixed typo

* Added remote tensors

* Fixed code style

* Fixed some comments

* Unwrap remote tensors before conversion to Blob

* Added cast for legacy API

* Fixed some cldnn tests

* Do not add preprocessing for proxy plugin

* Enabled more tests and wrap tensors in infer request

* Use hardware request inside conversion wrapper

* Fixed hand on cache calculation

* Try to fix some tests

* Support set tensor for remote tensors in proxy plugin

* Revert "Support set tensor for remote tensors in proxy plugin"

This reverts commit 5a927de590.

* Remove redundant friend from compiled model and fix life time for infer
request

* Fixed code style

* Add additional so pointers to the tensor

* Rewrite approach for compile model and tensor

* Removed API from proxy

* Fixed is/as Blob for wrapped Blobs

* Wrap tensor when set tensor to plugin

* Fixed recursive call

* Don't unwrap tensors for AUTO plugin

* Fixed Some Multi tests with remote blob for proxy

* Align context name with tests

* Fixed code style

* Try to fix more tests

* Some minor changes

* Try to fix OVHoldersTests

* Try to save low level SO in high level wrappers

* Revert "Try to save low level SO in high level wrappers"

This reverts commit 430ff8a526.

* Revert "Try to fix OVHoldersTests"

This reverts commit 32604f0d3e.

* Disable some tests

* Fixed DynamicBatchShapeTests

* Fixed caching tests and skip OVHoldersTest

* Small refactoring

* Fixed import model

* Small fix

* Fix typo which causes fails of caching tests

* Disabled AUTO BATCH for proxy device

* Support Export in Auto batch

* Small changes

* Fixed initialization fallback to plugin with proxy name

* Added more values for tests

* Ask all devices and create context if no device id

* Support export in auto batch

* Fixed some comments

* Fixed some comments and removed auto batch

* Fixed some comments

* Fixed auto batch test and some comments

* Fixed build

* Removed proxy plugin class from dev api

* Fixed code style

* Fixed disabled tests
2023-07-07 13:45:20 +04:00
Anastasiia Pnevskaia 25ead3a09a Added tools/ovc to PYTHONPATH for MO unit tests. (#18365)
* Added ovc to PYTHONPATH for MO unit tests.

* Small correction.

* Corrected PYTHONPATH for legacy FE layer tests.

* Corrected PYTHONPATH for TFL FE layer tests.
2023-07-04 22:12:19 +04:00
Anastasiya(Asya) Pronina 84d35ab6f9 Removed compile_tool and benchmark_app_legacy from OpenVINO repo (#18350) 2023-07-04 19:35:51 +04:00
5d399faa64 convert_model() in openvino.runtime. (#18080)
* Used pip wheel to build OpenVINO wheel

* Added convert_model() to openvino.runtime.

* Removed duplication of InputCutInfo, LayoutMap

* Switched Model Conversion API tests to convert_model from openvino.runtime.

* Small correction.

* Format correction.

* Small correction.

* Removed duplication of moc frontend files.

* Small correction.

* Removed duplication of cli_parser, offline_transformations.

* Code corrections.

* Removed code duplications.

* Removed code duplications.

* Updated codeowners.

* Switched layer tests to convert_model().

* Improvements

* Small correction.

* Caffe parser path fix.

* Added python api properly into deb / rpm packages

* Moved implementation to ovc tool.

* Moved implementation to ovc tool.

* Small correction.

* Use cmake -E variant from cmake 3.13

* Namespace fixes.

* Minor fixes.

* Pylint fixes.

* Fixed BOM file.

* Small corrections.

* Minor corrections.

* Minor fix.

* Error fixes.

* Added telemetry requirement.

* Improvements to fix CI

* Some refactoring

* Don't use developer package for scripts projects

* Added exception in case when MO is not imported.

* Removed exception from init.

* Removed changes from cmake.

* Added unit ovc tests, fixed minor errors.

* Added ovc unit tests to azure.

* Corrected imports.

* Fixed path to tests.

* Added missed files.

* Corrected github labels.

* Removed benchmark app from dev package.

* Small fix.

* Small corrections.

* Comment fixed.

* Removed changes from setup.py

* Removed not needed change.

* Removed duplicating unit tests.

* Removed wrong change.

* Removed not needed change.

* Apply suggestions from code review

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

* Added ovc tool test, corrected imports.

* Added legacy TF config test.

* Removed not needed files.

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-06-30 18:26:14 +04:00
Ilya Lavrenov 15e69c280a Used pip wheel to build OpenVINO wheel (#18029)
* Used pip wheel to build OpenVINO wheel

* Improvements

* Added python api properly into deb / rpm packages

* Use cmake -E variant from cmake 3.13

* Improvements to fix CI

* Some refactoring

* Don't use developer package for scripts projects

* Final fixes
2023-06-23 09:17:02 +04:00
Ilya Lavrenov c970d576a3 Fixed build of wheel package in tatic build (#18170) 2023-06-21 20:03:48 +04:00
yanlan song 684ae645d5 fix post ci failure (#18159)
Signed-off-by: fishbell <bell.song@intel.com>
2023-06-21 03:37:44 +00:00
yanlan songandChen Peter 05e8bd375e Bell/auto api 2.0 (#17805)
* 2.0 innitial

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

* enable all tests

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

* remove unecessary files

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

* move container header to auto foler, remove uncessary macro define

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

* enable caching

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

* enable query_model

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

* support loaded_from_cache property

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

* fix some build warning

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

fake inputs/outputs if needed

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

* resolve conflict

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

* skip unsupported test

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

* use mock icore from common foler

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

* fix failure for remote tensors

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

* apply ppp related fix in auto

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

* fix build warning on windows

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

* fix ppp output layout issue

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

* fix ppp output layout issue

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

* clean up headers

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

* log formatting

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

* enable fps logging for binder mode

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

* apply review comments

apply review comments

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

* remove all legacy namings, exenetwork/network/metric/IE etc

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

* update readme

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

* fix build lto issue

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

* minor wording

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

* case fix

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

---------

Signed-off-by: fishbell <bell.song@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-06-21 00:10:59 +08:00
Ilya Lavrenov 2b05cf4d00 Build only release for vcpkg (#17990) 2023-06-13 01:49:49 +04:00
Ilya Lavrenov 50c85f01ab ARM static build (#17970) 2023-06-10 23:40:39 +04:00
Ilya Lavrenov a0119fe33c Android debug build (#17955) 2023-06-09 08:03:10 +04:00
Ilya Lavrenov 2ff430fa80 Try to use system flatbuffers on Android (#17954) 2023-06-08 21:22:33 +04:00
Zlobin Vladimir 55ddbcaf23 cpp/samples: update build (#17900)
* cpp/samples: update build

Ticket 111295

* Fix sample_type extraction

* Fix inputLog type

* include <limits>

* Add missing const

* Revert cpp/speech_sample error message

* update azure CI
2023-06-08 19:30:29 +04:00
Ilya Lavrenov 97532622cb Fixes for deployment manager (#17899) 2023-06-08 18:31:55 +04:00
Ilya Lavrenov b1b1014a34 Enable python API in deb / rpm packages (#17923)
* Enable python API in debian package

* Enable python API in debian package
2023-06-08 15:35:27 +04:00
Ilya Lavrenov 13e9752012 Use tbb from vcpkg (#17891) 2023-06-06 09:12:16 +04:00
Ilya Lavrenov 2799fe9855 Install all python build artifacts to a single folder (#17883) 2023-06-05 18:12:17 +02:00
Ilya Lavrenov 6d42a15e07 Use 2023.0.0 debian packages on CI (#17840) 2023-06-01 15:23:08 +04:00
Ilya Lavrenov 7697bacfca Use OpenCL from CCI (#17839) 2023-06-01 15:04:32 +04:00
Ilya Lavrenov 0b6b16c83a Added vcpkg build to CI (#17808) 2023-06-01 10:31:10 +04:00
Ilya Lavrenov 334114844d Building Linux arm64 samples (#17767) 2023-05-28 17:04:51 +04:00
Ilya Churaev 1dad2c003b Move Python tests to the end of CI Pipeline. (#17716)
* Move Python tests to the end of CI Pipeline.

First of all we need to run tests on C++ in order to show C++ issues

* Move CPU func tests to the end of pipeline

* Changed Windows
2023-05-26 07:06:18 +04:00
Ilya Lavrenov a21fe95ae6 Enabled fdupes checks for Linux arm64 (#17711) 2023-05-24 23:14:29 +04:00
Szymon Irzabek 59555872f9 [GNA] Switch GNA library to version 03.05.00.2116 (#17683) 2023-05-24 14:04:03 +01:00
Ilya Lavrenov 4c92ffa563 Build wheel arm64 packages using cross-compilation (#17635) 2023-05-23 00:31:35 +04:00
Ilya Lavrenov ef9b3e3cd1 ARM Compute Library flags (#17640) 2023-05-22 13:23:43 +04:00
Ilya Lavrenov 84db7d0ee6 Build using conanfile.txt (#17580)
* Build using conanfile.txt

* Update .ci/azure/linux_arm64.yml

* Several improvements

* Removed conanfile.py

* Try to use activate / deactivate

* Fixed clang-format code style

* Supported TBB version from Conan

* Added more NOMINMAX

* Fixed static build

* More improvements for static build

* Add usage of static snappy in case of static build

* More fixes

* Small fixes

* Final fixes
2023-05-19 14:01:39 +04:00
Surya Siddharth Pemmaraju e14d1b2a07 Torchscript backend (#17132)
* Added torch script backend

* Added ts_backend to pytorch layer tests

* Added use_ts_backend fixture to the test suite to activate the
torchscript backend

* Fixed failing test_dict layer test

* Added USE_TS_BACKEND as an env variable

* Removed use_ts_backend fixture

* Added more tests for ts backend

* Added more information in the comments about usage

* Removed convolution3d test from precommit_ts_backend

* Added some torchscript backend tests to ci

* Removed tests from CI as torch.compile doesn't support 3.11 currently

* Fixed linter issues

* Addressed PR comments and linter issues
2023-05-17 14:58:38 +02:00
River LiandChen Peter 48fdee3a72 [AUTO_BATCH]Create separated auto_batch plugin testcase (#15051)
* Create separated auto_batch plugin testcase

* Add test sample into azure

* Move to auto_plugin directory

* Fix CI build issues

* move batch test cases from gpu/cpu/template plugin to auto batch plugin

* Check OpenCL to decide whether enable auto_batch gpu test cases

* Revert "move batch test cases from gpu/cpu/template plugin to auto batch plugin"

This reverts commit 9f4f2ce1af.

* Add functional tests for auto_batch

* Runtime check gpu available to decide whether run gpu test cases

* Remove HW plugins from functional test

1. Apply Template plugin for auto_batch functional test
2. Remove unnecessary code

* Restore some original tests

* Apply new api property replace old config

* Solve warning suppressions issue

* Fix CI build error

* Solve CI failure issues

* Fix getOutputsFromFunctionWithSeveralOutputs bug

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-05-16 16:37:58 +08:00
Roman Kazantsev 7464b4d396 [MO][TF FE] Recover MOC TF FE unit-tests in the pre-commit (#17233)
* [MO][TF FE] Recover MOC TF FE unit-tests

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

* Fix python environment to get test_util

* Correct Python environment for MO UT tests

* Correct Python env for linux-debian

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-05-03 23:39:46 +00:00
Ilya Lavrenov 2ae23dd1ad Fixed Python API build for Ubuntu 22.04 with python3.11 (#17297) (#17298)
* Fixed Python API build for Ubuntu 22.04 with python3.11

* Update ONNX CI docker to test python 3.11 and system pybind11
2023-04-29 04:34:10 +04:00
Ilya Lavrenov 0374a65fad Fixed cpplint for arm (#17296) 2023-04-29 01:31:42 +04:00