Commit Graph

9573 Commits

Author SHA1 Message Date
Vitaliy Urusovskij
29b15233c7
Remove OV_FRONTEND_PATH (#15364)
* Remove "OV_FRONTEND_PATH" from `FrontEndManager`

* Remove "OV_FRONTEND_PATH" from layer_tests

* Remove "OV_FRONTEND_PATH" from find_ie_version.py

* Remove "OV_FRONTEND_PATH" from .ci/

* Move `ov::get_plugin_path` to file_util.hpp (ov::util)

* Add `register_front_end(name, path)` FEM public API

* Enable frontend/ tests

* ClangFormat

* Remove OV_FRONTEND_PATH from FE shared utils

* Add `register_front_end()` to PythonAPI

* Update Py tests with registering of "mock_py" FE

* ClangFormat

* Leftovers

* Fix SegFault with `register_front_end(name, lib_path)`

* Add FE_LIB_PRE and FE_LIB_SUFFIX to `ov_core_unit_tests`

* Fix format

* Update `testFailRegisterFEByWrongPath`
2023-02-02 08:19:35 +04:00
Oleg Pipikin
2b86412f03
Fix sanitizer SEGV (#15435) 2023-02-02 08:12:27 +04:00
Maxim Vafin
92649105ed
Add eltwise types resolving. Support big int constants. (#15415)
* Add eltwise types resolving. Support big int constants.

* Update src/bindings/python/src/openvino/frontend/pytorch/decoder.py

* Small fix

* Fix some cases

* Add tests for add in different types

* Add tests for mul

* Add tests for sub and div

* Small fixes

* Return list handling (needed for empty lists)

* Add test for empty list

* Update src/frontends/pytorch/src/op/mul.cpp

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

* Use refs instead of ptrs

* Apply suggestions from code review

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

* Apply code review suggestions

* Fix code style

* Add more eltwise ops

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-02-02 02:15:33 +01:00
Maxim Vafin
8051c2d535
Remove second call for UnrollIf (#15441) 2023-02-01 20:26:34 +00:00
Xiake Sun
302e5497dd
Docs/fix convert tf crnn model document (#14531)
* Fixed freezing tf1 pre-trained model issue due to mix use of tf1 and tf2 API
* Fix review comments
* Apply suggestions from code review
2023-02-01 20:36:48 +01:00
Tatiana Savina
6ac1636191
change extras description (#15279) 2023-02-01 20:10:48 +01:00
Taylor Yeonbok Lee
3910e0b2d0
[GPU] Use ocl for i32 dtype concat / enable_profiling for dump_profiling (#15419)
* Use ocl for i32 concat

* Enabling dgpu profiling
2023-02-01 20:08:58 +01:00
Sebastian Golebiewski
3e70a9206b
[DOCS] Restyling the documentation website - for master (#15409)
* tocsection css

* Update burger.svg
2023-02-01 19:47:01 +01:00
Michael Frank Hansen
631784730d
Docs ov 2022 3 Added results for Sapphire Rapids 6448Y. OV bench results and system config description (#15418)
fixes the FP32 and FP16 swap of results.

* SPR-6448Y updated results

Updated all files with data for SPR 6448Y. New results in benchmark-data.csv, benchmark-performance-data.xls, benchmark-info-detailed.xls and platform-list_22.3.pdf
2023-02-01 21:21:20 +03:00
Chenhu Wang
8fc4c2c6e1
[CPU]FC shape infer with an CPU shapeInfer object (#15092)
* with an shapeInfer object

* more efficient vector creation
2023-02-01 15:35:15 +01:00
Roman Lyamin
2d9a213ed6
[GPU] Added NV12toBGR single plane surface tests (#15417) 2023-02-01 18:26:39 +04:00
guozhong wang
1550a98bd2
Remove the redundant functions in the executable_network.cpp (#14909)
Co-authored-by: yanlan song <bell.song@intel.com>
2023-02-01 21:07:55 +08:00
Anastasia Kuporosova
ce287067d5
[PyOV] Change default opset9->opset10 (#15238) 2023-02-01 13:44:58 +01:00
Marcin Kusmierski
691ccad997
[GNA] Apply Style formatter (#15374)
* [GNA] Enable clang-format

* [GNA] apply fix for formatting

* [GNA] fixes to make code compilable after reformatting
2023-02-01 12:40:02 +01:00
Roman Kazantsev
ab2038041d
[TF FE] Add missed layer tests to nightly (#15424)
It needs to be tested on GPU

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-02-01 11:31:16 +00:00
Mateusz Mikolajczyk
a769cfe7e8
[PT FE]: Add aten::view transformations (#15339) 2023-02-01 12:14:17 +01:00
Leonard Sikorski
cab559b478
[PT FE] Add aten::repeat_interleave operator (#15274) 2023-02-01 11:45:04 +01:00
Pavel Esir
da9470864c
[MO] add extractor for TF Any operation (#15255)
* added extractor for TF Any operation

* enabled existing 'Any' layer test for legacy TF frontend
2023-02-01 08:59:15 +04:00
Kelvin Choi
5bcfdf15df
[GPU] Fix reduce fs_b_yx_fsv16 bug for MIN and MAX mode (#15060) 2023-01-31 16:02:42 -08:00
Pawel Raasz
0da339a7f2
Use ov tensor in validation utils for bounds evaluation (#15252)
* Use ov::Tensor in are_equal

* Use ov::Tensor in bounds evaluation
- remove from node evaluates bounds for HostTensor
- update validation utils
- update operators

* Fix code style

* Fix windows compilation errors

* Fix windows compilation errors in scatter update

* Improve reshape output shape calculation
during shape infer

* Add common bound evaluator
- rename evaluate_bound_t -> evaluate_bound

* Fix code formatting

* Move bound evaluation util functions to dev API

* Fix compilation issues

* Remove from dev API not required bound eval
- extract bound eval functions to separate source

* Add missing doxygen comment

* Use ref evaluate in bounds calc for shape_of
because input data can have dynamic type and
create tensor is not possible and data type has
no meaning for shape calculation.
2023-01-31 19:18:28 +01:00
Ekaterina Aidova
d57862edee
[PT FE]: support transformation for case aten::size + aten::__getitem__ (#15368) 2023-01-31 19:08:13 +01:00
Leonard Sikorski
1dd84e2074
[PT FE] Add aten::unfold operator with layer test (#15316) 2023-01-31 18:29:32 +01:00
Wilson Seok
9f135c9f51
fix generate_input range of exp for fp16 (#14685)
Co-authored-by: Irina Efode <irina.efode@intel.com>
2023-01-31 18:11:12 +01:00
Wilson Seok
0fd354a502
add condition of input_2 which meets EmbeddingSegmentsSum spec (#14690)
Co-authored-by: Irina Efode <irina.efode@intel.com>
2023-01-31 17:17:06 +01:00
Leonard Sikorski
f66f31a3b0
Add leyer test for aten::sub operator (#15406) 2023-01-31 19:50:05 +04:00
Sofya Balandina
12a9621650
[apiConformance] Add tests on props (#15272) 2023-01-31 14:52:01 +00:00
Ekaterina Aidova
a12de8183c
[PT FE]: handle prim::ListConstruct + aten::pad case (#15288) 2023-01-31 14:08:22 +00:00
Katarzyna Mitrus
407590cfc2
[ShapeInference] GatherTree shape infer improvements (#15399)
* Shape infer improvments

* Add type_prop label and interval dims tests

* Update shape_infer tests

* Use new shape_infer

* Revert headers changes

* Rename test file
2023-01-31 14:04:19 +01:00
Anastasia Kuporosova
de74d3c837
[PyOV] Try to fix PosixPath error in CI (#15377) 2023-01-31 11:58:15 +01:00
Katarzyna Mitrus
f342e5d208
[ShapeInference] Improve GatherND shape inference (#15378)
* Add shape_infer function for GatherND

* GatherND shape infer improvements

* Align test to trigger correct error message

* Add new and improve GatherND type_prop tests

* Update tests to use ov namespace

* Add GatherND common shape_infer tests

* Init shape infer tests for not common cases

* Tests refactor

* Add default ctor tests

* Add more test cases

* Register shape_infer for GatherND V5 and V8

* Enable more tests and print params

* Move GatherNDTestParams
2023-01-31 14:12:12 +04:00
Pawel Raasz
4ce3e9a88d
Review CTCLoss class for shape inference aspects (#15375)
* Review ctc loss operator for
- partial shape and label propagation
- template implementation of shape_infer
- update/extend tests

* Use namespace ov in ctc loss operator
2023-01-31 14:10:30 +04:00
Pawel Raasz
3a8646215f
Review roll class for shape inference aspects (#15295)
* Review Roll label and interval shape propagation

* Review Roll shape_infer template implementation

* Fix compilation issues
2023-01-31 14:05:23 +04:00
Ekaterina Aidova
758a0dea56
[PT FE]: support grid sampler (#15243) 2023-01-31 14:04:37 +04:00
Piotr Krzemiński
7e3e0ff003
[C++] Fix coverity issues (#15348)
* [C++] Fix coverity issues

* Merge master with this branch

* [C++] Reapply changes that got eaten during merge

* Update samples/cpp/benchmark_app/main.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* [C++] Add missing const keyword

---------

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2023-01-31 13:13:35 +04:00
Ekaterina Aidova
b2ce43a172
[PT FE]: support aten::instance_norm (#15213) 2023-01-31 08:51:02 +00:00
Vitaliy Urusovskij
b4cb4fe8c9
Remove setupTestEnv() from fe_shared_test_classes (#15392) 2023-01-31 12:41:47 +04:00
Jade Cho
06063201d5
[GPU] Optimize permute for acdb format (#15139)
* [GPU] Optimize permute for acdb format

Target subgraphs to be optimized-out
- input(bfyx) - permute(byxf) - conv
- conv(byxf) - permute(bfyx) - output
+ Fix test_device_mem_usage_estimation unit test failed.
2023-01-31 17:32:57 +09:00
Pavel Esir
1ae0b2796e
[MO] fix UnaryElementwise reverse_infer (#15366)
* fix UnaryElementwise reverse_infer

* fixed tests for UnaryElementwise reverse_infer

* reverted autocorrection edits
2023-01-31 11:56:24 +04:00
Ilya Lavrenov
d092f5d7dd
Setup minimum supported version for pybind11 (#15397) 2023-01-31 11:48:15 +04:00
Artur Kulikowski
4e064b02a0
Add test to verify add_extension with relative path (#15212)
* Add test to verify add_extension with relative path

* Fix code style

* Use std::string::find instead of std::regex

* Remove unnecessary include

* Add comments about generating relative path

* Don't add empty tokens when splitting path
2023-01-31 11:40:31 +04:00
Roman Kazantsev
d1114102d7
[TF FE] Refactor CropAndResize support (#15398)
* [TF FE] Refactor CropAndResize support

Make it more reshape-oriented. It allows to convert Mask R-CNN model without config file.

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

* Update src/frontends/tensorflow_common/src/op/crop_and_resize.cpp

* Use Gather for coordinates swapping

* Update src/frontends/tensorflow_common/src/op/crop_and_resize.cpp

* Update src/frontends/tensorflow_common/src/op/crop_and_resize.cpp

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-31 07:28:21 +00:00
OlehKravchyshyn
4700207af0
[GPU] Feature/intepolate 3 axes onnx 5d (#13796)
added 3-axis interpolation for linear-onnx mode
fixed resample_opt for onnx mode, it didn't work in case of padding
added tests for the new implementation and fix

@OlehKravchyshyn
2023-01-30 22:45:53 -08:00
Vladislav Golubev
d1397b7b48
[LPT] Rank limitations removed (#14785)
* [LPT] LayerTransformation: removed legacy rank checks

* [LPT] Added test cases with 1D and 6D ranks & existing tests corrected
2023-01-31 00:26:59 +00:00
Paul Youngsoo Ahn
0b5603fa98
[GPU] improve primitive impl caching mechanism with new unified key (#14797)
* [GPU] improved impl cache key (#14797)
- Add hash function for primitive and program_node
- Filter task before entering async compilation queue

* [GPU] improved impl cache key (#14797)
- Multiply magic prime number at input value of hash_combine to avoid hash collision

* [GPU] Update codes to follow up review comments (#14797)
- Change func name from pop_front_task to erase_front_task
- Change func name from get_layout_key to get_impl_key
- Remove average_unpooling.hpp because it was alread removed
- Replace std::list to std::deque in compilation_context
- Modify layout::hash() to get hash of shape from partial shape
- Remove calculation code to get hash from static layout in program_node => layout hash is calculated outside of program_node

* [GPU] Update gpu functional test for improved impl key (#14797)

* [GPU] update compilation queue (#14797)

* [GPU] Move type_string hash to primitive (#14797)
- Add hash for num_outputs in program_node

* [GPU] update hash functions for program_node (#14797)
- add hash for number of inputs in program_node
- program node::hash() had separated into void program node::caclulate_hash() and size_t program_node::get_hash()

* [GPU] Fix gpu unit test failures (#14797)
- move the location to calculate all nodes from compile_graph to program ctor

* [GPU] Fix build issue after rebase (#14797)

* [GPU] Update impl if optimized kernel is in impl_cache even if the shape does not change. (#14797)
- Apply improved hash key to mem kernels cache in update_weight
- Add missing hash value for broadcast
- Add simple unit test to check hash value for program_node, primitive and program_inst
2023-01-30 14:35:58 -08:00
Eddy Kim
c2518f1e4a
[GPU] Serialization logic updates for OneDNN 3.0 (#15182)
* [GPU] The draft for integration oneDNN3.0

Initial PR.

1. Support oneDNN3.0 API
2. Use binary_mul post_opt instead of oscale channel-wise mask(2)
3. Disable some post-opt fusing because of no eltwise scale API
    eltw(non_linear)+eltw(linear), eltw+sum+eltw(linear)

Signed-off-by: hyunback <hyunback.kim@intel.com>

* Fix hardwish issue in 3.0

hard coded hardswish parameter(2.7) is changed alpha and beta from user's required input.

Signed-off-by: hyunback <hyunback.kim@intel.com>

* clean up code

Signed-off-by: hyunback <hyunback.kim@intel.com>

* Apply code review comment and fix ci issue

Signed-off-by: hyunback <hyunback.kim@intel.com>

* Remove setting dst scale

- ACC issue
- No perf gain compared binary_mul

Signed-off-by: hyunback <hyunback.kim@intel.com>

* gpu serialization for onednn 3.0

* missed changes

* add onednn engine creator when loading model from cache

* fixed to use mem_dep index

* updated to save zero_point_mask for serialization

* fixed onednn fc serialization logic

* updated the logic to check if onednn is enabled

---------

Signed-off-by: hyunback <hyunback.kim@intel.com>
Co-authored-by: hyunback <hyunback.kim@intel.com>
2023-01-30 09:41:25 -08:00
Sebastian Golebiewski
bb18069f85
create repo file (#15394) 2023-01-30 20:39:46 +04:00
Maxim Vafin
ea0183359f
Allow compatible shapes in FW Node, not only equal (#15363)
* Allow compatible shapes in FW Node, not only equal

* Add tests

* Add test for type
2023-01-30 15:38:35 +01:00
Zlobin Vladimir
a19d50d4d2
benchmark_app: fix FP16 image type (#15393) 2023-01-30 18:31:12 +04:00
WangHuaqiang
85597f866c
Script: avoid file name renaming by wget if broken cmake install file exists (#15384)
* script: avoid renaming if a broken cmake install file exists

* script: add missing tailing backslash
2023-01-30 16:58:39 +04:00
Jack Clarke
42a417577b
Print unknown argument itself instead of pointer address (#15300) 2023-01-30 14:56:37 +04:00