N Neurarch Architectures Models Checks Data Docs Open the app

Models / ultravox

ultravox-v0_5-llama-3_2-1b

Reconstructed from its own config.json with no weights read. 144K 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
2.84B
2,838,197,504 parameters
In the published checkpoint
683M
683,118,592 scalars · safetensors.total, read 2026-03-11
Delta
+315%

custom-code This repository ships its own modeling code (`auto_map`, e.g. `ultravox_config.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 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
230
Will it forward-pass
Yes
Priced on
A10G (24GB)
Est. one run
$52.76
CardMemory
T4 (16GB)weights + activationsdoes not fit
A100 (40GB)weights + activationsdoes not fit
H100 (80GB)weights + activationsfits

Structure

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

LayerTypeOutput shape
1InputInput1 × 512
2EmbeddingEmbedding1 × 512 × 4096
3RoPERoPE1 × 512 × 4096
4Audio inputInput1 × 128 × 1
5Audio feature embedProjection1 × 128 × 1280
6Audio_LN_1LayerNorm1 × 128 × 1280
7Audio_Attn_1Multi-Head Attention1 × 128 × 1280
8Audio_Add_1Add1 × 128 × 1280
9Audio_FFN_1Feed Forward1 × 128 × 1280
10Audio_LN_2LayerNorm1 × 128 × 1280
11Audio_Attn_2Multi-Head Attention1 × 128 × 1280
12Audio_Add_2Add1 × 128 × 1280
13Audio_FFN_2Feed Forward1 × 128 × 1280
14Audio_LN_3LayerNorm1 × 128 × 1280
15Audio_Attn_3Multi-Head Attention1 × 128 × 1280
16Audio_Add_3Add1 × 128 × 1280
17Audio_FFN_3Feed Forward1 × 128 × 1280
18Audio_LN_4LayerNorm1 × 128 × 1280
19Audio_Attn_4Multi-Head Attention1 × 128 × 1280
20Audio_Add_4Add1 × 128 × 1280
21Audio_FFN_4Feed Forward1 × 128 × 1280
22Audio_LN_5LayerNorm1 × 128 × 1280
23Audio_Attn_5Multi-Head Attention1 × 128 × 1280
24Audio_Add_5Add1 × 128 × 1280
25Audio_FFN_5Feed Forward1 × 128 × 1280
26Audio_LN_6LayerNorm1 × 128 × 1280
27Audio_Attn_6Multi-Head Attention1 × 128 × 1280
28Audio_Add_6Add1 × 128 × 1280
29Audio_FFN_6Feed Forward1 × 128 × 1280
30Audio_LN_7LayerNorm1 × 128 × 1280
31Audio_Attn_7Multi-Head Attention1 × 128 × 1280
32Audio_Add_7Add1 × 128 × 1280
33Audio_FFN_7Feed Forward1 × 128 × 1280
34Audio_LN_8LayerNorm1 × 128 × 1280
35Audio_Attn_8Multi-Head Attention1 × 128 × 1280
36Audio_Add_8Add1 × 128 × 1280
37Audio_FFN_8Feed Forward1 × 128 × 1280
38Audio_LN_9LayerNorm1 × 128 × 1280
39Audio_Attn_9Multi-Head Attention1 × 128 × 1280
40Audio_Add_9Add1 × 128 × 1280
41Audio_FFN_9Feed Forward1 × 128 × 1280
42Audio_LN_10LayerNorm1 × 128 × 1280
43Audio_Attn_10Multi-Head Attention1 × 128 × 1280
44Audio_Add_10Add1 × 128 × 1280
45Audio_FFN_10Feed Forward1 × 128 × 1280
46Audio_LN_11LayerNorm1 × 128 × 1280
47Audio_Attn_11Multi-Head Attention1 × 128 × 1280
48Audio_Add_11Add1 × 128 × 1280
49Audio_FFN_11Feed Forward1 × 128 × 1280
50Audio_LN_12LayerNorm1 × 128 × 1280
51Audio_Attn_12Multi-Head Attention1 × 128 × 1280
52Audio_Add_12Add1 × 128 × 1280
53Audio_FFN_12Feed Forward1 × 128 × 1280
54Audio_LN_13LayerNorm1 × 128 × 1280
55Audio_Attn_13Multi-Head Attention1 × 128 × 1280
56Audio_Add_13Add1 × 128 × 1280
57Audio_FFN_13Feed Forward1 × 128 × 1280
58Audio_LN_14LayerNorm1 × 128 × 1280
59Audio_Attn_14Multi-Head Attention1 × 128 × 1280
60Audio_Add_14Add1 × 128 × 1280
61Audio_FFN_14Feed Forward1 × 128 × 1280
62Audio_LN_15LayerNorm1 × 128 × 1280
63Audio_Attn_15Multi-Head Attention1 × 128 × 1280
64Audio_Add_15Add1 × 128 × 1280
65Audio_FFN_15Feed Forward1 × 128 × 1280
66Audio_LN_16LayerNorm1 × 128 × 1280
67Audio_Attn_16Multi-Head Attention1 × 128 × 1280
68Audio_Add_16Add1 × 128 × 1280
69Audio_FFN_16Feed Forward1 × 128 × 1280
70Audio_LN_17LayerNorm1 × 128 × 1280
71Audio_Attn_17Multi-Head Attention1 × 128 × 1280
72Audio_Add_17Add1 × 128 × 1280
73Audio_FFN_17Feed Forward1 × 128 × 1280
74Audio_LN_18LayerNorm1 × 128 × 1280
75Audio_Attn_18Multi-Head Attention1 × 128 × 1280
76Audio_Add_18Add1 × 128 × 1280
77Audio_FFN_18Feed Forward1 × 128 × 1280
78Audio_LN_19LayerNorm1 × 128 × 1280
79Audio_Attn_19Multi-Head Attention1 × 128 × 1280
80Audio_Add_19Add1 × 128 × 1280
81Audio_FFN_19Feed Forward1 × 128 × 1280
82Audio_LN_20LayerNorm1 × 128 × 1280
83Audio_Attn_20Multi-Head Attention1 × 128 × 1280
84Audio_Add_20Add1 × 128 × 1280
85Audio_FFN_20Feed Forward1 × 128 × 1280
86Audio_LN_21LayerNorm1 × 128 × 1280
87Audio_Attn_21Multi-Head Attention1 × 128 × 1280
88Audio_Add_21Add1 × 128 × 1280
89Audio_FFN_21Feed Forward1 × 128 × 1280
90Audio_LN_22LayerNorm1 × 128 × 1280
91Audio_Attn_22Multi-Head Attention1 × 128 × 1280
92Audio_Add_22Add1 × 128 × 1280
93Audio_FFN_22Feed Forward1 × 128 × 1280
94Audio_LN_23LayerNorm1 × 128 × 1280
95Audio_Attn_23Multi-Head Attention1 × 128 × 1280
96Audio_Add_23Add1 × 128 × 1280
97Audio_FFN_23Feed Forward1 × 128 × 1280
98Audio_LN_24LayerNorm1 × 128 × 1280
99Audio_Attn_24Multi-Head Attention1 × 128 × 1280
100Audio_Add_24Add1 × 128 × 1280
101Audio_FFN_24Feed Forward1 × 128 × 1280
102Audio_LN_25LayerNorm1 × 128 × 1280
103Audio_Attn_25Multi-Head Attention1 × 128 × 1280
104Audio_Add_25Add1 × 128 × 1280
105Audio_FFN_25Feed Forward1 × 128 × 1280
106Audio_LN_26LayerNorm1 × 128 × 1280
107Audio_Attn_26Multi-Head Attention1 × 128 × 1280
108Audio_Add_26Add1 × 128 × 1280
109Audio_FFN_26Feed Forward1 × 128 × 1280
110Audio_LN_27LayerNorm1 × 128 × 1280
111Audio_Attn_27Multi-Head Attention1 × 128 × 1280
112Audio_Add_27Add1 × 128 × 1280
113Audio_FFN_27Feed Forward1 × 128 × 1280
114Audio_LN_28LayerNorm1 × 128 × 1280
115Audio_Attn_28Multi-Head Attention1 × 128 × 1280
116Audio_Add_28Add1 × 128 × 1280
117Audio_FFN_28Feed Forward1 × 128 × 1280
118Audio_LN_29LayerNorm1 × 128 × 1280
119Audio_Attn_29Multi-Head Attention1 × 128 × 1280
120Audio_Add_29Add1 × 128 × 1280
121Audio_FFN_29Feed Forward1 × 128 × 1280
122Audio_LN_30LayerNorm1 × 128 × 1280
123Audio_Attn_30Multi-Head Attention1 × 128 × 1280
124Audio_Add_30Add1 × 128 × 1280
125Audio_FFN_30Feed Forward1 × 128 × 1280
126Audio_LN_31LayerNorm1 × 128 × 1280
127Audio_Attn_31Multi-Head Attention1 × 128 × 1280
128Audio_Add_31Add1 × 128 × 1280
129Audio_FFN_31Feed Forward1 × 128 × 1280
130Audio_LN_32LayerNorm1 × 128 × 1280
131Audio_Attn_32Multi-Head Attention1 × 128 × 1280
132Audio_Add_32Add1 × 128 × 1280
133Audio_FFN_32Feed Forward1 × 128 × 1280
134Audio projectorProjection1 × 128 × 4096
135Audio tokensReshape1 × 256 × 4096
136Multimodal fusion (concat tokens)Concatenate1 × 768 × 4096
137RMSNorm_1_1RMSNorm1 × 768 × 4096
138Attention_1Grouped Query Attn1 × 768 × 4096
139Add_1_attnAdd1 × 768 × 4096
140RMSNorm_1_2RMSNorm1 × 768 × 4096
141FFN_1SwiGLU1 × 768 × 4096
142Add_1_ffnAdd1 × 768 × 4096
143RMSNorm_2_1RMSNorm1 × 768 × 4096
144Attention_2Grouped Query Attn1 × 768 × 4096
145Add_2_attnAdd1 × 768 × 4096
146RMSNorm_2_2RMSNorm1 × 768 × 4096
147FFN_2SwiGLU1 × 768 × 4096
148Add_2_ffnAdd1 × 768 × 4096
149RMSNorm_3_1RMSNorm1 × 768 × 4096
150Attention_3Grouped Query Attn1 × 768 × 4096
151Add_3_attnAdd1 × 768 × 4096
152RMSNorm_3_2RMSNorm1 × 768 × 4096
153FFN_3SwiGLU1 × 768 × 4096
154Add_3_ffnAdd1 × 768 × 4096
155RMSNorm_4_1RMSNorm1 × 768 × 4096
156Attention_4Grouped Query Attn1 × 768 × 4096
157Add_4_attnAdd1 × 768 × 4096
158RMSNorm_4_2RMSNorm1 × 768 × 4096
159FFN_4SwiGLU1 × 768 × 4096
160Add_4_ffnAdd1 × 768 × 4096
161RMSNorm_5_1RMSNorm1 × 768 × 4096
162Attention_5Grouped Query Attn1 × 768 × 4096
163Add_5_attnAdd1 × 768 × 4096
164RMSNorm_5_2RMSNorm1 × 768 × 4096
165FFN_5SwiGLU1 × 768 × 4096
166Add_5_ffnAdd1 × 768 × 4096
167RMSNorm_6_1RMSNorm1 × 768 × 4096
168Attention_6Grouped Query Attn1 × 768 × 4096
169Add_6_attnAdd1 × 768 × 4096
170RMSNorm_6_2RMSNorm1 × 768 × 4096
171FFN_6SwiGLU1 × 768 × 4096
172Add_6_ffnAdd1 × 768 × 4096
173RMSNorm_7_1RMSNorm1 × 768 × 4096
174Attention_7Grouped Query Attn1 × 768 × 4096
175Add_7_attnAdd1 × 768 × 4096
176RMSNorm_7_2RMSNorm1 × 768 × 4096
177FFN_7SwiGLU1 × 768 × 4096
178Add_7_ffnAdd1 × 768 × 4096
179RMSNorm_8_1RMSNorm1 × 768 × 4096
180Attention_8Grouped Query Attn1 × 768 × 4096
181Add_8_attnAdd1 × 768 × 4096
182RMSNorm_8_2RMSNorm1 × 768 × 4096
183FFN_8SwiGLU1 × 768 × 4096
184Add_8_ffnAdd1 × 768 × 4096
185RMSNorm_9_1RMSNorm1 × 768 × 4096
186Attention_9Grouped Query Attn1 × 768 × 4096
187Add_9_attnAdd1 × 768 × 4096
188RMSNorm_9_2RMSNorm1 × 768 × 4096
189FFN_9SwiGLU1 × 768 × 4096
190Add_9_ffnAdd1 × 768 × 4096
191RMSNorm_10_1RMSNorm1 × 768 × 4096
192Attention_10Grouped Query Attn1 × 768 × 4096
193Add_10_attnAdd1 × 768 × 4096
194RMSNorm_10_2RMSNorm1 × 768 × 4096
195FFN_10SwiGLU1 × 768 × 4096
196Add_10_ffnAdd1 × 768 × 4096
197RMSNorm_11_1RMSNorm1 × 768 × 4096
198Attention_11Grouped Query Attn1 × 768 × 4096
199Add_11_attnAdd1 × 768 × 4096
200RMSNorm_11_2RMSNorm1 × 768 × 4096
201FFN_11SwiGLU1 × 768 × 4096
202Add_11_ffnAdd1 × 768 × 4096
203RMSNorm_12_1RMSNorm1 × 768 × 4096
204Attention_12Grouped Query Attn1 × 768 × 4096
205Add_12_attnAdd1 × 768 × 4096
206RMSNorm_12_2RMSNorm1 × 768 × 4096
207FFN_12SwiGLU1 × 768 × 4096
208Add_12_ffnAdd1 × 768 × 4096
209RMSNorm_13_1RMSNorm1 × 768 × 4096
210Attention_13Grouped Query Attn1 × 768 × 4096
211Add_13_attnAdd1 × 768 × 4096
212RMSNorm_13_2RMSNorm1 × 768 × 4096
213FFN_13SwiGLU1 × 768 × 4096
214Add_13_ffnAdd1 × 768 × 4096
215RMSNorm_14_1RMSNorm1 × 768 × 4096
216Attention_14Grouped Query Attn1 × 768 × 4096
217Add_14_attnAdd1 × 768 × 4096
218RMSNorm_14_2RMSNorm1 × 768 × 4096
219FFN_14SwiGLU1 × 768 × 4096
220Add_14_ffnAdd1 × 768 × 4096
221RMSNorm_15_1RMSNorm1 × 768 × 4096
222Attention_15Grouped Query Attn1 × 768 × 4096
223Add_15_attnAdd1 × 768 × 4096
224RMSNorm_15_2RMSNorm1 × 768 × 4096
225FFN_15SwiGLU1 × 768 × 4096
226Add_15_ffnAdd1 × 768 × 4096
227RMSNorm_16_1RMSNorm1 × 768 × 4096
228Attention_16Grouped Query Attn1 × 768 × 4096
229Add_16_attnAdd1 × 768 × 4096
230RMSNorm_16_2RMSNorm1 × 768 × 4096
231FFN_16SwiGLU1 × 768 × 4096
232Add_16_ffnAdd1 × 768 × 4096
233OutputOutput1 × 768 × 4096

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
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 3072 (0.75× embedDim). Expected: ~11008. Fix: Set intermediateSize to 11008 for embedDim=4096.
swiglu-dim-convention
info48 attention layers at embedDim 2219 cache full per-head K/V: about 416 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 48 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 fixie-ai/ultravox-v0_5-llama-3_2-1b --plan --share