Can AMD Radeon RX 7900 XTX 24GB Run DeepSeek-R1-Distill-Qwen-32B?
ROCM / VULKAN DGPU // 960 GB/s MEMORY BUS // 32.8B PARAMS
FITS 100% IN VRAM (34.5 tok/s EST.)
AMD Radeon RX 7900 XTX 24GB (24.0GB usable) fits DeepSeek-R1-Distill-Qwen-32B at Q4_K_M (21.65GB total w/ 8K Q8_0 KV cache) with +2.35GB headroom, sustaining ~34.5 tokens/sec via 960 GB/s memory bandwidth.
Quantization & Context VRAM Footprint (DeepSeek-R1-Distill-Qwen-32B on 24.0GB Budget)
Hardware Note: 960 GB/s VRAM bandwidth via ROCm / llama.cpp Vulkan. Unquantized FP16 32K KV cache alone consumes 9.6 GB—enabling Q8_0 Flash Attention cuts 32K KV cache down to 5.28 GB.
| Quantization | Weights | Total @ 8K Ctx | Total @ 32K Ctx | AMD Radeon RX 7900 XTX 24GB Verdict |
|---|---|---|---|---|
| IQ3_XS (3.3 bpw) | 14.1 GB | 16.07 GB | 20.03 GB | FITS (+7.9GB) · ~47.8 tok/s |
| Q4_K_M (4.8 bpw) | 19.68 GB | 21.65 GB | 25.61 GB | FITS (+2.4GB) · ~34.5 tok/s |
| Q5_K_M (5.7 bpw) | 23.29 GB | 25.26 GB | 29.22 GB | OOM (-1.3GB) · CPU Spill (<6 tok/s) |
| Q6_K (6.6 bpw) | 26.9 GB | 28.87 GB | 32.83 GB | OOM (-4.9GB) · CPU Spill (<6 tok/s) |
| Q8_0 (8.5 bpw) | 34.77 GB | 36.74 GB | 40.7 GB | OOM (-12.7GB) · CPU Spill (<6 tok/s) |
Optimal Tuned Launch Flags (Flash Attention + Q8_0 KV Cache)
OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q8_0 ollama run deepseek-r1-32b
Cold-loading a 19.68GB GGUF from a SATA SSD takes 35+ seconds; a PCIe 4.0 DRAM drive (2TB WD_BLACK SN850X) maps it into VRAM in ~2.9 seconds.
Disclosure: As an Amazon Associate (tag: sheerai-20), SheerAI earns from qualifying purchases at zero extra cost to you.