Semi-structured collection of AI observations. Opinions my own, not those of AMD.
Gemma 4 12B launch blog from Google
Gemma 4 12B is positioned as being almost as capable as Gemma 4 26B, but with a smaller memory footprint. It’s a dense model, so actually has more active parameters than Gemma 4 26B. For Strix Halo systems with 128GB memory, Gemma 4 26B is probably the more logical candidate from the Gemma family. With that disclaimer, below are some initial results.
| Inference Engine | Model | BS 1 | BS 4 | BS 16 | BS 32 | Command line |
|---|---|---|---|---|---|---|
| vLLM | google/gemma-4-12b-it | 7.85 | 24.14 | 39.63 | 44.52 | vllm bench throughput –model google/gemma-4-12b-it –max-num-seqs [BS] –num-prompts 200 |
| vLLM (with MTP enabled) | google/gemma-4-12b-it | 15.67 | 46.96 | 109.5 | 119.84 | vllm bench throughput –model google/gemma-4-12b-it –max-num-seqs [BS] –num-prompts 200 –dataset-name sharegpt –dataset-path [local path]/ShareGPT_V3_unfiltered_cleaned_split.json –speculative-config ‘{“method”:”mtp”,”model”:”google/gemma-4-12B-it-assistant”,”num_speculative_tokens”:3}’ |
| vLLM | cyankiwi/gemma-4-12B-it-AWQ-INT4 | 6.35 | 16.13 | 19.65 | 20.48 | vllm bench throughput –model cyankiwi/gemma-4-12B-it-AWQ-INT4 –max-num-seqs [BS] –num-prompts 200 |
| llama.cpp (ROCm) | ggml-org/gemma-4-12B-it-GGUF:Q4_K_M | 24.13 | 57.4 | 147.35 | 179.44 | ./llama-batched-bench -hf ggml-org/gemma-4-12B-it-GGUF:Q4_K_M -ngl 999 -npp 1028 -ntg 128 -npl 1,4,16,32 |
| llama.cpp (Vulkan) | ggml-org/gemma-4-12B-it-GGUF:Q4_K_M | 23.13 | 70.77 | 114.46 | 179.81 | ./llama-batched-bench -hf ggml-org/gemma-4-12B-it-GGUF:Q4_K_M -ngl 999 -npp 1028 -ntg 128 -npl 1,4,16,32 |
Command lines used for user experience testing:
with vLLM:
vllm serve --model google/gemma-4-12b-it --speculative-config '{"method":"mtp","model":"google/gemma-4-12B-it-assistant","num_speculative_tokens":3}'
with llama.cpp:
./llama-server -hf unsloth/gemma-4-12B-it-qat-GGUF:UD-Q4_K_XL -ngl 999 --spec-type draft-mtp --spec-draft-n-max 3