can-i-run-this-llm

Can I run this LLM?

Can a AMD RX 7900 XTX (24GB) run Gemma 4 31B?

Gemma · Apache 2.0 · estimated for a 24.0 GB machine at 4K context.

Yes, but it's tight.

Best fit: Gemma 4 31B at Q3_K_M · 13.2 GB · 32–48 tok/s on a AMD RX 7900 XTX (24GB).

Every quantization on this machine

QuantSizeSpeedFit
Q3_K_M13.2 GB32–48 tok/sTight / slow
Q4_K_M18.6 GB26–39 tok/sWon't fit
Q5_K_M21.9 GB23–34 tok/sWon't fit
Q6_K25.3 GB21–31 tok/sWon't fit
Q8_032.6 GB17–26 tok/sWon't fit
FP1661.4 GB10–15 tok/sWon't fit

Ran Gemma 4 31B on a AMD RX 7900 XTX (24GB)? Add your real numbers →