Unverified Commit a1074b3e authored by Yuan Tang's avatar Yuan Tang Committed by GitHub
Browse files

[Bugfix] Only print out chat template when supplied (#13444)

parent 00294e1b
...@@ -797,7 +797,9 @@ async def init_app_state( ...@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment