Commit Graph

37 Commits

Author SHA1 Message Date
Przemyslaw Wysocki
69d6ef33fc [PyOV] Align and bump numpy, further tidy up requirements (#16652)
* Align numpy

* Simplify the rest

* Minor change

* Minor change

* Restart CI

* Update paddle reqs
2023-04-12 13:14:38 +04:00
Przemyslaw Wysocki
591c3e61c5 [PyOV] Simplify requirement files (#15343)
* Partial progress

* Finish v1

* Cleanup

* Remove useless files

* Fix path to pdpd

* Fix onnx path

* Minor change

* Rework MO

* Minor change

* Remove some costraints

* Add MO constraints

* Update gitignore for MO

* Minor change

* Apply tech sync discussion

* Cleanup

* CR comment

* Debug ONNX FE

* simplify ONNX FE

* Update cmake

* Hardcode ONNX requirement

* Add dependency resolver to cmake

* Add constraints for openvino/tests

* Add missing pytest-html

* Fix -c path

* Revert debug changes to path

* Add cmake to copy constraints.txt

* Update dependabot

* Remove slash

* Remove cmake

* Debug prints

* Minor changes

* Move reqs check to separate file

* Add requirements parser to benchmark_tool

* Fix smoke tests constraints

* Minor fixes

* Minor change

* My fixes were apparently wrong

* Debug - self.executable_path

* Debug - add singledispatch to tests and tools

* Debug - print IE_APP_PATHs

* Revert "Debug - print IE_APP_PATHs"

This reverts commit 67ccb6d3f5.

* Revert "Debug - add singledispatch to tests and tools"

This reverts commit 3b945931e2.

* Revert "Debug - self.executable_path"

This reverts commit 3aa724eff6.

* update dependabot

* update dependabot

* Skip benchmark_app tests

* Use CMAKE_CURRENT_BINARY_DIR in cmake

* Remove debug prints

* minor change

---------

Signed-off-by: p-wysocki <przemyslaw.wysocki@intel.com>
2023-03-29 14:27:27 +04:00
Ilya Churaev
0c9abf43a9 Updated copyright headers (#15124)
* Updated copyright headers

* Revert "Fixed linker warnings in docs snippets on Windows (#15119)"

This reverts commit 372699ec49.
2023-01-16 11:02:17 +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
Ilya Lavrenov
f2f281e60b Renamed ov_runtime => openvino, ov_ => openvino_ prefix (#10069)
* Renamed ov_runtime => openvino, ov_ => openvino_ prefix

* Coverage fix

* More fixes

* Fixed MO tests with custom FE
2022-02-03 20:03:41 +03:00
Alexey Suhov
a79830cb55 Update year to 2022 in copyright notice (#9755) 2022-01-19 01:07:49 +03:00
Ilya Sharikov
1a3d0adb3e Change omz model (#9551) 2022-01-11 10:56:50 +03:00
Vladislav Volkov
60a11a6348 [CPU] Renamed CPU plugin to ov_intel_cpu_plugin (#9342) 2021-12-23 11:49:25 +03:00
Ilya Churaev
b5238e55e1 Removed inference_engine, ngraph, transformations libraries (#9309) 2021-12-21 05:27:53 +03:00
Ilya Sharikov
028d78a90f Update paths to OMZ tools (#8072) 2021-10-20 14:39:28 +03:00
Ilya Sharikov
c2ad09472c Update path to MO (#7575)
* Updated path to MO

* Update text message

* Fixed cmd for running on all platform
2021-09-22 18:53:22 +03:00
Ilya Sharikov
d725a17561 Add CMakeLists for install CC_tests (#7541) 2021-09-21 10:06:54 +03:00
Valentin Dymchishin
07a3dc6b36 [47750] Validate conditional compilation with models from OMZ (#7207)
* [47750] Validate conditional compilation with models from OMZ

* [47750] Remove model

* [47750] Use generator expression

* [47750] Use f-strings

* [47750] Use resolve() instead of abs_path()

* [47750] Use cmd_exec() instead of subprocess.check_output()

* [47750] Use download_models fixture in test_cc_collect, test_verify

* [47750] Update prepare_models

* [47750] Update test_infer

* [47750] Add models

* [47750] Use custom logger

* [47750] Refactor prepare_models usage

* [47750] Rename model_struct to model

* [47750] Update help description

* [47750] Add function description for prepare_models, prepare_omz_model

* [47750] Move OMZ_NUM_ATTEMPTS to global scope

* [47750] Rename models to model

* [47750] Add "type" property in model

* [47750] Add default path for cache

* [47750] Remove conversion to str

* [47750] Rename prepare_models to prepared_models

* [47750] Remove redundant expand_env_vars call

* [47750] Use lower case "omz" in test_config; do not use default value

* [47750] Use only prepared_models in tests, without models in arguments

* [47750] Remove "framework" property in test_config

* [47750] Use omz_path and omz_cache_dir fixtures

* [47750] Make omz_cache_dir optional

* [47750] Remove validate_path_arg for omz_cache_dir

* [47750] Add validate_path_arg and log.warning for omz_cache_dir

* [47750] Add default value for omz_repo

* [47750] Use OMZ_MODELS_PATH environment variable

* [47750] Use tmpdir instead of OMZ_MODELS_PATH; use precision in test_id_list

* [47750] Update README.md

* [47750] Remove model_path variable

* [47750] Remove try/except for omz_path

* [47750] Rename omz_path to omz_repo
2021-09-13 11:47:04 +03:00
Ilya Sharikov
f44369ce4e Updated requirements (#7397) 2021-09-13 08:50:23 +03:00
Victor Kuznetsov
4d377901bf Move all utils to common folder (#7303)
* move all utils to common folder

* add utils install in CMakeLists.txt

* revert plugin utils

* add log info: test

* add logging info: test

* test imports

* change imports: test

* fix file name
2021-09-07 23:02:10 +03:00
Ilya Sharikov
ac6c58f03a Updated inter_tool due to IE api was updated (#7217) 2021-08-25 11:49:42 +03:00
Anastasiya Koryachikhina
ad9078d9eb add itt_collector build (#6859)
* add itt_collector build

* changed format for itt_collector build

* replace build_dir with sea_itt_lib_path

* change type of build_target

* replace os.join with Path

* change built_target arg type
2021-08-09 12:40:56 +03:00
Anastasiya Koryachikhina
4d7f6c54ef Change logic for using multiple models in cc tests (#6618)
* Change logic for using multiple models in cc tests

* removed extra key

* moved multiple infer to main function

* moved multiple infer to main function

* change test_config.yml and work with this file

* change test_config.yml and work with this file

* removed extra key

* changed separator symbol

* removed extra param from output

* Rollback comments in test_config.yml

* removed extra key in yml config file, change logic to save .npz for all model seperate instead of common npz file, change logic in parser arg

* removed extra key in yml config file, change logic to save .npz for all model seperate instead of common npz file, change logic in parser arg

* changed save path for infer result, deleted extra param

* updated test_config.yml

* rollback old way to get bin_path

* changed work with save path for inference result

* add empty line in the end for config file

* rollback line order

* removed extra param allow_pickle=True in loading .npz file

* removed mkdir in run_infer

* uncomment resnet model

* added empty line

* changed save folder for cc result
2021-07-30 10:30:38 +03:00
Ilya Sharikov
33dfcd62c2 Add --verbose option to infer_tool (#6770)
Detailed infer results printing overload output and freeze sea_runtool.
Hiding debug messages by default.
2021-07-26 09:00:56 +03:00
Ilya Sharikov
aea105c14b Remove resnet model for running CC test (#6439) 2021-07-07 12:55:28 +03:00
Ilya Sharikov
c2e4e64079 Updated path of the executable binary for the Python interpreter (#6494) 2021-07-02 10:53:46 +03:00
Ilya Sharikov
6cf4f7eecf Updated path to executable binary for the Python interpreter (#6340) 2021-06-24 13:54:46 +03:00
Ilya Sharikov
b83a1ab1bc Updated requirements.txt (#6329) 2021-06-24 13:48:31 +03:00
Alexander Shchepetov
d25e149f76 Conditional compilation test can run from open source (#5629) 2021-05-26 11:43:59 +03:00
Olesya Martinyuk
070201feee Added test validating inference results after conditional compilation (#4840) 2021-04-13 22:16:14 +03:00
Victor Kuznetsov
83ec2d321a Add json file with tests ids to CC tests (#4425) 2021-03-30 15:31:40 +03:00
Alexey Suhov
6478f1742a Align copyright notice in python scripts (CVS-51320) (#4974)
* Align copyright notice in python scripts (CVS-51320)
2021-03-26 17:54:28 +03:00
Ilya Sharikov
a382934a80 Added test for checking lib sizes, when using conditional compilation option (#4292) 2021-03-17 17:56:47 +03:00
Andrey Somsikov
0646219f3e Translate app failures from cond comp tests (#4393) 2021-02-24 22:54:37 +03:00
Olesya Martinyuk
61f1950997 Infer tool code style patch (#4429)
* Moved input preparation to another function, cleared argparse, minor code improvements

* Minor changes in function description
2021-02-20 12:19:18 +03:00
Olesya Martinyuk
0c22a9e111 Add infer tool for cond compilation test(#4384) 2021-02-18 21:38:52 +03:00
Andrey Somsikov
8da7f22f1d Activate OV environment from cond comp test_infer (#4244) 2021-02-11 09:59:37 +03:00
Vitaliy Urusovskij
ba5da4231f Remove use of -f key which isn't defined in openvino/**/sea_runtool.py (#4257) 2021-02-10 08:53:11 +03:00
Andrey Somsikov
db065d525e Fix cond comp artifacts path (#4200) 2021-02-08 11:18:27 +03:00
Andrey Somsikov
9b5b2bb002 Add collector path for cond. comp. tests (#4159) 2021-02-04 10:35:24 +03:00
Vitaliy Urusovskij
8abbfbc855 Design test config and integrate in CC tests (#4051) 2021-01-29 16:54:19 +03:00
Andrey Somsikov
81da815dd8 Add conditional compilation tests (#3996) 2021-01-28 13:27:07 +03:00