MoE 원리: 26B 모델이 3.4B 활성으로 빠르게 동작하는 이유
Inkling 2 Mini와 Flint 40B가 24GB 용량을 쓰면서도 3B급 속도를 내는 구조 분석.
추정 공식 및 가용 메모리 계수
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 | 상태 |
|---|---|---|
| Flint 40B MLX-4bit weight size | 17.8 GB (requires 24 GB+ RAM to hold all experts) | 제조사 표기 |
| Flint 40B on M4 Pro 24GB (Locals README) | 117 tok/s (1x) / 319 tok/s (8x) | 제조사 표기 |
| Inkling 2 Mini nvfp4 weight size | 16.2 GB (26.4B total, only 3.4B active/token) | 제조사 표기 |
| Dense comparison: Qwen 3.5 4B MLX-4bit (M4 Pro 24GB) | 76 tok/s (1x, 7k prompt, Locals README) | 제조사 표기 |
- 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.
관련 모델
Flint 40B
moe · 40B (2.5B 활성) 권장 양자화 MLX-4bit
가중치 크기 17.8GB
최소 메모리 24GB
— 모델 상세 →
Inkling 2 Mini
looped-moe · 26.4B (3.4B 활성) 권장 양자화 nvfp4
가중치 크기 16.2GB
최소 메모리 24GB
Apache-2.0 모델 상세 →
Qwen 3.5 4B
dense · 4B 권장 양자화 MLX-4bit
가중치 크기 2.8GB
최소 메모리 8GB
— 모델 상세 →