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
2b1be0e8
Commit
2b1be0e8
authored
Jan 27, 2026
by
jujl1
Browse files
fix: 解决原版0消耗chunk-prefill崩溃问题
parent
9f68733a
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 @
2b1be0e8
...
@@ -796,6 +796,7 @@ class V1ZeroModelRunner(GPUModelRunner):
...
@@ -796,6 +796,7 @@ class V1ZeroModelRunner(GPUModelRunner):
req_state
=
self
.
requests
[
req_id
]
req_state
=
self
.
requests
[
req_id
]
token_idx
=
self
.
last_sampled_token_lens
[
req_idx
]
token_idx
=
self
.
last_sampled_token_lens
[
req_idx
]
if
token_idx
==
-
1
:
if
token_idx
==
-
1
:
self
.
fix_sampled_token_ids
[
req_idx
].
clear
()
continue
continue
fix_len
=
len
(
self
.
fix_sampled_token_ids
[
req_idx
])
fix_len
=
len
(
self
.
fix_sampled_token_ids
[
req_idx
])
req_state
.
output_token_ids
[
token_idx
:
token_idx
+
fix_len
]
=
self
.
fix_sampled_token_ids
[
req_idx
]
req_state
.
output_token_ids
[
token_idx
:
token_idx
+
fix_len
]
=
self
.
fix_sampled_token_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