* add m1 mac pipelines as a matrix parameter * Update mac.yml disable java_api because of macos arm64 - Java is not available on macOS arm64 runners * Update mac.yml added always condition for all tests * Update mac.yml * Update mac.yml * Update mac.yml * Update setup.py temp commit * Update tools/openvino_dev/setup.py * use matrix for var * add mxnet to extras only for x86_64 * skip failing tests * use xfail for Python tests; add missing filter for transformations tests * skip CPU func tests on x86_64 mac; skip some tests from CPU func tests on arm mac * Update mac.yml * skip tests on mac arm * skip tests on darwin; apply review * add more skips for python and c++ tests * skip tf tests * skip more tf tests; skip more Python UT stages * rm alwayses, rm triggers, add nightly trigger --------- Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com> |
||
|---|---|---|
| .. | ||
| common | ||
| jax_tests | ||
| mo_python_api_tests | ||
| onnx_tests | ||
| ovc_python_api_tests | ||
| py_frontend_tests | ||
| pytorch_tests | ||
| tensorflow2_keras_tests | ||
| tensorflow_lite_tests | ||
| tensorflow_tests | ||
| .gitignore | ||
| CMakeLists.txt | ||
| README.md | ||
| conftest.py | ||
| pytest.ini | ||
| requirements.txt | ||
README.md
Layer tests
This folder layer tests framework code and test files.
Getting Started
Pre-requisites
- OpenVINO should be configured as usual.
Setup
- Install requirements:
pip3 install -r requirements.txt - Set up environment variables for layer tests (if you use wheel package path to python api could be removed):
export PYTHONPATH="path_to_openvino"/tests/layer_tests/:"path_to_openvino"/tools/mo:"path to python api" - If there is need to use specific libs it is possible to specify path to them using OV_LIBRARY_PATH env variable
export OV_LIBRARY_PATH="path_to_libs" - To parametrize tests by device and precision (optional)
export TEST_DEVICE="CPU;GPU" export TEST_PRECISION="FP32;FP16"
Run tests
py.test