Skip to content

Commit 0bccf05

Browse files
committed
format
Signed-off-by: shen-shanshan <467638484@qq.com>
1 parent 88f4ee7 commit 0bccf05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vllm_ascend/attention/attention_v1.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ def _forward_prefill_no_cache(
361361
num_heads=self.num_heads,
362362
num_kv_heads=self.num_kv_heads,
363363
out=output)
364+
assert output is not None
364365
return output[:num_tokens, :, :]
365366

366367
def _forward_prefill_cache_hit(

0 commit comments

Comments
 (0)