Google

Gemma 2 9B

9,2B

Parameters

5,4 Go

Q4_K_M file

≥ 6,9 Go

Recommended VRAM

8 192

Max context

Standard llama-bench run (prompt 512 / generation 128 tokens), model fully in VRAM. Click a card for details. Electricity cost at the default price (0,25 €/kWh).

Card · Q4_K_MVRAMGenerationPromptVRAM usedPower€ elec. / M tokPrice
RTX 4070 Ti12 Go72,1 tok/s4 9826,8 Go153 W0,15 €/M tok—

Not measured on these cards yet — click for an estimate:

Technical sheet

Published
2024-06-24
Architecture
42 layers · 8 KV heads · dimension 256
Attention
Sliding window: 21 of 42 layers keep the whole context, the others only the last 4096 tokens — a much lighter cache.
Context cache (f16)
≈ 164 MB per 1,000 tokens · 5,3 Go for 32,768 tokens
GGUF file
bartowski/gemma-2-9b-it-GGUF · gemma-2-9b-it-Q4_K_M.gguf Download (5,4 Go)

Public Hugging Face data (official config.json, GGUF repo). The context cache only counts full-attention layers.