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

Models / nemotron_h

NVIDIA-Nemotron-3-Nano-30B-A3B-BF16: GPU memory to fine-tune

Fine-tuning NVIDIA-Nemotron-3-Nano-30B-A3B-BF16 at batch 1 and 2048 tokens takes about 614 GB of GPU memory for a full fine-tune (at least 6 x H200 sharded), and 70.9 GB with LoRA r=16 on a bf16 base (fits one H200 141 GB). Estimated from the model's structure, reading the config under transformers semantics, not measured. What fits on which card.

Reconstructed from its own config.json with no weights read. 845K 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
31.58B
31,578,068,416 parameters
In the published checkpoint
31.58B
31,577,937,344 scalars · safetensors.total, read 2026-08-24
Delta
+0.00%

custom-code This repository ships its own modeling code (`auto_map`, e.g. `configuration_nemotron_h.py`), so `config.json` names a class in the repo rather than an architecture `transformers` defines. The graph below is what those config keys mean under `transformers` semantics, which is not necessarily what the repo's own file builds. A gap here is a statement about what we read, not about the checkpoint.

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
159
Will it forward-pass
Yes
Priced on
A10G (24GB)
Est. one run
$295.32

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
614 GB
LoRA r=16, batch 1 at 2048 tokens
70.9 GB
Serve: bf16 weights
63.2 GB
Serve: KV cache, 4096 tokens
25 MB
Serve: recurrent state
25 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 1batch 127
H200 141 GBdoes not fit at batch 1batch 7batch 1185
Sharded, by memory aloneat least 6 x H200 or 9 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

161 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 × 2688
3RMSNorm_1_1RMSNorm1 × 262144 × 2688
4Mamba_1Mamba-2 (SSD)1 × 262144 × 2688
5Add_1_attnAdd1 × 262144 × 2688
6RMSNorm_2_2RMSNorm1 × 262144 × 2688
7MoE_2Shared-Expert MoE1 × 262144 × 2688
8Add_2_ffnAdd1 × 262144 × 2688
9RMSNorm_3_1RMSNorm1 × 262144 × 2688
10Mamba_3Mamba-2 (SSD)1 × 262144 × 2688
11Add_3_attnAdd1 × 262144 × 2688
12RMSNorm_4_2RMSNorm1 × 262144 × 2688
13MoE_4Shared-Expert MoE1 × 262144 × 2688
14Add_4_ffnAdd1 × 262144 × 2688
15RMSNorm_5_1RMSNorm1 × 262144 × 2688
16Mamba_5Mamba-2 (SSD)1 × 262144 × 2688
17Add_5_attnAdd1 × 262144 × 2688
18RMSNorm_6_1RMSNorm1 × 262144 × 2688
19Attention_6Grouped Query Attn1 × 262144 × 2688
20Add_6_attnAdd1 × 262144 × 2688
21RMSNorm_7_2RMSNorm1 × 262144 × 2688
22MoE_7Shared-Expert MoE1 × 262144 × 2688
23Add_7_ffnAdd1 × 262144 × 2688
24RMSNorm_8_1RMSNorm1 × 262144 × 2688
25Mamba_8Mamba-2 (SSD)1 × 262144 × 2688
26Add_8_attnAdd1 × 262144 × 2688
27RMSNorm_9_2RMSNorm1 × 262144 × 2688
28MoE_9Shared-Expert MoE1 × 262144 × 2688
29Add_9_ffnAdd1 × 262144 × 2688
30RMSNorm_10_1RMSNorm1 × 262144 × 2688
31Mamba_10Mamba-2 (SSD)1 × 262144 × 2688
32Add_10_attnAdd1 × 262144 × 2688
33RMSNorm_11_2RMSNorm1 × 262144 × 2688
34MoE_11Shared-Expert MoE1 × 262144 × 2688
35Add_11_ffnAdd1 × 262144 × 2688
36RMSNorm_12_1RMSNorm1 × 262144 × 2688
37Mamba_12Mamba-2 (SSD)1 × 262144 × 2688
38Add_12_attnAdd1 × 262144 × 2688
39RMSNorm_13_1RMSNorm1 × 262144 × 2688
40Attention_13Grouped Query Attn1 × 262144 × 2688
41Add_13_attnAdd1 × 262144 × 2688
42RMSNorm_14_2RMSNorm1 × 262144 × 2688
43MoE_14Shared-Expert MoE1 × 262144 × 2688
44Add_14_ffnAdd1 × 262144 × 2688
45RMSNorm_15_1RMSNorm1 × 262144 × 2688
46Mamba_15Mamba-2 (SSD)1 × 262144 × 2688
47Add_15_attnAdd1 × 262144 × 2688
48RMSNorm_16_2RMSNorm1 × 262144 × 2688
49MoE_16Shared-Expert MoE1 × 262144 × 2688
50Add_16_ffnAdd1 × 262144 × 2688
51RMSNorm_17_1RMSNorm1 × 262144 × 2688
52Mamba_17Mamba-2 (SSD)1 × 262144 × 2688
53Add_17_attnAdd1 × 262144 × 2688
54RMSNorm_18_2RMSNorm1 × 262144 × 2688
55MoE_18Shared-Expert MoE1 × 262144 × 2688
56Add_18_ffnAdd1 × 262144 × 2688
57RMSNorm_19_1RMSNorm1 × 262144 × 2688
58Mamba_19Mamba-2 (SSD)1 × 262144 × 2688
59Add_19_attnAdd1 × 262144 × 2688
60RMSNorm_20_1RMSNorm1 × 262144 × 2688
61Attention_20Grouped Query Attn1 × 262144 × 2688
62Add_20_attnAdd1 × 262144 × 2688
63RMSNorm_21_2RMSNorm1 × 262144 × 2688
64MoE_21Shared-Expert MoE1 × 262144 × 2688
65Add_21_ffnAdd1 × 262144 × 2688
66RMSNorm_22_1RMSNorm1 × 262144 × 2688
67Mamba_22Mamba-2 (SSD)1 × 262144 × 2688
68Add_22_attnAdd1 × 262144 × 2688
69RMSNorm_23_2RMSNorm1 × 262144 × 2688
70MoE_23Shared-Expert MoE1 × 262144 × 2688
71Add_23_ffnAdd1 × 262144 × 2688
72RMSNorm_24_1RMSNorm1 × 262144 × 2688
73Mamba_24Mamba-2 (SSD)1 × 262144 × 2688
74Add_24_attnAdd1 × 262144 × 2688
75RMSNorm_25_2RMSNorm1 × 262144 × 2688
76MoE_25Shared-Expert MoE1 × 262144 × 2688
77Add_25_ffnAdd1 × 262144 × 2688
78RMSNorm_26_1RMSNorm1 × 262144 × 2688
79Mamba_26Mamba-2 (SSD)1 × 262144 × 2688
80Add_26_attnAdd1 × 262144 × 2688
81RMSNorm_27_1RMSNorm1 × 262144 × 2688
82Attention_27Grouped Query Attn1 × 262144 × 2688
83Add_27_attnAdd1 × 262144 × 2688
84RMSNorm_28_2RMSNorm1 × 262144 × 2688
85MoE_28Shared-Expert MoE1 × 262144 × 2688
86Add_28_ffnAdd1 × 262144 × 2688
87RMSNorm_29_1RMSNorm1 × 262144 × 2688
88Mamba_29Mamba-2 (SSD)1 × 262144 × 2688
89Add_29_attnAdd1 × 262144 × 2688
90RMSNorm_30_2RMSNorm1 × 262144 × 2688
91MoE_30Shared-Expert MoE1 × 262144 × 2688
92Add_30_ffnAdd1 × 262144 × 2688
93RMSNorm_31_1RMSNorm1 × 262144 × 2688
94Mamba_31Mamba-2 (SSD)1 × 262144 × 2688
95Add_31_attnAdd1 × 262144 × 2688
96RMSNorm_32_2RMSNorm1 × 262144 × 2688
97MoE_32Shared-Expert MoE1 × 262144 × 2688
98Add_32_ffnAdd1 × 262144 × 2688
99RMSNorm_33_1RMSNorm1 × 262144 × 2688
100Mamba_33Mamba-2 (SSD)1 × 262144 × 2688
101Add_33_attnAdd1 × 262144 × 2688
102RMSNorm_34_1RMSNorm1 × 262144 × 2688
103Attention_34Grouped Query Attn1 × 262144 × 2688
104Add_34_attnAdd1 × 262144 × 2688
105RMSNorm_35_2RMSNorm1 × 262144 × 2688
106MoE_35Shared-Expert MoE1 × 262144 × 2688
107Add_35_ffnAdd1 × 262144 × 2688
108RMSNorm_36_1RMSNorm1 × 262144 × 2688
109Mamba_36Mamba-2 (SSD)1 × 262144 × 2688
110Add_36_attnAdd1 × 262144 × 2688
111RMSNorm_37_2RMSNorm1 × 262144 × 2688
112MoE_37Shared-Expert MoE1 × 262144 × 2688
113Add_37_ffnAdd1 × 262144 × 2688
114RMSNorm_38_1RMSNorm1 × 262144 × 2688
115Mamba_38Mamba-2 (SSD)1 × 262144 × 2688
116Add_38_attnAdd1 × 262144 × 2688
117RMSNorm_39_2RMSNorm1 × 262144 × 2688
118MoE_39Shared-Expert MoE1 × 262144 × 2688
119Add_39_ffnAdd1 × 262144 × 2688
120RMSNorm_40_1RMSNorm1 × 262144 × 2688
121Mamba_40Mamba-2 (SSD)1 × 262144 × 2688
122Add_40_attnAdd1 × 262144 × 2688
123RMSNorm_41_2RMSNorm1 × 262144 × 2688
124MoE_41Shared-Expert MoE1 × 262144 × 2688
125Add_41_ffnAdd1 × 262144 × 2688
126RMSNorm_42_1RMSNorm1 × 262144 × 2688
127Mamba_42Mamba-2 (SSD)1 × 262144 × 2688
128Add_42_attnAdd1 × 262144 × 2688
129RMSNorm_43_1RMSNorm1 × 262144 × 2688
130Attention_43Grouped Query Attn1 × 262144 × 2688
131Add_43_attnAdd1 × 262144 × 2688
132RMSNorm_44_2RMSNorm1 × 262144 × 2688
133MoE_44Shared-Expert MoE1 × 262144 × 2688
134Add_44_ffnAdd1 × 262144 × 2688
135RMSNorm_45_1RMSNorm1 × 262144 × 2688
136Mamba_45Mamba-2 (SSD)1 × 262144 × 2688
137Add_45_attnAdd1 × 262144 × 2688
138RMSNorm_46_2RMSNorm1 × 262144 × 2688
139MoE_46Shared-Expert MoE1 × 262144 × 2688
140Add_46_ffnAdd1 × 262144 × 2688
141RMSNorm_47_1RMSNorm1 × 262144 × 2688
142Mamba_47Mamba-2 (SSD)1 × 262144 × 2688
143Add_47_attnAdd1 × 262144 × 2688
144RMSNorm_48_2RMSNorm1 × 262144 × 2688
145MoE_48Shared-Expert MoE1 × 262144 × 2688
146Add_48_ffnAdd1 × 262144 × 2688
147RMSNorm_49_1RMSNorm1 × 262144 × 2688
148Mamba_49Mamba-2 (SSD)1 × 262144 × 2688
149Add_49_attnAdd1 × 262144 × 2688
150RMSNorm_50_2RMSNorm1 × 262144 × 2688
151MoE_50Shared-Expert MoE1 × 262144 × 2688
152Add_50_ffnAdd1 × 262144 × 2688
153RMSNorm_51_1RMSNorm1 × 262144 × 2688
154Mamba_51Mamba-2 (SSD)1 × 262144 × 2688
155Add_51_attnAdd1 × 262144 × 2688
156RMSNorm_52_2RMSNorm1 × 262144 × 2688
157MoE_52Shared-Expert MoE1 × 262144 × 2688
158Add_52_ffnAdd1 × 262144 × 2688
159Final_RMSNormRMSNorm1 × 262144 × 2688
160LM_HeadLinear1 × 262144 × 131072
161OutputOutput1 × 262144 × 131072

What the verifier says

warn6 attention layer(s) present but no positional encoding found. Attention is permutation-invariant, without position information the model cannot distinguish token order. Fix: Add a PositionalEncoding (sinusoidal) or RoPE layer before the first attention layer.
attention-no-pe

What changed upstream

The change tracker follows nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16: 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/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16 --plan --share

Other nemotron_h checkpoints

NVIDIA-Nemotron-3-Nano-30B-A3B-FP8
31.58B derived · +0.00% against the checkpoint
NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4
31.58B derived · +73.1% against the checkpoint
NVIDIA-Nemotron-3-Super-120B-A12B-BF16
124B derived · +0.00% against the checkpoint
NVIDIA-Nemotron-3-Super-120B-A12B-FP8
124B derived · +0.00% against the checkpoint