N Neurarch Architectures Models Checks Data Docs Open the app

Models / deepseek_v3

Instella-MoE-16B-A3B-Think-AWQ-INT4

Reconstructed from its own config.json with no weights read. 117K downloads on Hugging Face.

Our count against the checkpoint

The left number comes from the graph. The right one is the number of scalars in the published weight files. Nothing on this page was tuned to make them agree.

Derived from structure
15.56B
15,556,784,000 parameters
In the published checkpoint
15.86B
15,862,789,248 scalars · safetensors.total, read 2026-07-30
Delta
-1.93%

quantized This checkpoint is stored quantized (compressed-tensors). The tensor count in the file counts stored elements under a packing scheme, not logical parameters, so the two numbers below are not measuring the same thing in either direction.

What it costs to run

Cost is a roofline estimate on the priced GPU for 10 epochs at batch 32 over 50,000 samples (assumed; no dataset attached). GPU fit is fp32 weights plus gradients plus two Adam moments (16 bytes per parameter) with 1.3x headroom; activations are not included and grow with batch size.

Layers
166
Will it forward-pass
Yes
Priced on
A10G (24GB)
Est. one run
$3312.25
CardMemory
T4 (16GB)weights + activationsdoes not fit
A100 (40GB)weights + activationsdoes not fit
H100 (80GB)weights + activationsdoes not fit

Structure

168 nodes. Output shapes are propagated from the input shape, batch dimension excluded.

LayerTypeOutput shape
1InputInput1 × 32768
2EmbeddingEmbedding1 × 32768 × 2048
3RoPERoPE1 × 32768 × 2048
4RMSNorm_1_1RMSNorm1 × 32768 × 2048
5Attention_1Grouped Query Attn1 × 32768 × 2048
6Add_1_attnAdd1 × 32768 × 2048
7RMSNorm_1_2RMSNorm1 × 32768 × 2048
8FFN_1SwiGLU1 × 32768 × 2048
9Add_1_ffnAdd1 × 32768 × 2048
10RMSNorm_2_1RMSNorm1 × 32768 × 2048
11Attention_2Grouped Query Attn1 × 32768 × 2048
12Add_2_attnAdd1 × 32768 × 2048
13RMSNorm_2_2RMSNorm1 × 32768 × 2048
14MoE_2Shared-Expert MoE1 × 32768 × 2048
15Add_2_ffnAdd1 × 32768 × 2048
16RMSNorm_3_1RMSNorm1 × 32768 × 2048
17Attention_3Grouped Query Attn1 × 32768 × 2048
18Add_3_attnAdd1 × 32768 × 2048
19RMSNorm_3_2RMSNorm1 × 32768 × 2048
20MoE_3Shared-Expert MoE1 × 32768 × 2048
21Add_3_ffnAdd1 × 32768 × 2048
22RMSNorm_4_1RMSNorm1 × 32768 × 2048
23Attention_4Grouped Query Attn1 × 32768 × 2048
24Add_4_attnAdd1 × 32768 × 2048
25RMSNorm_4_2RMSNorm1 × 32768 × 2048
26MoE_4Shared-Expert MoE1 × 32768 × 2048
27Add_4_ffnAdd1 × 32768 × 2048
28RMSNorm_5_1RMSNorm1 × 32768 × 2048
29Attention_5Grouped Query Attn1 × 32768 × 2048
30Add_5_attnAdd1 × 32768 × 2048
31RMSNorm_5_2RMSNorm1 × 32768 × 2048
32MoE_5Shared-Expert MoE1 × 32768 × 2048
33Add_5_ffnAdd1 × 32768 × 2048
34RMSNorm_6_1RMSNorm1 × 32768 × 2048
35Attention_6Grouped Query Attn1 × 32768 × 2048
36Add_6_attnAdd1 × 32768 × 2048
37RMSNorm_6_2RMSNorm1 × 32768 × 2048
38MoE_6Shared-Expert MoE1 × 32768 × 2048
39Add_6_ffnAdd1 × 32768 × 2048
40RMSNorm_7_1RMSNorm1 × 32768 × 2048
41Attention_7Grouped Query Attn1 × 32768 × 2048
42Add_7_attnAdd1 × 32768 × 2048
43RMSNorm_7_2RMSNorm1 × 32768 × 2048
44MoE_7Shared-Expert MoE1 × 32768 × 2048
45Add_7_ffnAdd1 × 32768 × 2048
46RMSNorm_8_1RMSNorm1 × 32768 × 2048
47Attention_8Grouped Query Attn1 × 32768 × 2048
48Add_8_attnAdd1 × 32768 × 2048
49RMSNorm_8_2RMSNorm1 × 32768 × 2048
50MoE_8Shared-Expert MoE1 × 32768 × 2048
51Add_8_ffnAdd1 × 32768 × 2048
52RMSNorm_9_1RMSNorm1 × 32768 × 2048
53Attention_9Grouped Query Attn1 × 32768 × 2048
54Add_9_attnAdd1 × 32768 × 2048
55RMSNorm_9_2RMSNorm1 × 32768 × 2048
56MoE_9Shared-Expert MoE1 × 32768 × 2048
57Add_9_ffnAdd1 × 32768 × 2048
58RMSNorm_10_1RMSNorm1 × 32768 × 2048
59Attention_10Grouped Query Attn1 × 32768 × 2048
60Add_10_attnAdd1 × 32768 × 2048
61RMSNorm_10_2RMSNorm1 × 32768 × 2048
62MoE_10Shared-Expert MoE1 × 32768 × 2048
63Add_10_ffnAdd1 × 32768 × 2048
64RMSNorm_11_1RMSNorm1 × 32768 × 2048
65Attention_11Grouped Query Attn1 × 32768 × 2048
66Add_11_attnAdd1 × 32768 × 2048
67RMSNorm_11_2RMSNorm1 × 32768 × 2048
68MoE_11Shared-Expert MoE1 × 32768 × 2048
69Add_11_ffnAdd1 × 32768 × 2048
70RMSNorm_12_1RMSNorm1 × 32768 × 2048
71Attention_12Grouped Query Attn1 × 32768 × 2048
72Add_12_attnAdd1 × 32768 × 2048
73RMSNorm_12_2RMSNorm1 × 32768 × 2048
74MoE_12Shared-Expert MoE1 × 32768 × 2048
75Add_12_ffnAdd1 × 32768 × 2048
76RMSNorm_13_1RMSNorm1 × 32768 × 2048
77Attention_13Grouped Query Attn1 × 32768 × 2048
78Add_13_attnAdd1 × 32768 × 2048
79RMSNorm_13_2RMSNorm1 × 32768 × 2048
80MoE_13Shared-Expert MoE1 × 32768 × 2048
81Add_13_ffnAdd1 × 32768 × 2048
82RMSNorm_14_1RMSNorm1 × 32768 × 2048
83Attention_14Grouped Query Attn1 × 32768 × 2048
84Add_14_attnAdd1 × 32768 × 2048
85RMSNorm_14_2RMSNorm1 × 32768 × 2048
86MoE_14Shared-Expert MoE1 × 32768 × 2048
87Add_14_ffnAdd1 × 32768 × 2048
88RMSNorm_15_1RMSNorm1 × 32768 × 2048
89Attention_15Grouped Query Attn1 × 32768 × 2048
90Add_15_attnAdd1 × 32768 × 2048
91RMSNorm_15_2RMSNorm1 × 32768 × 2048
92MoE_15Shared-Expert MoE1 × 32768 × 2048
93Add_15_ffnAdd1 × 32768 × 2048
94RMSNorm_16_1RMSNorm1 × 32768 × 2048
95Attention_16Grouped Query Attn1 × 32768 × 2048
96Add_16_attnAdd1 × 32768 × 2048
97RMSNorm_16_2RMSNorm1 × 32768 × 2048
98MoE_16Shared-Expert MoE1 × 32768 × 2048
99Add_16_ffnAdd1 × 32768 × 2048
100RMSNorm_17_1RMSNorm1 × 32768 × 2048
101Attention_17Grouped Query Attn1 × 32768 × 2048
102Add_17_attnAdd1 × 32768 × 2048
103RMSNorm_17_2RMSNorm1 × 32768 × 2048
104MoE_17Shared-Expert MoE1 × 32768 × 2048
105Add_17_ffnAdd1 × 32768 × 2048
106RMSNorm_18_1RMSNorm1 × 32768 × 2048
107Attention_18Grouped Query Attn1 × 32768 × 2048
108Add_18_attnAdd1 × 32768 × 2048
109RMSNorm_18_2RMSNorm1 × 32768 × 2048
110MoE_18Shared-Expert MoE1 × 32768 × 2048
111Add_18_ffnAdd1 × 32768 × 2048
112RMSNorm_19_1RMSNorm1 × 32768 × 2048
113Attention_19Grouped Query Attn1 × 32768 × 2048
114Add_19_attnAdd1 × 32768 × 2048
115RMSNorm_19_2RMSNorm1 × 32768 × 2048
116MoE_19Shared-Expert MoE1 × 32768 × 2048
117Add_19_ffnAdd1 × 32768 × 2048
118RMSNorm_20_1RMSNorm1 × 32768 × 2048
119Attention_20Grouped Query Attn1 × 32768 × 2048
120Add_20_attnAdd1 × 32768 × 2048
121RMSNorm_20_2RMSNorm1 × 32768 × 2048
122MoE_20Shared-Expert MoE1 × 32768 × 2048
123Add_20_ffnAdd1 × 32768 × 2048
124RMSNorm_21_1RMSNorm1 × 32768 × 2048
125Attention_21Grouped Query Attn1 × 32768 × 2048
126Add_21_attnAdd1 × 32768 × 2048
127RMSNorm_21_2RMSNorm1 × 32768 × 2048
128MoE_21Shared-Expert MoE1 × 32768 × 2048
129Add_21_ffnAdd1 × 32768 × 2048
130RMSNorm_22_1RMSNorm1 × 32768 × 2048
131Attention_22Grouped Query Attn1 × 32768 × 2048
132Add_22_attnAdd1 × 32768 × 2048
133RMSNorm_22_2RMSNorm1 × 32768 × 2048
134MoE_22Shared-Expert MoE1 × 32768 × 2048
135Add_22_ffnAdd1 × 32768 × 2048
136RMSNorm_23_1RMSNorm1 × 32768 × 2048
137Attention_23Grouped Query Attn1 × 32768 × 2048
138Add_23_attnAdd1 × 32768 × 2048
139RMSNorm_23_2RMSNorm1 × 32768 × 2048
140MoE_23Shared-Expert MoE1 × 32768 × 2048
141Add_23_ffnAdd1 × 32768 × 2048
142RMSNorm_24_1RMSNorm1 × 32768 × 2048
143Attention_24Grouped Query Attn1 × 32768 × 2048
144Add_24_attnAdd1 × 32768 × 2048
145RMSNorm_24_2RMSNorm1 × 32768 × 2048
146MoE_24Shared-Expert MoE1 × 32768 × 2048
147Add_24_ffnAdd1 × 32768 × 2048
148RMSNorm_25_1RMSNorm1 × 32768 × 2048
149Attention_25Grouped Query Attn1 × 32768 × 2048
150Add_25_attnAdd1 × 32768 × 2048
151RMSNorm_25_2RMSNorm1 × 32768 × 2048
152MoE_25Shared-Expert MoE1 × 32768 × 2048
153Add_25_ffnAdd1 × 32768 × 2048
154RMSNorm_26_1RMSNorm1 × 32768 × 2048
155Attention_26Grouped Query Attn1 × 32768 × 2048
156Add_26_attnAdd1 × 32768 × 2048
157RMSNorm_26_2RMSNorm1 × 32768 × 2048
158MoE_26Shared-Expert MoE1 × 32768 × 2048
159Add_26_ffnAdd1 × 32768 × 2048
160RMSNorm_27_1RMSNorm1 × 32768 × 2048
161Attention_27Grouped Query Attn1 × 32768 × 2048
162Add_27_attnAdd1 × 32768 × 2048
163RMSNorm_27_2RMSNorm1 × 32768 × 2048
164MoE_27Shared-Expert MoE1 × 32768 × 2048
165Add_27_ffnAdd1 × 32768 × 2048
166Final_RMSNormRMSNorm1 × 32768 × 2048
167LM_HeadLinear1 × 32768 × 128896
168OutputOutput1 × 32768 × 128896

What the verifier says

infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 10944 (5.34× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
info27 attention layers at embedDim 2048 cache full per-head K/V: about 216 KB per token at fp16, which dominates memory at long context. Grouped-query attention (e.g. 8:1) would cut this ~8×; multi-head latent attention (MLA) shrinks it ~10× or more. This is the move production LLMs make; it does not change the parameter count. Fix: Switch attention to groupedQueryAttention (set numKVHeads below numHeads, e.g. numHeads/4) or mla (a low-rank cached latent).
full-mha-serving-cost
infoAt 27 stacked attention layers, residual-branch outputs add up; unscaled init lets activation variance grow with depth. GPT-2/LLaMA-family models scale the residual projections by depth (N(0, 0.02 / √(2L))). Fix: Scale residual output projections by depth: nn.init.normal_(w, std=0.02 / math.sqrt(2 * n_layers))
deep-attention-default-init

Do this to your own model

Same numbers, on a model in your repo, in one command. No account.

pip install neurarch-trace
neurarch-trace cyankiwi/Instella-MoE-16B-A3B-Think-AWQ-INT4 --plan --share

Other deepseek_v3 checkpoints

DeepSeek-R1
672B derived · -1.80% against the checkpoint
DeepSeek-R1-0528
672B derived · -1.81% against the checkpoint
DeepSeek-R1-MXFP4
672B derived · +81.2% against the checkpoint
DeepSeek-V3
672B derived · -1.81% against the checkpoint