Skip to content

Commit c2083d5

Browse files
Update vllm/model_executor/layers/fused_moe/aiter_experts.py
accepted suggestion Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: HakJu Kim <[email protected]>
1 parent bd68227 commit c2083d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/layers/fused_moe/aiter_experts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def apply(
111111
activation=activation,
112112
apply_router_weight_on_input=apply_router_weight_on_input,
113113
expert_map=expert_map,
114-
expert_num_tokens=expert_tokens_meta.expert_num_tokens,
114+
expert_num_tokens=expert_tokens_meta.expert_num_tokens if expert_tokens_meta is not None else None,
115115
output_dtype=output.dtype,
116116
quant_config=self.quant_config,
117117
a1q_scale=a1q_scale,

0 commit comments

Comments
 (0)