MoE uitgelegd: waarom 26B met 3,4B actief snel draait
Waarom Inkling 2 Mini en Flint 40B 24 GB capaciteit nodig hebben maar op ~3B-snelheid genereren.
Schattingformules & regels voor bruikbaar geheugen
Capacity ≈ params_total_b × quant_bits | Token bandwidth ≈ params_active_b × quant_bits
Flint 40B (40B total / 2.5B active) & Inkling 2 Mini (26.4B / 3.4B active)
| Configuration | Result | Status |
|---|---|---|
| Flint 40B MLX-4bit weight size | 17.8 GB (requires 24 GB+ RAM to hold all experts) | Fabrikantopgave |
| Flint 40B on M4 Pro 24GB (Locals README) | 117 tok/s (1x) / 319 tok/s (8x) | Fabrikantopgave |
| Inkling 2 Mini nvfp4 weight size | 16.2 GB (26.4B total, only 3.4B active/token) | Fabrikantopgave |
| Dense comparison: Qwen 3.5 4B MLX-4bit (M4 Pro 24GB) | 76 tok/s (1x, 7k prompt, Locals README) | Fabrikantopgave |
- Mixture-of-Experts (MoE) models must keep ALL experts in RAM/VRAM to avoid disk thrashing, so minimum memory depends on total parameters.
- During decoding, the router activates only a small subset of experts per token (2.5B–3.4B), so memory bandwidth read per token resembles a small 3B–4B model.
- This makes MoE architectures ideal for high-RAM unified-memory machines like 24GB–64GB Apple Silicon Macs.
FAQ
Can I run a 40B MoE model on 8GB RAM if only 2.5B parameters are active?
No. Different tokens route to different experts, so the full 17.8GB weights must stay resident in fast memory to avoid catastrophic SSD swap latency.
Gerelateerde modellen
Flint 40B
moe · 40B (2.5B actief) Kwant. MLX-4bit
Gewichten 17.8GB
Min. RAM 24GB
Inkling 2 Mini
looped-moe · 26.4B (3.4B actief) Kwant. nvfp4
Gewichten 16.2GB
Min. RAM 24GB
Apache-2.0 Modeldetails →
Qwen 3.5 4B
dense · 4B Kwant. MLX-4bit
Gewichten 2.8GB
Min. RAM 8GB