Ekaterina Aidova
5857c4438b
[PT FE]: switch on tracing as main path if example inputs provided ( #17194 )
2023-04-26 12:50:43 +04:00
Przemyslaw Wysocki
923b6f297c
[PyOV] Move environment markers to requirements.txt files ( #17113 )
...
* WIP
* WIP
* Debug
* WIP
* Expand function to other setup.pies
* Revert mxnet
* Update docstring'
* restore defusedxml
* Update tools/mo/requirements.txt
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
* Code review
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com >
2023-04-25 13:25:21 +00:00
Jan Iwaszkiewicz
512b186231
[PyOV] Enable group_convolution_backprop test ( #17186 )
2023-04-25 12:19:56 +00:00
Mateusz Mikolajczyk
8e5b0650a0
[PT FE] Fix for prim::Constant optional or containing list of tensors ( #16754 )
...
* Fix Constant list of tensor
* Write TorchScript transformation
* Handle Optional Tensor Constants
* Improve tests
* Add comments
* Try fix flake
2023-04-24 22:56:42 +02:00
Alina Kladieva
f39ab0dbc9
Upper-bound for patchelf ( #17177 )
2023-04-24 19:52:55 +02:00
Ilya Lavrenov
a34ef680f2
Made plugins.hpp generation to be CONFIG dependent ( #17139 )
2023-04-24 14:48:45 +04:00
Fang Xu
656d7fe380
prebuilt oneTBB binaries for ARM64 ( #16904 )
...
* use oneTBB for arm64
* force THREADING=TBB
* test: remove TBB_DIR for linux arm64
* update linux and mac arm64 packages
* update SHA256
* add comment
* disable add_rpath for tbb libraries on mac arm64
---------
Co-authored-by: Chen Peter <peter.chen@intel.com >
2023-04-24 09:48:47 +04:00
Ilya Lavrenov
46f8ebfaec
Revert "Fix C API unite test case error ( #17012 )" ( #17128 )
...
This reverts commit 63c0089128 .
2023-04-22 01:44:34 +04:00
Ilya Lavrenov
fbc28297ec
Enabled C-API tests on ARM platform ( #17119 )
...
* Enabled C-API tests on ARM platform
* Fixed ARM CPU plugin test on streams
2023-04-21 22:55:18 +04:00
Aleksandr Voron
e31b00c299
[CPU] Enable Python test test_infer_request.test_infer_mixed_values with bool for ARM ( #17111 )
...
* Update test_infer_request.py
* enable all py tests
2023-04-21 19:52:32 +04:00
Jan Iwaszkiewicz
88cb428763
[PyOV][DOCS] Added Python advanced inference documentation ( #17090 )
...
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com >
2023-04-21 15:22:33 +02:00
Anastasia Kuporosova
a8b5ccc03f
[PyOV] Check for glibc version in python test ( #17081 )
...
* [PyOV] Check for glibc version in python test
* fix for no glibc
2023-04-20 19:28:55 +04:00
Mateusz Bencer
77a5d1aa03
[ONNX FE] Fixed handling duplicates during graph extraction ( #17071 )
2023-04-20 11:10:09 +00:00
Ilya Churaev
71880aadd3
Deprecate set batch method ( #17057 )
...
* Deprecate set batch method
* Fixed some errors
* Suppress warning in tests
* Fixed warning in GPU
* Deprecate python
2023-04-19 20:21:18 +00:00
Xuejun Zhai
63c0089128
Fix C API unite test case error ( #17012 )
...
* Fix C API unite test case error
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com >
* Fix test error with relative path
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com >
---------
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com >
Co-authored-by: River Li <river.li@intel.com >
2023-04-19 11:26:12 +04:00
Anastasia Kuporosova
9f250edc7f
[PyOV] use generator is multi config ( #17004 )
...
* [PyOV]- use generator is multi config
* use ov
---------
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com >
2023-04-18 22:04:22 +00:00
Ilya Churaev
566ef01a3f
Remove constructors for ov Exceptions ( #16938 )
...
* Remove constructors for ov Exceptions
* Fixed linux build
* Fixed ONNX Frontend
* Fixed paddle
* Fixed exceptions in tests
* Deprecate constructors for ov::Exception
* Suppress some warnings
* Merge several exceptions
* Some small changes
* Suppress more warnings
* More warnings
* mode warnings
* Suppress more warnings
* More warnings
2023-04-18 21:02:26 +04:00
Anastasia Kuporosova
f9098cd67c
[PyOV] Mark add_openvnio_libs as internal ( #16971 )
...
* [PyOV] Mark add_openvnio_libs as internal
* fix flake8
2023-04-17 17:34:13 +01:00
Ilya Churaev
25826bfe7d
Added deprecation of nv12 legacy API ( #16982 )
...
* Added deprecation of nv12 legacy API
* Added new files
* Change macros
* Suppress warnings for preprocessing
* Suppress warnings in tests
* Suppress warnings for Windows
2023-04-17 14:13:43 +00:00
Jan Iwaszkiewicz
816c0f76e2
[PyOV] Deprecate PerformanceMode.UNDEFINED and refactor deprecation ( #16965 )
2023-04-17 12:38:28 +02:00
Przemyslaw Wysocki
d72d833a96
[PyOV] Enable Python 3.11 ( #15144 )
...
* 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
* Relax python reqs, enable 311 in azure
* Fix setupvars error
* Ignore watchdog error
* 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
* Enable py311 on rest of jobs
* Try disabling pdpd req
* Exclude pdpd form cmake
* Update .ci/azure/linux.yml
Fixed unmerged merge-conflict
* CR
* Fix reqs
* Skip pdpd tests
* Disable pdpd tests building in cmake
* Skip another pdpd cmake
* Add file
* Add paddle constraint to tests
* Disable paddle reqs
* Debug prints
* Skip TF test if Python ver is 3.11
* Apply Mish cr comments
* Debug
* Debug
* Constrain tensorflow_addons
* Fix pdpd skipping
* Add debug prints
* Update skips
* Remove prints
* Minor change
* Update OMZ commit
* Fix some tests
* Minor change
* Disable pdpd at all
* Disable pdpd at all
---------
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com >
2023-04-17 13:30:17 +04:00
Roman Kazantsev
18da874c57
[MO] Remove use of mapping file and its generation ( #16944 )
...
* [MO] Remove use of mapping file and its generation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
* Fix pylinter findings
* Remove usage of mapping file in the layer tests
* Fixing layer tests for legacy frontend
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com >
2023-04-15 10:38:33 +00:00
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