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
6a7954f4
Commit
6a7954f4
authored
Sep 01, 2025
by
zhuwenwen
Browse files
Merge branch 'v0.9.2-dev' of
http://10.16.6.30/dcutoolkit/deeplearing/vllm
into v0.9.2-dev
parents
12112a4d
75b6adc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/zero_overhead/v1/core.py
vllm/zero_overhead/v1/core.py
+1
-1
No files found.
vllm/zero_overhead/v1/core.py
View file @
6a7954f4
...
@@ -177,11 +177,11 @@ def zero_overhead_update_from_output(scheduler:Scheduler,
...
@@ -177,11 +177,11 @@ def zero_overhead_update_from_output(scheduler:Scheduler,
# loop can be a performance bottleneck. We should do our best to avoid
# loop can be a performance bottleneck. We should do our best to avoid
# expensive operations inside the loop.
# expensive operations inside the loop.
for
request
in
scheduler
.
running
:
for
request
in
scheduler
.
running
:
req_id
=
request
.
request_id
if
request
.
is_finished
():
if
request
.
is_finished
():
if
req_id
in
requsets_valid_token_len
:
if
req_id
in
requsets_valid_token_len
:
requsets_valid_token_len
.
pop
(
req_id
)
requsets_valid_token_len
.
pop
(
req_id
)
continue
continue
req_id
=
request
.
request_id
num_tokens_scheduled
=
num_scheduled_tokens
.
get
(
req_id
,
0
)
num_tokens_scheduled
=
num_scheduled_tokens
.
get
(
req_id
,
0
)
if
num_tokens_scheduled
==
0
:
if
num_tokens_scheduled
==
0
:
# The request was not scheduled in this step.
# The request was not scheduled in this step.
...
...
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