Skip to content

Commit 8b0d0c3

Browse files
子潜子潜
authored andcommitted
style: fix code formatting
Signed-off-by: 子潜 <[email protected]>
1 parent 8f8155b commit 8b0d0c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vllm_ascend/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,8 +1037,9 @@ def is_first_k_dense(prefix: str) -> bool:
10371037
)
10381038
config = vllm_config.model_config.hf_config
10391039

1040-
n_routed_experts= getattr(config, 'n_routed_experts', 0)
1041-
first_k_dense_replace = getattr(config, 'first_k_dense_replace', float('inf'))
1040+
n_routed_experts = getattr(config, 'n_routed_experts', 0)
1041+
first_k_dense_replace = getattr(config, 'first_k_dense_replace',
1042+
float('inf'))
10421043
moe_layer_freq = getattr(config, 'moe_layer_freq', 1)
10431044

10441045
is_moe_layer = (n_routed_experts is not None

0 commit comments

Comments
 (0)