N Neurarch Try it See it Changes Bot Pricing API Open app

Models / qwen3_5_moe

Qwen3.6-35B-A3B-NVFP4: GPU memory to fine-tune

Fine-tuning Qwen3.6-35B-A3B-NVFP4 at batch 1 and 2048 tokens takes about 688 GB of GPU memory for a full fine-tune (at least 6 x H200 sharded), and 81.5 GB with LoRA r=16 on a bf16 base (fits one H200 141 GB). Estimated from the model's structure, not measured. What fits on which card.

Reconstructed from its own config.json with no weights read. 10.3M 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
35.29B
35,287,636,864 parameters
In the published checkpoint
18.68B
18,683,860,336 scalars · safetensors.total, read 2026-09-06
Delta
+88.9%

quantized This checkpoint is stored quantized (modelopt). 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, 2048 tokens over 50,000 samples (assumed; no dataset attached).

Layers
260
Will it forward-pass
Yes
Priced on
A10G (24GB)
Est. one run
$242.86

Memory: what fits on which card

Largest batch per card. Training is sized at 2048 tokens per sample, serving at 4096 tokens per sequence.

Full fine-tune, batch 1 at 2048 tokens
688 GB
LoRA r=16, batch 1 at 2048 tokens
81.5 GB
Serve: bf16 weights
70.6 GB
Serve: KV cache, 4096 tokens
84 MB
Serve: recurrent state
33 MB
CardFull fine-tuneLoRA r=16Serve bf16, 4096 tokens
T4 16 GBdoes not fit at batch 1does not fit at batch 1does not fit at batch 1
L4 24 GBdoes not fit at batch 1does not fit at batch 1does not fit at batch 1
A100 40 GBdoes not fit at batch 1does not fit at batch 1does not fit at batch 1
A100 / H100 80 GBdoes not fit at batch 1does not fit at batch 1does not fit at batch 1
H200 141 GBdoes not fit at batch 1batch 4batch 445
Sharded, by memory aloneat least 6 x H200 or 10 x 80 GB

Training: 2048 tokens per sample (2048, or the model's context when shorter; the structure table is at the config's maximum, 262144), AdamW with bf16 autocast, SDPA attention (no score matrix stored), 1.15x headroom on every card. Full fine-tune holds weights, gradients and optimizer state (1.2 x 16 bytes per parameter) plus activations. LoRA is r=16 on every linear layer but the head, base frozen in bf16 (2 bytes per parameter), adapters at full AdamW state, same activations. A two-card split is a contiguous layer cut (pipeline parallel), computed only where one card cannot hold batch 1. "Sharded" is a floor: the batch-1 peak with headroom divided across cards as if it split perfectly evenly (FSDP / ZeRO-3 for training, tensor parallel for serving), with no communication buffers counted. Serving: bf16 weights plus the KV cache of 4096 tokens per sequence plus the fixed recurrent state of the SSM / linear-attention layers; prefill working set, CUDA context and framework reserve not counted.

These are estimates from the graph, not measurements. Against measured runs, held out by architecture, the estimate flagged 113 of the 131 jobs that did not fit their card and said "fits" on the other 18. Every measured run.

Structure

264 nodes. Output shapes are propagated from the input shape, batch dimension excluded, at 262144 tokens: the config's maximum context, not the 2048 the memory above is sized at.

LayerTypeOutput shape
1InputInput1 × 262144
2EmbeddingEmbedding1 × 262144 × 2048
3RoPERoPE1 × 262144 × 2048
4Vision inputInput3 × 224 × 224
5PatchEmbedPatch Embed196 × 1152
6Patch_Position_EmbeddingLearned Pos Embed196 × 1152
7Vision encoder (internals not in config)Projection196 × 2048
8Vision tokensReshape1 × 196 × 2048
9Multimodal fusion (concat tokens)Concatenate1 × 262340 × 2048
10RMSNorm_1_1RMSNorm1 × 262340 × 2048
11DeltaNet_1Gated DeltaNet1 × 262340 × 2048
12Add_1_attnAdd1 × 262340 × 2048
13RMSNorm_1_2RMSNorm1 × 262340 × 2048
14MoE_1MoE Layer1 × 262340 × 2048
15Add_1_ffnAdd1 × 262340 × 2048
16RMSNorm_2_1RMSNorm1 × 262340 × 2048
17DeltaNet_2Gated DeltaNet1 × 262340 × 2048
18Add_2_attnAdd1 × 262340 × 2048
19RMSNorm_2_2RMSNorm1 × 262340 × 2048
20MoE_2MoE Layer1 × 262340 × 2048
21Add_2_ffnAdd1 × 262340 × 2048
22RMSNorm_3_1RMSNorm1 × 262340 × 2048
23DeltaNet_3Gated DeltaNet1 × 262340 × 2048
24Add_3_attnAdd1 × 262340 × 2048
25RMSNorm_3_2RMSNorm1 × 262340 × 2048
26MoE_3MoE Layer1 × 262340 × 2048
27Add_3_ffnAdd1 × 262340 × 2048
28RMSNorm_4_1RMSNorm1 × 262340 × 2048
29Attention_4Grouped Query Attn1 × 262340 × 2048
30Add_4_attnAdd1 × 262340 × 2048
31RMSNorm_4_2RMSNorm1 × 262340 × 2048
32MoE_4MoE Layer1 × 262340 × 2048
33Add_4_ffnAdd1 × 262340 × 2048
34RMSNorm_5_1RMSNorm1 × 262340 × 2048
35DeltaNet_5Gated DeltaNet1 × 262340 × 2048
36Add_5_attnAdd1 × 262340 × 2048
37RMSNorm_5_2RMSNorm1 × 262340 × 2048
38MoE_5MoE Layer1 × 262340 × 2048
39Add_5_ffnAdd1 × 262340 × 2048
40RMSNorm_6_1RMSNorm1 × 262340 × 2048
41DeltaNet_6Gated DeltaNet1 × 262340 × 2048
42Add_6_attnAdd1 × 262340 × 2048
43RMSNorm_6_2RMSNorm1 × 262340 × 2048
44MoE_6MoE Layer1 × 262340 × 2048
45Add_6_ffnAdd1 × 262340 × 2048
46RMSNorm_7_1RMSNorm1 × 262340 × 2048
47DeltaNet_7Gated DeltaNet1 × 262340 × 2048
48Add_7_attnAdd1 × 262340 × 2048
49RMSNorm_7_2RMSNorm1 × 262340 × 2048
50MoE_7MoE Layer1 × 262340 × 2048
51Add_7_ffnAdd1 × 262340 × 2048
52RMSNorm_8_1RMSNorm1 × 262340 × 2048
53Attention_8Grouped Query Attn1 × 262340 × 2048
54Add_8_attnAdd1 × 262340 × 2048
55RMSNorm_8_2RMSNorm1 × 262340 × 2048
56MoE_8MoE Layer1 × 262340 × 2048
57Add_8_ffnAdd1 × 262340 × 2048
58RMSNorm_9_1RMSNorm1 × 262340 × 2048
59DeltaNet_9Gated DeltaNet1 × 262340 × 2048
60Add_9_attnAdd1 × 262340 × 2048
61RMSNorm_9_2RMSNorm1 × 262340 × 2048
62MoE_9MoE Layer1 × 262340 × 2048
63Add_9_ffnAdd1 × 262340 × 2048
64RMSNorm_10_1RMSNorm1 × 262340 × 2048
65DeltaNet_10Gated DeltaNet1 × 262340 × 2048
66Add_10_attnAdd1 × 262340 × 2048
67RMSNorm_10_2RMSNorm1 × 262340 × 2048
68MoE_10MoE Layer1 × 262340 × 2048
69Add_10_ffnAdd1 × 262340 × 2048
70RMSNorm_11_1RMSNorm1 × 262340 × 2048
71DeltaNet_11Gated DeltaNet1 × 262340 × 2048
72Add_11_attnAdd1 × 262340 × 2048
73RMSNorm_11_2RMSNorm1 × 262340 × 2048
74MoE_11MoE Layer1 × 262340 × 2048
75Add_11_ffnAdd1 × 262340 × 2048
76RMSNorm_12_1RMSNorm1 × 262340 × 2048
77Attention_12Grouped Query Attn1 × 262340 × 2048
78Add_12_attnAdd1 × 262340 × 2048
79RMSNorm_12_2RMSNorm1 × 262340 × 2048
80MoE_12MoE Layer1 × 262340 × 2048
81Add_12_ffnAdd1 × 262340 × 2048
82RMSNorm_13_1RMSNorm1 × 262340 × 2048
83DeltaNet_13Gated DeltaNet1 × 262340 × 2048
84Add_13_attnAdd1 × 262340 × 2048
85RMSNorm_13_2RMSNorm1 × 262340 × 2048
86MoE_13MoE Layer1 × 262340 × 2048
87Add_13_ffnAdd1 × 262340 × 2048
88RMSNorm_14_1RMSNorm1 × 262340 × 2048
89DeltaNet_14Gated DeltaNet1 × 262340 × 2048
90Add_14_attnAdd1 × 262340 × 2048
91RMSNorm_14_2RMSNorm1 × 262340 × 2048
92MoE_14MoE Layer1 × 262340 × 2048
93Add_14_ffnAdd1 × 262340 × 2048
94RMSNorm_15_1RMSNorm1 × 262340 × 2048
95DeltaNet_15Gated DeltaNet1 × 262340 × 2048
96Add_15_attnAdd1 × 262340 × 2048
97RMSNorm_15_2RMSNorm1 × 262340 × 2048
98MoE_15MoE Layer1 × 262340 × 2048
99Add_15_ffnAdd1 × 262340 × 2048
100RMSNorm_16_1RMSNorm1 × 262340 × 2048
101Attention_16Grouped Query Attn1 × 262340 × 2048
102Add_16_attnAdd1 × 262340 × 2048
103RMSNorm_16_2RMSNorm1 × 262340 × 2048
104MoE_16MoE Layer1 × 262340 × 2048
105Add_16_ffnAdd1 × 262340 × 2048
106RMSNorm_17_1RMSNorm1 × 262340 × 2048
107DeltaNet_17Gated DeltaNet1 × 262340 × 2048
108Add_17_attnAdd1 × 262340 × 2048
109RMSNorm_17_2RMSNorm1 × 262340 × 2048
110MoE_17MoE Layer1 × 262340 × 2048
111Add_17_ffnAdd1 × 262340 × 2048
112RMSNorm_18_1RMSNorm1 × 262340 × 2048
113DeltaNet_18Gated DeltaNet1 × 262340 × 2048
114Add_18_attnAdd1 × 262340 × 2048
115RMSNorm_18_2RMSNorm1 × 262340 × 2048
116MoE_18MoE Layer1 × 262340 × 2048
117Add_18_ffnAdd1 × 262340 × 2048
118RMSNorm_19_1RMSNorm1 × 262340 × 2048
119DeltaNet_19Gated DeltaNet1 × 262340 × 2048
120Add_19_attnAdd1 × 262340 × 2048
121RMSNorm_19_2RMSNorm1 × 262340 × 2048
122MoE_19MoE Layer1 × 262340 × 2048
123Add_19_ffnAdd1 × 262340 × 2048
124RMSNorm_20_1RMSNorm1 × 262340 × 2048
125Attention_20Grouped Query Attn1 × 262340 × 2048
126Add_20_attnAdd1 × 262340 × 2048
127RMSNorm_20_2RMSNorm1 × 262340 × 2048
128MoE_20MoE Layer1 × 262340 × 2048
129Add_20_ffnAdd1 × 262340 × 2048
130RMSNorm_21_1RMSNorm1 × 262340 × 2048
131DeltaNet_21Gated DeltaNet1 × 262340 × 2048
132Add_21_attnAdd1 × 262340 × 2048
133RMSNorm_21_2RMSNorm1 × 262340 × 2048
134MoE_21MoE Layer1 × 262340 × 2048
135Add_21_ffnAdd1 × 262340 × 2048
136RMSNorm_22_1RMSNorm1 × 262340 × 2048
137DeltaNet_22Gated DeltaNet1 × 262340 × 2048
138Add_22_attnAdd1 × 262340 × 2048
139RMSNorm_22_2RMSNorm1 × 262340 × 2048
140MoE_22MoE Layer1 × 262340 × 2048
141Add_22_ffnAdd1 × 262340 × 2048
142RMSNorm_23_1RMSNorm1 × 262340 × 2048
143DeltaNet_23Gated DeltaNet1 × 262340 × 2048
144Add_23_attnAdd1 × 262340 × 2048
145RMSNorm_23_2RMSNorm1 × 262340 × 2048
146MoE_23MoE Layer1 × 262340 × 2048
147Add_23_ffnAdd1 × 262340 × 2048
148RMSNorm_24_1RMSNorm1 × 262340 × 2048
149Attention_24Grouped Query Attn1 × 262340 × 2048
150Add_24_attnAdd1 × 262340 × 2048
151RMSNorm_24_2RMSNorm1 × 262340 × 2048
152MoE_24MoE Layer1 × 262340 × 2048
153Add_24_ffnAdd1 × 262340 × 2048
154RMSNorm_25_1RMSNorm1 × 262340 × 2048
155DeltaNet_25Gated DeltaNet1 × 262340 × 2048
156Add_25_attnAdd1 × 262340 × 2048
157RMSNorm_25_2RMSNorm1 × 262340 × 2048
158MoE_25MoE Layer1 × 262340 × 2048
159Add_25_ffnAdd1 × 262340 × 2048
160RMSNorm_26_1RMSNorm1 × 262340 × 2048
161DeltaNet_26Gated DeltaNet1 × 262340 × 2048
162Add_26_attnAdd1 × 262340 × 2048
163RMSNorm_26_2RMSNorm1 × 262340 × 2048
164MoE_26MoE Layer1 × 262340 × 2048
165Add_26_ffnAdd1 × 262340 × 2048
166RMSNorm_27_1RMSNorm1 × 262340 × 2048
167DeltaNet_27Gated DeltaNet1 × 262340 × 2048
168Add_27_attnAdd1 × 262340 × 2048
169RMSNorm_27_2RMSNorm1 × 262340 × 2048
170MoE_27MoE Layer1 × 262340 × 2048
171Add_27_ffnAdd1 × 262340 × 2048
172RMSNorm_28_1RMSNorm1 × 262340 × 2048
173Attention_28Grouped Query Attn1 × 262340 × 2048
174Add_28_attnAdd1 × 262340 × 2048
175RMSNorm_28_2RMSNorm1 × 262340 × 2048
176MoE_28MoE Layer1 × 262340 × 2048
177Add_28_ffnAdd1 × 262340 × 2048
178RMSNorm_29_1RMSNorm1 × 262340 × 2048
179DeltaNet_29Gated DeltaNet1 × 262340 × 2048
180Add_29_attnAdd1 × 262340 × 2048
181RMSNorm_29_2RMSNorm1 × 262340 × 2048
182MoE_29MoE Layer1 × 262340 × 2048
183Add_29_ffnAdd1 × 262340 × 2048
184RMSNorm_30_1RMSNorm1 × 262340 × 2048
185DeltaNet_30Gated DeltaNet1 × 262340 × 2048
186Add_30_attnAdd1 × 262340 × 2048
187RMSNorm_30_2RMSNorm1 × 262340 × 2048
188MoE_30MoE Layer1 × 262340 × 2048
189Add_30_ffnAdd1 × 262340 × 2048
190RMSNorm_31_1RMSNorm1 × 262340 × 2048
191DeltaNet_31Gated DeltaNet1 × 262340 × 2048
192Add_31_attnAdd1 × 262340 × 2048
193RMSNorm_31_2RMSNorm1 × 262340 × 2048
194MoE_31MoE Layer1 × 262340 × 2048
195Add_31_ffnAdd1 × 262340 × 2048
196RMSNorm_32_1RMSNorm1 × 262340 × 2048
197Attention_32Grouped Query Attn1 × 262340 × 2048
198Add_32_attnAdd1 × 262340 × 2048
199RMSNorm_32_2RMSNorm1 × 262340 × 2048
200MoE_32MoE Layer1 × 262340 × 2048
201Add_32_ffnAdd1 × 262340 × 2048
202RMSNorm_33_1RMSNorm1 × 262340 × 2048
203DeltaNet_33Gated DeltaNet1 × 262340 × 2048
204Add_33_attnAdd1 × 262340 × 2048
205RMSNorm_33_2RMSNorm1 × 262340 × 2048
206MoE_33MoE Layer1 × 262340 × 2048
207Add_33_ffnAdd1 × 262340 × 2048
208RMSNorm_34_1RMSNorm1 × 262340 × 2048
209DeltaNet_34Gated DeltaNet1 × 262340 × 2048
210Add_34_attnAdd1 × 262340 × 2048
211RMSNorm_34_2RMSNorm1 × 262340 × 2048
212MoE_34MoE Layer1 × 262340 × 2048
213Add_34_ffnAdd1 × 262340 × 2048
214RMSNorm_35_1RMSNorm1 × 262340 × 2048
215DeltaNet_35Gated DeltaNet1 × 262340 × 2048
216Add_35_attnAdd1 × 262340 × 2048
217RMSNorm_35_2RMSNorm1 × 262340 × 2048
218MoE_35MoE Layer1 × 262340 × 2048
219Add_35_ffnAdd1 × 262340 × 2048
220RMSNorm_36_1RMSNorm1 × 262340 × 2048
221Attention_36Grouped Query Attn1 × 262340 × 2048
222Add_36_attnAdd1 × 262340 × 2048
223RMSNorm_36_2RMSNorm1 × 262340 × 2048
224MoE_36MoE Layer1 × 262340 × 2048
225Add_36_ffnAdd1 × 262340 × 2048
226RMSNorm_37_1RMSNorm1 × 262340 × 2048
227DeltaNet_37Gated DeltaNet1 × 262340 × 2048
228Add_37_attnAdd1 × 262340 × 2048
229RMSNorm_37_2RMSNorm1 × 262340 × 2048
230MoE_37MoE Layer1 × 262340 × 2048
231Add_37_ffnAdd1 × 262340 × 2048
232RMSNorm_38_1RMSNorm1 × 262340 × 2048
233DeltaNet_38Gated DeltaNet1 × 262340 × 2048
234Add_38_attnAdd1 × 262340 × 2048
235RMSNorm_38_2RMSNorm1 × 262340 × 2048
236MoE_38MoE Layer1 × 262340 × 2048
237Add_38_ffnAdd1 × 262340 × 2048
238RMSNorm_39_1RMSNorm1 × 262340 × 2048
239DeltaNet_39Gated DeltaNet1 × 262340 × 2048
240Add_39_attnAdd1 × 262340 × 2048
241RMSNorm_39_2RMSNorm1 × 262340 × 2048
242MoE_39MoE Layer1 × 262340 × 2048
243Add_39_ffnAdd1 × 262340 × 2048
244RMSNorm_40_1RMSNorm1 × 262340 × 2048
245Attention_40Grouped Query Attn1 × 262340 × 2048
246Add_40_attnAdd1 × 262340 × 2048
247RMSNorm_40_2RMSNorm1 × 262340 × 2048
248MoE_40MoE Layer1 × 262340 × 2048
249Add_40_ffnAdd1 × 262340 × 2048
250MTP_1_HiddenNormRMSNorm1 × 262340 × 2048
251MTP_1_EmbeddingNormRMSNorm1 × 262340 × 2048
252MTP_1_ConcatConcatenate1 × 262340 × 4096
253MTP_1_ProjectionLinear1 × 262340 × 2048
254RMSNorm_MTP_1_1RMSNorm1 × 262340 × 2048
255Attention_MTP_1Grouped Query Attn1 × 262340 × 2048
256Add_MTP_1_attnAdd1 × 262340 × 2048
257RMSNorm_MTP_1_2RMSNorm1 × 262340 × 2048
258MoE_MTP_1MoE Layer1 × 262340 × 2048
259Add_MTP_1_ffnAdd1 × 262340 × 2048
260MTP_1_NormRMSNorm1 × 262340 × 2048
261Final_RMSNormRMSNorm1 × 262340 × 2048
262LM_HeadLinear1 × 262340 × 248320
263OutputOutput1 × 262340 × 248320
264MTP_1_OutputOutput1 × 262340 × 2048

What the verifier says

warn"RoPE" receives input but its output is not connected. This layer will be unreachable in the forward pass. Fix: Connect the output forward, or add an Output node if this is the final layer.
dead-end
infoMoE layers require an auxiliary router z-loss + load-balance loss during training to prevent expert collapse. This is not visible in the architecture diagram but must be in the training loop. Applies to all 41: MoE_1, MoE_2, MoE_3, MoE_4, MoE_5, MoE_6, MoE_7, MoE_8, MoE_9, MoE_10, MoE_11, MoE_12, MoE_13, MoE_14, MoE_15, MoE_16, MoE_17, MoE_18, MoE_19, MoE_20, MoE_21, MoE_22, MoE_23, MoE_24, MoE_25, MoE_26, MoE_27, MoE_28, MoE_29, MoE_30, MoE_31, MoE_32, MoE_33, MoE_34, MoE_35, MoE_36, MoE_37, MoE_38, MoE_39, MoE_40, MoE_MTP_1. Fix: Add a note on these layers. Typical aux_loss coefficient: 1e-2 (Mixtral/Switch Transformer).
moe-no-aux-loss
infoAt 11 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

What changed upstream

The change tracker follows nvidia/Qwen3.6-35B-A3B-NVFP4: every revision it has read, what changed in the config, tokenizer, chat template or weights between them, and an OSV advisory per change.

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 nvidia/Qwen3.6-35B-A3B-NVFP4 --plan --share