Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
d79d9eaa
Unverified
Commit
d79d9eaa
authored
May 30, 2024
by
Hyunsung Lee
Committed by
GitHub
May 30, 2024
Browse files
[Misc] remove duplicate definition of `seq_lens_tensor` in model_runner.py (#5129)
parent
f758505c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
vllm/worker/model_runner.py
vllm/worker/model_runner.py
+0
-3
No files found.
vllm/worker/model_runner.py
View file @
d79d9eaa
...
@@ -518,9 +518,6 @@ class ModelRunner:
...
@@ -518,9 +518,6 @@ class ModelRunner:
else
:
else
:
multi_modal_input
=
None
multi_modal_input
=
None
seq_lens_tensor
=
torch
.
tensor
(
seq_lens
,
dtype
=
torch
.
int
,
device
=
self
.
device
)
query_lens_tensor
=
torch
.
tensor
(
query_lens
,
query_lens_tensor
=
torch
.
tensor
(
query_lens
,
dtype
=
torch
.
long
,
dtype
=
torch
.
long
,
device
=
self
.
device
)
device
=
self
.
device
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment