Commit Graph

175 Commits

Author SHA1 Message Date
Zlobin Vladimir
408bfc50c7 Update OMZ submodule (#14471) (#14547)
* Update OMZ submodule

This update includes models publication for 2022.3
Tickets 95909 and 95910

* Update OMZ submodlue: remove numpy upper bound
2022-12-09 18:34:41 +00:00
Ilya Lavrenov
1af95fb3f8 Fixed C samples build on Windows (#14386) 2022-12-05 01:33:42 +04:00
Ilya Lavrenov
6dd8a93735 Made OpenVINO cmake scripts Linux flavors agnostic (#14384)
* Use prebuilt cmake in install-dependencies steps

* Removed building of custom python to save Azure CI time

* Adjusted conditions in cmake

* Download VPU custom kernels compiler only for x86

* Removed -pyver argument

* Improvements

* Detect glibc version

* Usage of new glic variable

* Fixed typo

* Increased glibc version for MYRIAD case

* Made OpenVINO cmake Linux flavors agnostic

* Detect glibc version on RedHat

* Use clcompiler only since ubuntu 18.04

* Universal way to detect glibc version

* Revert some changes

* Apply suggestions from code review

fixes issue with GNA

* Apply suggestions from code review

fixed typo
2022-12-04 22:55:52 +04:00
Ilya Lavrenov
cf8c78483d Reverted temporary WAs for gflags installation for CentOS 7 (#14370) 2022-12-02 22:10:02 +04:00
Ilya Lavrenov
3ec084074a RPM packages improvements: part 2 (#14306)
* Updated install_dependencies.sh

* Added Fedora support

* Improvements for RPM generation

* Refactored work with gflags

* Apply suggestions from code review

* Improvements

* Several improvements for Ubuntu 18.04

* Improvements in gflags

* Update thirdparty/CMakeLists.txt

temporary install samples dependencies

* Fixed several mistakes

* Fixed issues with gflags

* Don't install dependencies on Linux

* Added nlohmann findinds on debian9 case

* Added FATAL_ERROR is gflags is not found in samples

* Fixes for samples on CentOS 7

* Cross-compiled debian packakges with proper libraries location

* Fixed include for old nlohman-json versions

* Fixed compilation with old json

* Applied review comments

* Added support of old nlohmann versions via submodule

* Temporary WA for CentOS 7

* Fixed compilation with old gflags

* Fixed compilation of C samples

* Fixed gflags on RHEL8.2 / Debian 9
2022-12-01 23:57:23 +04:00
Ekaterina Aidova
090261c852 [OMZ]: align dependencies (#14298) 2022-11-29 13:58:40 +01:00
Ekaterina Aidova
dc27a5d723 [OMZ]: update submodule (#14255) 2022-11-28 20:34:10 +01:00
Ilya Lavrenov
79c6968024 Added older pugixml version support (#14260)
* Added pugixml finding w/o cmake, pkg-config

* Fixed findings

* Pugixml

* Removed sudo from install_build_dependencies.sh

* Fixed compilation with old pugixml

* Fixed Azure pipelines

* Updated clang-format step

* Add new approach for pugixml find to OpenVINO Developer package

* Fixed compilation with older pugixml

* Added openssl-devel for cmake build

* Fixed finding pugixml in developer package
2022-11-28 11:54:54 +04:00
Ilya Lavrenov
86e71003e6 Put json library finding under ENABLE_SAMPLES (#14138) 2022-11-23 10:07:17 +04:00
Mateusz Tabaka
738d7bb09f Remove ov::JsonConfigExtension (#14087)
Ticket: 96278

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-11-21 15:06:08 +04:00
Ilya Churaev
a410157b67 Fixed macOS stress_tests build with PKG config (#14004) 2022-11-16 15:27:01 +04:00
Anastasiia Pnevskaia
de1a08c076 Update OMZ submodule. (#14014) 2022-11-15 23:43:32 -05:00
Ilya Lavrenov
55a45a4d1a Adjusted dependencies (#13942)
* Adjusted dependencies

* Fixed paths on Windows

* Move dependencies close to usage

* Updates
2022-11-14 12:57:27 +04:00
Ilya Lavrenov
9ebbfbbed0 Added i686 arch support for python wheels (#13595) 2022-11-13 23:38:23 +04:00
Ilya Lavrenov
ce7455ddb0 Added option to disable compile_tool (#13903)
* Updated pugixml

* Added option to disable compile_tool
2022-11-08 15:04:57 +04:00
Przemyslaw Wysocki
d2871fd52c [PyOV] Enable Python 3.10 on Azure CI (#12578)
* Fix mypy for numpy==1.21.6

* Apply CR changes

* Allow Python 3.6 for open source

* Attempt to silence mypy

* Revert to 3.6 in setup.pys

* Fix merge conflict

* Add newline

* Fix Python version assert

* Test Python 3.10 CI

* Try bumping up pybind to 2.10

* Link default python to python 3.10

* Add sudo to changing default python

* Bump python version in setupvars

* Fix exception in test

* Do the same for compatibility

* Apply same CI changes to other pipelines

* Attempt to fix arm and windows CIs

* Fix win py lib version and links?

* Try to fix CI

* Fix win python path

* Update win path

* Test disable PDPD

* Disable TF for testing CI

* Add sudo to rm

* Test linux

* Update requirements

* RM sudo

* Add debug step to CI on ARM

* build py from source on linux

* Remove debug step from ARM

* Fix err

* Fill num_proc

* Fic py installation

* Bump pdpd to 2.3.1

* Bump np vers

* Try to upgrade onnx to 1.12.0

* Revert onnx upgrade, enable frontends

* Build py shared

* Export library

* activate py env

* Bump scipy for py3.10

* Another scipy bump

* Fix Windows path, add nfs helper for mount

* Attempt to fix win_cc

* Batch of changes

* Try to fix ngraph-onnx-lin

* Install lsb-release for docker on ngraph-onnx-lin

* Link lsb_release

* Try bumping Ubuntu to 22.04

* Revert ubuntu change in dockerfile

* Refactor tests for onnx1.12

* Fix ONNX compatibility and numpy warnings

* Refactor tests for onnx1.12

* Fix ONNX compatibility and numpy warnings

* Upgrade ONNX to 1.12 in cpp

* Skip unsupported ops

* Revert "Fix ONNX compatibility and numpy warnings"

This reverts commit cd8a0e6b8e.

* Small changes

* Remove unnecessary changes

* Bump Python version in github workflows

* Fix flake error

* Another flake error

* Even more flake errors

* Xfail more tests

* Fix mypy errors

* Change onnx version in tests

* Bump ONNX in MO

* Fix onnx utils in comp

* Minor changes

* Import pathlib

* Add xfails to compatibility tests

* Skip segfaulting tests

* Fix onnx nametuple

* Fix flake

* Try to fix py3.6 onnx

* Switch to venv in windows

* Fix model importer and reqs

* Add __test__

* Debug print

* Fix flake

* Update linux.yml

* Update windows.yml

* Update linux.yml

* Update windows.yml

* Install python3.10

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Install py embedded

* Fix dir

* Fix curl

* Add complete file

* CP file

* Bump py ver

* Fix missing venv

* Try to install

* Disable venv

* Bump OMZ commit

* checkout omz

* Revert omz

* Bump omz

* Revert pybind bump

* Update .gitmodules

* Change pybind to fork

* change ssize_t to size_t

* Install bz2 for py build

* Bump omz

* Bump pandas requirement version

* Revert omz

* Install missing clang

* Bump omz

* Bump versions on fork

* Bump numpy in model zoo

* Fix clang

* Skip segfaulting pdpd test

* Skip another pdpd test

* Skip pdpd places.cpp

* Bump py ver in setupvars.bat

* Disable paddle tests

* Use int instead of str

* Fix requirements path

* Enable lin-cc

* Fixes in CI

* lin-cc and ngrpah-onnx changes

* Update num_proc

* Update ngraph-onnx

* Minor change

* Fix env var

* Change ubuntu to 20

* Get compiler on ngraph-onnx

* Add sudo to apt-get

* Add SSL

* Download ssl

* Different way of installing ssl

* Minor changes

* install zlib

* Fix env var

* Fix docker building error

* Revert changes

* Modify dockerfile

* Change pychecks python version

* Cleanup

* Add LayerNorm to expanded ONNX functions

* Revert previous commit

* Add LayerNorm to expanded ONNX functions

* Apply clang

* Move LayerNorm tests to skip_segfault

* Unskip pdpd tests

* Enable pdpd tests on linux

* Refactoring

* Remove 3.6 from reqs

* Refactoring

* Minor changes

* Minor changes

* Relax MO reqs

* Bump torch version

* relax pytest

* Specify pytest version

* Fix pytest pip conflict

* Bump pybind11 to v2.10.1 release tag

* Specify separate pytest version for py3.10

* Bump attrs

* Add py dependency

* Refactor versions

* Add venv activation to tf tests

* Fix fdupes

* Bump OMZ submodule

* Remove find and replace

* Change pybind to upstream fork

* Set pybind to proper commit

* Minor changes

* Try to fix scipy

* Updated exclude patterns for nlohmann json

* [PyOV] Fix wheel requirements for new package versions

* Specify CPU plugin versions

* Bump OMZ version

* Fix linter

* Fix linter 2

* Fix linter 3

* Disable linter

Co-authored-by: Mateusz <mateusz.mikolajczyk@intel.com>
Co-authored-by: jiwaszki <jan.iwaszkiewicz@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-11-08 11:38:39 +04:00
Wang, Yang
560dba22cb Fix the logic issue of handling the ov::device::properties in the ie core. (#13482)
* Update the logic to handle the ov:device::properties in the ie core.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Update test cases.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* 1. Remove the config filter within AUTO plugin when passing the configs to target hardwre device through AUTO plugin.
2. add test cases to check if the secondary properties have been passed into the target device through virtaul device.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Add mock tests to check if device properties works throgh the AUTO or MULTI  plugin.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Update.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Add mock head file for loadnetwork with device properties testing.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Update.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Update gtest commit to fix the warning issue appeared in the macro MATCHER_P.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2022-11-07 10:36:25 +08:00
Ilya Lavrenov
19c2ec068a Updated exclude patterns for nlohmann json (#13858) 2022-11-04 21:26:14 +04:00
Przemyslaw Wysocki
1cc499429a [PyOV] Upgrade ONNX to 1.12.0 (#12847)
* Refactor tests for onnx1.12

* Fix ONNX compatibility and numpy warnings

* Upgrade ONNX to 1.12 in cpp

* Skip unsupported ops

* Revert "Fix ONNX compatibility and numpy warnings"

This reverts commit cd8a0e6b8e.

* Small changes

* Remove unnecessary changes

* Bump Python version in github workflows

* Fix flake error

* Another flake error

* Even more flake errors

* Xfail more tests

* Fix mypy errors

* Change onnx version in tests

* Bump ONNX in MO

* Fix onnx utils in comp

* Minor changes

* Import pathlib

* Add xfails to compatibility tests

* Skip segfaulting tests

* Fix onnx nametuple

* Fix flake

* Try to fix py3.6 onnx

* Fix model importer and reqs

* Add __test__

* Bump OMZ commit

* checkout omz

* Revert omz

* Bump omz

* Bump omz

* Revert omz

* Bump omz

* Change pychecks python version

* Add LayerNorm to expanded ONNX functions

* Apply clang

* Move LayerNorm tests to skip_segfault

* Refactoring

* Minor changes

* Minor changes

* Relax MO reqs
2022-11-03 22:56:57 +04:00
Egor Duplenskii
41866ea51a [CPU][CORE] Move to the most recent xbyak version (#13753)
Current xbyak has "unresolved external symbols" issue
when built on Windows in 'Debug' (-O0) build type
The issues is fixed in the recent xbyak versions
2022-11-03 12:03:30 +04:00
Ilya Lavrenov
3de3e7b8fa Updated zlib to be 1.2.13 (#13803) 2022-11-03 10:10:41 +04:00
Ekaterina Aidova
b48d13c781 [OMZ]: relax torch dependencies (#13762)
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-11-02 08:24:42 +04:00
Ilya Lavrenov
c40d225b6f Removed duplicated files from OpenVINO wheel (#13725) 2022-11-02 07:58:58 +04:00
Ilya Lavrenov
7595fd4c4e Improvements in rpm / debian build (#13750)
* Improvements in rpm / debian build

* Fixed several debian warnings

* Supported old gflags from CentOS 7

* Reverted back OpenCV version

* Fixed clang-format
2022-11-01 18:02:07 +04:00
Egor Duplenskii
7e2cefab8a [CPU] Move to oneDNN v2.7 (#12281) 2022-10-28 01:40:07 +03:00
Ilya Lavrenov
fbd6d14c3b Several fixes for compilation fixes (#13674)
* Added i386 support

* Cross-compiled wheel package

* Fixes

* Try to use cross-env

* Fixed path to crossenv

* Strict dependency

* Removed numpy dependency

* explicitly activate crossenv

* Don't install ONNX for tests conversions during cross-compilation

* Updates

* Extra improvements

* Fixed compilation with strict flags

* Fixes

* Revert changesin .ci/azure/linux_arm64.yml
2022-10-27 17:30:24 +04:00
Artyom Anokhov
65293b1492 Added frontends RPMs generation (#13618)
* cmake/packaging/rpm.cmake: Added Frontends

* rpm_post_build: Added link to Fedoraproject wiki with rpmlint errors info

* RPM: Throw warning for rpmlint findings instead of FATAL ERROR till there is no filtering/suppression of errors

debian.cmake: Added one more error to suppress
thirdparty/CMakeLists.txt: added CentOS(RHEL) for gflags shared libs case
install_openvino_dependencies: Added gflags installation

* Fixed gflags issues for RHEL/CentOS

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-10-27 10:08:54 +04:00
Ilya Churaev
848d880eb3 Fix Warning as error for Android ARM64 build (#13638)
* Fix Warning as error for Android ARM64 build

* Fixed preprocessing build

* Fixed cmake options

* Try to fix android build

* Disable some warning
2022-10-26 12:56:44 +04:00
trixirt
a55b277c68 Use shared gflags on Fedora (#13600)
Static gflags is not available on Fedora, leading to a configure
error.  So use the shared version.

Signed-off-by: Tom Rix <trix@redhat.com>

Signed-off-by: Tom Rix <trix@redhat.com>
2022-10-23 22:46:13 +04:00
Ilya Lavrenov
2e336e4bb8 Fixes for brew support on OSX (#13476)
* Fixes for brew support on OSX

* Added new policy

* added quotes

* Used OpenVINODeveloperPackage

* Extra fixes

* Use standard verbose variable

* Fixed pkg-config generation
2022-10-15 00:15:03 +03:00
Ilya Lavrenov
4a727ea54d Disabled TBB and OpenCV downloading for aarch64, keeping only for yocto (#13462) 2022-10-13 14:16:20 +04:00
Ilya Lavrenov
c2911adf94 Conda-forge fixes (#13392) 2022-10-12 12:16:13 +04:00
Ekaterina Aidova
d6694e4820 [OMZ]: update submodule to minimize ac dependencies (#13416) 2022-10-11 19:56:58 +04:00
Ilya Churaev
8a9c19e3eb Warning as error for Windows (#13291)
* parent 6e7016ccda
author Ilya Churaev <ilya.churaev@intel.com> 1664281499 +0400
committer Ilya Churaev <ilya.churaev@intel.com> 1664510018 +0400

Fixed warnings on local machine

* Added CMAKE_COMPILE_WARNING_AS_ERROR usage

* Fixed style

* Fixed merge conflicts

* Fixed typo

* Fixed myriad build for macOS

* Fixed warning

* Fixed tests

* Disabled incorrect test

* Try to fix linux tests

* Revert "Try to fix linux tests"

This reverts commit 29224c93ff.

* Fixed tests

* Revert logic with incorrect cast

* Fixed log softmax

* Disable warning as error for cuda

* Try to fix inference_engine_s

* Fixed cmake

* Revert "Fixed cmake"

This reverts commit 87e9e4e674.

* Revert "Try to fix inference_engine_s"

This reverts commit a1adca8b05.

* WA for static symbols in inference_engine_s test library

* Fixed code style

* Fixed static definition for master

* Revert "Fixed static definition for master"

This reverts commit 20d00d215a.

* Revert "Fixed code style"

This reverts commit 0eb2362543.

* Revert "WA for static symbols in inference_engine_s test library"

This reverts commit 75ef86a79d.

* Fixed linker issue for Windows

* Disable WaE by default

* Disable warning as error in the developer package

* Try to fix dev package

* Try to fix Windows Jenkins

* Revert old behavior for tread_warn_as_err variable
2022-10-06 13:44:21 +04:00
Ilya Lavrenov
1bb15b1d18 Compilation with conda build (#13083)
* Compilation with conda forge

* Fixed compilation with gcc 12

* Fixed tests compilation

* use macro instead of function

* Fixed uninitialized variable in tests

* Conda

* Conda
2022-10-05 08:38:38 +04:00
Ilya Lavrenov
cfba7f669c Install only required files from thirdparty (#13284) 2022-09-29 21:02:22 +04:00
Pawel Raasz
4f683687de Enable mock fe tests in python api 2.0 tests (#12978)
* Building python frontend tests

* Enable mock tests in new python API:
- Fix mock_py frontend library name
- Set same destination for mock_py frontend as others frontends
- Fix importing mock_py frontend
- Minor changes in mock_py tests

* Fix flake8 issue

* Fix linking issue on windows

* Remove DISABLE_PYBIND11 option

* Build mock_py always as shared library
- put mock_py into ov::frontend namespace
- minor re-factor of mock_py

* Add mock c API fix warning on windows

* Fix installation of mock_py frontend

* Install mock_py frontend library in tests

* More detailed error message in python test
when cannot import frontend

* Restore IMPLEMENT_OPENVINO_API for windows build
of pybind_mock_frontend

* Set env paths for python API test on Azure CI
- skip tensorflow conversion ext test when not installed

* Correct skip tensorflow test decorator

* Add C API macro for mock1 frontend

* Ignore E999 error reported by flake8

* Fix conversion extension name for tf imports

* Fix flake8 issues

* Remove python3.8 path from LD_LIBRARY_PATH
on debian CI

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-09-20 11:56:46 +03:00
Ilya Lavrenov
b6ce6f4d39 Added support of universal2 OSX binaries (#13093)
* Added support of universal2 OSX binaries

* Fixed openvino wheel for OSX: different library name structure
2022-09-19 10:14:07 +04:00
Ilya Lavrenov
bc8127f3b8 Fixed Android post-commit (#13005) 2022-09-12 07:57:21 +04:00
Ekaterina Aidova
d4d9bb4e88 [master] openvino-dev return opencv-python back (#13002) 2022-09-10 12:18:03 +04:00
Ilya Lavrenov
53542ded57 Added support of pugixml search via pkg-config (#12958)
* Added support of pugixml search via pkg-config

* Updated old InferencEngineDEveloperPackage.cmake.in

* Removed debug print

* Fixed cmake stage for U18

* Added WA for pugixml on U18 for DevPackage as well

* Disable pkg-config generation for OpenVINO for U18

* Added option for pkg-config

* Now triplet is aut-detected

* Fixed U18 case
2022-09-10 01:10:24 +03:00
Ilya Lavrenov
8922d73e7d Fixed installation of pugixml on U22 (#12953) 2022-09-07 18:07:43 +04:00
Ilya Lavrenov
10f2cf40eb Cross-compilation of debian packages (#12919)
* Debian arm cross-compilation

* Pugixml::shared as system library

* Removed debug print of openvino.pc

* Set debian package arch for cross-compilation manually
2022-09-06 12:03:40 +03:00
Ilya Lavrenov
32ecbb45b9 Enabled LTO for ONNX (#12889) 2022-09-05 13:19:19 +04:00
Ilya Lavrenov
fb8423dcee Apple "cross compilation" for protoc (#12881) 2022-09-03 10:50:01 +04:00
Ilya Lavrenov
e19df6f85f Updated ia32 toolchain with system / processor (#12784)
* Updated ia32 toolchain with system / processor

* Allow pkg-config during cross-compilation

* added error message

* Search TBB using tbb.pc as well

* WA

* Fix for yocto

* Added print

* Use tbb.pc only when system libs are enabled

* Improved OpenVINOConfig.cmake

* Don't find pkg-config as required
2022-09-01 14:33:47 +04:00
Ilya Lavrenov
8a4cb9b332 Arm cross compilation (#12807)
* Fixed ARM out-of-box cross-compilation

* Improvements

* Fixed HDDL plugin
2022-08-30 22:23:14 +04:00
Ilya Lavrenov
2d04f93486 test that openvino wheel contains libpugixml.so.X (#12796)
* test that openvino wheel contains libpugixml.so

* Fixed pugixml install to openvino whl
2022-08-30 01:41:49 +04:00
Ekaterina Aidova
8c1a3bab25 openvino-dev uses opencv-python-headless as default (#12558) 2022-08-26 10:44:38 +03:00
Ilya Lavrenov
ddf75def93 Print detailed errors if no reqs are found for either ENABLE_PYTHON / ENABLE_WHEEL are ON (#12755)
* Don't install onnx test requirements autonatically

* Added requirementst install to Azure CI

* Respect onnx_FOUND

* Use pdpd 2.3.0

* Remove numerous warnings

* Improved error messages for building python, python wheel

* Improvements

* More improvements

* Fixes

* Fixed CI

* Fixes

* Revert
2022-08-25 20:15:21 +04:00