From f08c4f15a27f0f27132f4ca7a0c226bf0a2a47d4 Mon Sep 17 00:00:00 2001 From: wm901115nwpu Date: Mon, 7 Jul 2025 20:24:42 +0800 Subject: [PATCH] fix spell error (#1654) Fix the spell error in code - vLLM version: v0.9.1 - vLLM main: https://github.com/vllm-project/vllm/commit/923147b5e8551887fd64a0fc242c361d5216e1d7 Signed-off-by: unicorn Co-authored-by: unicorn --- vllm_ascend/quantization/w8a8_dynamic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vllm_ascend/quantization/w8a8_dynamic.py b/vllm_ascend/quantization/w8a8_dynamic.py index fb328b7..5bfecaa 100644 --- a/vllm_ascend/quantization/w8a8_dynamic.py +++ b/vllm_ascend/quantization/w8a8_dynamic.py @@ -141,8 +141,8 @@ def fused_experts_with_mc2( local_rank = torch.distributed.get_rank(group=ep_group) all_to_all_group_size = torch.distributed.get_world_size(ep_group) - world_szie = torch.distributed.get_world_size() - tp_size = world_szie // all_to_all_group_size + world_size = torch.distributed.get_world_size() + tp_size = world_size // all_to_all_group_size tp_rank = rank % tp_size stage1_kwargs = {