[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:
parent
3549ff32ea
commit
cf267ee8fc
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue