lmstudio-ai / lmstudio-ai/mlx-engine
Failed to parse Jinja template when using Qwen3 DWQ model
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 133
- Avg merge
- 21h 6m
- Merged PRs (30d)
- 1
Description
When I try to use the `qwen3-8b-dwq-053125` model, I get this error:
`Failed to parse Jinja template: Parser Error: Expected closing statement token. OpenSquareBracket !== CloseStatement`.
Is it a problem with LM Studio or the model's chat_template?
I am using:
- `LM Studio` 0.3.16
- `LM Studio MLX` 0.17.0
Contributor guide
Research direction
No source file or test is identified. Start by reproducing the error with the qwen3-8b-dwq-053125 model using LM Studio 0.3.16 and LM Studio MLX 0.17.0, then inspect the model's chat_template alongside the parser error; done means determining whether the fault is in LM Studio, MLX, or the model template.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100