File size: 15,326 Bytes
0d00edd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "config": {
        "name": "bert-base-uncased-feature-extraction-pytorch-2024-09-25-13-04-33",
        "backend": {
            "name": "pytorch",
            "version": "2.3.0",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "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,
            "device_map": null,
            "torch_dtype": "float32",
            "eval_mode": true,
            "to_bettertransformer": false,
            "low_cpu_mem_usage": null,
            "attn_implementation": null,
            "cache_implementation": null,
            "autocast_enabled": false,
            "autocast_dtype": null,
            "torch_compile": false,
            "torch_compile_target": "forward",
            "torch_compile_config": {},
            "quantization_scheme": null,
            "quantization_config": {},
            "deepspeed_inference": false,
            "deepspeed_inference_config": {},
            "peft_type": null,
            "peft_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": " 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": 0.2550865530010924,
                "mean": 0.2550865530010924,
                "stdev": 0.0,
                "p50": 0.2550865530010924,
                "p90": 0.2550865530010924,
                "p95": 0.2550865530010924,
                "p99": 0.2550865530010924,
                "values": [
                    0.2550865530010924
                ]
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": null,
            "latency": {
                "unit": "s",
                "count": 254,
                "total": 10.008746449990213,
                "mean": 0.039404513582638634,
                "stdev": 0.004478142304660351,
                "p50": 0.03869145050066436,
                "p90": 0.044683921300202205,
                "p95": 0.04825754940029583,
                "p99": 0.05319280279012673,
                "values": [
                    0.0402118279998831,
                    0.03527935999954934,
                    0.03570751599909272,
                    0.03619531500044104,
                    0.0387030110014166,
                    0.03324288899966632,
                    0.03666142300062347,
                    0.038861330000145244,
                    0.05095169399828592,
                    0.0402037179992476,
                    0.04183539199948427,
                    0.040856327999790665,
                    0.049345135001203744,
                    0.046046819999901345,
                    0.03530330600005982,
                    0.03471746600007464,
                    0.03742899100143404,
                    0.04088656199928664,
                    0.03830752299836604,
                    0.0387852700005169,
                    0.04024198800107115,
                    0.04040686999906029,
                    0.04469950900056574,
                    0.033108861000073375,
                    0.0350081640008284,
                    0.04046638699946925,
                    0.03819377999934659,
                    0.03292969799986167,
                    0.03566530299940496,
                    0.03613067900005262,
                    0.03832405599860067,
                    0.04497880999952031,
                    0.0457248160000745,
                    0.04138853400036169,
                    0.03907005200017011,
                    0.035610689999884926,
                    0.04145478800091951,
                    0.043890548000490526,
                    0.048468242999661015,
                    0.035653860000820714,
                    0.0406479949997447,
                    0.03613708599914389,
                    0.03693745199961995,
                    0.035757483999987016,
                    0.03641146299924003,
                    0.047031600999616785,
                    0.03996953299974848,
                    0.04134270199938328,
                    0.050603354000486434,
                    0.03526307399988582,
                    0.03421472499940137,
                    0.03651596800045809,
                    0.03895723499954329,
                    0.040584860000308254,
                    0.038150649999806774,
                    0.0400256660013838,
                    0.038982015999863506,
                    0.0379418499996973,
                    0.041897974000676186,
                    0.03735574699931021,
                    0.03758864599876688,
                    0.0456706770000892,
                    0.04307087599954684,
                    0.041952318000767264,
                    0.0380747520011937,
                    0.04124458500155015,
                    0.044441073998314096,
                    0.042021788000056404,
                    0.0424727610006812,
                    0.03543153099963092,
                    0.03771198799950071,
                    0.04504214999906253,
                    0.04283359500004735,
                    0.04265413600114698,
                    0.043909852000069804,
                    0.03983653399882314,
                    0.03642252799909329,
                    0.035344387000805,
                    0.05248655400100688,
                    0.06599092299984477,
                    0.05777068400129792,
                    0.0488174700003583,
                    0.04246015299941064,
                    0.036629866999646765,
                    0.042496131000007153,
                    0.03954103599971859,
                    0.04038128100000904,
                    0.04100973200002045,
                    0.03442025000003923,
                    0.036458033000599244,
                    0.037311609001335455,
                    0.03866696099976252,
                    0.042623428998922464,
                    0.04260554400025285,
                    0.03625572199962335,
                    0.03423198900054558,
                    0.037497340999834705,
                    0.050563737999254954,
                    0.05398921099913423,
                    0.041458155999862356,
                    0.03424313699906634,
                    0.03826354699958756,
                    0.039608027998838224,
                    0.03716803399947821,
                    0.04078679300073418,
                    0.04158701699998346,
                    0.04266724300032365,
                    0.038325823999912245,
                    0.040708012000322924,
                    0.04288960000121733,
                    0.044965502000195556,
                    0.03961700999934692,
                    0.0376899279999634,
                    0.039853554999353946,
                    0.03750773899992055,
                    0.03744278699923598,
                    0.03683437800100364,
                    0.03915847600001143,
                    0.03820378999989771,
                    0.042102777000764036,
                    0.04049825399852125,
                    0.04168126399963512,
                    0.043217971000558464,
                    0.04008809500010102,
                    0.03802426500078582,
                    0.034786147998602246,
                    0.036753022999619134,
                    0.039313721001235535,
                    0.04619167300006666,
                    0.044541515000673826,
                    0.03567232699970191,
                    0.03589697600000363,
                    0.03923941499851935,
                    0.03684493199943972,
                    0.039336227000603685,
                    0.03606613699957961,
                    0.0328232490010123,
                    0.03760082299959322,
                    0.03544992699971772,
                    0.03541239700098231,
                    0.036794716001168126,
                    0.03882804000022588,
                    0.03540256899941596,
                    0.0365588780005055,
                    0.0394530819994543,
                    0.04034859700004745,
                    0.04131761899952835,
                    0.041799298000114504,
                    0.03878439200161665,
                    0.03847161299927393,
                    0.04814409900063765,
                    0.0348639469993941,
                    0.040796209999825805,
                    0.04064444999858097,
                    0.03236248800021713,
                    0.03474895399995148,
                    0.03623502699883829,
                    0.034226154999487335,
                    0.03781554499983031,
                    0.03653918700001668,
                    0.0336393939996924,
                    0.034090315999492304,
                    0.03531135099910898,
                    0.037657089000276756,
                    0.03968973100018047,
                    0.038306290000036824,
                    0.03829767599927436,
                    0.03782723500080465,
                    0.04718008000054397,
                    0.04298605099938868,
                    0.04970680099904712,
                    0.04866774800029816,
                    0.0439667009995901,
                    0.039747984999848995,
                    0.039387909999277326,
                    0.041479397001239704,
                    0.045425715999954264,
                    0.03767328400135739,
                    0.03560927100079425,
                    0.0335832480013778,
                    0.033662197000012384,
                    0.03662912500112725,
                    0.040177988999857916,
                    0.04165895799997088,
                    0.04950384699986898,
                    0.045560586999272346,
                    0.04089801600093779,
                    0.035643760000311886,
                    0.0384547029989335,
                    0.03552974599915615,
                    0.03723546000037459,
                    0.03634688799866126,
                    0.03361224299987953,
                    0.03490235100071004,
                    0.03571293200002401,
                    0.03279348899923207,
                    0.03779133700118109,
                    0.04005634800159896,
                    0.04028341800039925,
                    0.03890465699987544,
                    0.0388438039990433,
                    0.040126435000274796,
                    0.03867988999991212,
                    0.036115429998972104,
                    0.0407098470004712,
                    0.04158083600123064,
                    0.038309777999529615,
                    0.03857253100068192,
                    0.039072469999155146,
                    0.03753130400036753,
                    0.034756180000840686,
                    0.040075643999443855,
                    0.04106340399994224,
                    0.03634339999916847,
                    0.04154522499993618,
                    0.042878817999735475,
                    0.0438542169995344,
                    0.03492461699897831,
                    0.033559433999471366,
                    0.03319707399896288,
                    0.036112664000029326,
                    0.038281102999462746,
                    0.04021158900104638,
                    0.034626681999725406,
                    0.04177581800104235,
                    0.04464754999935394,
                    0.03698474699922372,
                    0.03443250300006184,
                    0.03747176600154489,
                    0.04138079999938782,
                    0.034621758000866976,
                    0.03794251399995119,
                    0.04205751799963764,
                    0.041095769998719334,
                    0.03656620200126781,
                    0.039130364999437006,
                    0.038201927998670726,
                    0.03377858599924366,
                    0.03475797999999486,
                    0.033510335999380914,
                    0.033136377000118955,
                    0.037780530999953044,
                    0.04183788100090169,
                    0.037045576000309666,
                    0.040844552000635304,
                    0.03661916400051268,
                    0.037399886999992304,
                    0.03506114000083471,
                    0.03682776899950113,
                    0.044457539999712026,
                    0.03630240900019999,
                    0.04051156999958039,
                    0.040632631000335095,
                    0.03710825899906922
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 50.75560686228561
            },
            "energy": null,
            "efficiency": null
        }
    }
}