3morixd commited on
Commit
a7a1e44
·
verified ·
1 Parent(s): 0437038

Upload benchmark_matrix.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. benchmark_matrix.json +386 -0
benchmark_matrix.json ADDED
@@ -0,0 +1,386 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "dispatchAI Per-Chip Benchmark Matrix",
3
+ "description": "On-device inference benchmarks for mobile LLMs across chipsets",
4
+ "hardware": {
5
+ "snapdragon_865": {
6
+ "chipset": "Qualcomm Snapdragon 865",
7
+ "cpu": "Kryo 585 (1x2.84GHz + 3x2.42GHz + 4x1.80GHz)",
8
+ "gpu": "Adreno 650",
9
+ "npu": "Hexagon Tensor Accelerator (HTP)",
10
+ "process_nm": 7,
11
+ "devices": [
12
+ "Samsung Galaxy S20 FE 5G"
13
+ ]
14
+ },
15
+ "snapdragon_8_gen_2": {
16
+ "chipset": "Qualcomm Snapdragon 8 Gen 2",
17
+ "cpu": "Kryo CPU (1x3.2GHz + 2x2.8GHz + 2x3.0GHz + 3x2.0GHz)",
18
+ "gpu": "Adreno 740",
19
+ "npu": "Hexagon NPU ( Qualcomm AI Engine)",
20
+ "process_nm": 4,
21
+ "devices": [
22
+ "Samsung Galaxy S23",
23
+ "OnePlus 11"
24
+ ]
25
+ },
26
+ "apple_a17_pro": {
27
+ "chipset": "Apple A17 Pro",
28
+ "cpu": "2x3.78GHz + 4x2.11GHz",
29
+ "gpu": "Apple GPU 6-core",
30
+ "npu": "Neural Engine 16-core (35 TOPS)",
31
+ "process_nm": 3,
32
+ "devices": [
33
+ "iPhone 15 Pro"
34
+ ]
35
+ },
36
+ "mediatek_dimensity_9200": {
37
+ "chipset": "MediaTek Dimensity 9200",
38
+ "cpu": "1x3.05GHz + 3x2.85GHz + 4x1.8GHz",
39
+ "gpu": "Immortalis-G715",
40
+ "npu": "APU 690",
41
+ "process_nm": 4,
42
+ "devices": [
43
+ "Various 2023 flagships"
44
+ ]
45
+ }
46
+ },
47
+ "models": [
48
+ {
49
+ "model_id": "dispatchAI/Qwen2.5-0.5B-Instruct-mobile-int4",
50
+ "base_model": "Qwen/Qwen2.5-0.5B-Instruct",
51
+ "params_m": 500,
52
+ "quant": "int4",
53
+ "size_mb": 350,
54
+ "architecture": "Qwen2.5",
55
+ "task": "text-generation"
56
+ },
57
+ {
58
+ "model_id": "dispatchAI/Llama-3.2-1B-Instruct-mobile",
59
+ "base_model": "meta-llama/Llama-3.2-1B-Instruct",
60
+ "params_m": 1000,
61
+ "quant": "fp16",
62
+ "size_mb": 2000,
63
+ "architecture": "Llama-3.2",
64
+ "task": "text-generation"
65
+ },
66
+ {
67
+ "model_id": "dispatchAI/SmolLM2-360M-Instruct-mobile",
68
+ "base_model": "HuggingFaceTB/SmolLM2-360M-Instruct",
69
+ "params_m": 360,
70
+ "quant": "fp16",
71
+ "size_mb": 720,
72
+ "architecture": "SmolLM2",
73
+ "task": "text-generation"
74
+ },
75
+ {
76
+ "model_id": "dispatchAI/SmolLM2-135M-Instruct-mobile",
77
+ "base_model": "HuggingFaceTB/SmolLM2-135M-Instruct",
78
+ "params_m": 135,
79
+ "quant": "fp16",
80
+ "size_mb": 270,
81
+ "architecture": "SmolLM2",
82
+ "task": "text-generation"
83
+ },
84
+ {
85
+ "model_id": "dispatchAI/TinyLlama-1.1B-Chat-Q5-mobile",
86
+ "base_model": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
87
+ "params_m": 1100,
88
+ "quant": "Q5_K_M",
89
+ "size_mb": 450,
90
+ "architecture": "Llama-2",
91
+ "task": "text-generation"
92
+ },
93
+ {
94
+ "model_id": "dispatchAI/Qwen2.5-1.5B-Instruct-Q5-mobile",
95
+ "base_model": "Qwen/Qwen2.5-1.5B-Instruct",
96
+ "params_m": 1500,
97
+ "quant": "Q5_K_M",
98
+ "size_mb": 900,
99
+ "architecture": "Qwen2.5",
100
+ "task": "text-generation"
101
+ },
102
+ {
103
+ "model_id": "dispatchAI/Gemma-2-2B-IT-Q5-mobile",
104
+ "base_model": "google/gemma-2-2b-it",
105
+ "params_m": 2000,
106
+ "quant": "Q5_K_M",
107
+ "size_mb": 1300,
108
+ "architecture": "Gemma-2",
109
+ "task": "text-generation"
110
+ },
111
+ {
112
+ "model_id": "dispatchAI/Phi-3.5-mini-instruct-Q5-mobile",
113
+ "base_model": "microsoft/Phi-3.5-mini-instruct",
114
+ "params_m": 2000,
115
+ "quant": "Q5_K_M",
116
+ "size_mb": 1300,
117
+ "architecture": "Phi-3.5",
118
+ "task": "text-generation"
119
+ }
120
+ ],
121
+ "results": [
122
+ {
123
+ "model_id": "dispatchAI/Qwen2.5-0.5B-Instruct-mobile-int4",
124
+ "base_model": "Qwen/Qwen2.5-0.5B-Instruct",
125
+ "architecture": "Qwen2.5",
126
+ "params_m": 500,
127
+ "quantization": "int4",
128
+ "size_mb": 350,
129
+ "task": "text-generation",
130
+ "device_serial": "R3CN509PLHA",
131
+ "device_model": "SM-G981V",
132
+ "chipset": "Snapdragon 865",
133
+ "chipset_family": "Qualcomm",
134
+ "cpu_cores": 8,
135
+ "ram_gb": 8,
136
+ "android_version": 13,
137
+ "prompt_tps": 47.5,
138
+ "generation_tps": 9.8,
139
+ "tokens_per_second": 9.8,
140
+ "notes": "Stable, good quality"
141
+ },
142
+ {
143
+ "model_id": "dispatchAI/Qwen2.5-0.5B-Instruct-mobile-int4",
144
+ "base_model": "Qwen/Qwen2.5-0.5B-Instruct",
145
+ "architecture": "Qwen2.5",
146
+ "params_m": 500,
147
+ "quantization": "int4",
148
+ "size_mb": 350,
149
+ "task": "text-generation",
150
+ "device_serial": "R3CN50A0HSV",
151
+ "device_model": "SM-G981V",
152
+ "chipset": "Snapdragon 865",
153
+ "chipset_family": "Qualcomm",
154
+ "cpu_cores": 8,
155
+ "ram_gb": 8,
156
+ "android_version": 13,
157
+ "prompt_tps": 45.2,
158
+ "generation_tps": 9.5,
159
+ "tokens_per_second": 9.5,
160
+ "notes": "Stable"
161
+ },
162
+ {
163
+ "model_id": "dispatchAI/Qwen2.5-0.5B-Instruct-mobile-int4",
164
+ "base_model": "Qwen/Qwen2.5-0.5B-Instruct",
165
+ "architecture": "Qwen2.5",
166
+ "params_m": 500,
167
+ "quantization": "int4",
168
+ "size_mb": 350,
169
+ "task": "text-generation",
170
+ "device_serial": "R3CN50AXHWE",
171
+ "device_model": "SM-G981V",
172
+ "chipset": "Snapdragon 865",
173
+ "chipset_family": "Qualcomm",
174
+ "cpu_cores": 8,
175
+ "ram_gb": 8,
176
+ "android_version": 13,
177
+ "prompt_tps": 43.8,
178
+ "generation_tps": 9.2,
179
+ "tokens_per_second": 9.2,
180
+ "notes": "Stable"
181
+ },
182
+ {
183
+ "model_id": "dispatchAI/Llama-3.2-1B-Instruct-mobile",
184
+ "base_model": "meta-llama/Llama-3.2-1B-Instruct",
185
+ "architecture": "Llama-3.2",
186
+ "params_m": 1000,
187
+ "quantization": "fp16",
188
+ "size_mb": 2000,
189
+ "task": "text-generation",
190
+ "device_serial": "R3CN509PLHA",
191
+ "device_model": "SM-G981V",
192
+ "chipset": "Snapdragon 865",
193
+ "chipset_family": "Qualcomm",
194
+ "cpu_cores": 8,
195
+ "ram_gb": 8,
196
+ "android_version": 13,
197
+ "prompt_tps": 28.0,
198
+ "generation_tps": 6.5,
199
+ "tokens_per_second": 6.5,
200
+ "notes": "Usable, moderate speed"
201
+ },
202
+ {
203
+ "model_id": "dispatchAI/Llama-3.2-1B-Instruct-mobile",
204
+ "base_model": "meta-llama/Llama-3.2-1B-Instruct",
205
+ "architecture": "Llama-3.2",
206
+ "params_m": 1000,
207
+ "quantization": "fp16",
208
+ "size_mb": 2000,
209
+ "task": "text-generation",
210
+ "device_serial": "R3CN50A0HSV",
211
+ "device_model": "SM-G981V",
212
+ "chipset": "Snapdragon 865",
213
+ "chipset_family": "Qualcomm",
214
+ "cpu_cores": 8,
215
+ "ram_gb": 8,
216
+ "android_version": 13,
217
+ "prompt_tps": 27.5,
218
+ "generation_tps": 6.3,
219
+ "tokens_per_second": 6.3,
220
+ "notes": "Usable"
221
+ },
222
+ {
223
+ "model_id": "dispatchAI/SmolLM2-360M-Instruct-mobile",
224
+ "base_model": "HuggingFaceTB/SmolLM2-360M-Instruct",
225
+ "architecture": "SmolLM2",
226
+ "params_m": 360,
227
+ "quantization": "fp16",
228
+ "size_mb": 720,
229
+ "task": "text-generation",
230
+ "device_serial": "R3CN509PLHA",
231
+ "device_model": "SM-G981V",
232
+ "chipset": "Snapdragon 865",
233
+ "chipset_family": "Qualcomm",
234
+ "cpu_cores": 8,
235
+ "ram_gb": 8,
236
+ "android_version": 13,
237
+ "prompt_tps": 55.0,
238
+ "generation_tps": 12.1,
239
+ "tokens_per_second": 12.1,
240
+ "notes": "Good speed/quality balance"
241
+ },
242
+ {
243
+ "model_id": "dispatchAI/SmolLM2-360M-Instruct-mobile",
244
+ "base_model": "HuggingFaceTB/SmolLM2-360M-Instruct",
245
+ "architecture": "SmolLM2",
246
+ "params_m": 360,
247
+ "quantization": "fp16",
248
+ "size_mb": 720,
249
+ "task": "text-generation",
250
+ "device_serial": "R3CN50A0HSV",
251
+ "device_model": "SM-G981V",
252
+ "chipset": "Snapdragon 865",
253
+ "chipset_family": "Qualcomm",
254
+ "cpu_cores": 8,
255
+ "ram_gb": 8,
256
+ "android_version": 13,
257
+ "prompt_tps": 53.2,
258
+ "generation_tps": 11.8,
259
+ "tokens_per_second": 11.8,
260
+ "notes": "Good balance"
261
+ },
262
+ {
263
+ "model_id": "dispatchAI/SmolLM2-135M-Instruct-mobile",
264
+ "base_model": "HuggingFaceTB/SmolLM2-135M-Instruct",
265
+ "architecture": "SmolLM2",
266
+ "params_m": 135,
267
+ "quantization": "fp16",
268
+ "size_mb": 270,
269
+ "task": "text-generation",
270
+ "device_serial": "R3CN509PLHA",
271
+ "device_model": "SM-G981V",
272
+ "chipset": "Snapdragon 865",
273
+ "chipset_family": "Qualcomm",
274
+ "cpu_cores": 8,
275
+ "ram_gb": 8,
276
+ "android_version": 13,
277
+ "prompt_tps": 85.0,
278
+ "generation_tps": 18.3,
279
+ "tokens_per_second": 18.3,
280
+ "notes": "Very fast, limited quality"
281
+ },
282
+ {
283
+ "model_id": "dispatchAI/SmolLM2-135M-Instruct-mobile",
284
+ "base_model": "HuggingFaceTB/SmolLM2-135M-Instruct",
285
+ "architecture": "SmolLM2",
286
+ "params_m": 135,
287
+ "quantization": "fp16",
288
+ "size_mb": 270,
289
+ "task": "text-generation",
290
+ "device_serial": "R3CN50A0HSV",
291
+ "device_model": "SM-G981V",
292
+ "chipset": "Snapdragon 865",
293
+ "chipset_family": "Qualcomm",
294
+ "cpu_cores": 8,
295
+ "ram_gb": 8,
296
+ "android_version": 13,
297
+ "prompt_tps": 82.5,
298
+ "generation_tps": 17.8,
299
+ "tokens_per_second": 17.8,
300
+ "notes": "Very fast"
301
+ },
302
+ {
303
+ "model_id": "dispatchAI/TinyLlama-1.1B-Chat-Q5-mobile",
304
+ "base_model": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
305
+ "architecture": "Llama-2",
306
+ "params_m": 1100,
307
+ "quantization": "Q5_K_M",
308
+ "size_mb": 450,
309
+ "task": "text-generation",
310
+ "device_serial": "R3CN509PLHA",
311
+ "device_model": "SM-G981V",
312
+ "chipset": "Snapdragon 865",
313
+ "chipset_family": "Qualcomm",
314
+ "cpu_cores": 8,
315
+ "ram_gb": 8,
316
+ "android_version": 13,
317
+ "prompt_tps": 26.5,
318
+ "generation_tps": 6.2,
319
+ "tokens_per_second": 6.2,
320
+ "notes": "Q5 quant, stable"
321
+ },
322
+ {
323
+ "model_id": "dispatchAI/Qwen2.5-1.5B-Instruct-Q5-mobile",
324
+ "base_model": "Qwen/Qwen2.5-1.5B-Instruct",
325
+ "architecture": "Qwen2.5",
326
+ "params_m": 1500,
327
+ "quantization": "Q5_K_M",
328
+ "size_mb": 900,
329
+ "task": "text-generation",
330
+ "device_serial": "R3CN509PLHA",
331
+ "device_model": "SM-G981V",
332
+ "chipset": "Snapdragon 865",
333
+ "chipset_family": "Qualcomm",
334
+ "cpu_cores": 8,
335
+ "ram_gb": 8,
336
+ "android_version": 13,
337
+ "prompt_tps": 18.0,
338
+ "generation_tps": 4.2,
339
+ "tokens_per_second": 4.2,
340
+ "notes": "Slower but higher quality"
341
+ },
342
+ {
343
+ "model_id": "dispatchAI/Gemma-2-2B-IT-Q5-mobile",
344
+ "base_model": "google/gemma-2-2b-it",
345
+ "architecture": "Gemma-2",
346
+ "params_m": 2000,
347
+ "quantization": "Q5_K_M",
348
+ "size_mb": 1300,
349
+ "task": "text-generation",
350
+ "device_serial": "R3CN509PLHA",
351
+ "device_model": "SM-G981V",
352
+ "chipset": "Snapdragon 865",
353
+ "chipset_family": "Qualcomm",
354
+ "cpu_cores": 8,
355
+ "ram_gb": 8,
356
+ "android_version": 13,
357
+ "prompt_tps": 12.5,
358
+ "generation_tps": 3.0,
359
+ "tokens_per_second": 3.0,
360
+ "notes": "Slow but best quality"
361
+ },
362
+ {
363
+ "model_id": "dispatchAI/Phi-3.5-mini-instruct-Q5-mobile",
364
+ "base_model": "microsoft/Phi-3.5-mini-instruct",
365
+ "architecture": "Phi-3.5",
366
+ "params_m": 2000,
367
+ "quantization": "Q5_K_M",
368
+ "size_mb": 1300,
369
+ "task": "text-generation",
370
+ "device_serial": "R3CN509PLHA",
371
+ "device_model": "SM-G981V",
372
+ "chipset": "Snapdragon 865",
373
+ "chipset_family": "Qualcomm",
374
+ "cpu_cores": 8,
375
+ "ram_gb": 8,
376
+ "android_version": 13,
377
+ "prompt_tps": 13.0,
378
+ "generation_tps": 3.1,
379
+ "tokens_per_second": 3.1,
380
+ "notes": "Comparable to Gemma"
381
+ }
382
+ ],
383
+ "methodology": "Models run via llama-cli on Samsung S20 FE 5G (Snapdragon 865, 8GB RAM, Android 13). Prompt: 'The capital of France is', max_tokens=20, threads=4, context=512.",
384
+ "cost": "$0",
385
+ "date": "2026-06-26"
386
+ }