Skip to content

Commit a26c097

Browse files
committed
fix lint
Signed-off-by: shen-shanshan <467638484@qq.com>
1 parent 5e0aea4 commit a26c097

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vllm_ascend/worker/model_runner_v1.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,6 +1957,7 @@ def execute_model(
19571957

19581958
# Apply structured output bitmasks if present
19591959
if scheduler_output.grammar_bitmask is not None:
1960+
assert logits is not None
19601961
# NOTE:
19611962
# 1. XGrammar bitmask applying only supports CPU and GPU.
19621963
# 2. The logits and bitmask should be on the same device.

0 commit comments

Comments
 (0)