CanItRun Logocanitrun.

Gemma 2 27B Instruct

Gemma 2 27B Instruct needs roughly 13.6GB VRAM at Q4 quantization (54.4GB at FP16). 46 GPUs we track can run it fully in VRAM at 8k context.

Google27.2B params8k contextGemmaCommercial use ok

VRAM at each quantization

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

QuantWeightsKV cacheTotal
FP1654.4 GB3.09 GB64.4 GB
Q827.2 GB3.09 GB33.9 GB
Q6_K20.4 GB3.09 GB26.3 GB
Q5_K_M17.0 GB3.09 GB22.5 GB
Q4_K_M13.6 GB3.09 GB18.7 GB
Q3_K_M10.9 GB3.09 GB15.6 GB
Q2_K8.2 GB3.09 GB12.6 GB

Benchmarks

GPUs that run Gemma 2 27B Instruct natively (46)

Plus 6 GPUs that run it with CPU offload (slower)

Notes

Short 8k context — KV cache is tiny even at full context.

Hugging Face ↗Ollama ↗Released 2024-06-27