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
5a0a6dfd
Unverified
Commit
5a0a6dfd
authored
Nov 04, 2025
by
Nick Hill
Committed by
GitHub
Nov 04, 2025
Browse files
[BugFix] Fix incorrect preallocated sampled_token_ids tensor size (#28025)
Signed-off-by:
Nick Hill
<
nhill@redhat.com
>
parent
938772af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/v1/worker/gpu_model_runner.py
vllm/v1/worker/gpu_model_runner.py
+1
-1
No files found.
vllm/v1/worker/gpu_model_runner.py
View file @
5a0a6dfd
...
@@ -524,7 +524,7 @@ class GPUModelRunner(LoRAModelRunnerMixin, KVConnectorModelRunnerMixin):
...
@@ -524,7 +524,7 @@ class GPUModelRunner(LoRAModelRunnerMixin, KVConnectorModelRunnerMixin):
self
.
_draft_token_ids
:
list
[
list
[
int
]]
|
torch
.
Tensor
|
None
=
None
self
.
_draft_token_ids
:
list
[
list
[
int
]]
|
torch
.
Tensor
|
None
=
None
self
.
transfer_event
=
torch
.
cuda
.
Event
()
self
.
transfer_event
=
torch
.
cuda
.
Event
()
self
.
sampled_token_ids_pinned_cpu
=
torch
.
empty
(
self
.
sampled_token_ids_pinned_cpu
=
torch
.
empty
(
(
self
.
max_
model_len
,
1
),
(
self
.
max_
num_reqs
,
1
),
dtype
=
torch
.
int64
,
dtype
=
torch
.
int64
,
device
=
"cpu"
,
device
=
"cpu"
,
pin_memory
=
self
.
pin_memory
,
pin_memory
=
self
.
pin_memory
,
...
...
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