Skip to content

Overview

Gemma 4 31B IT is the instruction-tuned variant of Google’s Gemma 4 31B (Gemma4ForConditionalGeneration). It is a dense (non-MoE) 60-layer model with a heterogeneous attention topology (head_dim 256, global_head_dim 512), sliding-window attention interleaved with periodic full-attention layers, 256K native max_position_embeddings, and a SigLIP-based vision encoder for image inputs. vLLM 0.19+ auto-selects the TRITON_ATTN backend for this architecture.

Available profiles

A profile is a tested combination of hardware, GPU count, precision and engine. The AIM selects one that matches the hardware it runs on.

Hardware GPUs Precision Engine Optimized for
MI355X 1 BF16 vllm Latency
MI355X 1 BF16 vllm Throughput
MI355X 2 BF16 vllm Latency
MI355X 2 BF16 vllm Throughput
MI355X 4 BF16 vllm Latency
MI355X 4 BF16 vllm Throughput
MI355X 8 BF16 vllm Latency
MI355X 8 BF16 vllm Throughput
MI350X 1 BF16 vllm Latency
MI350X 1 BF16 vllm Throughput
MI350X 2 BF16 vllm Latency
MI350X 2 BF16 vllm Throughput
MI350X 4 BF16 vllm Latency
MI350X 4 BF16 vllm Throughput
MI350X 8 BF16 vllm Latency
MI350X 8 BF16 vllm Throughput
MI325X 1 BF16 vllm Latency
MI325X 1 BF16 vllm Throughput
MI325X 2 BF16 vllm Latency
MI325X 2 BF16 vllm Throughput
MI325X 4 BF16 vllm Latency
MI325X 4 BF16 vllm Throughput
MI325X 8 BF16 vllm Latency
MI325X 8 BF16 vllm Throughput
MI300X 1 BF16 vllm Latency
MI300X 1 BF16 vllm Throughput
MI300X 2 BF16 vllm Latency
MI300X 2 BF16 vllm Throughput
MI300X 4 BF16 vllm Latency
MI300X 4 BF16 vllm Throughput
MI300X 8 BF16 vllm Latency
MI300X 8 BF16 vllm Throughput

MI350P and MI250X: no model-specific profiles; the AIM runs with AMD's general profiles for these accelerators.

How to read this table

Hardware
The accelerator the profile is built for.
GPUs
How many GPUs the profile uses.
Precision
Numerical precision used for inference, most often FP16 (half-precision floating point) or FP8 (8-bit floating point).
Engine
The inference engine that runs the model.
Optimized for
The performance metric the profile is tuned for.
Latency
Time taken to generate a response.
Throughput
Number of requests handled per second.

Versions

Published releases on Docker Hub, newest first.

Version Released Size Command
0.13.0-preview Latest Preview Jul 1, 2026 12.1 GB