-
Notifications
You must be signed in to change notification settings - Fork 154
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
What happened?
With llama-server --jinja
in combination with the gpt-oss-20B model I get a chat template error. It then falls back to chatml which causes the model to produce nonsense.
I am using gpt-oss-20b-UD-Q6_K_XL.gguf from unsloth but loading the official chat template from OpenAI with --chat-template-file
causes the same issue.
Name and Version
version: 3838 (fc06bc9)
built with cc (Ubuntu 14.2.0-4ubuntu2) 14.2.0 for x86_64-linux-gnu
What operating system are you seeing the problem on?
Linux
Relevant log output
ERR [validate_model_chat_template] failed to apply template: %s
| ="Object is not callable: null at row 203, column 40:\n {{- \"Knowledge cutoff: 2024-06\\n\" }}\n {{- \"Current date: \" + strftime_now(\"%Y-%m-%d\") + \"\\n\\n\" }}\n ^\n {%- if reasoning_effort is not defined %}\n at row 203, column 52:\n {{- \"Knowledge cutoff: 2024-06\\n\" }}\n {{- \"Current date: \" + strftime_now(\"%Y-%m-%d\") + \"\\n\\n\" }}\n ^\n {%- if reasoning_effort is not defined %}\n at row 203, column 62:\n {{- \"Knowledge cutoff: 2024-06\\n\" }}\n {{- \"Current date: \" + strftime_now(\"%Y-%m-%d\") + \"\\n\\n\" }}\n ^\n {%- if reasoning_effort is not defined %}\n at row 203, column 5:\n {{- \"Knowledge cutoff: 2024-06\\n\" }}\n {{- \"Current date: \" + strftime_now(\"%Y-%m-%d\") + \"\\n\\n\" }}\n ^\n {%- if reasoning_effort is not defined %}\n at row 197, column 37:\n{#- System Message Construction ============================================ #}\n{%- macro build_system_message() -%}\n ^\n {%- if model_identity is not defined %}\n at row 231, column 25:\n{{- \"<|start|>system<|message|>\" }}\n{{- build_system_message() }}\n ^\n{{- \"<|end|>\" }}\n at row 231, column 1:\n{{- \"<|start|>system<|message|>\" }}\n{{- build_system_message() }}\n^\n{{- \"<|end|>\" }}\n at row 1, column 37:\n{# Chat template fixes by Unsloth #}\n ^\n{#-\n"
WARN [ load_model] %s: The chat template that comes with this model is not yet supported, falling back to chatml. This may cause the model to output suboptimal responses
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed