ai-infra-jobs

tools/llm-vis / deepseek-v3

DeepSeek-V3

The MLA + aux-loss-free MoE reference: 671B parameters, 37B active, with multi-token prediction.

params=671Bactive=37Blayers=61ctx=160Kvocab=129,280

source: config.json ↗ · tech report ↗ snapshot 2026-08-24

attentionFFN / MoEnorm / residualembedding / headauxiliarydata flowresidualauxiliary
TRANSFORMER LAYER[× 61 layers]MULTI-HEAD LATENT ATTENTIONMIXTURE OF EXPERTS FFNinput_ids[B, T]Token embeddingV=129,280 → d=7168RMSNormeps=0.000001Q low-rank projd=7168 → r=1536 → headsScaled dot-product attention128 headsOutput projectionheads → d=7168Decoupled RoPEd_rope=64 · θ=10KYaRN ×40KV latent compressiond=7168 → c_kv=512⊕ residual addRMSNormeps=0.000001SwiGLU MLPd=7168 → 18432 → 7168Routersigmoid over 256 expertstop-8 · aux-loss…/8 groups · ×2.5Shared expertSwiGLU d=7168 → 2048Routed expertsSwiGLU d=7168 → 2048×256 · 8 active⊕ weighted sumΣ wᵢ·eᵢ(x)×2.5⊕ residual addRMSNormeps=0.000001LM headd=7168 → V=129,280next-token logits[B, T, 129280]Multi-Token Predictiondepth=1 · shares embedding & head