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
54814fd8
Unverified
Commit
54814fd8
authored
Jun 28, 2024
by
Woosuk Kwon
Committed by
GitHub
Jun 28, 2024
Browse files
[Bugfix][TPU] Fix TPU sampler output (#5978)
parent
7041de43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/worker/tpu_worker.py
vllm/worker/tpu_worker.py
+1
-1
No files found.
vllm/worker/tpu_worker.py
View file @
54814fd8
...
@@ -215,7 +215,7 @@ class TPUWorker(LoraNotSupportedWorkerBase):
...
@@ -215,7 +215,7 @@ class TPUWorker(LoraNotSupportedWorkerBase):
assert
len
(
seq_group_metadata_list
)
>
0
assert
len
(
seq_group_metadata_list
)
>
0
output
=
self
.
model_runner
.
execute_model
(
seq_group_metadata_list
,
output
=
self
.
model_runner
.
execute_model
(
seq_group_metadata_list
,
self
.
tpu_cache
)
self
.
tpu_cache
)
return
[
output
]
return
output
def
cache_swap
(
def
cache_swap
(
self
,
self
,
...
...
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