mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-15 11:48:29 +08:00
Fix PoolingParams.skip_reading_prefix_cache type (#29364)
Signed-off-by: KFL <kludev@gmail.com>
This commit is contained in:
parent
a21256c463
commit
ce58fdc1c3
@ -57,7 +57,7 @@ class PoolingParams(
|
|||||||
## Internal use only
|
## Internal use only
|
||||||
task: PoolingTask | None = None
|
task: PoolingTask | None = None
|
||||||
requires_token_ids: bool = False
|
requires_token_ids: bool = False
|
||||||
skip_reading_prefix_cache: bool = None
|
skip_reading_prefix_cache: bool | None = None
|
||||||
extra_kwargs: dict[str, Any] | None = None
|
extra_kwargs: dict[str, Any] | None = None
|
||||||
output_kind: RequestOutputKind = RequestOutputKind.FINAL_ONLY
|
output_kind: RequestOutputKind = RequestOutputKind.FINAL_ONLY
|
||||||
|
|
||||||
|
|||||||
@ -238,7 +238,7 @@ class SamplingParams(
|
|||||||
generated token can complete the sequence."""
|
generated token can complete the sequence."""
|
||||||
_bad_words_token_ids: list[list[int]] | None = None
|
_bad_words_token_ids: list[list[int]] | None = None
|
||||||
|
|
||||||
skip_reading_prefix_cache: bool = None
|
skip_reading_prefix_cache: bool | None = None
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def from_optional(
|
def from_optional(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user