Commit Graph
368 Commits
Author SHA1 Message Date
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
Ilya Lavrenov a34ef680f2 Made plugins.hpp generation to be CONFIG dependent (#17139) 2023-04-24 14:48:45 +04:00
Ilya Lavrenov d5cc696e00 Removed contrib repo usage from Linux ARM64 Azure Pipeline (#17016)
* Removed contrib repo usage from Linux ARM64

* Removed contrib repo usage from Linux ARM64
2023-04-18 21:33:49 +04:00
Przemyslaw WysockiandIlya Lavrenov d72d833a96 [PyOV] Enable Python 3.11 (#15144)
* Bump ONNX version

* Bump protobuf

* Add xfails and skips

* Add tickets

* Skip ONNX Serialization tests

* Compile ONNX with C++17

* Force cpp17 - 2

* Use MSVC check

* Relax python reqs, enable 311 in azure

* Fix setupvars error

* Ignore watchdog error

* Update tensorflow

* Minor change

* Bump onnx to 1.13.1

* Bump protobuf to 3.20.3

* Debug test tf

* Xfail tests in comp

* Update comp tests

* Update tf reqs

* Remove deprecated ONNX function

* Align PDPD FE protobuf req with 2.4.1

* Satisfy dependency review

* Attempt to fix dependency review

* Revert pdpd protobuf

* Skip pdpd tests

* Fix MO-TF-PB test

* Skip TF test case

* Enable py311 on rest of jobs

* Try disabling pdpd req

* Exclude pdpd form cmake

* Update .ci/azure/linux.yml

Fixed unmerged merge-conflict

* CR

* Fix reqs

* Skip pdpd tests

* Disable pdpd tests building in cmake

* Skip another pdpd cmake

* Add file

* Add paddle constraint to tests

* Disable paddle reqs

* Debug prints

* Skip TF test if Python ver is 3.11

* Apply Mish cr comments

* Debug

* Debug

* Constrain tensorflow_addons

* Fix pdpd skipping

* Add debug prints

* Update skips

* Remove prints

* Minor change

* Update OMZ commit

* Fix some tests

* Minor change

* Disable pdpd at all

* Disable pdpd at all

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-04-17 13:30:17 +04:00
Ilya Lavrenov 418f70abb0 Improvements related to arm support (#16892) 2023-04-12 23:02:57 +04:00
Ilya Lavrenov 5b203efb9c Disable PDPD test on Linux debian post-commit (#16644) 2023-03-30 12:24:17 +04:00
Ilya Lavrenov 2638014d00 Enable build with system version of snappy (#16549)
* Enable build with system version of snappy

* Create Snappy::snappy alia
2023-03-27 10:01:11 +04:00
Przemyslaw Wysocki 52b27d82c5 Upgrade ONNX to 1.13, protobuf to 3.20.3 and relax tensorflow (#14773)
* Bump ONNX version

* Bump protobuf

* Add xfails and skips

* Add tickets

* Skip ONNX Serialization tests

* Compile ONNX with C++17

* Force cpp17 - 2

* Use MSVC check

* Update tensorflow

* Minor change

* Bump onnx to 1.13.1

* Bump protobuf to 3.20.3

* Debug test tf

* Xfail tests in comp

* Update comp tests

* Update tf reqs

* Remove deprecated ONNX function

* Align PDPD FE protobuf req with 2.4.1

* Satisfy dependency review

* Attempt to fix dependency review

* Revert pdpd protobuf

* Skip pdpd tests

* Fix MO-TF-PB test

* Skip TF test case

* Add ticket numbers, rewrite reqs

* Fix requirements

* Minor change

* Set TF to 2.12

* Remove wrapt and skip test
2023-03-24 00:43:01 +04:00
Xuejun Zhai 05866f05ea Update ONNX Runtime from rel-1.8.1 to rel-1.14.0 (#16184)
* Update ONNX Runtime from rel-1.8.1 to rel-1.14.0

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

* Upgrade Cmake to 3.24.0

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

* Revert "Upgrade Cmake to 3.24.0"

This reverts commit 04a00f60c0.

* Update CMake to version 3.24.0

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

* Skip CApiTest.test_custom_op_openvino_wrapper_library test for tmp, will add back with the new ONNX Runtime version

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

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-03-16 07:14:51 +04:00
River Li 0ca3ccb7fb [CAPI][TEST] remove testdata repository dependency (#16259)
* [CAPI][TEST] remove testdata repository dependency

Change-Id: I93798d47bcf4abf69562f76aab1469498b4e9ee1

* SCI issue

Change-Id: Ifb422fafdefe26be85a0ae8efdc1530f7f032079

* Apply TEST SUIT for C API tests

Change-Id: Ic716cdb357060e1cbf989871ae39d006f2878632

* Fix issue for static build

Change-Id: I5d33f23b48dcda4baf260553aa8d34e62c13c128
2023-03-14 12:34:33 +00:00
Ilya Lavrenov 1874c072b2 switched public Azure Linux build to clang (#16198)
* switched public Azure Linux build to clang

* Fixed GNA compilation

* Suppressed warning in GNA tests

* switched public Azure Linux build to clang

* Fixed GNA compilation

* Suppressed warning in GNA tests

* More fixes

* Skip test on CPU
2023-03-11 11:01:27 +04:00
Ilya Lavrenov 6586742204 Disable sentencepiece extension in static build (#16194)
* Disable sentencepiece extension in static build to prevent double linking of protobuf

* Update .ci/azure/windows.yml
2023-03-10 09:35:36 +04:00
Ryszard Jezierski 1051226fc9 Updated GNA lib version to 1906 (#16122) 2023-03-09 14:58:46 +00:00
River LiandChen Peter 4d7bffa593 [UT][AUTO_BATCH]auto batch plugin unit test (#15211)
* Init auto_batch plugin unit test

* Add more mock test

* Add to ci yml file

* Fix clang issue

* Resolve compilation issue

* Fix symbol multiple definition in static build

* Add test cases for AutoBatchInferRequest

* Add test cases for AutoBatchAsyncInferRequest

* qFixed build error after PR-15229

* Resolve blocked issue when call StartAsync test cases

* add more test for auto batch async inference

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-03-07 11:55:26 +08:00
Anastasiia Pnevskaia 9efdb38b96 convert_model() legacy extensions fix (#15742)
* Fixed legacy extensions passing to MO tool.

* Added tests.

* Corrected test.

* Add debug print.

* Moved tests to layer tests.

* Added comment.

* Moved legacy ext tests to separate file. Fixed tmp .pb file cleaning.

* Small correction.

* Run MO Python API tests directory in CI.

* Small fix.

* Fix for case of splitted output.

* Corrected imports.

* Corrected imports.

* Added run of legacy extensions tests from subprocess.
2023-03-03 09:59:30 +04:00
Ilya Lavrenov 4d925e0a3d Test GPU plugin arm64 build via Android precommit (#16055) 2023-03-02 21:06:36 +04:00
Ilya Lavrenov df03f8bfce Removed fetch depth from Azure Pipelines (#16059) 2023-03-02 21:05:54 +04:00
Ilya Churaev a5ec5f5476 Move template infer request (#15696)
* Move Template Infer Requests to new API

* Removed const_pointer_cast from plugin

* Fixed tests

* Fixed async tests

* Fixed some comments

* Added print ov::Tensor

* Fixed ONNX Frontend tests with multiple outputs to the same tensor

* Revert "Added print ov::Tensor"

This reverts commit b752f506bb.

* Fixed ov_core tests

* Fixed some tests

* Fixed batched tensors tests

* Fixed some tests

* Fixed more tests

* Fixed template plugin tests

* Fixed LP tests

* Fixed some comments

* Fixed some documentation issues

* Fixed comments

* Increase timeout because build termenated in case of common changes
2023-02-21 07:03:07 +04:00
Ilya Lavrenov ed5fa69b41 Fixed compilation on CI (#15787) 2023-02-17 22:28:48 +04:00
jmiaskox 8839c66ea6 [AzurePipeline] Revert changes for openvino-lin-debian related to setupPython3.10 due to nGraph problem (#15728)
* Add env to nGraph step

* Update windows_conditional_compilation.yml

* Add PYTHONPATH to nGraph step

* Revert all changes related with setupPython 3.10 for Linux_debian

Temporary disable on time investigate
2023-02-15 16:00:34 +04:00
jmiaskox dbed073f80 [CI][Azure Pipelines] Fix problem with UsePythonVersion task (#15619)
* Az pipeline

* Debug comment

* Update linux.yml

* Update linux.yml

* Add $Library

* Other version

* Update linux.yml

* Remove ld_library

* Update linux.yml

* Add neccesary variables and export LD_LIBRARY in sub task

* Fix problem windows_cc

Allow to download Python from GH Python registry

* Update linux.yml

Remove needless env and add export variable before scripts

* Correct syntax

* Debug: Use Ubuntu22.04 public image for MS hosted agent

Removed variables LD_LIBRARY_PATH and OV_PYTHON_VERSION

* Debug: Use Ubuntu22.04 public image for MS hosted agent

Removed variables LD_LIBRARY_PATH and OV_PYTHON_VERSION

* Update VM image

* Update linux.yml

Fast check if changing VM will help

* Correct wrong syntax in pool section

* update pool for lin_arm64 and linux_cc

* Revert changes with public VM

* Revert VM public in onnxruntime.yml

* Update windows_conditional_compilation.yml

* Update Python setup steps on Windows_CC

* Revert all changes related to win_cc
2023-02-15 00:05:53 +04:00
Ilya Lavrenov 646778b63f Fixed warnings on Windows in CC build (#15666) 2023-02-13 11:52:20 +04:00
Roman Kazantsev 6078c95b6a Revert "[CI] Add task UsePythonVersion@0 to Azure Pipelines (#15240)" (#15598)
This reverts commit 8acfb87d16.
2023-02-09 14:51:25 +04:00
jmiaskox 8acfb87d16 [CI] Add task UsePythonVersion@0 to Azure Pipelines (#15240) 2023-02-06 11:53:17 +01:00
Ilya Lavrenov 5cb23b9a74 Trying to fix debian packages (#15508)
* Trying to fix debian packages

* Added conflicts for samples for RPM
2023-02-04 15:35:20 +04:00
Ilya Lavrenov 3e9ce31d19 Speed-up CC builds on Azure (#15248) 2023-02-04 14:46:24 +04:00
Ilya Lavrenov de1631d67d Generalized OpenCL handling (#15253)
* Squashed commit of the following:

commit 62c992f6a0bc3a2f559faac6912be9c5632a359f
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jan 22 11:38:18 2023 +0400

    Generalized OpenCL handling

* Updates

* Fixes

* Update thirdparty/CMakeLists.txt

test

* Fixed build with CL/cl2.hpp

* Fixes

* Fixes

* Fixed compilation flags

* Fixed build with target OpenCL 120

* Don't use cache
2023-02-03 15:36:47 +00:00
yanlan song f5fb22e205 remove MYRIAD/HDDL related tests in auto/multi and re-enable unit tests on CI (#15485)
Signed-off-by: fishbell <bell.song@intel.com>
2023-02-03 15:58:04 +01:00
Vitaliy Urusovskij 29b15233c7 Remove OV_FRONTEND_PATH (#15364)
* Remove "OV_FRONTEND_PATH" from `FrontEndManager`

* Remove "OV_FRONTEND_PATH" from layer_tests

* Remove "OV_FRONTEND_PATH" from find_ie_version.py

* Remove "OV_FRONTEND_PATH" from .ci/

* Move `ov::get_plugin_path` to file_util.hpp (ov::util)

* Add `register_front_end(name, path)` FEM public API

* Enable frontend/ tests

* ClangFormat

* Remove OV_FRONTEND_PATH from FE shared utils

* Add `register_front_end()` to PythonAPI

* Update Py tests with registering of "mock_py" FE

* ClangFormat

* Leftovers

* Fix SegFault with `register_front_end(name, lib_path)`

* Add FE_LIB_PRE and FE_LIB_SUFFIX to `ov_core_unit_tests`

* Fix format

* Update `testFailRegisterFEByWrongPath`
2023-02-02 08:19:35 +04:00
52c2efb5e1 Layer test for unary ops (#15331)
* Adds base class and first test for tflite_layer tests

* adds layer tests for unary ops

* adds functionality to get tensors from ops

* 1. adds functionality to use custom funcs for input generation
2. removed UNIQUE op from testing ops

* adds functionality to use custom dtypes

* Cast operation support

* Enhanced tfl layer tests

* Trigger tfl layer tests in .ci

* Apply suggestions from code review

---------

Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
Co-authored-by: Evgenya Stepyreva <eva.my.link@gmail.com>
Co-authored-by: missjane <estepyreva@gmail.com>
2023-01-30 10:11:41 +00:00
Vitaliy Urusovskij ea48786bc6 Fix "(un)register_plugin(s)" C and Py tests (#15291)
* Fix "(un)register_plugin(s)" tests

* Remove test skips on Debian after tests are fixed
2023-01-27 09:54:43 +04:00
0513a79a79 Tensorflow Lite frontend (#14977)
* Infrastructure for tflite

* Removed submodule flatbuffers

* Added flatbuffers submodule. Fixed version to v22.12.06 aka acf39ff

* Move headers back

* Flatbuffers integration

* Small fixes

* Started parsing the Model

* flatbuffer changes

* decoder_flatbuffer changes

* Lite Input Model -- not needed as of now but looks cool

* Rolled back inherritance from ov::frontend::tensorflow::InputModel

* Results are not treated as outputs, but its ok

* Fix missplaced input vs output

* Refactor

* Load model op-by-op. Frontend API finalized

* Debugging still, there are prints here and there. Decoder is not sane

* Convolution with all attributes is translated and quantization is applied for inputs and constatants. TODO: quantize intermediate tensors, separate decoder specific logic?

* Float ssd and posenet models are showing good accuracy

* Need to refactor but work flawlessly

* Telemetry and lightweight model cutting

* Code style and test changes. Extensions supported

* Quantization and style

* Style refinements

* Move onednn back

* New portion of operations enabled

* TFLite FE doesn't inherrit TF FE

* Moved files to another directory

* Rename header op_table.hpp to common_op_table.hpp for all files in src/frontends/tensorflow_common/src/op/

* Removed visability macroses

* CMake changes

* Unit-test execution in .ci

* Update labeler.yml

* Codeowners

* Style check and fix

* Static Build arrangement

* Addressing the comments

* install common headers to previous place

* New approach with public decoder and graph_iterator

* New approach with public decoder and graph_iterator

* Move GraphIterator back

* Comments addressed

* Comments adressed

* Preliminary TF FE README.md changes

* Added target_compile_definitions OPENVINO_STATIC_LIBRARY for static build

* Fixed conflicts and added TF to common places

* Frontends use only openvino::core::dev API

* Merged common tensorflow changes and made code build and work on selective number of models

* Style

* Rollback unnecessary changes from Tensorflow FE

* Rollback unnecessary changes from Tensorflow Common

* Minor refactor

* cmake minor refactoring

* Mixed commit

* Style and merge fix

* Low hanging fruit operations

* Fix windows build

* Refactor quantization parameters representation

* license compliance. approved by OS PDT

* copyrights in generic file

* dependabot

* labeler

* Unit Test to be triggered in CI

* cmake variables naming. corrected copyright years in copyrights/generic file

* library renamed in .ci/ calls

* Copyright year update

* Set openvino-tf-frontend-maintainers as owner of /src/frontends/tensorflow_lite/

* Fixed flatc corss-compilation

* Cleaned flatbuffers header usage

* Nitpicks solved

* Update cmake/templates/OpenVINOConfig.cmake.in

* Compile with flatbuffers headers

* Fixed "which is prefixed in the source directory"

* Fixed typo in flatbuffers cmake

* Removed flatbuffers submodule

* Added fork submodule

* Fixed static build

* Fixed cross-compilatio

* Fixed -Wshadow warning

* Fixed warning on Windows

* Use only headers from flatbuffers library

* Added LTO and fixed compilation errors on Windows

* Fixed warnings in tensorflow_common

* Move ctors implementation to cpp file

* Added information about new frontends to common FEm part

* Temporaryily disable warnings

* Fixed code style using clang-format

* Fixed Windows

* reverted changes in onnx

* Revert changes in onnx_common

* Removed pragma once frm cpp

Co-authored-by: missjane <estepyreva@gmail.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-01-27 06:27:59 +04:00