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
5a1c2e15
Unverified
Commit
5a1c2e15
authored
Jun 17, 2025
by
CYJiang
Committed by
GitHub
Jun 17, 2025
Browse files
[Mis] remove duplicate engine status checks (#19647)
Signed-off-by:
googs1025
<
googs1025@gmail.com
>
parent
4c8f64fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
vllm/v1/engine/core_client.py
vllm/v1/engine/core_client.py
+3
-5
No files found.
vllm/v1/engine/core_client.py
View file @
5a1c2e15
...
...
@@ -794,7 +794,6 @@ class AsyncMPClient(MPClient):
request_type
:
EngineCoreRequestType
,
request
:
Any
,
engine
:
Optional
[
CoreEngine
]
=
None
)
->
Awaitable
[
Any
]:
self
.
ensure_alive
()
if
engine
is
None
:
engine
=
self
.
core_engine
...
...
@@ -1059,7 +1058,7 @@ class DPAsyncMPClient(AsyncMPClient):
self
.
reqs_in_flight
.
pop
(
req_id
,
None
)
async
def
abort_requests_async
(
self
,
request_ids
:
list
[
str
])
->
None
:
if
not
request_ids
:
if
not
request_ids
or
self
.
resources
.
engine_dead
:
return
if
len
(
request_ids
)
==
1
:
...
...
@@ -1077,7 +1076,6 @@ class DPAsyncMPClient(AsyncMPClient):
async
def
_abort_requests
(
self
,
request_ids
:
list
[
str
],
engine
:
CoreEngine
)
->
None
:
if
not
self
.
resources
.
engine_dead
:
await
self
.
_send_input
(
EngineCoreRequestType
.
ABORT
,
request_ids
,
engine
)
...
...
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