Files
openvino/tests/conditional_compilation
Ilya Lavrenov 8349849e1c Use FindPython3.cmake (#19847)
* Use FindPython3.cmake

* Fixed compilation on macOS 14 with new core development tools

* Try to use Python3_SOABI instead of PYTHON_MODULE_EXTENSION

* Use Development.Module

* Keep specifying only Python3_EXECUTABLE

* Print PYTHON_MODULE_EXTENSION

* Added check for minimal cmake version for python API

* Returned Python3_INCLUDE_DIR for cross-compilation case

* Try to allow cmake older than 3.18

* Use build python interpreter to check cython dependency

* revert changes in .ci/openvino-onnx/Dockerfile

* removed unused code

* Fixed issue with variables scope

* Experiment: remove include dirs

* Corrected docs

* Use pybind11 function to set extension

* Revert "Experiment: remove include dirs"

This reverts commit 6f7f90211c.

* Refactor ConvolutionBackpropDataLayerTest, ConvolutionLayerTest, DeformableConvolutionLayerTest (#19810)

* Refactor ConvolutionBackpropDataLayerTest

* Refactor ConvolutionLayerTest

* Refactor DeformableConvolutionLayerTest

* Apply comments

* Apply comments

* Fix

* Updated minimum cmake version for Windows

* Simplified check

* Removed useless message status

* Use puiblic option

---------

Co-authored-by: Oleg Pipikin <oleg.pipikin@intel.com>
2023-09-26 20:57:29 +02:00
..
2023-01-16 11:02:17 +04:00
2023-01-16 11:02:17 +04:00
2023-01-16 11:02:17 +04:00
2022-01-11 10:56:50 +03:00
2023-09-26 20:57:29 +02:00

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 to sea_runtool.py file.
  • 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_pkg folder with OpenVINO repository specified in --openvino_root_dir option.

    If OpenVINO instrumented package has been successfuly installed, in the future you can set --openvino_ref parameter as <artifacts>/ref_pkg for 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