Commit Graph

12169 Commits

Author SHA1 Message Date
Sebastian Golebiewski
78b0010656 update-notebooks (#19453)
Add notebook 252-fastcomposer-image-generation. Fix indentation, admonitions, broken links and images.
2023-08-28 14:39:00 +02:00
Wilson Seok
51e0c002ac add sqrt activation support in cpu_impl (#19422) 2023-08-25 12:10:12 -07:00
Min, Byungil
85ea15896b [GPU] Resolve accuracy issue from clamp fused prims (#19408)
+ Added condition when clamp activation is added to fused-ops for fp16 overflow

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-08-25 11:22:01 -07:00
Karol Blaszczak
394dd95b25 [DOCS] speech sample deprecation port 23.1 2023-08-25 12:41:47 +02:00
Maxim Vafin
4f84d752d4 [PT FE] Align bool types and same bit int types (#19400) 2023-08-25 13:52:23 +04:00
Gorokhov Dmitriy
8c9163930c [CPU] Fixed has_subnormals behavior for negative zero values (#19361) 2023-08-25 13:19:11 +04:00
Sofya Balandina
22045c6944 [conformance] Add shape mode and graph conv logic to test name (#19401) 2023-08-25 01:00:18 +02:00
Pavel Esir
7649942867 [tests] save into different file in compression_test.py (#19357)
* save into different file in compression_test.py

* reuse existing tmp_files mechanism
2023-08-24 18:02:15 +04:00
Artyom Anokhov
07f55354a6 [packaging] APT/YUM: Added few conflict version for dot-releases of 2023.0.X (#19336) 2023-08-24 15:56:45 +02:00
Maxim Vafin
60d5c9aedd [MO] Fix issue in nncf version verification (#19348)
* Return deleted nncf import

* Remove try-except, it hides exception

* Get version visout importing nncf module
2023-08-24 11:40:30 +02:00
Xuejun Zhai
daba3713c0 [Wrapper] Avoid creating new threads when converting legacy inference request to API 2.0 (#19376)
* 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-24 11:46:02 +04:00
Xiuchuan Zhai
f3e91c5473 disable useless and dangerous reorder from int to bf16 (#19369) 2023-08-24 15:11:15 +08:00
Ekaterina Aidova
b781b8f56c [PT FE]: allow example input list with one tensor (#19324) 2023-08-24 10:40:51 +04:00
Maxim Vafin
db49fa0255 [PT FE] Fix issue when FakeQuantize is not inserted after regular operations (#19315) 2023-08-24 09:58:08 +04:00
yanlan song
22db793c01 fix scan issue (#19321)
Signed-off-by: fishbell <bell.song@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-08-24 04:10:47 +00:00
Sebastian Golebiewski
f491ff3b7e [DOCS] Updating MO documentation for 23.1 (#19372)
* restructure-mo-docs

* apply-commits-18214

Applying commits from:

https://github.com/openvinotoolkit/openvino/pull/18214

* update

* Apply suggestions from code review

Co-authored-by: Anastasiia Pnevskaia <anastasiia.pnevskaia@intel.com>

* Apply suggestions from code review

* Update model_introduction.md

* Update docs/resources/tensorflow_frontend.md

* Create MO_Python_API.md

* Apply suggestions from code review

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* update

---------

Co-authored-by: Anastasiia Pnevskaia <anastasiia.pnevskaia@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-08-23 18:53:39 +02:00
Sebastian Golebiewski
0a0b690f57 CVS-113150 (#19371)
Porting:

https://github.com/openvinotoolkit/openvino/pull/18495
2023-08-23 18:27:55 +02:00
Maksim Kutakov
632f7e8356 [CPU] Fix deconvolution default primitive search algo (#19263)
* Fix deconvolution default primitive search

* Add dedicated test
2023-08-23 16:58:49 +02:00
Alexandra Sidorova
56f88804ee [Snippets] Fixed memory leak in LinearIR (#19317)
* [Snippets] Changed shared_ptr<Expression> in ExpressionPort to weak_ptr<Expression>

* [Snippets] Applied Ivan comment
2023-08-23 16:12:41 +02:00
Maksim Kutakov
952bd43844 [CPU] Fix convolution plus sum layout alignment (#19280) 2023-08-23 16:29:18 +04:00
Vladislav Golubev
0614cd5d88 [CPU] Optimal number of streams calculation moved after LPT (#19312) 2023-08-23 16:28:49 +04:00
Marcin Kusmierski
f0e7be1d2b [GNA] Fix memory leak in insert_copy_layer.cpp (#19300)
* Added cleanup transformation for inert copy layer transforamtions
2023-08-23 13:11:08 +01:00
Anton Voronov
1eacf7d70d [CPU][ONEDNN] jit_uni_dw_conv_row_f32: fixed post ops start index (#19352) 2023-08-23 15:52:28 +04:00
Ilya Churaev
b6ccd6cdff Disable proxy plugin for 2023.1 (#19081)
* Disable proxy plugin for 2023.1

* Do not run proxy tests
2023-08-23 15:41:51 +04:00
Sebastian Golebiewski
29ba2fea26 update-notebooks (#19338) 2023-08-22 15:37:41 +02:00
Sebastian Golebiewski
015b344d84 link-to-frontend (#19334) 2023-08-22 12:54:21 +02:00
Surya Siddharth Pemmaraju
e2d39fec68 Added openvino/torch folder for simplyfing the import (#19281) 2023-08-22 14:24:16 +04:00
Mustafa Cavus
b35ae397b7 TorchFX bugfix missing core object in get_device() (#19278) 2023-08-22 14:23:19 +04:00
Zhang Yi
d4d13663cc [CPU]Fix MLAS threadpool of MlasExecuteThreaded (#19294) 2023-08-22 12:52:22 +04:00
Zhang Yi
c70419a0a2 [CPU] Use parallel_nt_static for MLAS threading (#19301) 2023-08-22 11:58:13 +04:00
Roman Kazantsev
df2bcf7dbd [TF FE] Use regular Convolution in case dynamic input channels (#19253) (#19303)
* [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.



* Remove unused variable from the test



* Fix unit-test

* Update mo unit-test

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-22 09:28:07 +02:00
Sebastian Golebiewski
4a84e84ece port-19307 (#19311)
Porting: #19307
Updating tutorials: adding table of contents and new notebooks.
2023-08-21 16:54:00 +02:00
Anton Voronov
298c6fb8d5 [CPU] Fixed is_on_constant_path() using in all places (#19256) 2023-08-21 18:41:31 +04:00
Wanglei Shen
48b70dc6a5 fix SDL issue (CID 1518459) (#19288) 2023-08-21 20:24:51 +08:00
Maxim Vafin
ec50afd22b [PT FE] Support non boolean inputs for __or__ and __and__ operations (#19272)
Add test for __or__
2023-08-21 13:13:25 +02:00
Wanglei Shen
cd8bb9fb88 fix SDL issue (CID 1518457) for 2023.1 branch (#19290)
* fix SDL issue (CID 1518457) for 2023.1 branch

* update for comments

* update for comments
2023-08-21 17:43:03 +08:00
Georgy Krivoruchko
8a0b844750 [ONNX] Fixed issue with missing sort when wstring path (#19250) (#19258)
* Fixed issue with missing sort when wstring path

* Fixed CI linux builds
2023-08-19 08:47:10 +04:00
Vitaliy Urusovskij
4afb59d2ab Fix uninit members in default GroupNormalization() (#19244) (#19260) 2023-08-18 14:03:24 +00:00
Alina Kladieva
61bde3b56d [ci/azure] Use 2023/1 ref (#19249) 2023-08-17 16:36:14 +00: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