Skip to content

Commit f9e5dff

Browse files
committed
Use unfold request for MoE device route generate.
Signed-off-by: intelgaoxiong <xiong.gao@intel.com>
1 parent 2403517 commit f9e5dff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/intel_npu/src/plugin/npuw/llm_compiled_model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ void apply_moe_config(ov::AnyMap& stage_config,
512512
"DEVICE_ROUTED mode uses in-graph gather-based expert selection which is only "
513513
"optimized for GENERATE stage. Please use HOST_ROUTED or DENSE for PREFILL.");
514514
}
515-
stage_config["NPUW_UNFOLD_IREQS"] = "NO";
515+
stage_config["NPUW_UNFOLD_IREQS"] = "YES";
516516
} else if (moe_hint == ::intel_npu::npuw::llm::MoEHint::DENSE) {
517517
LOG_INFO("MoE config for " << stage_name << " stage: DENSE (all experts active)");
518518
// DENSE mode requires CPU-only device due to extremely long NPU compilation time and high resource consumption

0 commit comments

Comments
 (0)