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
46d16787
Commit
46d16787
authored
Nov 07, 2025
by
zhuwenwen
Browse files
请求进入到waitting队列后,增加request.is_finished()判断
parent
651e756b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vllm/v1/core/sched/scheduler.py
vllm/v1/core/sched/scheduler.py
+4
-0
No files found.
vllm/v1/core/sched/scheduler.py
View file @
46d16787
...
...
@@ -338,6 +338,10 @@ 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
:
...
...
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