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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
{
    "config": {
        "name": "2024-10-10-13-27-38/openvino",
        "backend": {
            "name": "openvino",
            "version": "2024.4.0",
            "_target_": "optimum_benchmark.backends.openvino.backend.OVBackend",
            "task": "text-generation",
            "library": "transformers",
            "model_type": "qwen2",
            "model": "Qwen/Qwen2.5-7B-Instruct",
            "processor": "Qwen/Qwen2.5-7B-Instruct",
            "device": "cpu",
            "device_ids": null,
            "seed": 42,
            "inter_op_num_threads": null,
            "intra_op_num_threads": null,
            "model_kwargs": {},
            "processor_kwargs": {},
            "no_weights": false,
            "export": true,
            "use_cache": true,
            "use_merged": true,
            "openvino_config": {},
            "half": false,
            "reshape": false,
            "quantization": false,
            "quantization_config": {},
            "calibration": false,
            "calibration_config": {}
        },
        "scenario": {
            "name": "inference",
            "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
            "iterations": 10,
            "duration": 10,
            "warmup_runs": 10,
            "input_shapes": {
                "batch_size": 2,
                "num_choices": 2,
                "sequence_length": 16
            },
            "new_tokens": null,
            "memory": true,
            "latency": true,
            "energy": false,
            "forward_kwargs": {},
            "generate_kwargs": {
                "max_new_tokens": 32,
                "min_new_tokens": 32
            },
            "call_kwargs": {}
        },
        "launcher": {
            "name": "process",
            "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
            "device_isolation": false,
            "device_isolation_action": null,
            "numactl": true,
            "numactl_kwargs": {
                "cpunodebind": 0,
                "membind": 0
            },
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " AMD EPYC 7R13 Processor",
            "cpu_count": 64,
            "cpu_ram_mb": 529717.026816,
            "system": "Linux",
            "machine": "x86_64",
            "platform": "Linux-5.10.205-195.807.amzn2.x86_64-x86_64-with-glibc2.36",
            "processor": "",
            "python_version": "3.10.15",
            "optimum_benchmark_version": "0.5.0",
            "optimum_benchmark_commit": null,
            "transformers_version": "4.44.2",
            "transformers_commit": null,
            "accelerate_version": "0.34.2",
            "accelerate_commit": null,
            "diffusers_version": null,
            "diffusers_commit": null,
            "optimum_version": "1.22.0",
            "optimum_commit": null,
            "timm_version": null,
            "timm_commit": null,
            "peft_version": null,
            "peft_commit": null
        },
        "print_report": false,
        "log_report": true
    },
    "report": {
        "load": {
            "memory": {
                "unit": "MB",
                "max_ram": 28568.141824,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "values": [
                    85.84128818660975
                ],
                "count": 1,
                "total": 85.84128818660975,
                "mean": 85.84128818660975,
                "p50": 85.84128818660975,
                "p90": 85.84128818660975,
                "p95": 85.84128818660975,
                "p99": 85.84128818660975,
                "stdev": 0,
                "stdev_": 0
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "prefill": {
            "memory": {
                "unit": "MB",
                "max_ram": 17400.188928,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "values": [
                    1.155863493680954,
                    0.7591285742819309,
                    0.7738370560109615,
                    0.7550942674279213,
                    0.7588984668254852,
                    0.7791932262480259,
                    0.7622133567929268,
                    0.7966163046658039,
                    0.7676617838442326,
                    0.7681443095207214
                ],
                "count": 10,
                "total": 8.076650839298964,
                "mean": 0.8076650839298963,
                "p50": 0.767903046682477,
                "p90": 0.8325410235673187,
                "p95": 0.994202258624136,
                "p99": 1.1235312466695906,
                "stdev": 0.11663827494300946,
                "stdev_": 14.441416035403781
            },
            "throughput": {
                "unit": "tokens/s",
                "value": 39.620383048250645
            },
            "energy": null,
            "efficiency": null
        },
        "decode": {
            "memory": {
                "unit": "MB",
                "max_ram": 17400.459264,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "values": [
                    6.200990695506334,
                    5.851446453481913,
                    6.216963429003954,
                    5.708663444966078,
                    5.59319007396698,
                    5.803155850619078,
                    5.378143277019262,
                    6.436763770878315,
                    5.788114670664072,
                    5.6680054776370525
                ],
                "count": 10,
                "total": 58.64543714374304,
                "mean": 5.864543714374304,
                "p50": 5.795635260641575,
                "p90": 6.23894346319139,
                "p95": 6.3378536170348525,
                "p99": 6.416981740109622,
                "stdev": 0.3078567112686973,
                "stdev_": 5.2494571830733285
            },
            "throughput": {
                "unit": "tokens/s",
                "value": 10.572007477416316
            },
            "energy": null,
            "efficiency": null
        },
        "per_token": {
            "memory": null,
            "latency": {
                "unit": "s",
                "values": [
                    0.4139234870672226,
                    0.41735056415200233,
                    0.30081597715616226,
                    0.1818118579685688,
                    0.15186486765742302,
                    0.23906059190630913,
                    0.15295346081256866,
                    0.16011932492256165,
                    0.2003607526421547,
                    0.1834808960556984,
                    0.15580645948648453,
                    0.24319353699684143,
                    0.1611436791718006,
                    0.15759733691811562,
                    0.1585245616734028,
                    0.15936047211289406,
                    0.3769047372043133,
                    0.18782272934913635,
                    0.15100917220115662,
                    0.1527114175260067,
                    0.2946506328880787,
                    0.16238847002387047,
                    0.16231396421790123,
                    0.156793974339962,
                    0.16331971436738968,
                    0.1679960861802101,
                    0.1615058295428753,
                    0.15888682380318642,
                    0.14986367523670197,
                    0.15800831466913223,
                    0.15872757136821747,
                    0.27272531017661095,
                    0.18892422318458557,
                    0.15356360375881195,
                    0.15431320294737816,
                    0.14779995009303093,
                    0.15224895253777504,
                    0.21096992120146751,
                    0.18912102282047272,
                    0.21501709148287773,
                    0.16489996761083603,
                    0.21484949439764023,
                    0.17694229260087013,
                    0.298944354057312,
                    0.1571926362812519,
                    0.3427550941705704,
                    0.15772563219070435,
                    0.27126798033714294,
                    0.18431544676423073,
                    0.16829495877027512,
                    0.2230387181043625,
                    0.16222893819212914,
                    0.1542050875723362,
                    0.152713593095541,
                    0.22716208174824715,
                    0.1603824906051159,
                    0.15225924924016,
                    0.15334432572126389,
                    0.15936279296875,
                    0.15501442551612854,
                    0.15603690594434738,
                    0.17310908064246178,
                    0.15233517810702324,
                    0.16673265397548676,
                    0.15707813948392868,
                    0.15561645105481148,
                    0.2950899377465248,
                    0.16526831686496735,
                    0.25878509506583214,
                    0.2684909552335739,
                    0.15292853489518166,
                    0.1560739129781723,
                    0.14961672946810722,
                    0.28093401342630386,
                    0.23056770488619804,
                    0.24176156893372536,
                    0.18133500963449478,
                    0.15951067954301834,
                    0.2469756379723549,
                    0.15470846369862556,
                    0.1506977304816246,
                    0.2186153270304203,
                    0.1848888210952282,
                    0.1681702397763729,
                    0.17152446135878563,
                    0.16021715849637985,
                    0.21121134981513023,
                    0.20459624007344246,
                    0.18079787492752075,
                    0.21565362066030502,
                    0.30665198341012,
                    0.1855032593011856,
                    0.28380293399095535,
                    0.15242250636219978,
                    0.38883425295352936,
                    0.14984559640288353,
                    0.18036608770489693,
                    0.27179688587784767,
                    0.1542910747230053,
                    0.2456365041434765,
                    0.15133636817336082,
                    0.14667970687150955,
                    0.14652648195624352,
                    0.15149124339222908,
                    0.2016245499253273,
                    0.16305964812636375,
                    0.15654635429382324,
                    0.2105577066540718,
                    0.18518470972776413,
                    0.15230029821395874,
                    0.16040043160319328,
                    0.17493826523423195,
                    0.1600029654800892,
                    0.1622457429766655,
                    0.15377505496144295,
                    0.15260671824216843,
                    0.18687525764107704,
                    0.16884037479758263,
                    0.15240167453885078,
                    0.37620513141155243,
                    0.18778274208307266,
                    0.15565819665789604,
                    0.1559632606804371,
                    0.1517484076321125,
                    0.2911657243967056,
                    0.1650817021727562,
                    0.1486673653125763,
                    0.17960147187113762,
                    0.16900478303432465,
                    0.15883860737085342,
                    0.14794380590319633,
                    0.15101293101906776,
                    0.27592404931783676,
                    0.16797656193375587,
                    0.14958341792225838,
                    0.2745455130934715,
                    0.16101539507508278,
                    0.1521204449236393,
                    0.15381720289587975,
                    0.16098500788211823,
                    0.1530577912926674,
                    0.1520393267273903,
                    0.2233075276017189,
                    0.18319787457585335,
                    0.14668099954724312,
                    0.1477702632546425,
                    0.1587279476225376,
                    0.30601438134908676,
                    0.1573706418275833,
                    0.15311282873153687,
                    0.1491524986922741,
                    0.14643868431448936,
                    0.15172262489795685,
                    0.27787161245942116,
                    0.17872869223356247,
                    0.15965665131807327,
                    0.15329846367239952,
                    0.15216953679919243,
                    0.1540345810353756,
                    0.16133840382099152,
                    0.15683456882834435,
                    0.2934487983584404,
                    0.17761101201176643,
                    0.1538052260875702,
                    0.2449340969324112,
                    0.1569734513759613,
                    0.1520020179450512,
                    0.1534476801753044,
                    0.15756065025925636,
                    0.2761836163699627,
                    0.21986213698983192,
                    0.1885678917169571,
                    0.18862299993634224,
                    0.21107355505228043,
                    0.1645197682082653,
                    0.1521223746240139,
                    0.1565866880118847,
                    0.15358155593276024,
                    0.3630015552043915,
                    0.17469030618667603,
                    0.14798744767904282,
                    0.14919350668787956,
                    0.14570282772183418,
                    0.1528305560350418,
                    0.1565646156668663,
                    0.3742227740585804,
                    0.23841682076454163,
                    0.15160172805190086,
                    0.1474267914891243,
                    0.14957717433571815,
                    0.1562964953482151,
                    0.15076233446598053,
                    0.15194469690322876,
                    0.29144833609461784,
                    0.15708014741539955,
                    0.1488501951098442,
                    0.2107512727379799,
                    0.28758834674954414,
                    0.15844067186117172,
                    0.15052589401602745,
                    0.14786330983042717,
                    0.1483595408499241,
                    0.14761295169591904,
                    0.148051917552948,
                    0.15036337450146675,
                    0.15597660094499588,
                    0.15763574466109276,
                    0.17207906767725945,
                    0.17377248033881187,
                    0.1551077887415886,
                    0.15144430845975876,
                    0.15393829718232155,
                    0.15750518068671227,
                    0.16416142135858536,
                    0.16136294975876808,
                    0.16649267449975014,
                    0.31490200385451317,
                    0.2826903760433197,
                    0.16906822100281715,
                    0.14847518131136894,
                    0.19953395053744316,
                    0.18416323140263557,
                    0.15209738910198212,
                    0.15568198263645172,
                    0.27935130149126053,
                    0.1667834259569645,
                    0.2530501186847687,
                    0.18106288462877274,
                    0.1530996412038803,
                    0.2775697261095047,
                    0.19319012388586998,
                    0.15242192894220352,
                    0.3225148431956768,
                    0.16148624196648598,
                    0.3304699994623661,
                    0.16135315969586372,
                    0.15226125344634056,
                    0.15467924252152443,
                    0.18589209020137787,
                    0.17088539898395538,
                    0.3860659673810005,
                    0.22311565652489662,
                    0.21387384086847305,
                    0.1924678459763527,
                    0.16477536410093307,
                    0.1643211916089058,
                    0.3421355411410332,
                    0.16146600618958473,
                    0.3718172386288643,
                    0.18753405660390854,
                    0.15255767107009888,
                    0.15613503381609917,
                    0.15569071844220161,
                    0.18399671092629433,
                    0.183570709079504,
                    0.2789601869881153,
                    0.1653294414281845,
                    0.1859029419720173,
                    0.16990133747458458,
                    0.17148002982139587,
                    0.3150439225137234,
                    0.18125254288315773,
                    0.15679020434617996,
                    0.15106311812996864,
                    0.14785011112689972,
                    0.14653801545500755,
                    0.14618313685059547,
                    0.14944056794047356,
                    0.34435415267944336,
                    0.1981407105922699,
                    0.15930432081222534,
                    0.1584480218589306,
                    0.15400691330432892,
                    0.1878376193344593,
                    0.16417282819747925,
                    0.15464921668171883,
                    0.15918367728590965,
                    0.1825840026140213,
                    0.16766951233148575,
                    0.1551675833761692,
                    0.1610039658844471,
                    0.15935760363936424,
                    0.15604324266314507,
                    0.155699722468853,
                    0.1552584208548069,
                    0.16058748215436935,
                    0.15429501608014107,
                    0.15965940058231354,
                    0.15671104565262794,
                    0.16993919759988785,
                    0.25908438116312027,
                    0.15675005689263344,
                    0.3461707681417465,
                    0.16702311486005783,
                    0.16865606978535652,
                    0.16130151972174644,
                    0.16315693780779839,
                    0.15860896557569504,
                    0.15859384089708328,
                    0.24710458889603615,
                    0.184930220246315,
                    0.15271210297942162,
                    0.35912545397877693,
                    0.19241072982549667,
                    0.15738612040877342,
                    0.15803262591362,
                    0.1639743708074093,
                    0.23577681183815002,
                    0.1849268600344658,
                    0.14777686819434166
                ],
                "count": 310,
                "total": 58.63794834539294,
                "mean": 0.18915467208191272,
                "p50": 0.1613580547273159,
                "p90": 0.2795095726847649,
                "p95": 0.31915292888879787,
                "p99": 0.3852414566650989,
                "stdev": 0.05783868153672995,
                "stdev_": 30.577453308519452
            },
            "throughput": {
                "unit": "tokens/s",
                "value": 10.573357654808058
            },
            "energy": null,
            "efficiency": null
        }
    }
}