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
2c1de3fa
Commit
2c1de3fa
authored
Dec 31, 2025
by
jujl1
Browse files
fix: chunk-prefill生成的token被错误返回
parent
76e22965
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vllm/zero_overhead/v1/gpu_model_runner.py
vllm/zero_overhead/v1/gpu_model_runner.py
+1
-0
No files found.
vllm/zero_overhead/v1/gpu_model_runner.py
View file @
2c1de3fa
...
@@ -98,6 +98,7 @@ class V1ZeroModelRunner(GPUModelRunner):
...
@@ -98,6 +98,7 @@ class V1ZeroModelRunner(GPUModelRunner):
)
)
for
req_idx
,
start_idx
,
end_idx
in
self
.
token_ids_cpu_fix_record
:
for
req_idx
,
start_idx
,
end_idx
in
self
.
token_ids_cpu_fix_record
:
if
start_idx
==
-
1
:
if
start_idx
==
-
1
:
self
.
fix_sampled_token_ids
[
req_idx
].
clear
()
continue
continue
num_accepted_tokens
=
len
(
self
.
fix_sampled_token_ids
[
req_idx
])
num_accepted_tokens
=
len
(
self
.
fix_sampled_token_ids
[
req_idx
])
req_id
=
self
.
fix_req_ids
[
req_idx
]
req_id
=
self
.
fix_req_ids
[
req_idx
]
...
...
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