[XPU] fix mxfp4 activation type (#35691)
Signed-off-by: Kunshang Ji <kunshang.ji@intel.com>
This commit is contained in:
@@ -1258,7 +1258,7 @@ class XpuMxfp4MoEMethod(Mxfp4MoEMethod):
|
|||||||
topk_weights=routing_weights,
|
topk_weights=routing_weights,
|
||||||
topk_ids=selected_experts,
|
topk_ids=selected_experts,
|
||||||
n_experts_per_token=layer.top_k,
|
n_experts_per_token=layer.top_k,
|
||||||
activation=layer.activation,
|
activation=layer.activation.value,
|
||||||
num_experts=layer.local_num_experts,
|
num_experts=layer.local_num_experts,
|
||||||
is_mxfp4=True,
|
is_mxfp4=True,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user