Skip to content

Commit

Permalink
[GPU] Enable fakequantize fusion in dynamic model (openvinotoolkit#24458
Browse files Browse the repository at this point in the history
)

### Details:
 - *Let quantize fusion valid in dynamic model when executing model*

### Tickets:
 - *134678*
  • Loading branch information
steve-y authored May 10, 2024
1 parent 3549ff3 commit cf267ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/primitive_inst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2042,7 +2042,7 @@ bool primitive_inst::is_valid_fusion() const {
if (fd.is_type<eltwise>() || fd.is_type<activation>()) {
fused_eltwise_prims.push_back(fd);
} else {
if (fd.is_type<reorder>())
if (fd.is_type<reorder>() || fd.is_type<quantize>())
continue;

OPENVINO_THROW("[GPU] Unsupported fused operation in dynamic shape: type=", fd.desc->type_string(), ", id=", fd.desc->id);
Expand Down

0 comments on commit cf267ee

Please sign in to comment.