From 923cdaeba389ea5b895acb25a7c755ccb830cee2 Mon Sep 17 00:00:00 2001 From: zhaozx-cn <59479021+zhaozx-cn@users.noreply.github.com> Date: Thu, 11 Sep 2025 14:35:46 +0800 Subject: [PATCH] fix ascend fused moe spelling error (#2863) ### What this PR does / why we need it? fix ascend fused moe spelling error ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? https://github.com/vllm-project/vllm/commit/0ae43dbf8cb28a299ae724fc742b0c5bcddea868 - vLLM version: main - vLLM main: https://github.com/vllm-project/vllm/commit/fcc0a3130a9ffcb8d6ed12503372c2513f982d92 Signed-off-by: zhaozixin Co-authored-by: zhaozixin --- vllm_ascend/ops/common_fused_moe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vllm_ascend/ops/common_fused_moe.py b/vllm_ascend/ops/common_fused_moe.py index e1687c2..773684e 100644 --- a/vllm_ascend/ops/common_fused_moe.py +++ b/vllm_ascend/ops/common_fused_moe.py @@ -246,7 +246,7 @@ class AscendFusedMoE(FusedMoE): prefix="", custom_routing_function=None, scoring_func="softmax", - routed_scaling_fator: float = 1.0, + routed_scaling_factor: float = 1.0, e_score_correction_bias=None, apply_router_weight_on_input=False, activation="silu", @@ -272,7 +272,7 @@ class AscendFusedMoE(FusedMoE): prefix, custom_routing_function, scoring_func, - routed_scaling_fator, + routed_scaling_factor, e_score_correction_bias, apply_router_weight_on_input, activation,