Gemma 4 31B
AMD Strix Halo 128GB · llama.cpp
- prompt processing (prefill):
- 724.0 tokens/s
- quant:
- QAT Q4_0 (GGUF)
User benchmarks Gemma 4 31B on Strix Halo (Ryzen AI Max+ 395, 8060S iGPU) with a custom int4 GEMM using the GPU's int4 x int4 WMMA instruction, reporting 724 t/s prefill at 2k-token prompts versus 276 t/s for llama.cpp. Setup is the Embedl engine with int4 weights and int4 activations, rotation plus GPTQ and selective mixed precision; the llama.cpp baseline is QAT Q4_0 on build b11056 with Vulkan and flash attention, single stream, greedy. Prefill at 512 tokens was 679 t/s versus 287 t/s for llama.cpp. Quality on GSM8K, IFEval and MMLU-Pro is essentially unchanged (96.4/91.7/85.1 versus 96.2/92.2/85.1). The user cites 2.43x overall and 104 TOPS measured for the int4 WMMA path.