Skip to content

Commit

Permalink
fix param
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyiujie committed Oct 18, 2024
1 parent e0fadea commit 195952e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/sampling_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def from_optional(
skip_special_tokens: bool = True,
spaces_between_special_tokens: bool = True,
logits_processors: Optional[List[LogitsProcessor]] = None,
sampler_priority: str = DEFAULT_SAMPLER_PRIORITY,
sampler_priority: str = _DEFAULT_SAMPLER_PRIORITY,
truncate_prompt_tokens: Optional[Annotated[int,
msgspec.Meta(ge=1)]] = None,
output_kind: RequestOutputKind = RequestOutputKind.CUMULATIVE,
Expand Down

0 comments on commit 195952e

Please sign in to comment.