Can the NVIDIA RTX 4080 run Gemma 2 27B?
Yes, with heavy quantization
QuantQ2_KHeavily degraded
Memory13.9 GBof 16 GB
Speed~42tokens/s
Only just. Gemma 2 27B fits on the NVIDIA RTX 4080 at Q2_K, which costs noticeable quality. Expect about 42 tokens/second. A card with more memory is a better experience.
Try other context lengths in the calculator →Run it in the cloud
Want full quality? Run Gemma 2 27B on a bigger rented GPU.
Rent a cloud GPU by the hour. No upfront cost, cancel any time.
Memory needed by quantization
At 8,192 tokens of context.
| Quant | Quality | Memory | Fits? | Speed |
|---|---|---|---|---|
| FP16 | Full quality | 58.1 GB | Too big | — |
| Q8_0 | Near-lossless | 32.6 GB | Too big | — |
| Q6_K | Excellent | 26 GB | Too big | — |
| Q5_K_M | Very good | 23 GB | Too big | — |
| Q4_K_M | Good, most popular | 20.2 GB | Too big | — |
| Q3_K_M | Noticeably degraded | 17 GB | Too big | — |
| Q2_K | Heavily degraded | 13.9 GB | Fits | ~42 tok/s |
How to run Gemma 2 27B on the NVIDIA RTX 4080
Ollama's default gemma2:27b download is Q4_K_M, which needs about 20.2 GB, more than the 16 GB available. Download the Q2_K GGUF instead (LM Studio lists quants per model), or try a smaller context length.
GPUs that run Gemma 2 27B comfortably
- NVIDIA RTX 3090 (24 GB)
- AMD Radeon RX 7900 XTX (24 GB)
- NVIDIA RTX 4090 (24 GB)
- Apple M2 Pro (32GB)
- NVIDIA RTX 5090 (32 GB)