openvino/tests/layer_tests
Anastasiia Pnevskaia c7cde6a102
Removed saved_model_tags from OVC, improved help. (#18785)
* Removed saved_model_tags, improved help.

* Fixed help, removed to string conversion of params.

* Help corrections.

* Small correction.

* Corrected wrong changes.

* Corrected wrong changes.

* Fixed arguments creating in cli parser.

* Renamed extensions parameter to extension.
2023-07-28 15:46:47 +04:00
..
common [MO] compress_to_fp16=True by default (2nd attempt) (#18652) 2023-07-27 12:32:50 +04:00
mo_python_api_tests Removed saved_model_tags from OVC, improved help. (#18785) 2023-07-28 15:46:47 +04:00
onnx_tests Set ONNX opset in Reduce ops layer tests (#17170) 2023-04-25 10:38:56 +02:00
py_frontend_tests Torchfx backend (#18244) 2023-07-26 16:23:42 +02:00
pytorch_tests [PT FE] Add quantized::cat (#18750) 2023-07-27 10:32:17 +02:00
tensorflow2_keras_tests [CI] Introduce Windows pipeline in GitHub Actions (#18487) 2023-07-13 14:03:33 +04:00
tensorflow_lite_tests [TFLite] Custom attribute reading and While operation support (#17932) 2023-06-12 14:42:18 +04:00
tensorflow_tests Disable sporadically failing tests (#18694) 2023-07-20 21:34:43 +00:00
.gitignore Add layer tests (#5789) 2021-06-16 12:50:16 +03:00
CMakeLists.txt Updated copyright headers (#15124) 2023-01-16 11:02:17 +04:00
README.md Refactor of renaming ov libraries for layer tests with key --use_new_frontend (#12846) 2022-09-20 13:43:37 +04:00
conftest.py [PT FE] Add aten::_native_multi_head_attention (#17550) 2023-06-05 10:55:03 +02:00
pytest.ini Torchfx backend (#18244) 2023-07-26 16:23:42 +02:00
requirements.txt [PyOV] Enable Python 3.11 (#15144) 2023-04-17 13:30:17 +04:00

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