[Chore][V0 Deprecation] Move LogProb to a separate file (#24055)

Signed-off-by: Woosuk Kwon <woosuk.kwon@berkeley.edu>
This commit is contained in:
Woosuk Kwon
2025-09-01 12:07:53 -07:00
committed by GitHub
parent a0e0efd6bd
commit 5685370271
14 changed files with 49 additions and 42 deletions
+3 -2
View File
@@ -3,8 +3,9 @@
from typing import Optional
from vllm.sequence import (VLLM_INVALID_TOKEN_ID, Logprob, SamplingParams,
Sequence, SequenceGroup)
from vllm.logprobs import Logprob
from vllm.sequence import (VLLM_INVALID_TOKEN_ID, SamplingParams, Sequence,
SequenceGroup)
from .detokenizer_utils import (convert_prompt_ids_to_tokens,
detokenize_incrementally)