Skip to content

Commit 8e02166

Browse files
author
wangxiaoxin-sherie
committed
xx
1 parent a41767f commit 8e02166

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vllm_ascend/worker/model_runner_v1.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2710,9 +2710,9 @@ def _build_dummy_attn_metadata(
27102710

27112711
assigned_mask_dim = 2048
27122712
self.attn_mask = torch.triu(torch.ones(assigned_mask_dim,
2713-
assigned_mask_dim),
2714-
diagonal=1).to(torch.int8).to(
2715-
self.device)
2713+
assigned_mask_dim),
2714+
diagonal=1).to(torch.int8).to(
2715+
self.device)
27162716

27172717
num_computed_tokens_cpu = (
27182718
self.input_batch.num_computed_tokens_cpu_tensor[:num_reqs])

0 commit comments

Comments
 (0)