Skip to content

Commit de97cde

Browse files
author
weijinqian_v1
committed
handle code conflict
Signed-off-by: weijinqian_v1 <weijinqian@huawei.com>
1 parent 8b369df commit de97cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm_ascend/ascend_forward_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def set_ascend_forward_context(
103103
max_tokens_across_dp / tp_world_size) * world_size
104104

105105
if fused_moe_state == FusedMoEState.MC2_PREFILL:
106-
chunk_size = envs.VLLM_ASCEND_FUSED_MOE_MC2_CHUNK_SIZE
106+
chunk_size = envs_ascend.VLLM_ASCEND_FUSED_MOE_MC2_CHUNK_SIZE
107107
forward_context.max_num_chunks = math.ceil(
108108
math.ceil(max_tokens_across_dp / tp_world_size) /
109109
chunk_size)

0 commit comments

Comments
 (0)