Can NVIDIA RTX 4070 SUPER 12GB Run DeepSeek-R1-Distill-Qwen-32B?

PCIE DGPU // 504 GB/s MEMORY BUS // 32.8B PARAMS
VRAM BOTTLENECK (9.7GB DEFICIT) — ~4.3 tok/s CPU OFFLOAD

DeepSeek-R1-Distill-Qwen-32B Q4_K_M requires 21.65GB (19.68GB weights + 1.32GB KV + buffer), exceeding NVIDIA RTX 4070 SUPER 12GB (12.0GB) by 9.65GB. Partial CPU DDR5 offload drops output to ~4.3 tok/s.

Quantization & Context VRAM Footprint (DeepSeek-R1-Distill-Qwen-32B on 12.0GB Budget)

Hardware Note: Fast Ada cores capped sharply by 12GB VRAM ceiling. Unquantized FP16 32K KV cache alone consumes 9.6 GB—enabling Q8_0 Flash Attention cuts 32K KV cache down to 5.28 GB.

QuantizationWeightsTotal @ 8K CtxTotal @ 32K CtxNVIDIA RTX 4070 SUPER 12GB Verdict
IQ3_XS (3.3 bpw)14.1 GB16.07 GB20.03 GBOOM (-4.1GB) · CPU Spill (<6 tok/s)
Q4_K_M (4.8 bpw)19.68 GB21.65 GB25.61 GBOOM (-9.6GB) · CPU Spill (<6 tok/s)
Q5_K_M (5.7 bpw)23.29 GB25.26 GB29.22 GBOOM (-13.3GB) · CPU Spill (<6 tok/s)
Q6_K (6.6 bpw)26.9 GB28.87 GB32.83 GBOOM (-16.9GB) · CPU Spill (<6 tok/s)
Q8_0 (8.5 bpw)34.77 GB36.74 GB40.7 GBOOM (-24.7GB) · CPU Spill (<6 tok/s)

Optimal Tuned Launch Flags (Flash Attention + Q8_0 KV Cache)

# Partial offload (35 layers on GPU, remainder on DDR5 RAM):
OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q8_0 llama-server -m deepseek-r1-32b-Q4_K_M.gguf -ngl 35 -c 8192 --no-mmap

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.

As an Amazon Associate I earn from qualifying purchases.