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
c6cf9295
Unverified
Commit
c6cf9295
authored
Oct 11, 2024
by
Allen Wang
Committed by
GitHub
Oct 11, 2024
Browse files
[Bugfix] Sets `is_first_step_output` for TPUModelRunner (#9202)
parent
de9fb4be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/worker/tpu_model_runner.py
vllm/worker/tpu_model_runner.py
+2
-1
No files found.
vllm/worker/tpu_model_runner.py
View file @
c6cf9295
...
...
@@ -541,7 +541,8 @@ class TPUModelRunner(ModelRunnerBase[ModelInputForTPU]):
seq_group_metadata_list
=
ctx
.
seq_group_metadata_list
,
scheduler_outputs
=
ctx
.
scheduler_outputs
,
is_async
=
False
,
is_last_step
=
False
)
is_last_step
=
False
,
is_first_step_output
=
i
==
0
)
model_input
.
async_callback
()
if
use_async_out_proc
:
return
[
sampler_outputs
[
-
1
]]
...
...
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