[XPU][Minor] format moe kernel name and add in kernel list (#44771)

Signed-off-by: Yan Ma <yan.ma@intel.com>
This commit is contained in:
Yan Ma
2026-06-08 13:58:16 +08:00
committed by GitHub
parent 8fb0274415
commit 54c660c3a6
5 changed files with 13 additions and 11 deletions
@@ -22,7 +22,7 @@ from vllm.model_executor.layers.fused_moe.experts.marlin_moe import (
MarlinExperts,
)
from vllm.model_executor.layers.fused_moe.experts.xpu_moe import (
XPUExpertsMXFp4,
XPUExpertsMxFp4,
)
from vllm.model_executor.layers.fused_moe.oracle.mxfp4 import (
Mxfp4MoeBackend,
@@ -54,8 +54,8 @@ class CompressedTensorsW4A4Mxfp4MoEMethod(CompressedTensorsMoEMethod):
self.experts_cls = CutlassExpertsMxfp4
elif current_platform.is_xpu():
self.mxfp4_backend = Mxfp4MoeBackend.XPU
self.experts_cls = XPUExpertsMXFp4
logger.info_once("Using XPUExpertsMXFp4 for MXFP4 MoE on XPU platform")
self.experts_cls = XPUExpertsMxFp4
logger.info_once("Using XPUExpertsMxFp4 for MXFP4 MoE on XPU platform")
else:
logger.info_once("Using MarlinExperts for MXFP4 MoE")
self.experts_cls = MarlinExperts