Jan Iwaszkiewicz
63c5be3ed2
[PyOV] Fix models checking and ensure correct destructor calls in tests ( #16814 )
2023-04-13 10:37:05 +02:00
Xuejun Zhai
e238bfc1d0
Fix C API test failed with debug version on Windows & MacOS ( #16903 )
...
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com >
2023-04-13 10:59:42 +04:00
Tomasz Dołbniak
fb49228fec
Pillow modes in the preprocessor's resize mechanism ( #16601 )
2023-04-12 15:30:42 +02:00
Przemyslaw Wysocki
69d6ef33fc
[PyOV] Align and bump numpy, further tidy up requirements ( #16652 )
...
* Align numpy
* Simplify the rest
* Minor change
* Minor change
* Restart CI
* Update paddle reqs
2023-04-12 13:14:38 +04:00
Anastasia Kuporosova
31aa35b646
[PyOv] remove commented functions without implementation ( #16864 )
2023-04-12 01:07:29 +04:00
dependabot[bot]
81af7f52cb
Bump pytest from 7.2.0 to 7.3.0 in /src/bindings/python ( #16830 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.2.0...7.3.0 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 16:50:12 +04:00
Ilya Lavrenov
feb08c408f
Return benchmark_tool to openvino-dev wheel ( #16834 )
2023-04-10 16:34:51 +04:00
Ilya Lavrenov
023dc1fa3d
Remove warnings during cython call ( #16831 )
2023-04-10 16:28:15 +04:00
Fang Xu
4ade0e5533
fix wheel_blacklist_extension for macos ( #16799 )
2023-04-07 11:28:56 +04:00
Ilya Lavrenov
d2deae225a
Added rpath for TBB libs to find hwloc ( #16788 )
2023-04-06 20:33:32 +04:00
Jan Iwaszkiewicz
92eb62fe63
[PyOV] Fix getting all names in OVDict ( #16665 )
...
* [PyOV] Fix getting all names in OVDict
* Add docs and adjust tests
* Fix linter issues
* Adjust typing and add test for incorrect key type
---------
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com >
2023-04-06 14:44:37 +02:00
Ilya Lavrenov
d732024ccb
Extended a list of libraries to exclude from wheel package ( #16764 )
2023-04-06 16:37:11 +04:00
Ilya Churaev
70ef0b5316
Minimize rebuild for Makefiles generator ( #16729 )
...
* Add dependency from ov_plugins.hpp only for files which use it
* Remove rebuild files depends on CI_BUILD_NUMBER changes
* Try to fix static build
* Fixed comments
* Fixed build
* Merged some change
* Try to fix build
* Try to fix nvidia build
* Take LTO value from target property
2023-04-06 11:02:28 +04:00
Ilya Churaev
f2894d09e9
Fixed windows build after #16716 ( #16773 )
2023-04-06 11:02:10 +04:00
Anastasia Kuporosova
2e0bac34db
[PyOV] Fix warnings ( #16674 )
...
* [PyOV] Fix warnings
* another win
* fix codestyle
* fix test
* fix any
* exclude some warnings
2023-04-05 20:01:43 +02:00
Vitaliy Urusovskij
7442a17240
Add Core property to switch from mmap to read in IR Frontend ( #16600 )
...
* Add Core property to switch from `mmap` to `read`
in IR FrontEnd
* Add tests on `ov::enable_mmap` property
* Add `enable_mmap` in C & Py APIs
* ClangFormat
2023-04-05 18:22:11 +04:00
Shen, Wanglei
9f54504232
update cpu properties name to enable_hyper_threading and enable_hyper_threading ( #16723 )
2023-04-04 15:25:11 +04:00
River Li
dec425c408
[C API] remove UNDEFINED property value ( #16709 )
2023-04-03 16:54:03 +04:00
Shen, Wanglei
86da15e621
enable new property ov::hint::use_cpu_pinning ( #16383 )
...
* enable ov::hint::use_cpu_pinning
* update test case for comments
* update header file
* update header file
* Delete cpu_streams_calculation.hpp
* Revert "Delete cpu_streams_calculation.hpp"
This reverts commit a1074ca843 .
* update config name
* fix code styple issue
* update for merge conflict
2023-04-03 18:14:33 +08:00
Wang Wangwang
99eda5b5e1
[PYTHON][CAPI][AUTO] Add ENABLE_STARTUP_FALLBACK and ENABLE_RUNTIME_FALLBACK proper… ( #16436 )
...
* [AUTO] Add ENABLE_STARTUP_FALLBACK and ENABLE_RUNTIME_FALLBACK properties to Python API
* Add DEVICE_BIND_BUFFER property
* Add AUTO properties to C API
* Update test case && Update AUTO properties in PYTHON API
* Create dedicated files for auto plugin
* Update header files
* Update test case
* Modify code style
* Update variable name
* Add test case for invalid input value
2023-04-03 11:56:48 +08:00
guozhong wang
341217de99
Unify code path for MULTI and AUTO CTPUT hint ( #16349 )
...
[MULTI] pass through to AUTO with CTPUT hint
After this change
-- MULTI doesn't support setting infer request via CPU(4),GPU(8).
-- MULTI doesn't support CompiledModel::set_property() and ExecutableNetwork::GetConfig().
2023-03-31 18:40:41 +02:00
Ilya Lavrenov
ccf9c19f61
Deprecated UNDEFINED values for execution / performance hints ( #16563 )
...
* Deprecated UNDEFINED values for execution / performance hints
* Update src/tests/functional/plugin/gpu/shared_tests_instances/behavior/ov_plugin/properties_tests.cpp
* Fixes
* Fixes
2023-03-30 13:48:19 +04:00
Ilya Lavrenov
0250f62d11
Revert inference precision to be a hint ( #16634 )
2023-03-29 18:59:33 +04:00
Przemyslaw Wysocki
591c3e61c5
[PyOV] Simplify requirement files ( #15343 )
...
* Partial progress
* Finish v1
* Cleanup
* Remove useless files
* Fix path to pdpd
* Fix onnx path
* Minor change
* Rework MO
* Minor change
* Remove some costraints
* Add MO constraints
* Update gitignore for MO
* Minor change
* Apply tech sync discussion
* Cleanup
* CR comment
* Debug ONNX FE
* simplify ONNX FE
* Update cmake
* Hardcode ONNX requirement
* Add dependency resolver to cmake
* Add constraints for openvino/tests
* Add missing pytest-html
* Fix -c path
* Revert debug changes to path
* Add cmake to copy constraints.txt
* Update dependabot
* Remove slash
* Remove cmake
* Debug prints
* Minor changes
* Move reqs check to separate file
* Add requirements parser to benchmark_tool
* Fix smoke tests constraints
* Minor fixes
* Minor change
* My fixes were apparently wrong
* Debug - self.executable_path
* Debug - add singledispatch to tests and tools
* Debug - print IE_APP_PATHs
* Revert "Debug - print IE_APP_PATHs"
This reverts commit 67ccb6d3f5 .
* Revert "Debug - add singledispatch to tests and tools"
This reverts commit 3b945931e2 .
* Revert "Debug - self.executable_path"
This reverts commit 3aa724eff6 .
* update dependabot
* update dependabot
* Skip benchmark_app tests
* Use CMAKE_CURRENT_BINARY_DIR in cmake
* Remove debug prints
* minor change
---------
Signed-off-by: p-wysocki <przemyslaw.wysocki@intel.com >
2023-03-29 14:27:27 +04:00
Sun Xiaoxia
988a8dd6a9
Xiaoxia/Optimize the streams calculation process ( #15777 )
...
* add _big_core_logic_streams
* modify core binding with cpu mapping table
* get _cpu_ids with querying cpu_mapping_table
* fix mac build issue
* fix cpu func test issue
* fix clang-format issue
* remove getCoreOffset and getThreadStep
* motify return false from cpuMapAvailable on windows
* remove core binding in latency mode
* add bind core on windows
* add model prefer threads
* modify streams calculating schedule in ApplyPerformanceHints
* modify MakeDefaultMultiThreaded and Stream
* add unified cpu binding with cpu_mapping on linux and windows. add GPU core binding interface. modify streams calculation scheduling
* fix code style issue
* modify default streams to 1 to fix ci test issue
* add SetStreamtoConfig, modify getNumOfAvailableCPUCores to fix continuous call loadnetwork issue
* modify code according to comments
* fix build issue on macos
* fix macos error
* fix cputest issue
* fix build issue on macos
* move features about CPU to lin_system_config.cpp
* fix code style
* fix bebian_arm build failed issue
* fix macos build issue
* fix code style
* fix test issue on windows
* fix code style
* add latency in hybrid_aware condition
* add the condition used all cores in latency mode
* fix code style
* fix code style
* add init_cpu
* fix code style
* fix streams=2 issue
* fix multi gpu core bind issue
* modify interface
* fix debian arm build issue
* add bind core in different socket
* fix code style
* fix build issue on windows
* fix GPU set_executor_config sync issue
* fix latency issue
* fix bind_cores issue
* modify model prefer on tigerlake machine
* modify according to comments
* fix code style
* modify GPU reserve CPU interface, remove bind core on windows feater
* fix code style
* add 3rd type core in cpu_mapping_table
* fix build issue
* update test case
* modify core bind behavior in latency mode
* remove 3rd core type function
* update format
* add lock in get_task_flag
* not bind core in latency mode
* change model_prefer to 0 with latency mode on core machine. bind core with latency mode on core machine
* remove a void thread
* modify condition of create task_area
* modify comments
* fix according to comments
* fix spelling mistake
* fix according to comments
* fix code style
---------
Co-authored-by: Shen, Wanglei <wanglei.shen@intel.com >
2023-03-29 18:26:27 +08:00
Mateusz Tabaka
556d469f6b
[PADDLE] add paddle opextension support ( #16439 )
...
* add opextension support
* support opconversion
* fix test contructor ambiguous
* fix ci fail
* add tag to avoid compiler ambiguous
* move tests to layer_tests & remove PaddleTag
* static cast
* use create_ov_node_by_name
---------
Co-authored-by: Luo Cheng <cheng.luo@intel.com >
2023-03-29 12:23:47 +04:00
Mateusz Tabaka
b82bedd648
Add Conversion and Op Extension to Pytorch frontend ( #16434 )
...
Tickets: 98766 and 98767
2023-03-29 00:25:29 +02:00
Vitaliy Urusovskij
40cc006bae
Enable MapAllocator in IR Frontend ( #12673 )
...
* Enable MapAllocator in IR Frontend
* Fix `ov_infer_request_ppp` test
With `mmap()`ing of IR, .bin can't be deleted until unmapping.
And it shows that there was a leak in test
* Add comment to Win `CreateFile()` regarding
FILE_SHARE_DELETE
* Unmap .bin file before IR files deletion
Wait ov::Model deletion to trigger .bin file unmapping
before IR files deletion
* ClangFormat
* Add `use_map_allocator` switch in FE
In case of direct use of FE (e.g. via MO), `mmap()` is OFF.
But in case of use FE via Core, `mmap()` is ON.
2023-03-28 23:24:13 +04:00
Irina Efode
3849d5aa02
[INSTALL] Fix setupvars (installation for MacOS) and build python ( #16514 )
...
* Fix installation + Python build on MacOS
* Update setupvars.sh
* Update setupvars.sh
* Revert
* revert
* Update scripts/setupvars/setupvars.sh
---------
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com >
2023-03-28 22:03:22 +04:00
Ekaterina Aidova
6fc0b6479e
[PT FE]: revert usage mo.convert_model in pt layer tests ( #16573 )
...
* [PT FE]: revert usage mo.convert_model in tests
* fix failed test
2023-03-28 16:06:21 +04:00
Shen, Wanglei
a726f0ae38
Enable new property ov::hint::scheduling_core_type ( #16106 )
...
* enable apply_processor_type()
* declare PROCESSOR_TYPE
* enable readProperties
* test case for get_property()
* enable set_property() and test cases
* reduce changes
* fix code style issue
* fix python test case issue
* remove python interface
* move processor type definition out of dev_api
* refine coding
* add dependency
* update header file
* update description
* merge intel_cpu header file
* add inline in-code documentation
* change 'UNDEFINED' to 'DEFAULT'
* remove ProcTypeConfig
* refine change
* refine change
* refine process_type to scheduling_core_type
* refine description
* fix code style issue
* change to ov::hint::scheduling_core_type
* fix code style issue
* fix code style issue
* fix python issue
* fix python issue
* fix python issue
* fix python issue
* change core_type_cfg to ov::hint::SchedulingCoreType
* update test case for comments
* update test case for comments
* add default for comments
* update code style
* update for comments
* update for comments
* fix typo
* move cpu_map_scheduling into threading folder
* update for merge conflict
* update for code style
2023-03-28 10:04:30 +04:00
Shen, Wanglei
815d4abc03
enable new property ov::hint::use_hyper_threading ( #16176 )
...
* enable apply_processor_type()
* declare PROCESSOR_TYPE
* enable readProperties
* test case for get_property()
* enable set_property() and test cases
* reduce changes
* fix code style issue
* fix python test case issue
* remove python interface
* move processor type definition out of dev_api
* refine coding
* add dependency
* update header file
* update description
* merge intel_cpu header file
* add inline in-code documentation
* change 'UNDEFINED' to 'DEFAULT'
* remove ProcTypeConfig
* refine change
* refine change
* enable new property use hyper threading
* update description
* resume legacy code
* change to ov::hint namespace
* update including header file
* update C API and Python API
* update description for comments
* update test case for comments
* update function location for comments
* fix typo
* fix typo
* fix code style issue and update test case
* move cpu_map_scheduling into threading folder
2023-03-28 00:39:26 +04:00
Rajat U Krishna
6eb8f4b2b7
[Docs][PyOV] Fix broken link to section ( #16553 )
...
* [Docs][PyOV] Minor change to fix a broken link in code_examples.md
2023-03-26 21:58:52 +04:00
Fang Xu
a96da994ec
Update prebuilt oneTBB2021.2.1 ( #16548 )
...
*update prebuilt oneTBB2021.2.1
*modify tbb and tbb component installation
*modify the implementation of removing soft links
*update prebuilt oneTBB2021.2.1
macos: 11.4
windows: win10+visual studio 2019(MSVC 14.21)
https://github.com/open-mpi/hwloc/archive/refs/tags/hwloc-2.8.0.tar.gz
https://github.com/open-mpi/hwloc/archive/refs/tags/hwloc-2.8.0.zip
https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.2.1.tar.gz(commitid:96af5d3)
https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.2.1.zip(commitid:96af5d3)
before building oneTBB 2021.2.1, replace all strings "2_4" of the source code with "2_5"
for windows, after compilation, replace all strings
INTERFACE_COMPILE_DEFINITIONS "\$<\$<CONFIG:DEBUG>:TBB_USE_DEBUG>" to INTERFACE_COMPILE_DEFINITIONS "\$<\$<CONFIG:DEBUG>:TBB_USE_DEBUG>;__TBB_NO_IMPLICIT_LINKAGE=1"
in cmake file "%cd%\install\lib\cmake\TBB\TBBTargets.cmake"
2023-03-25 08:46:43 +00:00
Ekaterina Aidova
179403ddc9
[PT FE]: improve integration into mo.convert_model ( #16243 )
2023-03-24 16:55:07 +01:00
Przemyslaw Wysocki
52b27d82c5
Upgrade ONNX to 1.13, protobuf to 3.20.3 and relax tensorflow ( #14773 )
...
* Bump ONNX version
* Bump protobuf
* Add xfails and skips
* Add tickets
* Skip ONNX Serialization tests
* Compile ONNX with C++17
* Force cpp17 - 2
* Use MSVC check
* Update tensorflow
* Minor change
* Bump onnx to 1.13.1
* Bump protobuf to 3.20.3
* Debug test tf
* Xfail tests in comp
* Update comp tests
* Update tf reqs
* Remove deprecated ONNX function
* Align PDPD FE protobuf req with 2.4.1
* Satisfy dependency review
* Attempt to fix dependency review
* Revert pdpd protobuf
* Skip pdpd tests
* Fix MO-TF-PB test
* Skip TF test case
* Add ticket numbers, rewrite reqs
* Fix requirements
* Minor change
* Set TF to 2.12
* Remove wrapt and skip test
2023-03-24 00:43:01 +04:00
Tomasz Dołbniak
de0a4e16fb
TopK 11 exposed to Python ( #16501 )
2023-03-23 16:33:54 +01:00
Anastasia Kuporosova
982e1c1192
[PyOV] Fix issues with RTMap ( #15636 )
...
* [PyOV] Fix issues with RTMap
* update year
* some clean-up and items fix
* tests and small fixes
* Update src/bindings/python/src/pyopenvino/utils/utils.cpp
* undo changes
* fix serialization on python side
* rt_info as rt_map
* undo several changes in tests
* fix mo test
* sadd docstrings
* add tests
* fix codestyle
* try to fix win
* fix master
* apply comments
2023-03-23 10:29:32 +01:00
Edward Shogulin
087b10ff00
Snippets: precision propagation ( #14996 )
2023-03-23 13:16:04 +04:00
Tomasz Dołbniak
951c5fdae9
Interpolate 11 exposed to Python ( #16465 )
2023-03-22 18:12:16 +00:00
Jan Iwaszkiewicz
4561aa7109
[PyOV] OVDict class - new return value from inference ( #16370 )
2023-03-22 16:12:07 +01:00
Xuejun Zhai
8509d0dd82
[Deprecated API] remove version ( #16426 )
...
* [Remove version] Remove version from py openvino
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com >
* Modify caused by remove version
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com >
* Fix clang format issue
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com >
* Revert "Fix clang format issue"
This reverts commit 132787286f .
* Fix CI format issue
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com >
* Fix CI format issue
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com >
* Fix merge conflict error
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com >
---------
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com >
2023-03-22 16:09:14 +01:00
River Li
232c802e07
[CAPI] Add ov::hint::execution_mode property ( #16466 )
2023-03-22 12:18:40 +04:00
Przemyslaw Wysocki
6cfea099d8
[PyOV] Align Python API's attributes and methods between its modules ( #15889 )
...
* Complete alignment
* Minor change
* Apply discussion results
* Apply discussion comments
* Clang
* Apply CR
* Code style
2023-03-22 10:22:44 +04:00
Pavel Esir
d8e7b39edb
flush by recreating constant ( #16430 )
2023-03-21 18:05:11 +04:00
Przemyslaw Wysocki
1e512af105
Skip test_mixed_dynamic_infer on ARM devices ( #16397 )
...
* Skip test
* Minor fix
* Minor update
2023-03-20 15:23:12 +00:00
Ilya Lavrenov
0c99135d44
Improved properties handling between Core and plugins ( #16296 )
...
* [HETERO]: adopt setting device properties in benchmark_app/speech_sample for HETERO
Fix IEClassHeteroExecutableNetworkGetMetricTest_SUPPORTED_METRICS test
Fix NumStreamsAndDefaultPerfHintToHWTest/PerHintAndDefaultPerfHintToHWTest tests
[HETERO][MULTI][AUTO] Make ov::device::properties regular property
[PYTHON] Update python BA with device properties
Update after rebase
Update src/plugins/auto/auto_executable_network.cpp
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com >
Update src/plugins/auto/multi_executable_network.cpp
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com >
Fix merge conflicts, apply some review comments
* Multiple improvements
* [HETERO]: adopt setting device properties in benchmark_app/speech_sample for HETERO
Fix IEClassHeteroExecutableNetworkGetMetricTest_SUPPORTED_METRICS test
Fix NumStreamsAndDefaultPerfHintToHWTest/PerHintAndDefaultPerfHintToHWTest tests
[HETERO][MULTI][AUTO] Make ov::device::properties regular property
[PYTHON] Update python BA with device properties
Update after rebase
Update src/plugins/auto/auto_executable_network.cpp
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com >
Update src/plugins/auto/multi_executable_network.cpp
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com >
Fix merge conflicts, apply some review comments
* Code style, bugfix after merging improvement
* More improvements
* Even more improvements
* Commit changes in core_impl.cpp
* Added parsing of any maps
* Fixed code-style
* Fixed AB mock tests build
* Fixed comparison
* Added new AB config key
* Improvements and fixes (#147 )
* Fix BA, fix GetSupportedConfig call for virtual plugins (#148 )
* Fix GPU tests (#149 )
* Fix BA, fix GetSupportedConfig call for virtual plugins
* Fix GPU tests
* Code style
* Improvements 10
* Fixed incorrect tests
* Revert removal cache_dir
* Revert removal cache_dir
* Fixed clean
* Supported device ID in CPU
* More fixed tests
* clang-format
* Fix legacy GPU tests (#150 )
* Removed clone_map
* clang-format
* Added clone_map back
---------
Co-authored-by: Nadezhda Ageeva <nadezhda.ageeva@intel.com >
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com >
2023-03-20 12:42:40 +00:00
Anastasia Kuporosova
8bfb6afd6a
[PyOV] Remove deprecated API ( #16361 )
2023-03-20 10:47:06 +04:00
Egor Duplenskii
e1e44d6bac
[CPU] Move to oneDNN v3.1 ( #15918 )
2023-03-17 14:17:55 +04:00
Jan Iwaszkiewicz
0372ca929a
[PyOV] Constant/Tensor from scalars ( #16270 )
2023-03-16 11:15:19 +01:00