diff --git a/src/plugins/intel_gpu/src/graph/strided_slice.cpp b/src/plugins/intel_gpu/src/graph/strided_slice.cpp index 9c33ec22b0b7c1..47248cd2a4d773 100644 --- a/src/plugins/intel_gpu/src/graph/strided_slice.cpp +++ b/src/plugins/intel_gpu/src/graph/strided_slice.cpp @@ -193,6 +193,10 @@ void strided_slice_inst::on_execute() { void strided_slice_inst::update_output_memory() { if (!can_be_optimized()) return; + + if (node->get_program().is_new_shape_infer() && input_memory_ptr() == nullptr) + return; + if (static_cast(_outputs[0]) && _network.get_engine().is_the_same_buffer(output_memory(), input_memory())) return;