DeepSeek-R1-Distill-Llama-70B — VRAM-Anforderungen, Quantisierungsmatrix & GPU-Leitfaden

DeepSeek-R1-Distill-Llama-70B (DeepSeek, MIT) nutzt eine Dichter Transformer-Architektur mit 70.6B residenten Parametern (70.6B aktiv pro Token), 80 Schichten und Grouped-Query Attention (GQA) für bis zu 131,072 Kontext-Tokens.

Interaktiver Speicher- & Kontextsimulator für DeepSeek-R1-Distill-Llama-70B

32,768 Tokens

Speicheraufschlüsselung & Bandbreitenlimit

Passt komfortabel
Modellgewichte: 76% KV: 19.1% Overhead: 4.9%
Gesamter Speicherbedarf
52.45 GB
Belegung pro Gerät: 52.45 GB
Modellgewichte
39.86 GB
KV-Cache (FP16): 10.00 GB
Gesch. Einzelstream-Decode
25.2 tok/s
Runtime- & TP-Overhead: 2.59 GB
Max. Kontext vor OOM
114,335
Tokens

Architekturbedingte KV-Komprimierung spart 87.5 % gegenüber naiver MHA FP16 (80.00 GB).

Präzisions- & Quantisierungs-VRAM-Matrix (8K / 32K / 128K Kontext)

Gesamter GPU-Speicherbedarf nach Gewichtspräzision und Kontextlänge (Batch = 1, FP16-KV-Cache)
Präzision / Format Effektive bpw Nur Gewichte Gesamt @ 8K Gesamt @ 32K Gesamt @ 128K Empfohlene Klasse (@ 32K)
FP16 / BF16 16.00 bpw 131.50 GB 139.34 GB 146.84 GB 176.84 GB Mac Studio 512GB
FP8 8.50 bpw 69.86 GB 75.85 GB 83.35 GB 113.35 GB RTX PRO 6000 96GB
Q8_0 8.50 bpw 69.86 GB 75.85 GB 83.35 GB 113.35 GB RTX PRO 6000 96GB
Q6_K 6.56 bpw 53.92 GB 59.42 GB 66.92 GB 96.92 GB NVIDIA A100 80GB
Q5_K_M 5.69 bpw 46.77 GB 52.06 GB 59.56 GB 89.56 GB NVIDIA A100 80GB
Q4_K_M 4.85 bpw 39.86 GB 44.95 GB 52.45 GB 82.45 GB NVIDIA A100 80GB
AWQ INT4 4.50 bpw 36.99 GB 41.98 GB 49.48 GB 79.48 GB NVIDIA A100 80GB
IQ4_XS 4.25 bpw 34.93 GB 39.87 GB 47.37 GB 77.37 GB Apple M-Max 64GB

Hardware-Kompatibilität & Decode-Geschwindigkeit (DeepSeek-R1-Distill-Llama-70B @ Q4_K_M, 32K Kontext)

Passstatus, Speicherauslastung und geschätzter Decode-Durchsatz auf führenden GPUs und Apple Silicon
Hardware-Klasse Speicher & Bandbreite Benötigt (32K) Bewertung Gesch. Decode-Rate
RTX 3090 24GB 24 GB · 936 GB/s 52.45 GB (219%) Zu wenig Speicher (OOM) —
RTX 4090 24GB 24 GB · 1008 GB/s 52.45 GB (219%) Zu wenig Speicher (OOM) —
RTX 5090 32GB 32 GB · 1792 GB/s 52.45 GB (164%) Zu wenig Speicher (OOM) —
Apple M-Max 64GB 64 GB · 546 GB/s 51.51 GB (81%) Erfordert sysctl wired_limit 6.0 tok/s
Mac Studio 128GB 128 GB · 546 GB/s 51.51 GB (40%) Passt komfortabel 6.0 tok/s
Mac Studio 192GB 192 GB · 800 GB/s 51.51 GB (27%) Passt komfortabel 8.8 tok/s
NVIDIA A100 80GB 80 GB · 2039 GB/s 52.45 GB (66%) Passt komfortabel 25.2 tok/s
NVIDIA H100 80GB 80 GB · 3350 GB/s 52.45 GB (66%) Passt komfortabel 41.4 tok/s

Geprüfte Transformer-Architekturparameter

Checkpoint ID
deepseek-ai/DeepSeek-R1-Distill-Llama-70B
Ollama Tag
deepseek-r1:70b
License / Release
MIT · 2025-Q1
Topologie & Attention
Dichter Transformer
Aufmerksamkeitsmechanismus
Grouped-Query Attention (GQA)
Gesamtparameter (Mrd.)
70.6B
Aktive Parameter / Token (Mrd.)
70.6B
Verborgene Schichten / Hidden-Dimension
80 / 8192
Query-Heads / KV-Heads
64Q / 8KV (d=128)
Vocab / Max Position
128,256 / 131,072

Quantisierte Formate speichern blockweise Skalierungsfaktoren und Nullpunkte neben gepackten Ganzzahlgewichten. Ein 4-Bit-GGUF-Checkpoint in Q4_K_M benötigt im Schnitt 4.85 effektive Bits pro Parameter (nicht 4.00), während Q8_0 bei 8.50 bpw liegt. Bei Mixture-of-Experts-Modellen bleiben sämtliche gerouteten und geteilten Experten im Speicher resident, um Host-Paging bei jedem Token zu verhindern.

Standard-Grouped-Query-Attention reserviert über alle Schichten hinweg 2 × L × H_kv × d_head × S × B × bytes_kv. DeepSeek Multi-head Latent Attention (MLA) komprimiert Keys und Values auf L × (d_kv_lora + d_qk_rope) × S × B × bytes_kv und senkt den Speicherbedarf langer Kontexte um über 90 %. Hybride Sliding-Window-Modelle deckeln lokale Schichten bei min(S, window_size), während globale Schichten linear mit S wachsen.

Schnellstart-Befehle für vLLM & Ollama (DeepSeek-R1-Distill-Llama-70B)

vLLM CLI (NVIDIA A100 80GB)
vllm serve deepseek-ai/DeepSeek-R1-Distill-Llama-70B \
  --tensor-parallel-size 1 \
  --max-model-len 32768 \
  --max-num-seqs 8 \
  --gpu-memory-utilization 0.95 \
  --kv-cache-dtype fp8 \
  --enable-prefix-caching \
  --port 8000
Ollama Modelfile
# Save as Modelfile, then run: ollama create deepseek-r1-distill-llama-70b-custom -f Modelfile
FROM deepseek-r1:70b
PARAMETER num_ctx 32768
PARAMETER num_batch 512
PARAMETER flash_attn true

# Environment variables for ollama serve:
# OLLAMA_NUM_PARALLEL=8 OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q8_0 ollama serve

Verwandte & ähnlich große Open-Weight-Modelle vergleichen