Skip to content

Commit d79d9ea

Browse files
authored
[Misc] remove duplicate definition of seq_lens_tensor in model_runner.py (#5129)
1 parent f758505 commit d79d9ea

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

vllm/worker/model_runner.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -518,9 +518,6 @@ def _prepare_model_input(
518518
else:
519519
multi_modal_input = None
520520

521-
seq_lens_tensor = torch.tensor(seq_lens,
522-
dtype=torch.int,
523-
device=self.device)
524521
query_lens_tensor = torch.tensor(query_lens,
525522
dtype=torch.long,
526523
device=self.device)

0 commit comments

Comments
 (0)