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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
{
    "config": {
        "name": "bert-base-uncased-feature-extraction-onnxruntime-2024-09-25-13-32-46",
        "backend": {
            "name": "onnxruntime",
            "version": "ort:1.19.2",
            "_target_": "optimum_benchmark.backends.onnxruntime.backend.ORTBackend",
            "task": "feature-extraction",
            "library": "transformers",
            "model_type": "bert",
            "model": "bert-base-uncased",
            "processor": "bert-base-uncased",
            "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,
            "torch_dtype": "float32",
            "provider": "CPUExecutionProvider",
            "provider_options": {},
            "use_io_binding": true,
            "session_options": {},
            "auto_optimization": null,
            "auto_optimization_config": {},
            "auto_quantization": null,
            "auto_quantization_config": {},
            "auto_calibration": null,
            "auto_calibration_config": {},
            "optimization": false,
            "optimization_config": {},
            "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": false,
            "latency": true,
            "energy": false,
            "forward_kwargs": {},
            "generate_kwargs": {},
            "call_kwargs": {}
        },
        "launcher": {
            "name": "process",
            "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
            "device_isolation": false,
            "device_isolation_action": null,
            "numactl": true,
            "numactl_kwargs": "",
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " 12th Gen Intel(R) Core(TM) i9-12900H",
            "cpu_count": 20,
            "cpu_ram_mb": 8162.504704,
            "system": "Linux",
            "machine": "x86_64",
            "platform": "Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35",
            "processor": "x86_64",
            "python_version": "3.9.16",
            "gpu": [
                "NVIDIA GeForce RTX 3070 Ti Laptop GPU"
            ],
            "gpu_count": 1,
            "gpu_vram_mb": 8589934592,
            "optimum_benchmark_version": "0.5.0",
            "optimum_benchmark_commit": null,
            "transformers_version": "4.39.3",
            "transformers_commit": null,
            "accelerate_version": "0.22.0",
            "accelerate_commit": null,
            "diffusers_version": "0.30.3",
            "diffusers_commit": null,
            "optimum_version": "1.22.0",
            "optimum_commit": null,
            "timm_version": null,
            "timm_commit": null,
            "peft_version": "0.5.0",
            "peft_commit": null
        }
    },
    "report": {
        "load": {
            "memory": null,
            "latency": {
                "unit": "s",
                "count": 1,
                "total": 16.63097610800105,
                "mean": 16.63097610800105,
                "stdev": 0.0,
                "p50": 16.63097610800105,
                "p90": 16.63097610800105,
                "p95": 16.63097610800105,
                "p99": 16.63097610800105,
                "values": [
                    16.63097610800105
                ]
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": null,
            "latency": {
                "unit": "s",
                "count": 367,
                "total": 9.993925927021337,
                "mean": 0.027231405795698466,
                "stdev": 0.00443866574064995,
                "p50": 0.02627103000122588,
                "p90": 0.030247194399271395,
                "p95": 0.03327310739878157,
                "p99": 0.0428825336202135,
                "values": [
                    0.027980766997643514,
                    0.030331571000715485,
                    0.026166147999902023,
                    0.027227343001868576,
                    0.02603892899787752,
                    0.024683168001502054,
                    0.027704724998329766,
                    0.027578723998885835,
                    0.026915458001894876,
                    0.02857412400044268,
                    0.02588939800261869,
                    0.027516920999914873,
                    0.026977628000167897,
                    0.027347138999175513,
                    0.0266743710017181,
                    0.029887067001254763,
                    0.027215916001296137,
                    0.02853270900232019,
                    0.027650047002680367,
                    0.02885104500091984,
                    0.02721850799935055,
                    0.02769606299989391,
                    0.02969877999930759,
                    0.024714933999348432,
                    0.024909692001529038,
                    0.024288582000735914,
                    0.02521776499997941,
                    0.025997095999628073,
                    0.025968288999138167,
                    0.025878860000375425,
                    0.024043458000960527,
                    0.025062118998903316,
                    0.025609424999856856,
                    0.024505549001332838,
                    0.02612931700059562,
                    0.025981130998843582,
                    0.024333097000635462,
                    0.025862586000584997,
                    0.02403187900199555,
                    0.02536616799989133,
                    0.025816990997554967,
                    0.02629584900205373,
                    0.02503441000226303,
                    0.02601713500189362,
                    0.024128362998453667,
                    0.02519621899773483,
                    0.02610970699970494,
                    0.0245287340003415,
                    0.02440193700022064,
                    0.025826982000580756,
                    0.024601876000815537,
                    0.02398544899915578,
                    0.026487087001441978,
                    0.02566883500185213,
                    0.02548540099815,
                    0.02658836900081951,
                    0.025612314999307273,
                    0.02804455300065456,
                    0.027079555999080185,
                    0.024837314998876536,
                    0.0259438949979085,
                    0.025435153998841997,
                    0.02514088700263528,
                    0.025774882997211535,
                    0.025476980001258198,
                    0.02626891999898362,
                    0.025433203001739457,
                    0.025132033002591925,
                    0.025465266000537667,
                    0.024591526998847257,
                    0.02482319399859989,
                    0.02397981499962043,
                    0.023909652001748327,
                    0.024858280001353705,
                    0.023829650999687146,
                    0.024569177003286313,
                    0.02344333499786444,
                    0.02564670600258978,
                    0.023882434001279762,
                    0.02319008899939945,
                    0.02315196599738556,
                    0.02556917599940789,
                    0.024336409001989523,
                    0.026335367001593113,
                    0.02504821299953619,
                    0.024600467000709614,
                    0.02496120399882784,
                    0.024869721997674787,
                    0.024964720996649703,
                    0.025660300998424646,
                    0.026756917002785485,
                    0.026786569000250893,
                    0.027829875998577336,
                    0.025706794000143418,
                    0.024672112998814555,
                    0.02530747999844607,
                    0.02590886400139425,
                    0.024874624999938533,
                    0.023746664002828766,
                    0.023725778999505565,
                    0.025406616001419025,
                    0.024570923000283074,
                    0.024530624999897555,
                    0.02504621399930329,
                    0.029518708000978222,
                    0.02371091900204192,
                    0.023325034002482425,
                    0.02331857999888598,
                    0.023897827999462606,
                    0.025422954000532627,
                    0.025559216999681666,
                    0.02465129399934085,
                    0.026415929998620413,
                    0.02659169800244854,
                    0.025926630998583278,
                    0.026151877998927375,
                    0.025708137000037823,
                    0.024755032998655224,
                    0.025529595000989502,
                    0.02421339799911948,
                    0.022425294999266043,
                    0.022875066999404225,
                    0.024278026998217683,
                    0.02503190499919583,
                    0.024956299999757903,
                    0.028717558001517318,
                    0.025916480000887532,
                    0.027688591999321943,
                    0.025500308998744003,
                    0.023425769999448676,
                    0.027342462999513373,
                    0.023983271999895805,
                    0.02470169799926225,
                    0.02548589399884804,
                    0.026256248998834053,
                    0.02478334899933543,
                    0.024173333000362618,
                    0.024688096000318183,
                    0.026579575998766813,
                    0.02432196500012651,
                    0.027079169998614816,
                    0.02520541699777823,
                    0.02396186500118347,
                    0.025936373000149615,
                    0.029339889999391744,
                    0.028257648002181668,
                    0.026702828999987105,
                    0.025058549999812385,
                    0.025778565999644343,
                    0.027270590999251,
                    0.02626388600037899,
                    0.022131263998744544,
                    0.02509019600256579,
                    0.025941228999727173,
                    0.02657229800024652,
                    0.026670938001188915,
                    0.027465777999168495,
                    0.02532844499728526,
                    0.025344254001538502,
                    0.02589197799898102,
                    0.024187635000998853,
                    0.02379931199902785,
                    0.02493546199912089,
                    0.026939266001136275,
                    0.026804252000147244,
                    0.02488252399780322,
                    0.02494845500041265,
                    0.027974669999821344,
                    0.02876484099761001,
                    0.02752713000154472,
                    0.07441501300127129,
                    0.042734449001727626,
                    0.03213895500084618,
                    0.033754654999938793,
                    0.02967320199968526,
                    0.02883254699918325,
                    0.029291937997186324,
                    0.026920113999949535,
                    0.02837725100107491,
                    0.028488833999290364,
                    0.02964621499995701,
                    0.027595050996751525,
                    0.029354328999033896,
                    0.03182854899932863,
                    0.031812838999030646,
                    0.03531134500008193,
                    0.02861273400048958,
                    0.02627103000122588,
                    0.025847944998531602,
                    0.026339747000747593,
                    0.02466907199777779,
                    0.02488912899934803,
                    0.024503553999238648,
                    0.025053956000192557,
                    0.025671442999737337,
                    0.027029395001591183,
                    0.026370876999862958,
                    0.031083584002772113,
                    0.032389145002525765,
                    0.04717493000134709,
                    0.029012637998675928,
                    0.04122748000008869,
                    0.02638987699901918,
                    0.02824354600306833,
                    0.0279056559993478,
                    0.026993445000698557,
                    0.03242174699698808,
                    0.027635238999209832,
                    0.02741425600106595,
                    0.02762934600104927,
                    0.026655865000066115,
                    0.02550291700026719,
                    0.02721321300123236,
                    0.027314385999488877,
                    0.026400180999189615,
                    0.027407860001403606,
                    0.02436053200290189,
                    0.02470248399913544,
                    0.02586607899866067,
                    0.026412838000396732,
                    0.02643875499779824,
                    0.02675580700088176,
                    0.026900466000370216,
                    0.02728777800075477,
                    0.029890728001191746,
                    0.028754375998687465,
                    0.027452891001303215,
                    0.02615307800078881,
                    0.026220167997962562,
                    0.026717468001152156,
                    0.02733636500124703,
                    0.027712608000001637,
                    0.027666297999530798,
                    0.02713818399934098,
                    0.027148124001541873,
                    0.027605014998698607,
                    0.028541662999487016,
                    0.02726734199677594,
                    0.026954376000503544,
                    0.028196115999890026,
                    0.027434642001026077,
                    0.030914491002477007,
                    0.028578033998201136,
                    0.030626938001660164,
                    0.030313534000015352,
                    0.030675780999445124,
                    0.03494418500122265,
                    0.034522780999395764,
                    0.03311210599713377,
                    0.03139099799955147,
                    0.034963787999004126,
                    0.03776172700236202,
                    0.031715523000457324,
                    0.02903381000214722,
                    0.02916629899846157,
                    0.029925103001005482,
                    0.03976905200033798,
                    0.04240565100189997,
                    0.04316999199727434,
                    0.033943285001441836,
                    0.03387924200069392,
                    0.02813175400297041,
                    0.03500083499966422,
                    0.04132753800149658,
                    0.06165187800070271,
                    0.03007745500144665,
                    0.02963831300075981,
                    0.028956895002920646,
                    0.027571047998208087,
                    0.025705423002364114,
                    0.025115418000495993,
                    0.028350828997645294,
                    0.02845376900222618,
                    0.028219265001098393,
                    0.027286816999549046,
                    0.027333772002748447,
                    0.02832801600015955,
                    0.028730826001265086,
                    0.02647689200239256,
                    0.026964865002810257,
                    0.024208511000324506,
                    0.026663003001885954,
                    0.025365220000821864,
                    0.028246314002899453,
                    0.029543810996983666,
                    0.025458952997723827,
                    0.026732058999186847,
                    0.025940801999240648,
                    0.026791659998707473,
                    0.02522850499735796,
                    0.024238432000856847,
                    0.025943668002582854,
                    0.026843815001484472,
                    0.026008818000264,
                    0.025569930996425683,
                    0.025302280999312643,
                    0.02565455900185043,
                    0.02490107600169722,
                    0.025086262001423165,
                    0.027558493002288742,
                    0.02712606500062975,
                    0.02691537400096422,
                    0.025141448000795208,
                    0.02610458699928131,
                    0.025880368000798626,
                    0.02744526400056202,
                    0.027702123999915784,
                    0.02589236999847344,
                    0.026907105999271153,
                    0.027270184000371955,
                    0.026275932999851648,
                    0.02552285599813331,
                    0.028712265000649495,
                    0.027451547000964638,
                    0.025873442998999963,
                    0.025635405003413325,
                    0.026929272997222142,
                    0.02730183500170824,
                    0.030995880002592457,
                    0.029879352001444204,
                    0.032254998997814255,
                    0.03156212999965646,
                    0.03239427199878264,
                    0.029544552002334967,
                    0.03334210799948778,
                    0.030044401999475667,
                    0.02621613500014064,
                    0.02757327699873713,
                    0.026489757998206187,
                    0.02792249900085153,
                    0.028999371999816503,
                    0.026444515999173746,
                    0.02555695200135233,
                    0.026436128999193897,
                    0.025522019001073204,
                    0.026786368998727994,
                    0.02487510100036161,
                    0.02579662400239613,
                    0.025723718001245288,
                    0.026499979001528118,
                    0.02447600099912961,
                    0.026983235002262518,
                    0.026419010002427967,
                    0.024864201001037145,
                    0.026109956997970585,
                    0.02421187599975383,
                    0.02419578799890587,
                    0.02437311299945577,
                    0.02455327200004831,
                    0.02536397699805093,
                    0.024773755998467095,
                    0.025584870996681275,
                    0.024018995001824806,
                    0.024679480997292558,
                    0.02491790899875923,
                    0.02400930099975085,
                    0.024486134003382176,
                    0.025380702998518245,
                    0.0242855119977321,
                    0.02309446299841511,
                    0.023672882998653222,
                    0.03020296799877542,
                    0.028767821997462306,
                    0.02578060199812171,
                    0.025714088998938678,
                    0.02687611500005005,
                    0.026349533000029624
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 73.44461079258437
            },
            "energy": null,
            "efficiency": null
        }
    }
}