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
53d7c392
Unverified
Commit
53d7c392
authored
Aug 01, 2025
by
Aviad Rossmann
Committed by
GitHub
Jul 31, 2025
Browse files
Update sampling_metadata.py (#21937)
Signed-off-by:
Aviad Rossmann
<
aviadr@neureality.ai
>
parent
61dcc280
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
vllm/model_executor/sampling_metadata.py
vllm/model_executor/sampling_metadata.py
+6
-6
No files found.
vllm/model_executor/sampling_metadata.py
View file @
53d7c392
...
...
@@ -539,37 +539,37 @@ class SamplingTensors:
temperatures_t
=
torch
.
tensor
(
temperatures
,
device
=
"cpu"
,
dtype
=
dtype
,
dtype
=
torch
.
float32
,
pin_memory
=
pin_memory
,
)
top_ps_t
=
torch
.
tensor
(
top_ps
,
device
=
"cpu"
,
dtype
=
dtype
,
dtype
=
torch
.
float32
,
pin_memory
=
pin_memory
,
)
min_ps_t
=
torch
.
tensor
(
min_ps
,
device
=
"cpu"
,
dtype
=
dtype
,
dtype
=
torch
.
float32
,
pin_memory
=
pin_memory
,
)
presence_penalties_t
=
torch
.
tensor
(
presence_penalties
,
device
=
"cpu"
,
dtype
=
dtype
,
dtype
=
torch
.
float32
,
pin_memory
=
pin_memory
,
)
frequency_penalties_t
=
torch
.
tensor
(
frequency_penalties
,
device
=
"cpu"
,
dtype
=
dtype
,
dtype
=
torch
.
float32
,
pin_memory
=
pin_memory
,
)
repetition_penalties_t
=
torch
.
tensor
(
repetition_penalties
,
device
=
"cpu"
,
dtype
=
dtype
,
dtype
=
torch
.
float32
,
pin_memory
=
pin_memory
,
)
top_ks_t
=
torch
.
tensor
(
...
...
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