Commit Graph

259 Commits

Author SHA1 Message Date
Yegor Kruglov
14dcd43c32 [MO] Replacing StridedSlice with Squeeze/Unsqueeze (#6693)
* added reinterp_shape parameter to tf ss extractor

* removed reinterp_shape

* added transformation to replace ss

* updated bom

* fix for e2e tests

* updated a case when shrink_axis_mask and new_axis_mask are both initialized

* unittests

* added comments

* updated graph_condition

* comments resolving

* updated the case, when shrink_axis_mask and new_axis_mask are both initialized

* added layer tests for squeeze/unsqueeze cases

* remove case when shrink and new axis masks are both set
2021-08-24 13:19:40 +03:00
Victor Kuznetsov
1f4664162a install necessary dirs for tests (#7044)
* install necessary dirs to tests

* rem RUNTIME from install step

* fix paths

* fix install paths

* fix install paths: add destination dirs

* add pandas

* fix requirements conflict - change pytest version to ~5

* remove comment from requirements.txt

* upd numpy version
2021-08-24 00:39:12 +03:00
Svetlana Dolinina
70e0b7817f Nested loop (#6710)
* initial changes to support nested loop

* fixed issues

* fixed nested loop extraction

* added comments

* removed unneeded comments

* review fix

* added tests

* turned off loop tests on GPU

* set xfail for TF tests

* removed TF test to move it in another repo

* fix typo in comment

* move duplicated code to separate functions;
added asserts

* add function for onnx constant creation;
add function to create body of loop
add comments to test

* move main change for nested loop to separate function
2021-08-23 23:11:39 +03:00
Olesya Martinyuk
a052b07fe6 MemCheck add INT8 models to pre-commit (#7166)
* updated desktop configs with int8 models

* updated desktop reference configs with actual values

* added commit comments
2021-08-20 12:25:59 +03:00
Alexander Shchepetov
afd49e662a Install layer tests with CMake (#6892)
* add CMakeLists.txt

* add copyright docstring

* add newline after copyright

* set target name

* change TARGET to DIRECTORY

* Rename layer tests dir to avoid name conflict

* cmakelists.txt final version

* Change destination to tests\layer_tests_openvino

* Add cmake_minimum_required to CMakeLists.txt

* Update CMakeLists.txt
2021-08-20 11:09:42 +03:00
Olesya Martinyuk
133b3b6468 Remove local configs and it's copying to bin/ for stress tests (#7131) 2021-08-19 12:57:47 +03:00
Pavel Esir
4738bbd757 [MO][nG] add Gather-8 to MO, layer tests, nG python api unit-tests and up/down-grading transformations (#6560)
* gather-8 upgrade/downgrade transforms

* bump to opset8

* add Gather-8 to MO

* fix permutation for Gather

* added TF layer tests, ONNX layer tests for negative indices, and nG python api unit-tests for negative indices

* typo fix, disable downgrading transformation

* disable downgrade in clDNN, line width style fix

* all Gathers are converted to 7th version, transformations will be enabled/disabled while op will be added into plugins

* disabled Gather8LayerTest on GPU

* added common function for Op replacement

* concretized meaning of negative indices, fixed some typos

* applied review comments: left only meaningful layer tests

* removed op replacing functions from common utils

* returned back transformations without subroutines

* corrected style, added comments to common_optimizations.cpp
2021-08-13 11:56:49 +03:00
Daria Ilina
5292de5338 Reorganize work with openvino/thirdparty (Copied from PR6744) (#6880)
* Copied PR6744

* Added CMakeLists.txt into gflags

* Return gflags into .gitmodules

* Added CMakeLists.txt into gtest

* fix: remove extra gflags and gtests from .gitmodules

* Change syntax in set gtest_targets

* Make gtest/CMakeLists.txt as in PR6744 for pre-commit experiment

* Update gtest/CMakeLists.txt

* Change version of gtest repo

* Return gtest info into .gitmodules

* Update gflags version to currently used
2021-08-11 11:33:52 +03:00
Alexander Shchepetov
e327c34af0 Add StressMemLeak test with 2 streams (#6964)
* StressMemLeakTests add tests with streams

* little fixes

* Code consistency
2021-08-10 17:04:18 +03:00
Anastasiya Koryachikhina
ad9078d9eb add itt_collector build (#6859)
* add itt_collector build

* changed format for itt_collector build

* replace build_dir with sea_itt_lib_path

* change type of build_target

* replace os.join with Path

* change built_target arg type
2021-08-09 12:40:56 +03:00
Ilya Sharikov
26c8b29b35 Added missing modules for timetests (#6896) 2021-08-03 12:19:40 +03:00
Maxim Vafin
9a36e77f50 Accept stream pointer instead of shared_ptr in paddle frontend (#6807)
* Accept stream pointer instead of shared_ptr

* Fix build

* Fix build tests on centos
2021-07-30 12:58:17 +03:00
Anastasiya Koryachikhina
4d7f6c54ef Change logic for using multiple models in cc tests (#6618)
* Change logic for using multiple models in cc tests

* removed extra key

* moved multiple infer to main function

* moved multiple infer to main function

* change test_config.yml and work with this file

* change test_config.yml and work with this file

* removed extra key

* changed separator symbol

* removed extra param from output

* Rollback comments in test_config.yml

* removed extra key in yml config file, change logic to save .npz for all model seperate instead of common npz file, change logic in parser arg

* removed extra key in yml config file, change logic to save .npz for all model seperate instead of common npz file, change logic in parser arg

* changed save path for infer result, deleted extra param

* updated test_config.yml

* rollback old way to get bin_path

* changed work with save path for inference result

* add empty line in the end for config file

* rollback line order

* removed extra param allow_pickle=True in loading .npz file

* removed mkdir in run_infer

* uncomment resnet model

* added empty line

* changed save folder for cc result
2021-07-30 10:30:38 +03:00
Mikhail Nosov
a95d59014c Rename "pdpd" frontend to "paddle" (#6842)
* Rename "pdpd" frontend to "paddle"
Also renamed mo_pdpd.py+main_pdpd.py to mo_paddle.py+main_paddle.py

Class names were not renamed

* Update package_BOM.txt
2021-07-29 11:43:07 +03:00
Ilya Sharikov
6ee9285fe5 Added Windows OS support to MemCheckTests (#6684)
* Added Windows OS support to MemCheckTests

* Move system headers to cpp file

* Moved includes for windows to cpp file. Was rewrited function to get memory info

* Was rewrite functions for getting information about memory

* Moved implementation run_in_process to cpp file

* Fixed implementation of run_in_process
2021-07-28 13:06:16 +03:00
Ilya Sharikov
33dfcd62c2 Add --verbose option to infer_tool (#6770)
Detailed infer results printing overload output and freeze sea_runtool.
Hiding debug messages by default.
2021-07-26 09:00:56 +03:00
Ivan Tikhonov
6e8b0e0ea6 pdpd Place: remaining methods, refactoring, unit tests (#6637)
* pdpd Place: remaining methods, refactoring, unit tests

* resolve merge issues

* use references instead of shared_ptr for Var and Op descs

* Add import pdpd fuzz test; To enable collection of pdpd models, cmake NGRAPH_PDPD_FRONTEND_ENABLE key should be set, the models will be generated to pdpd_test_models folder.

* fix ngraph codestyle

* fix review comments

* Add new methods for Place class

* fix implementation, add tests

* Place: Return nullptr instead of throwing an exception

* ngraph codestyle

* revert return nullptr

* fix build

* fix tests

* fix fuzzing tests

* fix fuzzing tests

* fix readme file

* Revert "fix readme file"

This reverts commit d061e69a0d.

* Resolve review comments

* ngraph codestyle

Co-authored-by: Somsikov, Andrey <andrey.somsikov@intel.com>
2021-07-23 15:22:05 +03:00
Ilya Sharikov
252483bb83 Common tests library for shared functionality (#6578) 2021-07-23 10:37:35 +03:00
Andrey Somsikov
22b9431a14 Add install target to fuzz tests (#6761) 2021-07-22 23:52:50 +03:00
iliya mironov
e1bffcc36c Add json validate (#6449)
* Add json validate

* Fix json schema

* Fix schema loader

* Add unit test

* Update bom file

* Update all requarments

* Update dev requarments

* Update requrments

* Update path to schema

* Update schema

* Add some unit tests

* Move schema to root dir

* Update schema path in bom file

* Fix unit test

* Fix bom

* Change path to schema

* update setup

* Fix setup

* Fix mo args test

* Refactoring some code

* Refactoring according to review

* Update sort imports

* Remove id attribute from schema

* Refactoring validator

* Fix according to review

* Move schema from json to dict. Update unit tests.

* Fix BOM file

* Update bom file
2021-07-22 21:12:44 +03:00
Valentin Dymchishin
55d9e85dc6 [54908] Update MemCheckTests references in nightly config (#6713)
* [54908] Update MemCheckTests references for GPU

* [54908] Update MemCheckTests references in nightly config
2021-07-22 12:50:07 +03:00
Vitaliy Urusovskij
a92a737ba0 Develop installation rules for time and stress tests (#6649)
* Prepare `install` rule for time_tests

* Prepare `install` rule for stress tests
2021-07-16 16:30:20 +03:00
Valentin Dymchishin
fe8ecd72ff Update MemCheckTests references for GPU in precommit (#6647) 2021-07-15 10:59:41 +03:00
Victor Kuznetsov
4efe708023 Make DB query for MemCheckTests optional in precommit (#6526)
* add try/catch

* add error msg
2021-07-07 14:38:49 +03:00
Ilya Sharikov
aea105c14b Remove resnet model for running CC test (#6439) 2021-07-07 12:55:28 +03:00
Ilya Lavrenov
fc7f80a34e CVS-34900: updated pugixml to v1.11.4 (#6301)
* Added pugixml as submodule

* CVS-34900: updated pugixml to v1.11.4

* Fixed link with pugixml

* USe pugixml::static

* Try to fix bug

* Removed GITHUB_PULL_REQUEST

* Replaced  OpenVINO_MAIN_SOURCE_DIR -> OpenVINO_SOURCE_DIR

* Removed some usages of IE_MAIN_SOURCE_DIR

* Use ngraph target directly
2021-07-02 11:36:31 +03:00
Ilya Sharikov
c2e4e64079 Updated path of the executable binary for the Python interpreter (#6494) 2021-07-02 10:53:46 +03:00
Victor Kuznetsov
267f9a3b77 Skip test_lstm_simple_precommit on gpu (#6293)
* skip test on gpu

* try to set timeout

* add timeout param

* rename to infer_timeout

* fix infer_timeout
2021-07-01 20:25:27 +03:00
Vitaliy Urusovskij
31907e51e9 Fixed several issues in time_tests (#6481)
* Fixed return in `run_timetest`

* Fixed `parse_stats()` argument type notation

* Pass message from `timetest` exe to test error msg to be uploaded to DB
2021-07-01 16:37:23 +03:00
Ilya Lavrenov
07f94ea602 Minimized usage of IE_MAIN_SOURCE_DIR (#6422)
* Minimized IE_MAIN_SOURCE_DIR hardcode

* Used COMPILE_OPTIONS instead of COMPILE_FLAGS

* Fixed compilation

* Enabled NGRAPH_DYNAMIC_COMPONENTS_ENABLE by default

* Fixes

* Moved GNA related file

* Fixed backend compilation

* Fixed Windows for ngraph

* Fixed <root>/tests build

* More updates

* Fixed scripts install

* Fixed Windows

* Fixed Windows
2021-06-30 18:15:41 +03:00
Victor Kuznetsov
a1eb5b1fd5 Change target branch field (fix null) (#6433) 2021-06-30 12:53:17 +03:00
Ilya Sharikov
6cf4f7eecf Updated path to executable binary for the Python interpreter (#6340) 2021-06-24 13:54:46 +03:00
Ilya Sharikov
b83a1ab1bc Updated requirements.txt (#6329) 2021-06-24 13:48:31 +03:00
Ilya Lavrenov
2f432980a0 Moved gflags, preprocessing dependencies to root (#6309) 2021-06-23 09:53:18 +03:00
Ilya Lavrenov
ad997410c8 Port to master (#6279)
* add single_layer_test for Interpolate-1 (#6133)

* Fixed InferenceEngineConfig.cmake usage in include() (#6136)

* Deprecated API updates (#6252)

* Fixed links to OMZ / DL Streamer (#6257)

* Added doxygen deprecation for LowLatency

Co-authored-by: Elena Gvozdeva <elena.gvozdeva@intel.com>
2021-06-22 17:43:17 +03:00
Ilya Lavrenov
fa2f9c5201 Migrated to official GoogleTest repo (#6286)
* Move gtest to <root>/wqthirdparty

* Fixed inference engine tests

* Fixed unit-tests

* Fixed GPU

* Fixed clDNN_unit_tests compilation

* Reverted ngraph changes

* Fixed VPU tests

* Fixed deprecated tests compilation

* Removed OpenVINO clone

* Added public submodule

* Removed

* Fixed Windows

* More updates for INSTANTIATE_TEST_SUITE_P

* Use release-1.10.0

* Removed ngraph copy of gtest

* Revert "Removed ngraph copy of gtest"

This reverts commit ec9fe08d79.

* Fixes for TYPED_TEST_CASE

* Fixed GNA tests

* Updated submodule

* Updaed index

* TMP disabled tests

* Revert changes and fix compilation errors

* Fixed caching tests

* Revert back

* Revert back all

Co-authored-by: Michael Nosov <mikhail.nosov@intel.com>
2021-06-22 17:39:39 +03:00
Alexander Shchepetov
020af3dddd add TF Roll op test (#6228) 2021-06-18 17:36:08 +03:00
Alexander Shchepetov
b0c508d4ff Add layer tests (#5789)
Co-authored-by: alexander.shchepetov <ashchepe@nnlvdp-cflr51.inn.intel.com>
2021-06-16 12:50:16 +03:00
Andrey Somsikov
fb7435a647 Add cnpy fuzz test and fix issues (#6109) 2021-06-14 17:00:49 +03:00
Victor Kuznetsov
089f76cc7f Add branch field to submit to DB in MemCheck/TimeTests (#6073) 2021-06-11 12:57:01 +03:00
Alexander Shchepetov
503d18c80f Enable MYRIAD in stress tests (#6026) 2021-06-08 12:47:20 +03:00
Vitaliy Urusovskij
291a80c84a Make stress and time tests build dependent from gflags from samples (#5883)
* Make timetests dependent on IE gflags 3rdparty from samples/

* Make stress tests dependent on IE gflags 3rdparty from samples/
2021-06-04 10:27:23 +03:00
Alexander Shchepetov
d25e149f76 Conditional compilation test can run from open source (#5629) 2021-05-26 11:43:59 +03:00
Vitaliy Urusovskij
97a9a76ff9 Fix parsing of threads in stress/memory tests (#5695)
* Fix parsing of threads in stress/memory tests

* Replace `char*` with `string` due `char*` can't be modified
2021-05-26 02:04:06 +03:00
Anastasiya Koryachikhina
0e86b095cc Add Inference with streams in MemCheckTests (#5608) 2021-05-26 01:01:51 +03:00
Victor Kuznetsov
af915859e3 Add float instance to time_tests parse_stats (#5726) 2021-05-21 11:12:05 +03:00
Vitaliy Urusovskij
dcd27f0776 Actualize stress tests README (#5698) 2021-05-20 14:43:48 +03:00
Victor Kuznetsov
c907fb9f52 Log have time measures nested (#5402) 2021-05-18 18:00:10 +03:00
Gorokhov Dmitriy
a19413c0c0 [CPU] Plugin migration on ngraph (#4344) 2021-05-06 19:49:24 +03:00
Victor Kuznetsov
4790c79eb4 Add time_tests dir path to sys.path (#5498) 2021-05-06 14:57:50 +03:00