openvino/tests/layer_tests
Surya Siddharth Pemmaraju 19ba148b4f
Op support 2024.0 (#22745)
### Details:
 - Improved op support for 2024.0 release
 - Includes ops required for enabling customer model lightglue
 - Also added ops for lora fine tuning
 - Added support for options in aot autograd backend
- Added a new option to specify whether to use aot autograd
functionality
 - Added a new option to specify decompositions that need to be added
- Added a new option to specify ops that need to be disabled from
executing on OpenVINO


### Tickets:
 - https://jira.devtools.intel.com/browse/CVS-116702
 - https://jira.devtools.intel.com/browse/CVS-120276

---------

Co-authored-by: ynimmaga <yamini.nimmagadda@intel.com>
2024-02-13 12:13:42 +00:00
..
common [TF FE] Switch on tests for LookupTableFindV2 with string values (#22795) 2024-02-12 18:01:25 +00:00
jax_tests [JAX][TF Hub][TF FE] Support XlaConvV2 operation and add JAX test (#19466) 2023-08-29 12:28:12 +04:00
mo_python_api_tests [Py] Removing an old API from tests (#22047) 2024-01-10 19:25:29 +04:00
onnx_tests Rename IE to OV (#22733) 2024-02-09 13:36:41 +00:00
ovc_python_api_tests [PyTorch FE] Common prefix in PyTorch exceptions. (#22655) 2024-02-07 12:58:17 +00:00
py_frontend_tests [PT FE] Reuse constants obtained with prim::GetAttr (#22530) 2024-01-30 15:34:49 +00:00
pytorch_tests Op support 2024.0 (#22745) 2024-02-13 12:13:42 +00:00
tensorflow2_keras_tests [Py] Removing an old API from tests (#22047) 2024-01-10 19:25:29 +04:00
tensorflow_lite_tests [CPU][ARM] Set `arm64-v8.2-a` as a default architecture (#21545) 2024-01-03 16:39:13 +04:00
tensorflow_tests [TF FE] Switch on tests for LookupTableFindV2 with string values (#22795) 2024-02-12 18:01:25 +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 [Py] Removing an old API from tests (#22047) 2024-01-10 19:25:29 +04:00
pytest.ini [PT FE] torch.export support (#22397) 2024-01-30 11:50:18 +00:00
requirements.txt Get rid of distutils (#22281) 2024-01-24 21:22:57 +01: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