File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/plugins/intel_gpu/src/graph/graph_optimizer Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -736,8 +736,6 @@ void prepare_primitive_fusing::fuse_simple_primitives(program &p) {
736
736
737
737
should_fuse |= input.is_type <strided_slice>();
738
738
739
- should_fuse |= input.is_type <crop>();
740
-
741
739
bool legacy_fusion = activation_node.get_dependencies ().size () == 1 &&
742
740
!input.can_be_optimized () &&
743
741
!activation_node.is_constant () &&
@@ -922,8 +920,7 @@ void prepare_primitive_fusing::fuse_simple_primitives(program &p) {
922
920
(parents[i].first ->is_type <gather>()) ||
923
921
(parents[i].first ->is_type <reduce>() &&
924
922
reduce_supports_fusings (parents[i].first ->as <reduce>())) ||
925
- (parents[i].first ->is_type <lrn>()) ||
926
- (parents[i].first ->is_type <crop>());
923
+ (parents[i].first ->is_type <lrn>());
927
924
}
928
925
929
926
// Disable fusion to a node on constant path when second input is in data flow
@@ -1063,6 +1060,9 @@ void prepare_primitive_fusing::fuse_simple_primitives(program &p) {
1063
1060
fused_node->get_input_pshape ().rbegin ()->is_dynamic ();
1064
1061
1065
1062
if (is_fc_lora || is_conv_lora || is_gemm_lora) {
1063
+ if (!can_fuse_parents[peer_idx]) {
1064
+ return ;
1065
+ }
1066
1066
std::swap (peer_node, fused_node);
1067
1067
}
1068
1068
}
You can’t perform that action at this time.
0 commit comments