Commit Graph
502 Commits
Author SHA1 Message Date
Ilya Churaev 3c7ea04c69 Enable variable state unit tests (#19529)
* Enable compilation variable state unit tests

* Enable all tests
2023-09-01 16:33:31 +04:00
Ilya Churaev 7c751883fc Moved functional tests to new API (#19488)
* Moved functional tests to new API

* Renamed legacy tests

* Fixed test

* Fixed test
2023-09-01 06:58:03 +04:00
Wanglei Shen 0651d57c33 Add smoke test for CPU map on MacOS (#18753) 2023-08-31 19:31:21 +04:00
Ilya Churaev 2d2977ff4a Moved inference unit tests to new API (#19452)
* Moved inference unit tests to new API

* Added infer request and variable state

* Try to fix LTO

* Try to avoid warning from gmock

* Try to fix azure build

* Try to fix Windows build

* Comment all variable_state_test file for future investigation
2023-08-31 16:39:46 +04:00
Ivan Tikhonov 38cf4764cb Transformations: API 2.0 transition part 2 (#19475)
* Transformation component API 2.0:part 2

* Refactoring

* fix build
2023-08-30 14:28:20 +02:00
Ilya Churaev dcfb6bb042 Remove some legacy headers from inference component (#19325)
* Remove some legacy headers from inference component

* Fixed code style
2023-08-23 15:13:30 +04:00
Xuejun Zhai 50214511e7 Avoid creating new threads when converting legacy inference request to API 2.0 (#19342)
* Fix error in CVS-115961, caused by wrapper covert 1.0 req to 2.0 req create 2 more threads

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Eable the test of compareAutoBatchingToSingleBatch with batch size 4 & num req 64, after fix issue 115961

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-08-23 10:25:47 +04:00
Ilya Churaev cbe744b717 Introduce model reader which works only with new API (#19077)
* Introduce model reader which works only with new API

* Fix GNA compilation

* Removed old code

* Fixed Windows build

* Remove legacy headers from core_impl

* Fixed caching tests if plugin on legacy API call ReadNetwork
2023-08-21 15:42:36 +04:00
Alina Kladieva a3393e535b Increment OV version to 2023.2.0 (#19248) 2023-08-17 15:03:14 +02:00
Maksim Kutakov 4996d1f034 TensorMemoryBlob: sync data handle on alloc call (#19149) 2023-08-14 13:22:11 +04:00
Fang Xu e33de35063 [CPU] Add max_threads_per_core setting into StreamExecutor (#18857) 2023-08-11 14:12:38 +00:00
Wanglei Shen a957764362 block SOC Ecore to be used in multi-threading on Windows (#18910) 2023-08-11 15:23:29 +04:00
Yuan Hu 85609d4881 [Core] fix Memory Leak caused by create/inference request consequently in separate thread (#18868)
* try to fix memory issue

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

* save code

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* fix life cycle issue

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* update comment and save stream of master thread in tbb ThreadLocal

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* update

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* not save the main stream in tbb

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* remote test code and update comment

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* fix mistaken modify

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* fix format issue

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* add test

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

* improve test

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

* fix the test

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* remote unused code

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* update the comment of the code

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* fix format issue

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

* revert test case

Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>

---------

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>
Signed-off-by: Hu Yuan2 <yuan2.hu@intel.com>
2023-08-11 11:53:07 +04:00
Sun Xiaoxia 0ed1749ad9 [CPU] Removed socket id=-1 workaround on macOS (#18779) 2023-08-11 10:38:21 +04:00
Wanglei Shen c62ad1add8 Support Win7 in cpu information parser (#19109) 2023-08-11 09:54:13 +04:00
Stefania HerganeandDan 24f8c4105e [EISW-89824] [master] Rename VPUX to NPU (#19004)
* Change `VPUX`/`VPU` occurrences to `NPU`

* Switch `HARDWARE_AWARE_IGNORED_PATTERNS` VPU to NPU

* Rename `MYRIAD plugin`

* Rename vpu_patterns to npu_patterns in tools/pot

* Rename vpu.json to npu.json in tools/pot

* Rename restrict_for_vpu to restrict_for_npu in tools/pot

* Change keembayOptimalBatchNum to npuOptimalBatchNum

---------

Co-authored-by: Dan <mircea-aurelian.dan@intel.com>
2023-08-10 00:20:07 +04:00
hyunback kim 58bd8e7f0b [GPU] Add disable winograd convolution in execute_config. (#18964)
* [GPU] Add disable winograd convolution in execute_config.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2023-08-09 13:32:36 +09:00
Ilya Churaev 4d84f4d182 Remove legacy API from from template plugin (#19036)
* Remove legacy API from from template plugin

* Fixed template plugin tests

* Fixed warning for Windows

* Fixed Windows warning
2023-08-09 07:27:28 +04:00
Ilya Churaev f86a0ad459 Removed legacy API from core_impl (#19009)
* Removed legacy API from core_impl

* Revert old extension in old API

* Fixed unit tests

* Wrap new extensions in old API

* Wrap extensions in all legacy API

* Fixed legacy exceptions

* Fixed ONNX tests

* Try to fix LTO
2023-08-09 07:26:25 +04:00
Ilya ChuraevandIlya Lavrenov 5ae9d80113 Remove core properties from set_property() call (#19008)
* Remove core properties from compiled_model call

* Add ENABLE_MMAP NO to python test

* Fixed set_property tests

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-08-08 15:55:41 +04:00
Ilya Churaev 28ce25421a Removed some deprecated API from inference component (#18981) 2023-08-04 12:34:33 +04:00
Wanglei Shen 0cad2f1324 [CPU] Move streams calculation before transformation pipeline (#18911) 2023-08-02 11:38:34 +00:00
Ilya Churaev c8bdefec30 Remove old API from Core implementation (#18892) 2023-08-01 09:00:55 +00:00
Ilya Churaev 3760e084fa Apply global mutex only for old glibc (#18832)
* Apply global mutex only for old gcc

* Added comment
2023-07-31 07:23:24 +00:00
Vladimir Paramuzov 3e0b4b337b [GPU] LUID property added (#18815) 2023-07-28 19:16:25 +04:00
Marcin Kacprzak e1ec17013d [GNA] Fix for GeminiLake detection (#18653)
* [GNA] Fix for GeminiLake detection

* Added HWGeneration::GNA_1_0_E enumerator
Added DeviceVersion::GNAEmbedded1_0 enumerator, changed the meaning of DeviceVersion::GNA1_0.
Updated ConvLowPrecision test with all supported targets

* [GNA] Extended a few tests with GNA1.0
2023-07-28 08:18:22 +02:00
Luwei Zhou 5f5df36b60 [CPU] Enable oneDNN avx2 brgemm impls for Matmul/FullyConnected operations (#18467) 2023-07-27 13:09:13 +02:00
Oleg Pipikin ff0b51f3ca Rename CommonTestUtils namespace (#18590)
* Rename CommonTestUtils namespace 1

* Rename CommonTestUtils namespace 2

* Rename CommonTestUtils namespace 3

* Rename CommonTestUtils namespace 4

* Fix1

* Fix2

* Fix3

* Apply comments

* Fix4

* Fix5
2023-07-26 21:06:50 +02:00
Ilya Churaev 18505b99b7 Removed core member remapped devices and use proxy config instead (#18791) 2023-07-26 08:20:43 +00:00
Nadezhda Ageeva 97b4b13074 Adds ov::internal::exclusive_async_requests in ov::internal::supported_properties (#18746)
* Adds ov::internal::exclusive_async_requests into ov::internal::supported_properties

* Update HETERO tests for ov::internal::exclusive_async_requests
2023-07-26 09:43:21 +04:00
Ilya Churaev 7767af3529 Fixed proxy plugin initialization with internal names (#18783) 2023-07-25 22:14:42 +04:00
Ilya Churaev d3fdc761f6 Try to fix get_data() and lto (#18766)
* Try to fix get_data() and lto

* Added test
2023-07-25 14:09:21 +04:00
cecilia peng 7fbd3a7ebf [CPU] Zero-copy optimizations for model outputs (#18476)
- Implement zero-copy output between plugin graph and infer request, thus eliminate memory copy overhead and optimize performance
- Implement double buffer for InferRequest outputs
2023-07-25 10:33:48 +04:00
Ilya Churaev e7cd113a47 Add to_string() method to ov::element::Type (#18697)
* Add to_string() method to ov::element::Type

* Fixed Python legacy API

* Fixed typo
2023-07-25 09:22:16 +04:00
Ilya Churaev 29ca4b99c5 Add property to configure internal name under the proxy plugin (#18727) 2023-07-25 09:22:02 +04:00
Ilya Lavrenov 86c68fffe4 Removed Intel Myriad headers from new API (#18736)
* Removed Intel Myriad from new API

* Renamed GPU unit tests
2023-07-24 16:20:08 +04:00
Wanglei Shen 0974cb10bc add socket id initialization in MacOS (#18717) 2023-07-21 18:49:36 +00:00
Wanglei Shen 98026d420f update proc_type_table for MacOS (#18702) 2023-07-21 21:13:28 +08:00
Ilya Churaev 44cae128cc Restore information about Blob layout for new plugins (#18696)
* Restore information about Blob layout for new plugins

* Save legacy names
2023-07-21 14:28:55 +04:00
Sun XiaoxiaandWanglei Shen 2dfb537bcb Xiaoxia/add get_socket_id interface based on threading2.0 (#18264)
* add streams_info_table init in the constructor of config

* add refresh _proc_type_table

* add get_org_proc_type_table

* add numa_node per stream in reserve_available_cpus()

* fix warning

* remove log

* fix code style

* fix gpu test build failed issue, modify debug info

* fix code style

* fix build failed on macos

* fix code style

* select socket in reserve cpu on 2 sockets platform

* fix build failed on macos

* modify numa node selecting in reserve_cpu_by_streams_info

* add test case

* fix code style

* modify test case

* fix core dump

* fix core dumped on pin=NUMA

* fix test failed on macos

* fix reserve cpu is wrong when streams_info_table=[1 1 36] proc_type_table=[36 18 0 18]

* add test case in LinuxCpuReserve

* modify test case

* add test case in cpu_reserve_test

* add cpu_stream_info_test

* modify enum

* fix test failed

* change int to size_t

* remove invalid code, fix running failed on macos

* modify LinuxCpuStreamType test case, move ie_cpu_streams_info.hpp to openvino/runtime/threading/

* fix code sytle

* modify enum name

* add comments in test case

* fix build issue

* change IE_ASSERT to OPENVINO_ASSERT

* fix test failed on macos and windows

* updated test cases due to the cpu mapping is changed

* enable numa_node_id and socket_id in streams_info_table

* fix code style issue

* fix document issue

* add get socket id interface

* fix segment fault on machine enabled socket_id=1 with numactl command

* fix numactl failed on four numa nodes machine

* remove compile warning

* fix numa_node_id=-1

* fix test case failed on macos

* fix test failed on macos

* fix numa_node_id=0 on macos

* Solve conflicts with master branch

* separate test cases for Linux and Mac/Windows

* update code style for windows compiler

* fix comments

* fix code style

* fix code style

* remove _plugin_mutex, fix comments

* fix code style

* fix code style

* add get_num_sockets

* fix cpu reserve issue in latency mode,ANY core on RPL machine

* add cpu reserve test case

---------

Co-authored-by: Wanglei Shen <wanglei.shen@intel.com>
2023-07-20 23:34:21 +08:00
Ilya Churaev 3f675ce396 Extend Proxy tests to cover cache_dir with auto batch (#18632)
* Added new tests to reproduce issue with auto batch

* Remove cache dir

* Fixed tests with auto batch

* Fixed check

* Added comment

* Remove try catch

* Remove comment

* Revert "Remove comment"

This reverts commit 99e26de4ca.

* Revert "Remove try catch"

This reverts commit 08b478c070.
2023-07-20 11:11:41 +04:00
River Li 0e76496acc [WA] performance issue for plugin api 2.0 (#18509)
* [WA] performance issue for plugin api 2.0

* Avoid onnx failure

* Avoid ov_template_func_tests failure

[ RUN      ] smoke_BehaviorTests/OVRemoteTest.inferWithRemoteNoThrow/element_type=f32targetDevice=TEMPLATE__context_parameters=__tensor_parameters=

MEM_USAGE=400336KB
/mnt/data1_1c41/river/openvino_master/openvino/src/tests/functional/plugin/shared/src/behavior/ov_plugin/remote.cpp:107: Failure
Expected: infer_request.set_input_tensor(0, input_remote_tensor) doesn't throw an exception.
  Actual: it throws.
[  FAILED  ] smoke_BehaviorTests/OVRemoteTest.inferWithRemoteNoThrow/element_type=f32targetDevice=TEMPLATE__context_parameters=__tensor_parameters=, where GetParam() = (f32, "TEMPLATE", {}, ({}, {})) (76 ms)
2023-07-20 08:22:31 +04:00
186b1b6bfc Gna 3 5 as default target with transpose fixes (#18373)
* [GNA] Set GNA 3.5 as default target and add 3.5 to properties

* [GNA] fix release version to 2023.1.

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>

* [GNA] Fix E2E Tests for Kaldi Framework

 * added fix for InsertConvolutionTransposeHW

---------

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>
Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
2023-07-19 14:48:01 +02:00
Sofya Balandina 8ac00677a9 [apiConformance] Move related to core tests from api to ov_inference_functional_tests (#18349) 2023-07-19 12:01:26 +03:00
Ilya Churaev e600a8e45a Revert "Revert "Revert "Fixed cases if cast data from Tensor to compatible type (#18479)" (#18539)" (#18599)" (#18631)
This reverts commit ea84e73282.
2023-07-19 12:20:11 +04:00
Vitaliy Urusovskij f470825faf Revert "Remove extra model from CompiledModelDesc" (#18612)
* Revert "Remove extra `model` from `CompiledModelDesc`"

This reverts commit fb07fd7b82.

* Prevent use of `get_rt_model` in Hetero `export`
2023-07-19 12:05:24 +04:00
Ilya Churaev ea84e73282 Revert "Revert "Fixed cases if cast data from Tensor to compatible type (#18479)" (#18539)" (#18599)
This reverts commit 3daa387692.
2023-07-18 19:57:32 +00:00
Oleg Pipikin cdef86c366 Move unit and func test utils (#18423)
* Move unit and func test utils. Rename targets

* Fix1
2023-07-18 16:23:58 +02:00
Chen Xu 9334ad0790 [CPU] Reduce node supports fp16 precision (#18227) 2023-07-18 12:49:25 +00:00
Oleg Pipikin b211767280 Consolidate common test utils targets (#18385)
* Consolidate test util targets

* Fix code style

* Fix 1

* Fix code style
2023-07-17 11:59:13 +00:00