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
1ff05ff4
Commit
1ff05ff4
authored
Nov 04, 2025
by
liuchy5
Browse files
请求进入到waitting队列后,增加request.is_finished()判断
parent
57c0544e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vllm/v1/core/sched/scheduler.py
vllm/v1/core/sched/scheduler.py
+3
-1
No files found.
vllm/v1/core/sched/scheduler.py
View file @
1ff05ff4
...
...
@@ -343,7 +343,9 @@ class Scheduler(SchedulerInterface):
break
request
=
self
.
waiting
.
peek_request
()
if
request
.
is_finished
():
self
.
waiting
.
pop_request
()
continue
# KVTransfer: skip request if still waiting for remote kvs.
if
request
.
status
==
RequestStatus
.
WAITING_FOR_REMOTE_KVS
:
is_ready
=
self
.
_update_waiting_for_remote_kv
(
request
)
...
...
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