mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-09-10 16:17:04 +08:00
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
parent
28b18cc741
commit
87c94bc879
@ -539,37 +539,37 @@ class SamplingTensors:
|
|||||||
temperatures_t = torch.tensor(
|
temperatures_t = torch.tensor(
|
||||||
temperatures,
|
temperatures,
|
||||||
device="cpu",
|
device="cpu",
|
||||||
dtype=torch.float32,
|
dtype=dtype,
|
||||||
pin_memory=pin_memory,
|
pin_memory=pin_memory,
|
||||||
)
|
)
|
||||||
top_ps_t = torch.tensor(
|
top_ps_t = torch.tensor(
|
||||||
top_ps,
|
top_ps,
|
||||||
device="cpu",
|
device="cpu",
|
||||||
dtype=torch.float32,
|
dtype=dtype,
|
||||||
pin_memory=pin_memory,
|
pin_memory=pin_memory,
|
||||||
)
|
)
|
||||||
min_ps_t = torch.tensor(
|
min_ps_t = torch.tensor(
|
||||||
min_ps,
|
min_ps,
|
||||||
device="cpu",
|
device="cpu",
|
||||||
dtype=torch.float32,
|
dtype=dtype,
|
||||||
pin_memory=pin_memory,
|
pin_memory=pin_memory,
|
||||||
)
|
)
|
||||||
presence_penalties_t = torch.tensor(
|
presence_penalties_t = torch.tensor(
|
||||||
presence_penalties,
|
presence_penalties,
|
||||||
device="cpu",
|
device="cpu",
|
||||||
dtype=torch.float32,
|
dtype=dtype,
|
||||||
pin_memory=pin_memory,
|
pin_memory=pin_memory,
|
||||||
)
|
)
|
||||||
frequency_penalties_t = torch.tensor(
|
frequency_penalties_t = torch.tensor(
|
||||||
frequency_penalties,
|
frequency_penalties,
|
||||||
device="cpu",
|
device="cpu",
|
||||||
dtype=torch.float32,
|
dtype=dtype,
|
||||||
pin_memory=pin_memory,
|
pin_memory=pin_memory,
|
||||||
)
|
)
|
||||||
repetition_penalties_t = torch.tensor(
|
repetition_penalties_t = torch.tensor(
|
||||||
repetition_penalties,
|
repetition_penalties,
|
||||||
device="cpu",
|
device="cpu",
|
||||||
dtype=torch.float32,
|
dtype=dtype,
|
||||||
pin_memory=pin_memory,
|
pin_memory=pin_memory,
|
||||||
)
|
)
|
||||||
top_ks_t = torch.tensor(
|
top_ks_t = torch.tensor(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user