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
a14613a6
Commit
a14613a6
authored
Nov 06, 2025
by
王敏
Browse files
[fix]解决同时开启chunked-prefill和并行解码出现的指标统计错误问题
parent
4bce8dab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/v1/core/sched/scheduler.py
vllm/v1/core/sched/scheduler.py
+1
-1
No files found.
vllm/v1/core/sched/scheduler.py
View file @
a14613a6
...
...
@@ -1225,7 +1225,7 @@ class Scheduler(SchedulerInterface):
spec_decoding_stats
=
self
.
make_spec_decoding_stats
(
spec_decoding_stats
,
num_draft_tokens
=
len
(
scheduled_spec_token_ids
),
num_accepted_tokens
=
len
(
generated_token_ids
)
-
1
)
num_accepted_tokens
=
max
(
0
,
len
(
generated_token_ids
)
-
1
)
)
# NOTE(woosuk): This has to be executed after updating
# `request.num_computed_tokens`.
...
...
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