mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-10 02:37:08 +08:00
[Bugfix] Only print out chat template when supplied (#13444)
This commit is contained in:
parent
00294e1bc6
commit
a1074b3efe
@ -797,7 +797,9 @@ async def init_app_state(
|
|||||||
state.log_stats = not args.disable_log_stats
|
state.log_stats = not args.disable_log_stats
|
||||||
|
|
||||||
resolved_chat_template = load_chat_template(args.chat_template)
|
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(
|
state.openai_serving_models = OpenAIServingModels(
|
||||||
engine_client=engine_client,
|
engine_client=engine_client,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user