[!TIP] There is a newer version of this assistant: gemma-4-31B-it-qat-assistant-NVFP4-mse-Blackwell, re-quantized with MSE-based weight scaling. Google's unquantized BF16 assistant (
google/gemma-4-31B-it-qat-q4_0-unquantized-assistant, under 1 GB) also works as the draft. This repo stays as it is so nothing that points at it breaks.
The Gemma 4 31B IT MTP assistant quantized to NVFP4 with NVIDIA Model Optimizer (default absmax scaling), as a speculative-decoding draft for gemma-4-31B-it-qat-NVFP4-Blackwell.
NVFP4 (native FP4 on Blackwell)lm_head, pre_projection, post_projection (kept in BF16)modelopt)--speculative-model and --speculative-draft-limit.
Those flags don't exist in any vLLM release that supports Gemma 4, so the
command failed. Gemma 4 assistants go through
--speculative-config '{"method": "mtp", "model": "...", "num_speculative_tokens": 3}'
on vLLM 0.21.0 or newer.vllm/model_executor/models/gemma4_mtp.py by hand
so the MTP loader would apply the draft's quant config. vLLM fixed that
upstream in 0.25.0 (#47091).
Don't patch your install; upgrade instead.Apache 2.0, same as the base model. See the Gemma 4 license.
google/gemma-4-31B-it-qat-q4_0-unquantized-assistant