Views
No views yet
google/gemma-4-31b-it for Apple Silicon (mlx-vlm).google/gemma-4-31b-it (license: gemma)mlx-vlm 0.6.3 — mlx_vlm.convert --hf-path google/gemma-4-31b-it --mlx-path . --dtype bfloat161from mlx_vlm import load, generate
2model, processor = load("ToPo-ToPo/gemma-4-31b-it-mlx-bf16")google/gemma-4-31b-it-assistant — Google's official MTP drafter for
this model. It loads directly in mlx-vlm (>= 0.6.3), needs no conversion, and speculative
decoding is lossless. Drafters are size-specific and not interchangeable across Gemma 4
variants.chat_template.jinja differs from Google's Gemma 4 Canonical Chat Template
(2026-07-09) by one intentional change; everything else is untouched.enable_thinking is false. The model
may then open a thinking channel on its own, and a quantized model sometimes writes the
literal word thought into the answer. This patch gives the tool_response branch the
same suppression:1{%- elif ns.prev_message_type == 'tool_response' -%}
2 {%- if enable_thinking -%}
3 {{- '<|channel>thought\n' -}}
4 {%- else -%}
5 {{- '<|channel>thought\n<channel|>' -}}
6 {%- endif -%}
7{%- endif -%}chat_template.jinja with the one from the
base model repo; the weights are unaffected.