Gemma 4 12B on AMD Radeon RX 580
Can the AMD Radeon RX 580 run Gemma 4 12B?
Yes, it runs well (tight fit)
Runs well (tight fit). At Q3_K_M it needs about 7.5 GB of 8.0 GB usable, with an estimated speed of 29.3 tok/s.
- Best quant
Q3_K_M- Generation speed
- 29.3 tok/s
- Prompt processing
- 321 tok/s
- First token (1K prompt)
- 3.2 s
- Largest safe context
- 13K
Best app to run it on the AMD Radeon RX 580
On Windows
- AMD’s own app: llama.cpp tuned for Radeon on Vulkan and ROCm.
lemonade pull unsloth/gemma-4-12B-it-GGUF:Q3_K_MOn Linux
- AMD’s own app: llama.cpp tuned for Radeon on Vulkan and ROCm.
lemonade pull unsloth/gemma-4-12B-it-GGUF:Q3_K_MDownload Gemma 4 12B
Recommended for the AMD Radeon RX 580: Q3_K_M. Every other quantization has its own download link in the table below.
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run gemma4:12bQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q3_K_M file (opens in a new tab)
huggingface.co/unsloth/gemma-4-12B-it-GGUF (opens in a new tab)
ollama run hf.co/unsloth/gemma-4-12B-it-GGUF:Q3_K_MOriginal weights · Hugging Face
Full-precision files from Google, for fine-tuning, vLLM, Transformers.
Official repo · GitHub
Reference code, inference scripts and docs from Google. The weights themselves download from Hugging Face.
github.com/google-deepmind/gemma (opens in a new tab)
git clone https://github.com/google-deepmind/gemmaHow it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 31.4 / 45 | |
|---|---|---|
| Memory fit | 24.0 / 25 | |
| Speed | 12.8 / 15 | |
| Memory use | 15.0 / 15 | |
| Match score | 83.2 / 100 |
Every quantization on the AMD Radeon RX 580
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 6.5 GB | 8.0 GB | 37.2 tok/s | Runs great | 58Good quality (B) · 58 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (UD-Q2_K_XL) (opens in a new tab) |
Q3_K_M | 7.5 GB | 8.0 GB | 29.3 tok/s | Runs welltight fit | 69Good quality (B) · 69 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q4_K_M | 9.0 GB | 8.0 GB | 17.3 tok/s | Runs welloffloads to RAM | 78Great quality (A) · 78 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 70/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 10.2 GB | 8.0 GB | 11.8 tok/s | Runs welloffloads to RAM | 80Great quality (A) · 80 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 69/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 11.5 GB | 8.0 GB | 8.6 tok/s | Slowheavy RAM offload | 82Great quality (A) · 82 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 62/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 14.3 GB | 8.0 GB | 5.3 tok/s | Slowheavy RAM offload | 83Great quality (A) · 83 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 61/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 25.6 GB | 8.0 GB | 2.0 tok/s | Very slowheavy RAM offload | 83Great quality (A) · 83 of 100: how capable the model is at F16, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
83Great quality (A) · 83 of 100: how capable the model is at F16, whatever it runs on. Match score 92/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5090
-
82Great quality (A) · 82 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 91/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 Ti SUPER
-
82Great quality (A) · 82 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 91/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4080 SUPER
-
82Great quality (A) · 82 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 91/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5070 Ti
-
82Great quality (A) · 82 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 91/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5080
-
83Great quality (A) · 83 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 91/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
Quick answers
How much memory does Gemma 4 12B need on the RX 580 8GB?
At Q3_K_M it needs about 7.5 GB. The RX 580 8GB has 8.0 GB usable.
How fast is Gemma 4 12B on the RX 580 8GB?
About 29.3 tok/s at Q3_K_M, an estimate from the hardware’s memory bandwidth and the size of the model.
Which quantization of Gemma 4 12B should I use on the RX 580 8GB?
Q3_K_M. Of the versions that fit, it is the one that runs best; when two run equally well, the check prefers the higher-rated one.
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.