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
478ee511
Unverified
Commit
478ee511
authored
Nov 12, 2025
by
Wei Wei
Committed by
GitHub
Nov 12, 2025
Browse files
[Misc]Fix typo in llm_engine.py (#28584)
Signed-off-by:
Wei Wei
<
wwei6@meta.com
>
parent
58ce8d12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vllm/v1/engine/llm_engine.py
vllm/v1/engine/llm_engine.py
+4
-4
No files found.
vllm/v1/engine/llm_engine.py
View file @
478ee511
...
@@ -281,11 +281,11 @@ class LLMEngine:
...
@@ -281,11 +281,11 @@ class LLMEngine:
return
[]
return
[]
# 1) Get EngineCoreOutput from the EngineCore.
# 1) Get EngineCoreOutput from the EngineCore.
with
record_function_or_nullcontext
(
"llm_
g
enine step: get_output"
):
with
record_function_or_nullcontext
(
"llm_en
g
ine step: get_output"
):
outputs
=
self
.
engine_core
.
get_output
()
outputs
=
self
.
engine_core
.
get_output
()
# 2) Process EngineCoreOutputs.
# 2) Process EngineCoreOutputs.
with
record_function_or_nullcontext
(
"llm_
g
enine step: process_outputs"
):
with
record_function_or_nullcontext
(
"llm_en
g
ine step: process_outputs"
):
iteration_stats
=
IterationStats
()
if
self
.
log_stats
else
None
iteration_stats
=
IterationStats
()
if
self
.
log_stats
else
None
processed_outputs
=
self
.
output_processor
.
process_outputs
(
processed_outputs
=
self
.
output_processor
.
process_outputs
(
outputs
.
outputs
,
outputs
.
outputs
,
...
@@ -295,11 +295,11 @@ class LLMEngine:
...
@@ -295,11 +295,11 @@ class LLMEngine:
self
.
output_processor
.
update_scheduler_stats
(
outputs
.
scheduler_stats
)
self
.
output_processor
.
update_scheduler_stats
(
outputs
.
scheduler_stats
)
# 3) Abort any reqs that finished due to stop strings.
# 3) Abort any reqs that finished due to stop strings.
with
record_function_or_nullcontext
(
"llm_
g
enine step: abort_requests"
):
with
record_function_or_nullcontext
(
"llm_en
g
ine step: abort_requests"
):
self
.
engine_core
.
abort_requests
(
processed_outputs
.
reqs_to_abort
)
self
.
engine_core
.
abort_requests
(
processed_outputs
.
reqs_to_abort
)
# 4) Record stats
# 4) Record stats
with
record_function_or_nullcontext
(
"llm_
g
enine step: record_stats"
):
with
record_function_or_nullcontext
(
"llm_en
g
ine step: record_stats"
):
if
self
.
logger_manager
is
not
None
and
outputs
.
scheduler_stats
is
not
None
:
if
self
.
logger_manager
is
not
None
and
outputs
.
scheduler_stats
is
not
None
:
self
.
logger_manager
.
record
(
self
.
logger_manager
.
record
(
scheduler_stats
=
outputs
.
scheduler_stats
,
scheduler_stats
=
outputs
.
scheduler_stats
,
...
...
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