OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[CPU] Disable deconvolution Prelu post-ops fusion (#32832)
Mang Guoe626f670523e
diff --git a/src/plugins/intel_cpu/src/nodes/deconv.cpp b/src/plugins/intel_cpu/src/nodes/deconv.cppindex 6b4d08e1ab7..da4fd13e109 100644--- a/src/plugins/intel_cpu/src/nodes/deconv.cpp+++ b/src/plugins/intel_cpu/src/nodes/deconv.cpp@@ -416,6 +416,12 @@ bool Deconvolution::canFuse(const NodePtr& node) const {if (canBeExecutedInInt8()) {return canFuseSimpleOperation(node);}++ // WA for CVS-176001: disable Prelu post-ops fusion to avoid falling back to reference implementation.+ if (node->getAlgorithm() == Algorithm::EltwisePrelu) {+ return false;+ }+// Upstream ONEDNN conv_backward_data primitive can't support any post-ops, fork onednn added depthwise support in// conv_backward_data JIT implementation. ONEDNN deconv primitive can support most of post-ops, but the post-ops// implementation details are different. So current deconv implementation list in onednn has 2 kinds of implements: