vrfai/gemma-4-31B-it-nvfp4
211
gemma-4-31B-it-nvfp4
NVFP4 quantized version of google/gemma-4-31B-it (31B params, server model). Produced and maintained by vrfai.
Quantization Details
This model was quantized using NVIDIA ModelOpt with the following configurations:
Excluded from Quantization
The following modules are kept in full precision (BF16) to preserve accuracy:
lm_headmodel.embed_vision*- All
self_attnlayers (layers 0–59)
Usage
You can deploy this model using vLLM with the modelopt quantization backend. Please ensure you refer to the vLLM documentation for Gemma 4 for advanced serving options.
vllm serve vrfai/gemma-4-31B-it-nvfp4 \
--quantization modelopt_fp4 \
--max-model-len 32768 \
--max-num-seqs 128 \
--max-num-batched-tokens 8192 \
--gpu-memory-utilization 0.95 \
--kv-cache-dtype fp8 \
--enable-prefix-caching \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--tool-call-parser gemma4 \
--async-scheduling \
--trust-remote-codeQuantization Script
The recipes and scripts used to quantize this model can be found in the following repository:
