[GPU] Enable fakequantize fusion in dynamic model (#24458)

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

### Tickets:
 - *134678*
This commit is contained in:
Steve Yoo 2024-05-10 15:41:35 +09:00 committed by GitHub
parent 3549ff32ea
commit cf267ee8fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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);