Can AMD Radeon RX 7900 XT run gemma-3-12b-it?
This page was written and translated automatically by AI and checked by software against its sources, with no human editing. Specifications come from the sources listed; memory requirements and speeds are estimates calculated with published formulas. How we use AI
Fits By llama.cpp’s default load check, gemma-3-12b-it fits on AMD Radeon RX 7900 XT at Q8_0 with a context of 8,192 tokens. One card needs 15.8 GiB available for “Fits”.
At Q8_0, the longest context that fits is 50,432 tokens.
Run profile: llama.cpp, ROCm back end on Linux (AMD discrete GPU), all layers on the GPU, Flash Attention on, micro-batch (-ub) 512, F16 KV cache, context (-c) as shown; “Fits” is judged with llama-server’s default 4 parallel sequences (-np auto, unified KV cache) and “Doesn’t fit” with 1 sequence; idle GPU with no other programs using its memory.
Memory counted as available for “Fits” (C_low): 18.63 GiB per card = 20 GiB nominal − 144 MiB (the largest gap between nominal and reported total measured on consumer and workstation GPUs in this profile, used because no public log reports this GPU’s own total) − 1,216 MiB (the largest start-up and runtime use seen in this profile’s public logs), rounded down to a multiple of 64 MiB.
These results assume the card’s default configuration. Settings that reduce usable memory (for example ECC, where the card supports it) are not covered.
Memory used for “Doesn’t fit” (C_high): the full 20 GiB per card. Run profiles and their measurements
Memory needed by quantization and context
| Quantization | 4,096 | 8,192 | 32,768 | 131,072 |
|---|---|---|---|---|
| BF16 | 26.2 GiB Doesn't fit | 26.6 GiB Doesn't fit | 28.3 GiB Doesn't fit | 34.8 GiB Doesn't fit |
| Q8_0 | 15.4 GiB Fits | 15.8 GiB Fits | 17.4 GiB Fits | 24.0 GiB Tight |
| Q6_K | 12.6 GiB Fits | 13.0 GiB Fits | 14.7 GiB Fits | 21.2 GiB Tight |
| Q5_K_M | 11.4 GiB Fits | 11.8 GiB Fits | 13.5 GiB Fits | 20.0 GiB Tight |
| Q4_K_M | 10.3 GiB Fits | 10.7 GiB Fits | 12.3 GiB Fits | 18.9 GiB Tight |
| Q4_0 | 9.9 GiB Fits | 10.3 GiB Fits | 12.0 GiB Fits | 18.5 GiB Fits |
| IQ4_XS | 9.5 GiB Fits | 10.0 GiB Fits | 11.6 GiB Fits | 18.1 GiB Fits |
| Q3_K_M | 9.0 GiB Fits | 9.4 GiB Fits | 11.1 GiB Fits | 17.6 GiB Fits |
| Q2_K | 7.8 GiB Fits | 8.2 GiB Fits | 9.9 GiB Fits | 16.4 GiB Fits |
Alternatives
Other 20 GB GPUs where gemma-3-12b-it fits
No other GPU with the same memory size fits this model.
Largest model of the same family that fits on AMD Radeon RX 7900 XT
Sources
- Model page, with every quantization and its files: gemma-3-12b-it
- GPU page, with each specification and its sources: AMD Radeon RX 7900 XT
- Model files on Hugging Face (pinned revisions): google/gemma-3-12b-it@96b6f1e, unsloth/gemma-3-12b-it-GGUF@d15e4c7
- Memory size of AMD Radeon RX 7900 XT from: Wikipedia: Radeon RX 7000 series (CC BY-SA 4.0), ROCm documentation gpu-specs.rst (MIT)
- Methodology