Commit Graph

12398 Commits

Author SHA1 Message Date
Zlobin Vladimir
3813b0bc55
classification_sample_async: state that the samples support NCHW model layout only (#19259)
Ticket 107409
2023-08-21 09:02:29 +04:00
Karol Blaszczak
601cfadabf
Update prerelease_information.md (#19282) 2023-08-18 20:00:54 +02:00
Karol Blaszczak
3e6a3eee6d
[DOCS] contributing guidelines (#19218)
changes to the contribution guide
2023-08-18 17:59:31 +02:00
Karol Blaszczak
7635f89141
[DOCS] pre-releasenotes 23.1 Aug port master (#19273) 2023-08-18 17:58:01 +02:00
Vladimir Paramuzov
526d76c81f
[GPU] New headers and namespaces in some parts (#19229) 2023-08-18 15:57:15 +04:00
Anton Voronov
4f29e60742
FIxed is_on_constant_path() using in all places (#19239)
* Fixed matmul weights check in snippets_mark_skipped

* fix

* ConvertMatMulToFC: is_on_constant_path fix

* [TESTS] added SplitMatMulConcat subgraph test

* MarkDequantizationSubgraph: is_on_constant_path fix
2023-08-18 14:01:07 +04:00
Roman Kazantsev
24ddf1b274
[TF FE] Use regular Convolution in case dynamic input channels (#19253)
* [TF FE] Use regular Convolution in case dynamic input channels

This solution is aligned with the legacy frontend but it has limitation.
This is a temporal solution until the core obtains ShapeOf evaluator.

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Remove unused variable from the test

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Fix unit-test

* Update mo unit-test

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-18 13:39:59 +04:00
Vitaliy Urusovskij
ef33c2b3fd
Fix uninit members in default GroupNormalization() (#19244) 2023-08-18 12:16:55 +04:00
Irina Efode
e9fdf0cac4
[CONFORMANCE] Add progress bar to Subgraphs Dumper (#19235) 2023-08-18 11:59:22 +04:00
Ivan Tikhonov
dc6f04f475
Handle unspecified type in wrap_tensor function; unit tests (#19220) 2023-08-18 10:25:09 +04:00
Ivan Tikhonov
20bb450af2
Fix TransposeSinking when the data input is broadcasted (#19233) 2023-08-18 10:23:59 +04:00
Georgy Krivoruchko
e4bed7a31c
[ONNX] Fixed issue with missing sort when wstring path (#19250)
* Fixed issue with missing sort when wstring path

* Fixed CI linux builds
2023-08-18 01:24:59 +04:00
Anastasia Kuporosova
f51f0c7a6a
try to remove redandant functions (#18761)
* try to remove redandant functions

* remove redundant imports

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-08-17 16:11:39 +00:00
Edward Shogulin
318009f8d5
[LPT] MoveFakeQuantize: Q/DQ pattern identification generalization (#18945)
* [LPT] MoveFakeQuantize Q/D pattern dequantization generalization

* [LPT] MoveFakeQuantize Q/D pattern dequantization generalization: quantize op convert
2023-08-17 17:07:51 +01:00
Vitaliy Urusovskij
dea2310153
Add recreate_and_infer_in_thread memleak test (#19078)
* Add `recreate_and_infer_in_thread` memleak test

* Add custom threshold for memleak test

* Update tests/stress_tests/common/ie_pipelines/pipelines.cpp
2023-08-17 17:13:07 +04:00
Alina Kladieva
a3393e535b
Increment OV version to 2023.2.0 (#19248) 2023-08-17 15:03:14 +02:00
Ilya Lavrenov
e49b208393
Enabled debug build for Python wheels (#19197) 2023-08-17 16:45:18 +04:00
Ilya Lavrenov
75b48e9cdc
Added OpenCV minimal versions (#19231) 2023-08-17 16:45:01 +04:00
Vladislav Golubev
3e0f529700
[Snippets] init_ptr_increments: removed useless computations for non incremented ports (#19224) 2023-08-17 11:52:55 +00:00
Mateusz Tabaka
5d8abfe41f
ConvertSequenceToTensorIterator - push on-constant-path W, R, B inputs to TI's body (#19237)
For some (e.g. quantized) models, W, R, B inputs to sequence operations
are not direct constants, but a subgraph that can be constfolded later.
In that case, we don't need to have them as inputs to TensorIterator,
they can be pulled into its body instead.

Ticket: CVS-117544
2023-08-17 15:17:14 +04:00
Sergey Lyalin
f0300a36eb
Efficient FP32 -> FP16 conversion for convert_precision, save_model, ovc and mo (#18988)
* WIP Postpone fp16 in CompressFloatConstantsImpl

* Apply suggestions from code review

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

* WIP: Compression to FP16 in Serialize

* Prepared for efficient fp32 to fp16 conversion

* Update src/core/reference/src/runtime/reference/convert.cpp

* Called real slow reference implementations in the place where the optimized versions are supposed to be implemented

* Code style

* Fixed 0 values in the fast f64 to f16 compression

* Optimized convert_from_f32_to_f16_with_clamp

* Added optimized f32->f16 instance of change_constant_precision

* compression transformation Python test

* use tmp dir, minor corrections

* Update src/bindings/python/tests/test_transformations/test_compression.py

* Update src/bindings/python/tests/test_transformations/test_compression.py

* style fix

* define rt_info for postponed_fp16_compression

* remove redundant class

* fix temp dir for Win in test_compression.py

* update definitions in convert.hpp

* Update implementation in convert.cpp

* Update serialize.cpp

* Update compress_float_constants.cpp

* added macros for ARM/non_x86 in convert.cpp

* fix macros in convert.cpp

* change fixme placement in serialize.cpp

* style_fix

* Update src/core/reference/src/runtime/reference/convert.cpp

* style_fix

* Optimized count_out_of_f16_range

* Code style

* Revert unused

* Update src/core/src/pass/serialize.cpp

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

* Update src/core/reference/src/runtime/reference/convert.cpp

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

* use optimized convert_from_f32_to_f16_with_clamp for non postponed

* minor corrections

* Update src/common/transformations/src/transformations/common_optimizations/compress_float_constants.cpp

* Update compress_float_constants.cpp

* Switched mo and ovc to save_model instead of serialize to leverage performance improvements in fp32->fp16

* Applied minor code imporvements to address review feedback

* Minor changes in code

* Update tools/ovc/openvino/tools/ovc/main.py

* Apply suggestions from code review

* Fixed failed test in case when both usual xml compression and fp16 compression are applied simultaneously (disabled for now)

* Added description for CompressFloatConstantImpl postponed parameter

* Description of postponed parameter for CompressFloatConstants

* Reverted switching to save_model in mo as the compression can be applied not only via CLI and old code should be kept for Python path (not applicable for ovc)

* Removed remining committed test artefacts and reverted remaining changes in mo

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: dmitrygo <dmitry.gorokhov@intel.com>
Co-authored-by: Vladimir Paramuzov <vladimir.paramuzov@intel.com>
Co-authored-by: Pavel Esir <pavel.esir@intel.com>
Co-authored-by: Pavel Esir <pavel.esir@gmail.com>
2023-08-17 11:08:33 +00:00
Jade Cho
2394732055
[dGPU] Use cldnn concat if data type is fp32. (#19240) 2023-08-17 09:14:26 +00:00
Min, Byungil
1b9de79d0d
[GPU] Resolve fp16 overflow of mul (#19173)
+ Fixed black output image by Nan output.
+ Resolved fp16 overflow of gemm primitive before softmax
+ Added fused post ops of clamp activation not to get inf which caused Nan output
+ Added new pass modify_fused_ops

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-08-17 18:09:10 +09:00
Andrei Gorbachev
49bbcb4cf6
[ПЗГ] fix coverity (#19204) 2023-08-17 12:46:35 +04:00
Ilya Lavrenov
14abb2de8e
Conan: compilation with dynamic flatbuffers (#19238) 2023-08-17 11:36:30 +04:00
Anastasiia Pnevskaia
3ef345095c
Set CF=False. (#19223) 2023-08-17 11:22:26 +04:00
Anastasiia Pnevskaia
7a566313e5
Fixed 'output_model' logic in OVC. (#19171)
* Fixed output_model logic.

* Removed not needed code.

* Used os.path.basename, added comments.

* Removed loop.

* Test corrections.
2023-08-17 09:47:18 +04:00
Anastasiia Pnevskaia
3e23908983
Improvements and fixes in OVC convert_model (#19184)
* Added support of tuple in input, removed type syntax from OVC tool.

* Removed type syntax tests.

* Apply suggestions from code review

* Method annotation corrected.

* Type annotation corrected.

---------

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
2023-08-17 09:45:30 +04:00
Wilson Seok
b656feee57
[GPU] fix priorbox legacy code in CreateOp() and allow to use max_size is null (#19143) 2023-08-16 17:54:04 +04:00
Zlobin Vladimir
b4f6148e0b
benchmark_app: fix grayscale model and image (#19217)
C++ version doesn't have this problem.

Ticket 99702
2023-08-16 13:47:31 +00:00
Surya Siddharth Pemmaraju
a6719ef2be
Improvements for 2023.1 release (#19168)
* TorchFX caching bugfix and improvements

* Fixed inconsistent env variable for Backend device

* Identify PyTorch FrontEnd Decoder type

* Added import statement in init files

* Registered ts_openvino as a separate backend

* Added caching fix and removed extraneous code

* Changed the name of ts backend

* Fixed issue with local temporary object

* Removed import statement from init files

* Changed the documentation

* Added get_supported_ops method for decoders

---------

Co-authored-by: Cavus Mustafa <mustafa.cavus@intel.com>
Co-authored-by: ynimmaga <yamini.nimmagadda@intel.com>
2023-08-16 15:13:21 +02:00
Maxim Vafin
daa4f17a0a
[PT FE] Revise usage output vs node in frontend (#19215)
* [PT FE] Revise usage output vs node in frontend

* Fix code style
2023-08-16 17:05:25 +04:00
Jacek Pawlak
cce9872fea
[docs] VPU licensing (#19222)
* flatbuffers version update

* minor changes

* minor changes
2023-08-16 17:01:32 +04:00
Jan Iwaszkiewicz
baa0ce46b0
[PyOV] Accept Python functions as Extension attrs and properly capture GIL (#18992) 2023-08-16 14:44:48 +02:00
Min, Byungil
ef6c8c1d66
[GPU] Make gemm_tiled_opt support outer axis (#19210) 2023-08-16 16:43:47 +04:00
Anastasiia Pnevskaia
cabb40638a
Fix of confusing logs in convert_model(). (#19157)
* Added check that nncf was imported.

* Added check that nncf was imported in MO.

* Added check that nncf was imported in MO.

* Apply suggestions from code review

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>

* Removed not needed import.

* Pylint fix.

---------

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
2023-08-16 13:53:22 +04:00
Katarzyna Mitrus
014691de4c
Test nms fix (#19156) 2023-08-16 12:32:04 +04:00
Ekaterina Aidova
89956b65e3
[PT FE]: fixes type checking for freezing conditions (#19199) 2023-08-16 10:30:05 +02:00
Przemyslaw Wysocki
71ac5ee301
[PyOV] Raise allowed diff value for torchvision preprocessor test (#19146) 2023-08-16 10:28:03 +02:00
Sebastian Golebiewski
2a8143f548
[DOCS] Add numpy to installation instructions for master (#19127)
* add-numpy

* Apply suggestions from code review

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

* Apply suggestions from code review

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-08-16 10:20:49 +02:00
Maksim Kutakov
74c237de2e
[CPU] Remove skip for the first inPlace base edge (#19185) 2023-08-16 11:49:04 +04:00
Pawel Raasz
5b273aaba6
Round ref implementation select optimal solution (#19021)
* Round ref implementation select optimal solution

* Add rounding guard
- minor corrections after review.
2023-08-16 11:42:55 +04:00
bstankix
5e1bcbdb93
[DOCS] Fix parameter name in design-tabs (#19211) 2023-08-16 07:42:01 +00:00
Haiqi Pan
712586bd16
Add test case for ov_compiled_model_set_property (#17697)
* add set property case

* add set property case

* free key

* fix code style

* add test of get_property() for ov_property_key_auto_batch_timeout

* get_property first

* add device name

* device_name.c_str()

* reset name

* test set_property

* remove comment

* pass local

* get property first

* fix bug

* use device from GetParam

* fix char to string

* use     EXPECT_STREQ(target.c_str(), result);

* fix comment

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-08-16 11:07:26 +04:00
Maksim Kutakov
d13dff06f3
[CPU] Disable gather inPlace for out of range indices (#19159) 2023-08-16 10:32:31 +04:00
Andrew Kwangwoong Park
8a0a4df941
[GPU] Fix unintentional expansion of pad's rank into 2D (#19106)
* [GPU] Fix unintentional expansion of pad's rank into 2D

* Add explicit 1d pad TCs for ov_gpu_unit_tests
2023-08-16 14:29:00 +09:00
Roman Lyamin
188434e969
[GPU] image_2d_weights_winograd_6x3_s1 formats fix (#19205) 2023-08-16 08:59:43 +04:00
Ivan Tikhonov
8509737d0a
Fix TransposeSinking for Gather (#19202)
* Fix TS gather

* enable pytest

* revert auto replaced comment
2023-08-15 16:23:01 +00:00
yanlan song
13f8ff4a40
fix rt_info meta parse race condition (#19196)
* fix a possible race condition

Signed-off-by: fishbell <bell.song@intel.com>

* clang

Signed-off-by: fishbell <bell.song@intel.com>

* reimpl

Signed-off-by: fishbell <bell.song@intel.com>

* add cases

Signed-off-by: fishbell <bell.song@intel.com>

* implement test in 2.0

Signed-off-by: fishbell <bell.song@intel.com>

* clean up unchanged files

Signed-off-by: fishbell <bell.song@intel.com>

* add pragma once

Signed-off-by: fishbell <bell.song@intel.com>

---------

Signed-off-by: fishbell <bell.song@intel.com>
2023-08-15 15:33:01 +00:00
Georgy Krivoruchko
18ab677952
[TF FE] Enabled MMAP for SavedModel and MetaGraph (#18471)
* Moved mmap to openvino/util as a shared functionality

* Enabled MMAP for SavedModel and MetaGraph

* Fixed CMake

* Fixed a lost line

* Simplified code for compilers

* Aligned with an actual master

* Enabled mmap by default and added test

* Suppressed warning, added test for MetaGraph, additional messages

---------

Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
2023-08-15 14:36:08 +00:00