Commit Graph

12267 Commits

Author SHA1 Message Date
Karol Blaszczak
6eee51a6ef
[DOCS] including NPU documents (#19340) 2023-08-22 17:17:37 +02:00
Pratham Ingawale
9a76daf94b
generator to pytest (#19298)
* trying with pytest

* update as per suggested

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-08-22 17:42:56 +04:00
Sebastian Golebiewski
6cd70af7c2
update-notebooks (#19337) 2023-08-22 15:37:37 +02:00
Oleg Pipikin
de65abc6b3
Remove WA for vpu repo with CommonTestUtils namespace (#19275) 2023-08-22 13:03:45 +00:00
Zhang Yi
7e724565b5
[CPU] Use parallel_nt_static for MLAS threading (#19297) 2023-08-22 10:38:07 +00:00
Sergey Shlyapnikov
7df8d1ca2d
[GPU] Add per iteration performance profiling mode (#18637) 2023-08-22 12:37:36 +02:00
Surya Siddharth Pemmaraju
acbac2f560
Added openvino torch backend import statement in init files (#19208)
* Added openvino torch backend import statement in init files

* Added openvino/torch folder for simplyfing the import

* Removed imports from all the other init.py files

* Fixed flake8 issues

* Removed requirements.txt

* Removed redundant functions
2023-08-22 14:24:53 +04:00
Irina Efode
551cb7ab1a
[CONFORMANCE] Extend conformance runner to use in GA with expected_failures filelist (#19285)
* [CONFORMANCE] Extend conformance runner to use in GA with expected_failures filelist

* fix

* exclude failed tests from run in case without update

* Small refactoring
2023-08-22 13:32:34 +04:00
Sofya Balandina
0cc3044764
Add attr info to rename_conformance_ir hash (#19277) 2023-08-22 13:30:24 +04:00
Sebastian Golebiewski
4703196f5c
link-to-frontend (#19178) 2023-08-22 11:21:56 +02:00
Zhang Yi
53c47aaa91
[CPU]Fix mlas threadpool of MlasExecuteThreaded (#19292) 2023-08-22 12:49:38 +04:00
Sebastian Golebiewski
20bf7aec13
[DOCS] Update tutorials for master (#19307)
* update-160823

* fixes

* fix-toc-headings

* fix-headings

* fix

* fix-headings

* fix

* fix-headings

* fixes

* Update 220-cross-lingual-books-alignment-with-output.rst

* fixes

* fix

* fix-toc-headings

* fix-headings

* fix toc

* fix toc

* fix toc

* add-missing-301-nncf

* Update 301-tensorflow-training-openvino-nncf-with-output.rst

* fix toc

* fixes
2023-08-21 16:47:14 +02:00
Wanglei Shen
7c273dc2c5
fix SDL issue (CID 1518459) (#19287) 2023-08-21 20:24:59 +08:00
Pavel Esir
90f6500871
[tests] switch layer tests to FP16 on pre-commit (#19090)
* switch to FP16 on layer tests on precommit; add Pytorch layer tests for precision sensitive subgraph

* remove redundant changes

* moved precision sensitive tests into test_mo_convert_pytorch.py

* remove redundant dumping

* skip layer tests with chaotic output

* add copy() to avoid side effects
2023-08-21 16:03:47 +04:00
Roman Kazantsev
5539d052b0
[JAX][TF Hub][TF FE] Introduce JAX layer tests and support of XLA operations (#19269)
* [JAX][TF Hub][TF FE] Introduce JAX layer tests and support of XLA operations

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

* Fix JAX layer tests infa

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

* Extend run for JAX layer tests

* Use ovc convert_model

* Fix translator and extend layer test cases

* Exclude jax testing on Windows

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-21 16:01:48 +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
Roman Kazantsev
19ff7fba3d
[TF FE] Fix support of CTCLoss and add tests to pre-commit (#19291)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-08-21 14:26:36 +04:00
Wanglei Shen
61fcf3855a
fix SDL issue (CID 1518457) (#19289)
* fix SDL issue (CID 1518457)

* update for comments
2023-08-21 17:43:09 +08:00
Maxim Vafin
d55e45f677
[PT FE] Support non boolean inputs for __or__ and __and__ operations (#19268)
* [PT FE] Support non boolean inputs for __or__ and __and__ operations

* Add test for __or__
2023-08-21 10:55:30 +02:00
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