Remove local configs and it's copying to bin/ for stress tests (#7131)

This commit is contained in:
Olesya Martinyuk 2021-08-19 12:57:47 +03:00 committed by GitHub
parent 26c96a44cc
commit 133b3b6468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 2 additions and 88 deletions

View File

@ -12,8 +12,8 @@ when executing continuously.
- StressUnitTests executing various Inference Engine use cases in parallel
threads and processes.
Each test refers to configuration files located in `<test dir>\local_configs`
folder. The configuration files are installed along with tests on build time.
Each test refers to configuration files located in `<test dir>\.automation`
folder.
## Getting Started

View File

@ -16,8 +16,3 @@ target_link_libraries(${TARGET_NAME} PRIVATE StressTestsCommon)
install(TARGETS ${TARGET_NAME}
RUNTIME DESTINATION tests COMPONENT tests EXCLUDE_FROM_ALL)
# Copy local configs to BIN_FOLDER
configure_file(local_configs/test_config.xml
${OUTPUT_ROOT}/${BIN_FOLDER}/${CMAKE_BUILD_TYPE}/stress_tests_configs/memcheck_tests/test_config.xml COPYONLY)
configure_file(local_configs/references_config.xml
${OUTPUT_ROOT}/${BIN_FOLDER}/${CMAKE_BUILD_TYPE}/stress_tests_configs/memcheck_tests/references_config.xml COPYONLY)

View File

@ -1,21 +0,0 @@
<?xml version="1.0"?>
<attributes>
<models>
<model path="public/mobilenet-ssd/FP32/mobilenet-ssd.xml" precision="FP32" test="create_exenetwork" device="CPU" vmsize="740214" vmpeak="805110" vmrss="129308" vmhwm="129308" />
<model path="public/mobilenet-ssd/FP32/mobilenet-ssd.xml" precision="FP32" test="create_exenetwork" device="GPU" vmsize="922147" vmpeak="922147" vmrss="587522" vmhwm="587522" />
<model path="public/mobilenet-ssd/FP32/mobilenet-ssd.xml" precision="FP32" test="infer_request_inference" device="CPU" vmsize="1007890" vmpeak="1007890" vmrss="138652" vmhwm="138652" />
<model path="public/mobilenet-ssd/FP32/mobilenet-ssd.xml" precision="FP32" test="infer_request_inference" device="GPU" vmsize="1006439" vmpeak="1091636" vmrss="587241" vmhwm="587241" />
<model path="public/mtcnn-r/FP32/mtcnn-r.xml" precision="FP32" test="create_exenetwork" device="CPU" vmsize="691589" vmpeak="922864" vmrss="31054" vmhwm="31054" />
<model path="public/mtcnn-r/FP32/mtcnn-r.xml" precision="FP32" test="create_exenetwork" device="GPU" vmsize="626194" vmpeak="626194" vmrss="290695" vmhwm="290695" />
<model path="public/mtcnn-r/FP32/mtcnn-r.xml" precision="FP32" test="infer_request_inference" device="CPU" vmsize="958240" vmpeak="1043437" vmrss="31366" vmhwm="31366" />
<model path="public/mtcnn-r/FP32/mtcnn-r.xml" precision="FP32" test="infer_request_inference" device="GPU" vmsize="708734" vmpeak="793930" vmrss="287877" vmhwm="287877" />
<model path="public/ssd300/FP32/ssd300.xml" precision="FP32" test="create_exenetwork" device="CPU" vmsize="1046988" vmpeak="1179042" vmrss="307990" vmhwm="439457" />
<model path="public/ssd300/FP32/ssd300.xml" precision="FP32" test="create_exenetwork" device="GPU" vmsize="1267775" vmpeak="1279647" vmrss="932672" vmhwm="944626" />
<model path="public/ssd300/FP32/ssd300.xml" precision="FP32" test="infer_request_inference" device="CPU" vmsize="1321819" vmpeak="1321819" vmrss="374207" vmhwm="439748" />
<model path="public/ssd300/FP32/ssd300.xml" precision="FP32" test="infer_request_inference" device="GPU" vmsize="1356565" vmpeak="1441762" vmrss="941418" vmhwm="947060" />
<model path="public/vgg16/FP32/vgg16.xml" precision="FP32" test="create_exenetwork" device="CPU" vmsize="2133814" vmpeak="2836412" vmrss="1438049" vmhwm="2140533" />
<model path="public/vgg16/FP32/vgg16.xml" precision="FP32" test="create_exenetwork" device="GPU" vmsize="2801422" vmpeak="3915366" vmrss="2465065" vmhwm="3578811" />
<model path="public/vgg16/FP32/vgg16.xml" precision="FP32" test="infer_request_inference" device="CPU" vmsize="2401380" vmpeak="2836412" vmrss="1469832" vmhwm="2140377" />
<model path="public/vgg16/FP32/vgg16.xml" precision="FP32" test="infer_request_inference" device="GPU" vmsize="2892432" vmpeak="3939166" vmrss="2472017" vmhwm="3602924" />
</models>
</attributes>

View File

@ -1,14 +0,0 @@
<?xml version="1.0"?>
<attributes>
<devices>
<value>CPU</value>
<value>GPU</value>
</devices>
<models>
<!--Models with FP32 precision-->
<model name="vgg16" precision="FP32" source="omz" />
<model name="mtcnn-r" precision="FP32" source="omz" />
<model name="mobilenet-ssd" precision="FP32" source="omz" />
<model name="ssd300" precision="FP32" source="omz" />
</models>
</attributes>

View File

@ -15,6 +15,3 @@ target_link_libraries(${TARGET_NAME} PRIVATE StressTestsCommon)
install(TARGETS ${TARGET_NAME}
RUNTIME DESTINATION tests COMPONENT tests EXCLUDE_FROM_ALL)
# Copy local configs to BIN_FOLDER
configure_file(local_configs/test_config.xml
${OUTPUT_ROOT}/${BIN_FOLDER}/${CMAKE_BUILD_TYPE}/stress_tests_configs/memleaks_tests/test_config.xml COPYONLY)

View File

@ -1,20 +0,0 @@
<?xml version="1.0"?>
<attributes>
<!--[ WARNING ] Use of attribute "processes" from config isn't implemented yet. It will be ignored.-->
<processes>
<value>1</value>
</processes>
<threads>
<value>1</value>
</threads>
<iterations>
<value>30</value>
</iterations>
<devices>
<value>CPU</value>
<!-- <value>GPU</value>-->
</devices>
<models>
<model name="mobilenet-ssd" precision="FP32" source="omz"/>
</models>
</attributes>

View File

@ -14,7 +14,3 @@ target_link_libraries(${TARGET_NAME} PRIVATE StressTestsCommon)
install(TARGETS ${TARGET_NAME}
RUNTIME DESTINATION tests COMPONENT tests EXCLUDE_FROM_ALL)
# Copy local configs to BIN_FOLDER
configure_file(local_configs/test_config.xml
${OUTPUT_ROOT}/${BIN_FOLDER}/${CMAKE_BUILD_TYPE}/stress_tests_configs/unittests/test_config.xml COPYONLY)

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<attributes>
<processes>
<value>1</value>
</processes>
<threads>
<value>1</value>
</threads>
<iterations>
<value>100</value>
</iterations>
<devices>
<value>CPU</value>
<value>GPU</value>
</devices>
<models>
<model name="alexnet" precision="FP32" source="omz"/>
</models>
</attributes>