Files
openvino/tests/memory_tests
Ilya Lavrenov c4eeecfec5 Remove myriad plugin (#15131)
* Removed Intel MYRIAD plugin

* Removed Intel MYIAD from CI files

* Removed Intel MYRIAD from cmake folder

* Removed MYRIAD, HDDL from samples

* Removed MYRIAD, HDDL from scripts folder

* Removed MYRIAD from bindings folder (C and Python API)

* Removed MYRIAD tests

* Removed MYRIAD from tests folder

* Removed MYRIAD from tools folder

* Removed HDDL (VAD), MYRIAD (NSC2) from documentation

* Fixed build for AUTO unit tests

* Fixed clang code style

* Fixed comments and issues

* removed MYRIAD from AUTO tests

* Disabled MULTI tests in CI

* Update docs/OV_Runtime_UG/auto_device_selection.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/get_started/get_started_demos.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/OV_Runtime_UG/deployment/local-distribution.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-01-18 15:19:44 +04:00
..
2023-01-18 15:19:44 +04:00
2023-01-16 11:02:17 +04:00

Memory Tests

This test suite contains pipelines, which are executables. Memory tests measuring memory required for the use cases and fail when memory usage exceeds a pre-defined level.

Prerequisites

To build memory tests, you need to have OpenVINO™ installed or build from source.

Measure Time

To build and run the tests, open a terminal, set OpenVINO™ environment and run the commands below:

  1. Build tests:
mkdir build && cd build
cmake .. && make memory_tests
  1. Install tests:
сmake install <build_dir> --prefix <install_path>
  1. Run test:
./scripts/run_memorytest.py <install_path>/tests/memtest_infer -m model.xml -d CPU
  1. Run several configurations using pytest:
pytest ./test_runner/test.py --exe <install_path>/tests/memorytest_infer
# For parse_stat testing:
pytest ./scripts/run_memorytest.py