Quantization Details
This model was quantized using NVIDIA ModelOpt with the following configurations:
Table with columns: Property, Value| Property | Value |
|---|
| Base model | google/gemma-4-12B-it |
| Quant method | NVIDIA ModelOpt (FP8 E4M3 - num_bits: (4, 3)) |
| Weight scheme | Per-channel (axis: 0) |
| Input activation | Dynamic Per-token (type: dynamic) |
| Calibration dataset | CNN DailyMail (512 samples, max_seq_len 1024) |
| Calibration algorithm | max |
| Size | ~15 GB (vs ~23 GB BF16) |
Excluded from Quantization
The following modules are kept in full precision (BF16) to preserve accuracy:
lm_head
model.embed_vision*
model.embed_audio*
- All
self_attn layers (layers 0–47)
Quantization Script
The recipes and scripts used to quantize this model can be found in the following repository: