Skip to content

Commit d0c1e2a

Browse files
committed
format
Signed-off-by: shen-shanshan <467638484@qq.com>
1 parent a22a579 commit d0c1e2a

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
@@ -347,6 +347,7 @@ def _forward_prefill_no_cache(
347347
num_heads=self.num_heads,
348348
num_kv_heads=self.num_kv_heads,
349349
out=output)
350+
assert output is not None
350351
return output[:num_tokens, :, :]
351352

352353
def _forward_prefill_cache_hit(

0 commit comments

Comments
 (0)