[BugFix] Fixed the issue where ignore_eos was not working. (#1286)
Signed-off-by: amy-why-3459 <wuhaiyan17@huawei.com>
This commit is contained in:
1 parent
109bb97b2c
commit
ee624d0686
2 files changed
+12
-14
No files matched your search
@@ -489,9 +489,13 @@ class OmniOpenAIServingChat(OpenAIServingChat, AudioMixin):
|
||||
_OPENAI_SAMPLING_FIELDS: set[str] = {
|
||||
"temperature",
|
||||
"top_p",
|
||||
"top_k",
|
||||
"max_tokens",
|
||||
"min_tokens",
|
||||
"seed",
|
||||
"ignore_eos",
|
||||
"stop",
|
||||
"stop_token_ids",
|
||||
"frequency_penalty",
|
||||
"presence_penalty",
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user