Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GPU]Fix moe kernel build failure issue (#33809)

River Li368a94e2c5c5
diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl_v2/moe/moe_3gemm_gen_micro.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl_v2/moe/moe_3gemm_gen_micro.cpp
index 878e047a435..88ffb084a87 100644
--- a/src/plugins/intel_gpu/src/graph/impls/ocl_v2/moe/moe_3gemm_gen_micro.cpp
+++ b/src/plugins/intel_gpu/src/graph/impls/ocl_v2/moe/moe_3gemm_gen_micro.cpp
@@ -83,7 +83,7 @@ JitConstants MoE3GemmMicroGenerator::get_jit_constants(const kernel_impl_params&
jit.make("WEIGHT_COMPRESSED_ZP_INT4", 0);
}
- jit.make("IS_GENERATE", 0); // only for prefill
+ // "IS_GENERATE" is for generate stage, and prefill stage doesn't need set it.
jit.make("INPUT_SEQ_LEN", 4); // prefill not use it
jit.make("SCALE_ZP_NO_TRANSPOSE", 1);