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] reduce QKV fusion threshold to avoid regression on Qwen1.5B (#30560)
Tingqian Lid4d19f619e77
diff --git a/src/plugins/intel_cpu/src/nodes/qkv_proj.cpp b/src/plugins/intel_cpu/src/nodes/qkv_proj.cppindex 45de01a80e3..efdcbb62023 100644--- a/src/plugins/intel_cpu/src/nodes/qkv_proj.cpp+++ b/src/plugins/intel_cpu/src/nodes/qkv_proj.cpp@@ -442,7 +442,8 @@ bool QKVProjection::isSupportedOperation(const std::shared_ptr<const ov::Node>&return false;}- if (config.hidden_size < CACHE_BLK_K_SIZE * 8) {+ if (config.hidden_size < 1536) {+ // this threashold is determined by Qwen1.5BerrorMessage = "QKVProjection input channel size is too small";return false;}