Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
a1074b3e
"vscode:/vscode.git/clone" did not exist on "aa84e43ccb540dfbbd723f5b315ef7eefd732641"
Unverified
Commit
a1074b3e
authored
Feb 18, 2025
by
Yuan Tang
Committed by
GitHub
Feb 17, 2025
Browse files
[Bugfix] Only print out chat template when supplied (#13444)
parent
00294e1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vllm/entrypoints/openai/api_server.py
vllm/entrypoints/openai/api_server.py
+3
-1
No files found.
vllm/entrypoints/openai/api_server.py
View file @
a1074b3e
...
...
@@ -797,7 +797,9 @@ async def init_app_state(
state
.
log_stats
=
not
args
.
disable_log_stats
resolved_chat_template
=
load_chat_template
(
args
.
chat_template
)
logger
.
info
(
"Using supplied chat template:
\n
%s"
,
resolved_chat_template
)
if
resolved_chat_template
is
not
None
:
logger
.
info
(
"Using supplied chat template:
\n
%s"
,
resolved_chat_template
)
state
.
openai_serving_models
=
OpenAIServingModels
(
engine_client
=
engine_client
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment