Gemma 4 31B Heretic ARA · W4A8 · DFlash · Radiance
A Radiance container of
trohrbaugh/gemma-4-31b-it-heretic-ara
(revision f961f79) with z-lab's
DFlash drafter (revision eabd648)
merged in. Vision is included.
Heretic ARA keeps the model closer to stock Gemma 4 31B than other uncensored releases (KL 0.012 against stock on its card), which also keeps the stock-trained drafter's acceptance high.
| File | Size | SHA-256 |
|---|---|---|
gemma4-31b-heretic-ara-w4a8-df.rad |
21.9 GiB | 9a741e3ce38b0445056747dc3dbceb7492015a58e1a086d1f05483c7f51daa9d |
Format
Radiance's stock gemma4-31b-dense-bf16-w4a8-df.recipe, converted from the bf16 checkpoint
with Radiance 1.11.0: int4 trunk (group 128, searched scales), int8 lm_head, bf16 vision
tower, block-FP8 DFlash drafter declared at 15 speculative tokens.
rad-convert gemma-4-31b-it-heretic-ara -o gemma4-31b-heretic-ara-w4a8-df.rad \
--recipe /opt/radiance/share/radiance/recipes/gemma4-31b-dense-bf16-w4a8-df.recipe \
--set quantization_config.quant_method=compressed-tensors \
--draft-model gemma-4-31B-it-DFlash
Serve
Radiance 1.11.0 or later. On one 32 GB card:
radiance --model gemma4-31b-heretic-ara-w4a8-df.rad --num-speculative-tokens auto \
--kv-cache-dtype fp8 --max-model-len 262144 --max-num-seqs 2 --tp 1 \
--vision-tower-placement vram
This leaves 9.7 GiB of FP8 KV cache, about 170,000 tokens.
Speed
One Radeon AI PRO R9700, Radiance 1.11.0, temperature 0, 600 completion tokens including reasoning, single stream. Compared with keptn/gemma4-31b-heretic-ara-w4a8 (same trunk, MTP drafter at 3 tokens, adaptive window) on the same card:
| Prompt | DFlash (this) | MTP |
|---|---|---|
| Short story | 70.6 tok/s | 70.3 tok/s |
| Python function with tests | 100.7 tok/s | 84.9 tok/s |
| Technical explanation | 93.3 tok/s | 80.3 tok/s |
Drafts are verified by the trunk, so the drafter changes speed only, never the output.
Licence
Apache 2.0, as are the Gemma 4 base, the Heretic ARA checkpoint and the DFlash drafter.