Running Qwen2.5 7B locally
Alibaba · 7B parameters · released 2024-09
Alibaba’s 7B, strong on coding and multilingual tasks. A top pick in the 8 GB GPU class.
Q4 — 4-bit quantized
≈ 4.1 GB
weights only, plus 2 GB context headroom rule
Q8 — 8-bit quantized
≈ 7.4 GB
weights only, plus 2 GB context headroom rule
Verdicts by hardware
| Hardware | Usable | Q4 (4.1 GB) | Q8 (7.4 GB) |
|---|---|---|---|
| RTX 4090 (24 GB) | 24 GB | Runs well | Runs well |
| RTX 3090 (24 GB) | 24 GB | Runs well | Runs well |
| RTX 4070 Ti SUPER (16 GB) | 16 GB | Runs well | Runs well |
| RTX 4060 Ti (16 GB) | 16 GB | Runs well | Runs well |
| RTX 3060 (12 GB) | 12 GB | Runs well | Runs well |
| RTX 4060 (8 GB) | 8 GB | Runs well | Tight fit |
| MacBook Air M2 (8 GB unified) | 5.6 GB | Tight fit | Too big |
| MacBook Pro M4 Pro (48 GB unified) | 33.6 GB | Runs well | Runs well |
| Mac Studio M2 Max (64 GB unified) | 44.8 GB | Runs well | Runs well |
| CPU only (32 GB system RAM) | 25.6 GB | Runs well | Runs well |
| CPU only (16 GB system RAM) | 12.8 GB | Runs well | Runs well |
Notes
The table uses a transparent estimate: 7B × bytes-per-weight (Q4 0.58, Q8 1.06), then compares against usable memory — full VRAM on discrete GPUs, ~70% on Apple unified memory, ~80% on CPU-only system RAM. A verdict needs the weights plus 2 GB of headroom for context and runtime buffers.
Longer context windows consume additional memory beyond the weights. If you run 32k+ token contexts, treat “Tight fit” as “no” and give “Runs well” setups extra headroom.