CanItRun Logocanitrun.

Gemma 2 9B Instruct

Gemma 2 9B Instruct needs roughly 4.6GB VRAM at Q4 quantization (18.4GB at FP16). 57 GPUs we track can run it fully in VRAM at 8k context.

Google9.2B params8k contextGemmaCommercial use ok

VRAM at each quantization

Assumes 8k context. KV cache grows linearly with context length.

QuantWeightsKV cacheTotal
FP1618.4 GB2.82 GB23.8 GB
Q89.2 GB2.82 GB13.5 GB
Q6_K6.9 GB2.82 GB10.9 GB
Q5_K_M5.8 GB2.82 GB9.6 GB
Q4_K_M4.6 GB2.82 GB8.3 GB
Q3_K_M3.7 GB2.82 GB7.3 GB
Q2_K2.8 GB2.82 GB6.3 GB

Benchmarks

GPUs that run Gemma 2 9B Instruct natively (57)

Plus 1 GPUs that run it with CPU offload (slower)
Hugging Face ↗Ollama ↗Released 2024-06-27