Commit Graph

872 Commits

Author SHA1 Message Date
Vladimir Paramuzov
6ed85178d5 [GPU] Fix layout propagation logic (#17199) 2023-04-26 14:20:48 +01:00
Edward Shogulin
e593cf8545 [LPT] Precision restriction customization extending (#17147)
* [LPT] Precision restriction customization extending

* comments fix: refactoring
2023-04-26 13:29:09 +01:00
Vladimir Paramuzov
ce5f65af14 [GPU] Use hash of test name for random generator initialization (#17213) 2023-04-26 12:52:38 +04:00
Eddy Kim
09265083ed [GPU] fixed a missing data type (#17200)
* fixed missing data type

* updated the resolution for better accuracy check
2023-04-26 08:28:18 +00:00
Sungeun Kim
3c485feea8 removed case to choose onednn impl for deconv (#17108)
- in_dt(f16) wei_dt(f16) out_dt(f32)
2023-04-26 13:20:11 +09:00
Sergey Shlyapnikov
0a5975bdfa [GPU] Add real kernels' execution timings collection for DumpProfilingData debug option (#15797) 2023-04-25 14:33:08 +04:00
Sungeun Kim
8c09a128ac [GPU] update weights_layout for GroupConv 1d spatial (#17109)
* update weights_layout for GroupConv 1d spatial
2023-04-25 18:54:54 +09:00
Andrew Kwangwoong Park
72906ca242 [GPU] Fix i8/u8 representation error for clamp due to overflow (#17183)
* [GPU] Fix i8 representation error for clamp due to overflow

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Fix to not include in ocl code

Signed-off-by: Andrew Park <andrew.park@intel.com>

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-04-25 09:41:01 +00:00
Vladimir Paramuzov
f736c71feb [GPU] Fix reshape split for dynamic models + accuracy fix for SAM (#16911) 2023-04-25 09:21:31 +00:00
hyunback kim
19f8f5a3a7 [GPU] Disable oneDNN post-op Prelu in FC,gemm (#17084)
* [GPU] Disable oneDNN post-op relu

Only disable Prelu fusion in Fc, gemm
 - check additional data input

Signed-off-by: hyunback <hyunback.kim@intel.com>
2023-04-25 18:06:22 +09:00
Vladimir Paramuzov
ca1102b855 [GPU] Support MVN cases with axis=-1 w/o decomposition (#17020) 2023-04-25 12:59:03 +04:00
Vladimir Paramuzov
d1f1fa2b39 [GPU] Enable broadcast transition pass (#17172) 2023-04-25 09:04:37 +04:00
Vladimir Paramuzov
3bb0fb61f6 [GPU] Support 8d tensors in activation and quantize primitives (#16947) 2023-04-25 09:02:54 +04:00
Taylor Yeonbok Lee
ce23ce00f1 [GPU] Fixed fused_primitive_desc to have -1 value for dep_start_idx (#17099)
* Fixed fused_primitive_desc to have -1 value for dep_start_idxt b

* Fixed dgpu i8 errors
2023-04-24 22:21:58 +00:00
Eddy Kim
d972a71b4c [GPU] Fixed the prepare_quantization pass to support grouped_weights_shape (#17093)
* fixed to support grouped_weights_shape

* added grouped_weights unit tests
2023-04-24 14:21:50 -07:00
Jade Cho
5c21dcec4d [GPU] Fix detection output kernel build error on dGPU (#17150)
+ Check local memory size used in the kernel and choose proper kernel.
+ 	Select DO_STAGE_0_CAFFE instead of DO_STAGE_0_CAFFE_OPT
2023-04-25 01:00:26 +04:00
Ilya Lavrenov
a34ef680f2 Made plugins.hpp generation to be CONFIG dependent (#17139) 2023-04-24 14:48:45 +04:00
Vladimir Paramuzov
e8ae1e41ea [GPU] Skip FC fake alignment for some vector by matrix multiplications (#17051) 2023-04-24 14:34:50 +04:00
hyunback kim
63f5c2f0e7 [GPU] Fix levit-128s accuracy issue (#17136)
* [GPU] Fix levit-128s accuracy issue

Wrong batch dims for fused eltwise of gemm.
-> The issue is getting incorrect batch size of fused eltwise used by gemm.
     Its rank is different from src tensor. Eltwise tensor rank was reduced by mistake.
     It is only reproduce in batch 1 and full tensor. 
     The batch size in here means all of non spatial dims, but previous implementation was default batch dim role.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2023-04-24 18:16:00 +09:00
Vladimir Paramuzov
219a0eebdc [GPU] Fix 1d onednn convolutions (#17038) 2023-04-24 09:24:56 +04:00
Min, Byungil
bb0be3c177 [GPU] Resolve failed onednn tests (#16990)
* [GPU] Resolve failed unit-tests on dGPU

+ Modified unit-tests of asymetric conv with per channel(WA for oneDNN issue)
+ Modified conv unit-tests with padded input or output
+ For testing oneDNN conv, it needs to query oneDNN about format. Applied this to conv tests.
+ Modified accuracy checking logic in unit-tests which have different format on dGPU.
+ reorder from fsv16 to bfyx should not be optimized out if not aligned by 16

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-04-24 14:11:35 +09:00
Jade Cho
8fbd78fb07 [GPU] Fix a bug of fusing eltwise sum post-op. (#17078)
+ When input of eltwise is full-tensor constant layer, use binary add
instead of sum as post-op on oneDNN.
2023-04-21 20:17:35 +09:00
Mingyu Kim
ba23e2290e [GPU] Choose onednn impl for reorder (#17077)
* [GPU] Choose onednn impl for reorder
* [GPU] Add unit test
2023-04-21 13:56:58 +09:00
hyunback kim
344db564fc [GPU] Fix dump graph failure issue in levit-128s model. (#17055)
* [GPU] Fix dump_graph failure issue in levit-128s model.

1. to_string() in strided_slice always access begin/end/stride param id from dependencies
    regardless of max dependencies.
2. Add an exception in dump_full_node(). It helps below.
   - Avoid a dump failure. Usually, graph dump are used during debugging,
      which reduces unnecessary debugging time due to graph dump failure.
   - You can immediately see which node has failed, making it easy to find it.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2023-04-21 09:14:47 +09:00
Taylor Yeonbok Lee
5bded05ae6 [GPU] Improve shape infer performance (#17039)
* [Dynamic shape] Improve shape infer performance for igpu by preventing copy from usm_device to usm host from lock()

* Fixed is_shape_infer_dep to use pointer instead of unique_id becuase unique_id may not be set
2023-04-20 03:23:52 +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
Eddy Kim
fab8236af3 [GPU] Fixed OneDNN fc+sum fusion serialization (#16988)
* fixed onednn fc+sum fusion serialization

* removed the white list for sum post op fusion

* added deconv fusing caching tests
2023-04-19 09:43:27 -07:00
Vladimir Paramuzov
dbd20ec799 [GPU] Added try/catch for device detection loop to skip platforms which throw an exception (#17011) 2023-04-19 11:05:24 +04:00
Wilson Seok
2401b0aa3c [GPU] Skip reorder_node_to_split to avoid change of input data type for ondenn kernel support (#16827)
* skip reorder_node_to_split when new input data type of onednn kernel is not supported
* update layout_optimizer and add unit test
2023-04-19 15:00:55 +09:00
Kelvin Choi
bd8ca523b9 [GPU] Fix proposal sort condition (#16981) 2023-04-18 21:05:32 -07: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
Pavel Esir
d70d8509c3 [FP16][IE] exclude MVN and NormalizeL2 from precision sensitive marking (#16953)
* exclude MVN from mixed infer

* fix align_mixed_fp32_fp16_types_test.cpp

* fix unit-tests for convert_precision.cpp

* code style fix
2023-04-18 16:20:49 +09:00
Min, Byungil
bf2870a63b [GPU] Resolved failed unit-tests (#16618)
+ Resolved issues related to deconv
+ Modified test-cases for conv, fc.
+ In fc unit-tests, tiny tensors showed unexpected behavior. Modified tensor size a little
+ Bugfix in get_test_stream

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-04-18 11:22:43 +09:00
Andrew Kwangwoong Park
7282728cec [GPU] Fix incomplete condition for NMS shape inference (#16960)
Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-04-16 22:41:57 -07:00
Eddy Kim
9b9c31d46b [GPU] Updated to allocate memory in order of size while deserializing (#16867)
* updated to allocate memory in order of size while deserializing

* fix windows build error

* updated to check dependencies between not connected nodes
2023-04-16 22:33:57 -07:00
Taylor Yeonbok Lee
c96a5c4b70 Fix prepare padding which was not handling group size properly (#16977) 2023-04-16 21:42:03 -07:00
Andrew Kwangwoong Park
507b3251ef [GPU] Fix to skip reorder optimization during post_optimize_graph phase (#16908)
* [GPU] Fix to skip reorder optimization during post_optimize_graph phase

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Apply comment

Signed-off-by: Andrew Park <andrew.park@intel.com>

* update condition to check empty padding

Signed-off-by: Andrew Park <andrew.park@intel.com>

* add condition to check batch size

Signed-off-by: Andrew Park <andrew.park@intel.com>

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-04-15 02:24:06 +00:00
Taylor Yeonbok Lee
824a5aa7fb [GPU] Fix nonzero issue in constant propagate (#16933)
* Fix gather_nonzero not to be marked as constant.
Even though count nonzero is to be turned into a constant, gather nonzero still cannot infer shape at the moment of propagate constant.

* Apply the fix only for gather_non_zero
2023-04-14 23:16:34 +00:00
Vladimir Paramuzov
231569db16 [GPU] Fix group axis value for blocking desc (#16936) 2023-04-14 14:42:21 +00:00
Vladimir Paramuzov
5299f26168 [GPU] Handle unsupported eltwise fusion for onednn gemm in dynamic cases (#16875)
* [GPU] Handle unsupported eltwise fusion for onednn gemm in dynamic cases

* Update src/plugins/intel_gpu/tests/fusions/gemm_fusion_test.cpp

Co-authored-by: Sergey Shlyapnikov <Sergeishlyapnikov@gmail.com>

---------

Co-authored-by: Sergey Shlyapnikov <Sergeishlyapnikov@gmail.com>
2023-04-13 15:55:44 +04:00
Roman Lyamin
656428bc4f [GPU] Skip kernel logic for Concat fix (#16885) 2023-04-13 15:55:05 +04:00
Min, Byungil
da7ee613a3 [GPU] Disable oneDNN failed TCs on dGPU (#16853)
Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-04-13 20:41:29 +09:00
Taylor Yeonbok Lee
df6557cfad [GPI]Fixed not to allocate internal buffer with size 0 (#16899)
* Fixed not to allocate internal buffer with size 0

* Fixed unittest failure
2023-04-13 10:32:12 +00:00
Vladimir Paramuzov
67c07ccebe [GPU] Support 7D and 8D tensors (#16810) 2023-04-13 09:04:14 +04:00
Min, Byungil
1ba87971d1 [GPU] fix unit-test seg fault error on dGPU (#16879)
Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-04-13 09:20:06 +09:00
Ilya Lavrenov
86142b0f4b Fixed compilation with gcc-12 (#16895) 2023-04-13 02:24:19 +04:00
Taylor Yeonbok Lee
bee357bcf8 Fix softmax perf of stable diffusion (#16869) 2023-04-12 12:01:31 -07:00
Vladimir Paramuzov
7d4496bb12 [GPU] Remove unused constants from the graph (#16873) 2023-04-12 16:52:26 +04:00
Sergey Shlyapnikov
997f60f1c3 [GPU] Fix shape_of shape inference optimization (#16863) 2023-04-12 15:44:34 +04:00
Roman Lyamin
f8aacf3b19 [GPU] Small fix for gather_nonzero (#16858) 2023-04-12 09:15:49 +04:00