mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-12 08:27:12 +08:00
[Misc] typo find in sampling_metadata.py (#10740)
This commit is contained in:
parent
fa6ecb9aa7
commit
c82b432d4a
@ -454,6 +454,7 @@ class SamplingTensors:
|
|||||||
if do_penalties:
|
if do_penalties:
|
||||||
for seq_group in sampling_metadata.seq_groups:
|
for seq_group in sampling_metadata.seq_groups:
|
||||||
seq_ids = seq_group.seq_ids
|
seq_ids = seq_group.seq_ids
|
||||||
|
sampling_params = seq_group.sampling_params
|
||||||
if (seq_group.is_prompt
|
if (seq_group.is_prompt
|
||||||
and sampling_params.prompt_logprobs is not None):
|
and sampling_params.prompt_logprobs is not None):
|
||||||
prefill_len = len(seq_group.prompt_logprob_indices)
|
prefill_len = len(seq_group.prompt_logprob_indices)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user