Gemma 4 31B
on AMD Strix Halo 128GB · llama.cpp
Summary
User benchmarks Gemma 4 31B with int4 weights and int4 activations on a Strix Halo (Ryzen AI Max+ 395) using a custom int4 WMMA GEMM, reaching 24.4 t/s decode and 679 t/s prefill at 512 tokens versus llama.cpp's 11.0 t/s and 287 t/s.
Setup is the embedl engine with QAT Q4_0 weights, rotation plus GPTQ and selective mixed precision; llama.cpp comparison used b11056 Vulkan with -fa 1. Server benchmark with 2k-token prompts, greedy, single stream.
At 2048-token prompts prefill is 724 t/s against llama.cpp's 276. Quality is close on GSM8K (96.4 vs 96.2), IFEval (91.7 vs 92.2) and MMLU-Pro (85.1 both). The 8060S int4 x int4 WMMA instruction measured 104 TOPS.
Download this model
This report's quant, QAT Q4_0, doesn't name one file of Gemma 4 31B.
Compare this run
Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.
Gemma 4 31B at 4-bit by hardware
- NVIDIA RTX 509032 GB64.0 t/s · one run
- 51.0 t/s · one run
- NVIDIA RTX 309024 GB36.5 t/s · one run
- AMD RX 7900 XTX24 GB30.1 t/s · one run
- 25.2 t/s · one run
- 22.4 t/s · one run
Bars are medians on one scale, 0 to 64.0 tokens/s. Press ▶ to watch text arrive at a row's speed.
Models most run on the AMD Strix Halo 128GB
- 26.6 t/s · 8 runs
- 60.2 t/s · 8 runs
- 69.9 t/s · 6 runs
- 50.4 t/s · 4 runs
- 52.6 t/s · 4 runs
- 71.7 t/s · 4 runs
Bars are medians on one scale, 0 to 120.0 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.
Everything reported on the AMD Strix Halo 128GB →Every Gemma 4 report →Estimate Gemma 4 on this card →