Skip to content

Commit 0f86f04

Browse files
committed
fix format
Signed-off-by: wangli <wangli858794774@gmail.com>
1 parent 331a251 commit 0f86f04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm_ascend/platform.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ def pre_register_and_update(cls,
7575
# and the user can enable quantization using "vllm serve --quantization ascend".
7676
if parser is not None:
7777
quant_action = parser._option_string_actions.get('--quantization')
78-
if quant_action and getattr(quant_action, 'choices', None) is not None:
78+
if quant_action and getattr(quant_action, 'choices',
79+
None) is not None:
7980
if ASCEND_QUATIZATION_METHOD not in quant_action.choices:
8081
quant_action.choices.append(ASCEND_QUATIZATION_METHOD)
8182

0 commit comments

Comments
 (0)