DeepSeek-V3: Dancing in Hardware Chains
The Art of Making AI Cheaper & Faster
The Big Idea
A MoE model is like a hospital with 256 specialists — only call the 8 most relevant ones!
Only 9 wake up: 8 specialists + 1 always-on helper
Problem 1: The "Superstar" Problem
One "superstar" gets ALL patients! Others become idle & forget their skills.
GP handles basics! Specialists focus on complex cases.
Problem 2: The "Jack of All Trades"
Problem 3: The Overworked Doctor
Like doctors voluntarily adjusting their workload based on availability!
Problem 4: The Multi-Building Hospital
Expert data lives on different GPUs (like different hospital buildings). Moving data between them is SLOW!
Each patient can only use doctors from 3 nearby buildings! Forces local specialization — no more "commuting"!
Doctors must specialize locally — no freeloading!
Why Exactly 8? Hardware Limits!
H800 GPUs have limited memory bandwidth (due to sanctions):
Here's how the percentages are calculated:
- 8 experts: Communication time fits perfectly inside computation time = 100% speed (no waiting!)
- 10 experts: Communication takes 25% longer than computation = 25% slowdown
- 12 experts: Communication takes 50% longer than computation = 50% slowdown
More experts = more waiting between GPUs = slower training!
The Summary
One expert handles basics, others specialize
Small but specialized = better quality
Auto-balance workload without punishment
Use nearby GPUs to avoid waiting
Busy experts clone themselves when needed
9 experts cover broader knowledge