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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
{
    "config": {
        "name": "bert-base-uncased-feature-extraction-onnxruntime-2024-09-25-14-34-58",
        "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": false,
            "numactl_kwargs": "",
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " AMD EPYC 7R13 Processor",
            "cpu_count": 64,
            "cpu_ram_mb": 529717.02272,
            "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
        }
    },
    "report": {
        "load": {
            "memory": null,
            "latency": {
                "unit": "s",
                "count": 1,
                "total": 4.927622627466917,
                "mean": 4.927622627466917,
                "stdev": 0.0,
                "p50": 4.927622627466917,
                "p90": 4.927622627466917,
                "p95": 4.927622627466917,
                "p99": 4.927622627466917,
                "values": [
                    4.927622627466917
                ]
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": null,
            "latency": {
                "unit": "s",
                "count": 279,
                "total": 9.99781397730112,
                "mean": 0.03583445870000402,
                "stdev": 0.026647840102671037,
                "p50": 0.016272258013486862,
                "p90": 0.07232594266533851,
                "p95": 0.07314416393637657,
                "p99": 0.0759592950344085,
                "values": [
                    0.015267223119735718,
                    0.07031029835343361,
                    0.015943042933940887,
                    0.016013160347938538,
                    0.07231979072093964,
                    0.01625673472881317,
                    0.015876661986112595,
                    0.06785701960325241,
                    0.01665303483605385,
                    0.015615276992321014,
                    0.06524604558944702,
                    0.015659388154745102,
                    0.01535656675696373,
                    0.07167525961995125,
                    0.015237156301736832,
                    0.015079248696565628,
                    0.06490955874323845,
                    0.015215624123811722,
                    0.015227116644382477,
                    0.07161383703351021,
                    0.015212275087833405,
                    0.015114616602659225,
                    0.0718662329018116,
                    0.015453726053237915,
                    0.01517413929104805,
                    0.07187613099813461,
                    0.015580575913190842,
                    0.015165489166975021,
                    0.07201084867119789,
                    0.015126008540391922,
                    0.015055354684591293,
                    0.06834441795945168,
                    0.015245426446199417,
                    0.01507161557674408,
                    0.07152139022946358,
                    0.015131548047065735,
                    0.07143241167068481,
                    0.015340052545070648,
                    0.015093956142663956,
                    0.015491310507059097,
                    0.06442029401659966,
                    0.015194647014141083,
                    0.015065155923366547,
                    0.07192045077681541,
                    0.015233475714921951,
                    0.01505613699555397,
                    0.07194860279560089,
                    0.014805059880018234,
                    0.015055343508720398,
                    0.06763655692338943,
                    0.015201814472675323,
                    0.014878496527671814,
                    0.0714874379336834,
                    0.014818567782640457,
                    0.07103768363595009,
                    0.015285730361938477,
                    0.01497827097773552,
                    0.07166045904159546,
                    0.015175353735685349,
                    0.01516706496477127,
                    0.0719870813190937,
                    0.01546471193432808,
                    0.01622125133872032,
                    0.07156927138566971,
                    0.016498107463121414,
                    0.016118157655000687,
                    0.07421120256185532,
                    0.017284054309129715,
                    0.07545623555779457,
                    0.01861472800374031,
                    0.016272258013486862,
                    0.07298008352518082,
                    0.015499260276556015,
                    0.07152457907795906,
                    0.01923571154475212,
                    0.017087534070014954,
                    0.07169245928525925,
                    0.01858525723218918,
                    0.016063332557678223,
                    0.06558842957019806,
                    0.01899387314915657,
                    0.07266667857766151,
                    0.017013337463140488,
                    0.015632566064596176,
                    0.06877948343753815,
                    0.015819057822227478,
                    0.01565001904964447,
                    0.07290505990386009,
                    0.018732935190200806,
                    0.015614766627550125,
                    0.07042137905955315,
                    0.017444122582674026,
                    0.016560692340135574,
                    0.0719652771949768,
                    0.01636892929673195,
                    0.0718412920832634,
                    0.016534991562366486,
                    0.0155915766954422,
                    0.07236231863498688,
                    0.015585236251354218,
                    0.015277668833732605,
                    0.07457693666219711,
                    0.015560202300548553,
                    0.07189901173114777,
                    0.017084669321775436,
                    0.015549205243587494,
                    0.07158081233501434,
                    0.01615326851606369,
                    0.01538870856165886,
                    0.06849311664700508,
                    0.01839209347963333,
                    0.015582364052534103,
                    0.06861831247806549,
                    0.01678679883480072,
                    0.0723913423717022,
                    0.016659747809171677,
                    0.017697609961032867,
                    0.07766503095626831,
                    0.017998453229665756,
                    0.06819149106740952,
                    0.018564444035291672,
                    0.016102515161037445,
                    0.07271253690123558,
                    0.01607741415500641,
                    0.015691392123699188,
                    0.07204964756965637,
                    0.016086123883724213,
                    0.015537962317466736,
                    0.06896629929542542,
                    0.015782445669174194,
                    0.015389405190944672,
                    0.072260782122612,
                    0.01956235244870186,
                    0.07220911979675293,
                    0.01598445698618889,
                    0.015353910624980927,
                    0.07280290499329567,
                    0.01564650982618332,
                    0.015387274324893951,
                    0.08207566663622856,
                    0.016711171716451645,
                    0.07763008773326874,
                    0.01581893488764763,
                    0.07235556095838547,
                    0.015948336571455002,
                    0.015672139823436737,
                    0.07173596322536469,
                    0.015681922435760498,
                    0.015207003802061081,
                    0.07317487522959709,
                    0.016600031405687332,
                    0.0722569115459919,
                    0.01626855507493019,
                    0.015662960708141327,
                    0.07210976257920265,
                    0.01701667532324791,
                    0.015528392046689987,
                    0.0754474475979805,
                    0.0154789499938488,
                    0.07193610444664955,
                    0.016204621642827988,
                    0.016108017414808273,
                    0.07235055044293404,
                    0.01756606251001358,
                    0.015743356198072433,
                    0.07350488752126694,
                    0.016036171466112137,
                    0.07202757894992828,
                    0.018912065774202347,
                    0.01588999107480049,
                    0.06866568699479103,
                    0.01625373587012291,
                    0.016159579157829285,
                    0.07213379442691803,
                    0.0170583613216877,
                    0.015269707888364792,
                    0.07423746585845947,
                    0.01624099537730217,
                    0.075417410582304,
                    0.01692274585366249,
                    0.015567973256111145,
                    0.06870459020137787,
                    0.015706419944763184,
                    0.015508636832237244,
                    0.07194199413061142,
                    0.015494264662265778,
                    0.07166628912091255,
                    0.016355976462364197,
                    0.015513621270656586,
                    0.07181019708514214,
                    0.01594386249780655,
                    0.01656452938914299,
                    0.0687379501760006,
                    0.015458807349205017,
                    0.015199191868305206,
                    0.06867272779345512,
                    0.01572694256901741,
                    0.015478827059268951,
                    0.072805255651474,
                    0.016045603901147842,
                    0.015454467386007309,
                    0.06876774877309799,
                    0.015773296356201172,
                    0.01516430452466011,
                    0.07260160148143768,
                    0.015531353652477264,
                    0.07548804581165314,
                    0.01678241416811943,
                    0.015527162700891495,
                    0.0705745778977871,
                    0.0156966932117939,
                    0.015292048454284668,
                    0.0683240070939064,
                    0.015935547649860382,
                    0.01540837436914444,
                    0.06524369865655899,
                    0.015854932367801666,
                    0.015216879546642303,
                    0.0723680816590786,
                    0.01580917090177536,
                    0.016753442585468292,
                    0.07051288336515427,
                    0.016286928206682205,
                    0.015509981662034988,
                    0.06874433159828186,
                    0.017277713865041733,
                    0.01563373953104019,
                    0.0721149705350399,
                    0.015977658331394196,
                    0.07174459099769592,
                    0.015483211725950241,
                    0.015884947031736374,
                    0.07200992852449417,
                    0.01545114815235138,
                    0.015192195773124695,
                    0.07167655974626541,
                    0.015321329236030579,
                    0.0149574875831604,
                    0.07208732888102531,
                    0.015381671488285065,
                    0.015072505921125412,
                    0.07275418937206268,
                    0.015664059668779373,
                    0.07151388004422188,
                    0.015376225113868713,
                    0.015162013471126556,
                    0.07162555679678917,
                    0.017066650092601776,
                    0.015558693557977676,
                    0.06542052328586578,
                    0.01625576615333557,
                    0.015027724206447601,
                    0.07218743860721588,
                    0.01566687971353531,
                    0.015030834823846817,
                    0.07172084972262383,
                    0.015274908393621445,
                    0.014916099607944489,
                    0.07186908274888992,
                    0.015600085258483887,
                    0.01495509222149849,
                    0.06527144461870193,
                    0.01604166254401207,
                    0.015628505498170853,
                    0.07104003429412842,
                    0.015729203820228577,
                    0.01527702808380127,
                    0.07334383577108383,
                    0.01625150442123413,
                    0.019719284027814865,
                    0.07337649539113045,
                    0.01592976599931717,
                    0.07314075157046318,
                    0.016482915729284286,
                    0.07163584604859352,
                    0.017804089933633804,
                    0.016224931925535202,
                    0.0705018863081932,
                    0.016137558966875076
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 55.81220067375472
            },
            "energy": null,
            "efficiency": null
        }
    }
}