Full-precision
google/gemma-4-31B-it quantized to 8-bit with imatrix
calibration ("oQ8e") using
oMLX's own
quantization tooling, converted from Google's official weights (not the
already-MLX
mlx-community mirror).
Gemma 4's MTP is implemented as a separate small "assistant"/drafter model
(not tensors baked into the main checkpoint), per Google's own design. Pair
this model with
dynamicagency/gemma-4-31b-it-oQ8e-mtp-drafter
for speculative decoding. In oMLX, set on this model:
1{
2 "vlm_mtp_enabled": true,
3 "vlm_mtp_draft_model": "<local id of the drafter model>"
4}
Run on an Apple M3 Ultra (256GB), full pipeline: guidellm speed, long-context
sweep, lm-evaluation-harness intelligence suite, promptfoo practical suite.
MTP/speculative decoding was active for these runs (drafter attached and
verified via server logs before benchmarking).
131K-token prefill exceeded our harness's 30-minute per-level budget on this
model/hardware combination; treat long-context (>~100K token) use with that
in mind.
6/7 pass (coding 2/2, reasoning 2/2, instruction-following 2/2, summarization 0/1).