Skip to content

Commit 827c285

Browse files
committed
refact attn metadata build
Signed-off-by: weiguihua2 <[email protected]>
1 parent 2fbf6d9 commit 827c285

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

vllm_ascend/attention/mla_v1.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,6 @@ def build(
403403
device,
404404
non_blocking=
405405
True)
406-
# input_positions = common_attn_metadata.positions_cpu[:num_actual_tokens].to(
407-
# device, non_blocking=True).long()
408-
409406
input_positions = common_attn_metadata.positions[:
410407
num_actual_tokens].long(
411408
)

0 commit comments

Comments
 (0)