EXPERTS
EXPERTS: the breakdown
From Adam Rosler. The thing you commented EXPERTS for: how a mixture-of-experts model like DeepSeek-V3 works, and what it means when you pick or host one.
The numbers (DeepSeek-V3 Technical Report, and its released config counted)
layers 61 (3 dense, 58 MoE); routed experts per MoE layer 256, picked per token 8, shared 1
one routed expert: 44.0M parameters; all routed experts: 14848 = 653.9B (97.4% of the total)
total parameters: 671.0B
activated per token: 37.6B with the input embedding, 36.6B without (the report: 37B)
share of the model one token uses: 5.6% (about 1 in 18)
weights in memory at 8-bit (1 byte each): 671 GB, plus the 14B multi-token-prediction module in the released checkpoint
How it works
- Dense layers first: the first 3 of DeepSeek-V3's 61 layers are ordinary (every parameter works on every token).
- Then 58 MoE layers. In each, the feed-forward block is split into 256 small "routed" experts (44 million parameters each) and 1 shared expert that every token uses.
- The router: for each token, a small gate scores all 256 routed experts and keeps the top 8. Only those 8 (plus the shared one) run for that token in that layer; the other 248 do nothing.
- So per token, about 37 billion of the 671 billion parameters do work: about 1 in 18. That's why it's cheap per token to train and serve (the report: 2.788M H800 GPU hours for the full training).
What it means for you
- Speed and cost per token follow the active parameters (37B here).
- Memory follows the total: every expert has to be loaded, because any token may route to any of them. At 8-bit, that's about 671 GB for DeepSeek-V3 (685 GB with its multi-token-prediction module).
- So when you compare open models, read both numbers: "A22B" or "17B active" for speed, the total for the hardware.
Source: DeepSeek-AI, "DeepSeek-V3 Technical Report", arXiv:2412.19437; huggingface.co/deepseek-ai/DeepSeek-V3.
FREE ONE-TIME UNLOCK
Unlock the full EXPERTS breakdown
Drop your email once to read the complete step-by-step guide, grab the files, and unlock all 96 Reel breakdowns on this device forever.
✓ Instant reveal right here✓ No spam, unsubscribe any time