Gemma 4 31B IT QAT Assistant NVFP4 Blackwell
[!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.
Model Details
- Base Model: google/gemma-4-31B-it-qat-q4_0-unquantized-assistant
- Quantization Format:
NVFP4(native FP4 on Blackwell) - Group Size: 16 (per-group scaling)
- Excluded Modules:
lm_head,pre_projection,post_projection(kept in BF16) - Producer: NVIDIA Model Optimizer (
modelopt)
Notes on earlier versions of this card
- The quickstart used
--speculative-modeland--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. - The card told you to patch
vllm/model_executor/models/gemma4_mtp.pyby 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.
License
Apache 2.0, same as the base model. See the Gemma 4 license.