Skip to content

Commit 9d09d0a

Browse files
[GPU] Fix segfault in layer tests for onnx_tests.test_lstm.TestLSTM (openvinotoolkit#26159)
### Details: - This issue occurs after openvinotoolkit#26032 - Fix segfault in layer tests for onnx_tests.test_lstm.TestLSTM ### Tickets: - [CVS-150221](https://jira.devtools.intel.com/browse/CVS-150221)
1 parent 407f0bc commit 9d09d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/intel_gpu/src/graph/include/reshape_inst.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct typed_program_node<reshape> : public typed_program_node_base<reshape> {
4444
return false;
4545

4646
// oneDNN supports padded input of outer axis only for buffer fusing on static shape
47-
if (!has_outer_padding_offset() && get_users().front()->get_preferred_impl_type() == impl_types::onednn)
47+
if (!has_outer_padding_offset() && get_users().size() == 1 && get_users().front()->get_preferred_impl_type() == impl_types::onednn)
4848
return false;
4949

5050
// TODO: If user is RoPE or MVN and dynamic padding exists, ouput padding propagation is not supported in the base mode

0 commit comments

Comments
 (0)