Fix Vulkan backend to use llama.cpp's built-in chat template
- Use apply_chat_template() to properly format messages for each model - This ensures Qwen3 and other models get their correct chat format - Fallback to <|im_start|>/|im_end|> format if apply_chat_template fails - Fixes garbled output with <|system|> tags appearing in responses
Showing
Please
register
or
sign in
to comment