* 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
|
||
|---|---|---|
| .. | ||
| tools | ||
| CMakeLists.txt | ||
| README.md | ||
| conftest.py | ||
| pytest.ini | ||
| requirements.txt | ||
| test_cc.py | ||
| test_config.yml | ||
| test_utils.py | ||
README.md
Conditional compilation tests
This folder contains conditional compilation (CC) test framework code and CC tests file.
Environment preparation:
Install Python modules required for tests:
pip3 install -r requirements.txt
Clone Open Model Zoo from https://github.com/openvinotoolkit/open_model_zoo
Run tests
pytest test_cc.py
Test parameters:
sea_runtool- path tosea_runtool.pyfile.collector_dir- path to collector file parent folder.artifacts- Path to directory where test write output or read input.openvino_root_dir- Path to OpenVINO repo root directory.omz_repo- Path to Open Model Zoo repository root directory.
Optional:
test_conf- path to test cases .yml config.openvino_ref- Path to root directory with installed OpenVINO. If the option is not specified, CC test firstly build and install instrumented package at<artifacts>/ref_pkgfolder with OpenVINO repository specified in--openvino_root_diroption.If OpenVINO instrumented package has been successfuly installed, in the future you can set
--openvino_refparameter as<artifacts>/ref_pkgfor better performance.omz_cache_dir- Path to Open Model Zoo cache directory.
Sample usage:
pytest test_cc.py --sea_runtool=./thirdparty/itt_collector/runtool/sea_runtool.py --collector_dir=./bin/intel64/Release --artifacts=../artifacts --openvino_root_dir=. --omz_repo=../_open_model_zoo