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
7be4f562
Unverified
Commit
7be4f562
authored
Apr 19, 2024
by
Ronen Schaffer
Committed by
GitHub
Apr 19, 2024
Browse files
[Bugfix][Core] Restore logging of stats in the async engine (#4150)
parent
8f20fc04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
vllm/engine/async_llm_engine.py
vllm/engine/async_llm_engine.py
+7
-1
No files found.
vllm/engine/async_llm_engine.py
View file @
7be4f562
...
...
@@ -217,10 +217,16 @@ class _AsyncLLMEngine(LLMEngine):
else
:
output
=
[]
re
turn
self
.
_process_model_outputs
(
re
quest_outputs
=
self
.
_process_model_outputs
(
output
,
scheduler_outputs
.
scheduled_seq_groups
,
scheduler_outputs
.
ignored_seq_groups
)
# Log stats.
if
self
.
log_stats
:
self
.
stat_logger
.
log
(
self
.
_get_stats
(
scheduler_outputs
))
return
request_outputs
async
def
encode_request_async
(
self
,
request_id
:
str
,
# pylint: disable=unused-argument
...
...
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