lmstudio 无法正常对话

#2
by takeseem - opened
  • lmstudio 全部使用默认加载后在 chat 中无法正常对话,google ai 说是 lmstudio 未正确解析:chat template。
  • lmstudio 设置面板 developer 已经开启了 “在预设中启用模型加载配置支持”。
2026-05-27 06:14:36 [DEBUG]
 0.00.976.932 I init: chat template, example_format: 'You are a helpful assistantHelloHi thereHow are you?'
2026-05-27 06:14:36 [DEBUG]
 0.00.977.490 I srv          init: init: chat template, thinking = 0
2026-05-27 06:14:36 [DEBUG]
 0.00.977.612 I srv  update_slots: all slots are idle

image

image

  • ./llama-server -m MiniCPM5-1B-F16.gguf --port 8080 -ngl 99 -c 8192 --jinja --flash-attn on --kv-offload --numa distribute 加载正常对话也正常
0.00.925.699 I init: chat template, example_format: '<s><|im_start|>system
You are a helpful assistant<|im_end|>
<|im_start|>user
Hello<|im_end|>
<|im_start|>assistant
Hi there<|im_end|>
<|im_start|>user
How are you?<|im_end|>
<|im_start|>assistant
<think>
'
0.00.927.570 I srv          init: init: chat template, thinking = 1

Sign up or log in to comment