From 094f716bf2cdc213f2b812dbb489fbf6f4a4423c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BA=8F?= Date: Wed, 22 Nov 2023 12:13:53 +0800 Subject: [PATCH] Add stop_token_ids in SamplingParams.__repr__ (#1745) --- vllm/sampling_params.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vllm/sampling_params.py b/vllm/sampling_params.py index 84fa6fc026f8e..68ba762f899dc 100644 --- a/vllm/sampling_params.py +++ b/vllm/sampling_params.py @@ -241,6 +241,7 @@ def __repr__(self) -> str: f"length_penalty={self.length_penalty}, " f"early_stopping={self.early_stopping}, " f"stop={self.stop}, " + f"stop_token_ids={self.stop_token_ids}, " f"ignore_eos={self.ignore_eos}, " f"max_tokens={self.max_tokens}, " f"logprobs={self.logprobs}, "