OLive/assets/cost_models/Phi-3-mini.csv

16 KiB

1modulenum_paramsnum_bytesnum_flops
2model.embed_tokens985006081970012161
3model.embed_dropout000
4model.layers.0.self_attn.o_proj94371841887436818874368
5model.layers.0.self_attn.qkv_proj283115525662310456623104
6model.layers.0.self_attn.rotary_emb000
7model.layers.0.mlp.gate_up_proj50331648100663296100663296
8model.layers.0.mlp.down_proj251658245033164850331648
9model.layers.0.mlp.activation_fn0018432
10model.layers.0.input_layernorm3072614412288
11model.layers.0.resid_attn_dropout000
12model.layers.0.resid_mlp_dropout000
13model.layers.0.post_attention_layernorm3072614412288
14model.layers.1.self_attn.o_proj94371841887436818874368
15model.layers.1.self_attn.qkv_proj283115525662310456623104
16model.layers.1.self_attn.rotary_emb000
17model.layers.1.mlp.gate_up_proj50331648100663296100663296
18model.layers.1.mlp.down_proj251658245033164850331648
19model.layers.1.mlp.activation_fn0018432
20model.layers.1.input_layernorm3072614412288
21model.layers.1.resid_attn_dropout000
22model.layers.1.resid_mlp_dropout000
23model.layers.1.post_attention_layernorm3072614412288
24model.layers.2.self_attn.o_proj94371841887436818874368
25model.layers.2.self_attn.qkv_proj283115525662310456623104
26model.layers.2.self_attn.rotary_emb000
27model.layers.2.mlp.gate_up_proj50331648100663296100663296
28model.layers.2.mlp.down_proj251658245033164850331648
29model.layers.2.mlp.activation_fn0018432
30model.layers.2.input_layernorm3072614412288
31model.layers.2.resid_attn_dropout000
32model.layers.2.resid_mlp_dropout000
33model.layers.2.post_attention_layernorm3072614412288
34model.layers.3.self_attn.o_proj94371841887436818874368
35model.layers.3.self_attn.qkv_proj283115525662310456623104
36model.layers.3.self_attn.rotary_emb000
37model.layers.3.mlp.gate_up_proj50331648100663296100663296
38model.layers.3.mlp.down_proj251658245033164850331648
39model.layers.3.mlp.activation_fn0018432
40model.layers.3.input_layernorm3072614412288
41model.layers.3.resid_attn_dropout000
42model.layers.3.resid_mlp_dropout000
43model.layers.3.post_attention_layernorm3072614412288
44model.layers.4.self_attn.o_proj94371841887436818874368
45model.layers.4.self_attn.qkv_proj283115525662310456623104
46model.layers.4.self_attn.rotary_emb000
47model.layers.4.mlp.gate_up_proj50331648100663296100663296
48model.layers.4.mlp.down_proj251658245033164850331648
49model.layers.4.mlp.activation_fn0018432
50model.layers.4.input_layernorm3072614412288
51model.layers.4.resid_attn_dropout000
52model.layers.4.resid_mlp_dropout000
53model.layers.4.post_attention_layernorm3072614412288
54model.layers.5.self_attn.o_proj94371841887436818874368
55model.layers.5.self_attn.qkv_proj283115525662310456623104
56model.layers.5.self_attn.rotary_emb000
57model.layers.5.mlp.gate_up_proj50331648100663296100663296
58model.layers.5.mlp.down_proj251658245033164850331648
59model.layers.5.mlp.activation_fn0018432
60model.layers.5.input_layernorm3072614412288
61model.layers.5.resid_attn_dropout000
62model.layers.5.resid_mlp_dropout000
63model.layers.5.post_attention_layernorm3072614412288
64model.layers.6.self_attn.o_proj94371841887436818874368
65model.layers.6.self_attn.qkv_proj283115525662310456623104
66model.layers.6.self_attn.rotary_emb000
67model.layers.6.mlp.gate_up_proj50331648100663296100663296
68model.layers.6.mlp.down_proj251658245033164850331648
69model.layers.6.mlp.activation_fn0018432
70model.layers.6.input_layernorm3072614412288
71model.layers.6.resid_attn_dropout000
72model.layers.6.resid_mlp_dropout000
73model.layers.6.post_attention_layernorm3072614412288
74model.layers.7.self_attn.o_proj94371841887436818874368
75model.layers.7.self_attn.qkv_proj283115525662310456623104
76model.layers.7.self_attn.rotary_emb000
77model.layers.7.mlp.gate_up_proj50331648100663296100663296
78model.layers.7.mlp.down_proj251658245033164850331648
79model.layers.7.mlp.activation_fn0018432
80model.layers.7.input_layernorm3072614412288
81model.layers.7.resid_attn_dropout000
82model.layers.7.resid_mlp_dropout000
83model.layers.7.post_attention_layernorm3072614412288
84model.layers.8.self_attn.o_proj94371841887436818874368
85model.layers.8.self_attn.qkv_proj283115525662310456623104
86model.layers.8.self_attn.rotary_emb000
87model.layers.8.mlp.gate_up_proj50331648100663296100663296
88model.layers.8.mlp.down_proj251658245033164850331648
89model.layers.8.mlp.activation_fn0018432
90model.layers.8.input_layernorm3072614412288
91model.layers.8.resid_attn_dropout000
92model.layers.8.resid_mlp_dropout000
93model.layers.8.post_attention_layernorm3072614412288
94model.layers.9.self_attn.o_proj94371841887436818874368
95model.layers.9.self_attn.qkv_proj283115525662310456623104
96model.layers.9.self_attn.rotary_emb000
97model.layers.9.mlp.gate_up_proj50331648100663296100663296
98model.layers.9.mlp.down_proj251658245033164850331648
99model.layers.9.mlp.activation_fn0018432
100model.layers.9.input_layernorm3072614412288
101model.layers.9.resid_attn_dropout000
102model.layers.9.resid_mlp_dropout000
103model.layers.9.post_attention_layernorm3072614412288
104model.layers.10.self_attn.o_proj94371841887436818874368
105model.layers.10.self_attn.qkv_proj283115525662310456623104
106model.layers.10.self_attn.rotary_emb000
107model.layers.10.mlp.gate_up_proj50331648100663296100663296
108model.layers.10.mlp.down_proj251658245033164850331648
109model.layers.10.mlp.activation_fn0018432
110model.layers.10.input_layernorm3072614412288
111model.layers.10.resid_attn_dropout000
112model.layers.10.resid_mlp_dropout000
113model.layers.10.post_attention_layernorm3072614412288
114model.layers.11.self_attn.o_proj94371841887436818874368
115model.layers.11.self_attn.qkv_proj283115525662310456623104
116model.layers.11.self_attn.rotary_emb000
117model.layers.11.mlp.gate_up_proj50331648100663296100663296
118model.layers.11.mlp.down_proj251658245033164850331648
119model.layers.11.mlp.activation_fn0018432
120model.layers.11.input_layernorm3072614412288
121model.layers.11.resid_attn_dropout000
122model.layers.11.resid_mlp_dropout000
123model.layers.11.post_attention_layernorm3072614412288
124model.layers.12.self_attn.o_proj94371841887436818874368
125model.layers.12.self_attn.qkv_proj283115525662310456623104
126model.layers.12.self_attn.rotary_emb000
127model.layers.12.mlp.gate_up_proj50331648100663296100663296
128model.layers.12.mlp.down_proj251658245033164850331648
129model.layers.12.mlp.activation_fn0018432
130model.layers.12.input_layernorm3072614412288
131model.layers.12.resid_attn_dropout000
132model.layers.12.resid_mlp_dropout000
133model.layers.12.post_attention_layernorm3072614412288
134model.layers.13.self_attn.o_proj94371841887436818874368
135model.layers.13.self_attn.qkv_proj283115525662310456623104
136model.layers.13.self_attn.rotary_emb000
137model.layers.13.mlp.gate_up_proj50331648100663296100663296
138model.layers.13.mlp.down_proj251658245033164850331648
139model.layers.13.mlp.activation_fn0018432
140model.layers.13.input_layernorm3072614412288
141model.layers.13.resid_attn_dropout000
142model.layers.13.resid_mlp_dropout000
143model.layers.13.post_attention_layernorm3072614412288
144model.layers.14.self_attn.o_proj94371841887436818874368
145model.layers.14.self_attn.qkv_proj283115525662310456623104
146model.layers.14.self_attn.rotary_emb000
147model.layers.14.mlp.gate_up_proj50331648100663296100663296
148model.layers.14.mlp.down_proj251658245033164850331648
149model.layers.14.mlp.activation_fn0018432
150model.layers.14.input_layernorm3072614412288
151model.layers.14.resid_attn_dropout000
152model.layers.14.resid_mlp_dropout000
153model.layers.14.post_attention_layernorm3072614412288
154model.layers.15.self_attn.o_proj94371841887436818874368
155model.layers.15.self_attn.qkv_proj283115525662310456623104
156model.layers.15.self_attn.rotary_emb000
157model.layers.15.mlp.gate_up_proj50331648100663296100663296
158model.layers.15.mlp.down_proj251658245033164850331648
159model.layers.15.mlp.activation_fn0018432
160model.layers.15.input_layernorm3072614412288
161model.layers.15.resid_attn_dropout000
162model.layers.15.resid_mlp_dropout000
163model.layers.15.post_attention_layernorm3072614412288
164model.layers.16.self_attn.o_proj94371841887436818874368
165model.layers.16.self_attn.qkv_proj283115525662310456623104
166model.layers.16.self_attn.rotary_emb000
167model.layers.16.mlp.gate_up_proj50331648100663296100663296
168model.layers.16.mlp.down_proj251658245033164850331648
169model.layers.16.mlp.activation_fn0018432
170model.layers.16.input_layernorm3072614412288
171model.layers.16.resid_attn_dropout000
172model.layers.16.resid_mlp_dropout000
173model.layers.16.post_attention_layernorm3072614412288
174model.layers.17.self_attn.o_proj94371841887436818874368
175model.layers.17.self_attn.qkv_proj283115525662310456623104
176model.layers.17.self_attn.rotary_emb000
177model.layers.17.mlp.gate_up_proj50331648100663296100663296
178model.layers.17.mlp.down_proj251658245033164850331648
179model.layers.17.mlp.activation_fn0018432
180model.layers.17.input_layernorm3072614412288
181model.layers.17.resid_attn_dropout000
182model.layers.17.resid_mlp_dropout000
183model.layers.17.post_attention_layernorm3072614412288
184model.layers.18.self_attn.o_proj94371841887436818874368
185model.layers.18.self_attn.qkv_proj283115525662310456623104
186model.layers.18.self_attn.rotary_emb000
187model.layers.18.mlp.gate_up_proj50331648100663296100663296
188model.layers.18.mlp.down_proj251658245033164850331648
189model.layers.18.mlp.activation_fn0018432
190model.layers.18.input_layernorm3072614412288
191model.layers.18.resid_attn_dropout000
192model.layers.18.resid_mlp_dropout000
193model.layers.18.post_attention_layernorm3072614412288
194model.layers.19.self_attn.o_proj94371841887436818874368
195model.layers.19.self_attn.qkv_proj283115525662310456623104
196model.layers.19.self_attn.rotary_emb000
197model.layers.19.mlp.gate_up_proj50331648100663296100663296
198model.layers.19.mlp.down_proj251658245033164850331648
199model.layers.19.mlp.activation_fn0018432
200model.layers.19.input_layernorm3072614412288
201model.layers.19.resid_attn_dropout000
202model.layers.19.resid_mlp_dropout000
203model.layers.19.post_attention_layernorm3072614412288
204model.layers.20.self_attn.o_proj94371841887436818874368
205model.layers.20.self_attn.qkv_proj283115525662310456623104
206model.layers.20.self_attn.rotary_emb000
207model.layers.20.mlp.gate_up_proj50331648100663296100663296
208model.layers.20.mlp.down_proj251658245033164850331648
209model.layers.20.mlp.activation_fn0018432
210model.layers.20.input_layernorm3072614412288
211model.layers.20.resid_attn_dropout000
212model.layers.20.resid_mlp_dropout000
213model.layers.20.post_attention_layernorm3072614412288
214model.layers.21.self_attn.o_proj94371841887436818874368
215model.layers.21.self_attn.qkv_proj283115525662310456623104
216model.layers.21.self_attn.rotary_emb000
217model.layers.21.mlp.gate_up_proj50331648100663296100663296
218model.layers.21.mlp.down_proj251658245033164850331648
219model.layers.21.mlp.activation_fn0018432
220model.layers.21.input_layernorm3072614412288
221model.layers.21.resid_attn_dropout000
222model.layers.21.resid_mlp_dropout000
223model.layers.21.post_attention_layernorm3072614412288
224model.layers.22.self_attn.o_proj94371841887436818874368
225model.layers.22.self_attn.qkv_proj283115525662310456623104
226model.layers.22.self_attn.rotary_emb000
227model.layers.22.mlp.gate_up_proj50331648100663296100663296
228model.layers.22.mlp.down_proj251658245033164850331648
229model.layers.22.mlp.activation_fn0018432
230model.layers.22.input_layernorm3072614412288
231model.layers.22.resid_attn_dropout000
232model.layers.22.resid_mlp_dropout000
233model.layers.22.post_attention_layernorm3072614412288
234model.layers.23.self_attn.o_proj94371841887436818874368
235model.layers.23.self_attn.qkv_proj283115525662310456623104
236model.layers.23.self_attn.rotary_emb000
237model.layers.23.mlp.gate_up_proj50331648100663296100663296
238model.layers.23.mlp.down_proj251658245033164850331648
239model.layers.23.mlp.activation_fn0018432
240model.layers.23.input_layernorm3072614412288
241model.layers.23.resid_attn_dropout000
242model.layers.23.resid_mlp_dropout000
243model.layers.23.post_attention_layernorm3072614412288
244model.layers.24.self_attn.o_proj94371841887436818874368
245model.layers.24.self_attn.qkv_proj283115525662310456623104
246model.layers.24.self_attn.rotary_emb000
247model.layers.24.mlp.gate_up_proj50331648100663296100663296
248model.layers.24.mlp.down_proj251658245033164850331648
249model.layers.24.mlp.activation_fn0018432
250model.layers.24.input_layernorm3072614412288
251model.layers.24.resid_attn_dropout000
252model.layers.24.resid_mlp_dropout000
253model.layers.24.post_attention_layernorm3072614412288
254model.layers.25.self_attn.o_proj94371841887436818874368
255model.layers.25.self_attn.qkv_proj283115525662310456623104
256model.layers.25.self_attn.rotary_emb000
257model.layers.25.mlp.gate_up_proj50331648100663296100663296
258model.layers.25.mlp.down_proj251658245033164850331648
259model.layers.25.mlp.activation_fn0018432
260model.layers.25.input_layernorm3072614412288
261model.layers.25.resid_attn_dropout000
262model.layers.25.resid_mlp_dropout000
263model.layers.25.post_attention_layernorm3072614412288
264model.layers.26.self_attn.o_proj94371841887436818874368
265model.layers.26.self_attn.qkv_proj283115525662310456623104
266model.layers.26.self_attn.rotary_emb000
267model.layers.26.mlp.gate_up_proj50331648100663296100663296
268model.layers.26.mlp.down_proj251658245033164850331648
269model.layers.26.mlp.activation_fn0018432
270model.layers.26.input_layernorm3072614412288
271model.layers.26.resid_attn_dropout000
272model.layers.26.resid_mlp_dropout000
273model.layers.26.post_attention_layernorm3072614412288
274model.layers.27.self_attn.o_proj94371841887436818874368
275model.layers.27.self_attn.qkv_proj283115525662310456623104
276model.layers.27.self_attn.rotary_emb000
277model.layers.27.mlp.gate_up_proj50331648100663296100663296
278model.layers.27.mlp.down_proj251658245033164850331648
279model.layers.27.mlp.activation_fn0018432
280model.layers.27.input_layernorm3072614412288
281model.layers.27.resid_attn_dropout000
282model.layers.27.resid_mlp_dropout000
283model.layers.27.post_attention_layernorm3072614412288
284model.layers.28.self_attn.o_proj94371841887436818874368
285model.layers.28.self_attn.qkv_proj283115525662310456623104
286model.layers.28.self_attn.rotary_emb000
287model.layers.28.mlp.gate_up_proj50331648100663296100663296
288model.layers.28.mlp.down_proj251658245033164850331648
289model.layers.28.mlp.activation_fn0018432
290model.layers.28.input_layernorm3072614412288
291model.layers.28.resid_attn_dropout000
292model.layers.28.resid_mlp_dropout000
293model.layers.28.post_attention_layernorm3072614412288
294model.layers.29.self_attn.o_proj94371841887436818874368
295model.layers.29.self_attn.qkv_proj283115525662310456623104
296model.layers.29.self_attn.rotary_emb000
297model.layers.29.mlp.gate_up_proj50331648100663296100663296
298model.layers.29.mlp.down_proj251658245033164850331648
299model.layers.29.mlp.activation_fn0018432
300model.layers.29.input_layernorm3072614412288
301model.layers.29.resid_attn_dropout000
302model.layers.29.resid_mlp_dropout000
303model.layers.29.post_attention_layernorm3072614412288
304model.layers.30.self_attn.o_proj94371841887436818874368
305model.layers.30.self_attn.qkv_proj283115525662310456623104
306model.layers.30.self_attn.rotary_emb000
307model.layers.30.mlp.gate_up_proj50331648100663296100663296
308model.layers.30.mlp.down_proj251658245033164850331648
309model.layers.30.mlp.activation_fn0018432
310model.layers.30.input_layernorm3072614412288
311model.layers.30.resid_attn_dropout000
312model.layers.30.resid_mlp_dropout000
313model.layers.30.post_attention_layernorm3072614412288
314model.layers.31.self_attn.o_proj94371841887436818874368
315model.layers.31.self_attn.qkv_proj283115525662310456623104
316model.layers.31.self_attn.rotary_emb000
317model.layers.31.mlp.gate_up_proj50331648100663296100663296
318model.layers.31.mlp.down_proj251658245033164850331648
319model.layers.31.mlp.activation_fn0018432
320model.layers.31.input_layernorm3072614412288
321model.layers.31.resid_attn_dropout000
322model.layers.31.resid_mlp_dropout000
323model.layers.31.post_attention_layernorm3072614412288
324model.norm3072614412288
325lm_head98500608197001216197001216