IlyasMoutawwakil HF staff commited on
Commit
ce1a900
·
verified ·
1 Parent(s): d3c2a8b

Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub

Browse files
cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json ADDED
@@ -0,0 +1,446 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.1+rocm5.7",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "fill-mask",
9
+ "library": "transformers",
10
+ "model_type": "bert",
11
+ "model": "hf-internal-testing/tiny-random-BertModel",
12
+ "processor": "hf-internal-testing/tiny-random-BertModel",
13
+ "device": "cuda",
14
+ "device_ids": "5",
15
+ "seed": 42,
16
+ "inter_op_num_threads": null,
17
+ "intra_op_num_threads": null,
18
+ "model_kwargs": {},
19
+ "processor_kwargs": {},
20
+ "no_weights": true,
21
+ "device_map": null,
22
+ "torch_dtype": null,
23
+ "eval_mode": true,
24
+ "to_bettertransformer": false,
25
+ "low_cpu_mem_usage": null,
26
+ "attn_implementation": null,
27
+ "cache_implementation": null,
28
+ "autocast_enabled": false,
29
+ "autocast_dtype": null,
30
+ "torch_compile": false,
31
+ "torch_compile_target": "forward",
32
+ "torch_compile_config": {},
33
+ "quantization_scheme": null,
34
+ "quantization_config": {},
35
+ "deepspeed_inference": false,
36
+ "deepspeed_inference_config": {},
37
+ "peft_type": null,
38
+ "peft_config": {}
39
+ },
40
+ "scenario": {
41
+ "name": "inference",
42
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
43
+ "iterations": 1,
44
+ "duration": 1,
45
+ "warmup_runs": 1,
46
+ "input_shapes": {
47
+ "batch_size": 2,
48
+ "sequence_length": 16,
49
+ "num_choices": 2
50
+ },
51
+ "new_tokens": null,
52
+ "memory": true,
53
+ "latency": true,
54
+ "energy": false,
55
+ "forward_kwargs": {},
56
+ "generate_kwargs": {
57
+ "max_new_tokens": 2,
58
+ "min_new_tokens": 2
59
+ },
60
+ "call_kwargs": {
61
+ "num_inference_steps": 2
62
+ }
63
+ },
64
+ "launcher": {
65
+ "name": "process",
66
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
67
+ "device_isolation": true,
68
+ "device_isolation_action": "warn",
69
+ "numactl": false,
70
+ "numactl_kwargs": {},
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7763 64-Core Processor",
75
+ "cpu_count": 128,
76
+ "cpu_ram_mb": 1082014.490624,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
80
+ "processor": "x86_64",
81
+ "python_version": "3.10.12",
82
+ "gpu": [
83
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
84
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
85
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
86
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
87
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
88
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
89
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
90
+ "Advanced Micro Devices, Inc. [AMD/ATI]"
91
+ ],
92
+ "gpu_count": 8,
93
+ "gpu_vram_mb": 549621596160,
94
+ "optimum_benchmark_version": "0.5.0.dev0",
95
+ "optimum_benchmark_commit": null,
96
+ "transformers_version": "4.47.0",
97
+ "transformers_commit": null,
98
+ "accelerate_version": "1.2.0",
99
+ "accelerate_commit": null,
100
+ "diffusers_version": "0.31.0",
101
+ "diffusers_commit": null,
102
+ "optimum_version": null,
103
+ "optimum_commit": null,
104
+ "timm_version": "1.0.12",
105
+ "timm_commit": null,
106
+ "peft_version": "0.14.0",
107
+ "peft_commit": null
108
+ },
109
+ "print_report": true,
110
+ "log_report": true
111
+ },
112
+ "report": {
113
+ "load_model": {
114
+ "memory": {
115
+ "unit": "MB",
116
+ "max_ram": 1051.336704,
117
+ "max_global_vram": 68702.69952,
118
+ "max_process_vram": 3287.310336,
119
+ "max_reserved": 2.097152,
120
+ "max_allocated": 0.534528
121
+ },
122
+ "latency": {
123
+ "unit": "s",
124
+ "values": [
125
+ 0.07990399169921875
126
+ ],
127
+ "count": 1,
128
+ "total": 0.07990399169921875,
129
+ "mean": 0.07990399169921875,
130
+ "p50": 0.07990399169921875,
131
+ "p90": 0.07990399169921875,
132
+ "p95": 0.07990399169921875,
133
+ "p99": 0.07990399169921875,
134
+ "stdev": 0,
135
+ "stdev_": 0
136
+ },
137
+ "throughput": null,
138
+ "energy": null,
139
+ "efficiency": null
140
+ },
141
+ "forward": {
142
+ "memory": {
143
+ "unit": "MB",
144
+ "max_ram": 1175.494656,
145
+ "max_global_vram": 68702.69952,
146
+ "max_process_vram": 59981.529088,
147
+ "max_reserved": 2.097152,
148
+ "max_allocated": 0.543744
149
+ },
150
+ "latency": {
151
+ "unit": "s",
152
+ "values": [
153
+ 0.0037439699172973633,
154
+ 0.003654690980911255,
155
+ 0.003495331048965454,
156
+ 0.003726690053939819,
157
+ 0.0035642910003662108,
158
+ 0.003627969980239868,
159
+ 0.0035228519439697266,
160
+ 0.0036444509029388427,
161
+ 0.003677570104598999,
162
+ 0.0036348500251770018,
163
+ 0.00355101203918457,
164
+ 0.0036770908832550048,
165
+ 0.0035087718963623046,
166
+ 0.003520451068878174,
167
+ 0.0035697309970855714,
168
+ 0.0035457310676574707,
169
+ 0.0035465309619903563,
170
+ 0.00353357195854187,
171
+ 0.0034730920791625976,
172
+ 0.0035345311164855955,
173
+ 0.00368333101272583,
174
+ 0.0037025299072265625,
175
+ 0.003653731107711792,
176
+ 0.0036718111038208006,
177
+ 0.0036809298992156983,
178
+ 0.003657571077346802,
179
+ 0.003666691064834595,
180
+ 0.003671170949935913,
181
+ 0.003647650957107544,
182
+ 0.003667490005493164,
183
+ 0.003552931070327759,
184
+ 0.0034881319999694824,
185
+ 0.003496450901031494,
186
+ 0.003415812969207764,
187
+ 0.0034054129123687743,
188
+ 0.003299014091491699,
189
+ 0.0034606130123138426,
190
+ 0.0034114930629730224,
191
+ 0.00344621205329895,
192
+ 0.00323293399810791,
193
+ 0.0035828509330749513,
194
+ 0.003520931005477905,
195
+ 0.003478372097015381,
196
+ 0.0034431729316711426,
197
+ 0.003509891986846924,
198
+ 0.0035041320323944093,
199
+ 0.0035994908809661866,
200
+ 0.0035298919677734376,
201
+ 0.0032826929092407225,
202
+ 0.003527010917663574,
203
+ 0.0034313321113586424,
204
+ 0.003264293909072876,
205
+ 0.0035873310565948486,
206
+ 0.003513092041015625,
207
+ 0.0032471740245819092,
208
+ 0.0035290908813476562,
209
+ 0.003477411985397339,
210
+ 0.003664289951324463,
211
+ 0.003456932067871094,
212
+ 0.0036031711101531983,
213
+ 0.0034350121021270753,
214
+ 0.0035798110961914064,
215
+ 0.003522531032562256,
216
+ 0.0035974109172821045,
217
+ 0.00368333101272583,
218
+ 0.0036745309829711915,
219
+ 0.0036921310424804688,
220
+ 0.003692770004272461,
221
+ 0.0036889300346374513,
222
+ 0.0036913299560546874,
223
+ 0.0037422099113464356,
224
+ 0.0036985299587249756,
225
+ 0.003713089942932129,
226
+ 0.0036954898834228515,
227
+ 0.00368333101272583,
228
+ 0.0037039709091186523,
229
+ 0.003677251100540161,
230
+ 0.003670530080795288,
231
+ 0.003658051013946533,
232
+ 0.0036751708984375,
233
+ 0.0036705310344696046,
234
+ 0.0036574110984802246,
235
+ 0.0036550109386444094,
236
+ 0.0036599709987640383,
237
+ 0.0036705310344696046,
238
+ 0.0036567699909210204,
239
+ 0.0036466898918151853,
240
+ 0.00365516996383667,
241
+ 0.0036511709690093992,
242
+ 0.0036710109710693358,
243
+ 0.0036481308937072756,
244
+ 0.0036743710041046143,
245
+ 0.0036623709201812744,
246
+ 0.0036454110145568847,
247
+ 0.003643009901046753,
248
+ 0.003663650035858154,
249
+ 0.0036569309234619142,
250
+ 0.0036578910350799562,
251
+ 0.0036686110496520997,
252
+ 0.0036719710826873778,
253
+ 0.00367405104637146,
254
+ 0.003663650989532471,
255
+ 0.003697731018066406,
256
+ 0.0037082901000976562,
257
+ 0.0036841299533843996,
258
+ 0.0036668500900268555,
259
+ 0.003671649932861328,
260
+ 0.0036758100986480713,
261
+ 0.003660290002822876,
262
+ 0.003673569917678833,
263
+ 0.003655649900436401,
264
+ 0.0036753299236297605,
265
+ 0.003688770055770874,
266
+ 0.0036903700828552245,
267
+ 0.003676769971847534,
268
+ 0.0036770899295806886,
269
+ 0.0038831679821014404,
270
+ 0.0037148499488830564,
271
+ 0.0036889300346374513,
272
+ 0.0036950109004974365,
273
+ 0.0036362910270690916,
274
+ 0.0036716508865356446,
275
+ 0.0036694099903106688,
276
+ 0.0036822099685668947,
277
+ 0.0036703710556030274,
278
+ 0.0036860508918762206,
279
+ 0.0036698911190032957,
280
+ 0.0036868510246276854,
281
+ 0.0036828510761260985,
282
+ 0.0036735711097717286,
283
+ 0.0036606109142303467,
284
+ 0.003662691116333008,
285
+ 0.0036954910755157473,
286
+ 0.003672131061553955,
287
+ 0.0036433310508728026,
288
+ 0.003680290937423706,
289
+ 0.0036889309883117675,
290
+ 0.003707809925079346,
291
+ 0.0036938900947570802,
292
+ 0.0036762900352478025,
293
+ 0.0036678099632263183,
294
+ 0.0036519699096679687,
295
+ 0.0036818900108337403,
296
+ 0.0036743700504302977,
297
+ 0.0036830101013183595,
298
+ 0.0036550099849700928,
299
+ 0.00366717004776001,
300
+ 0.00365405011177063,
301
+ 0.003636610984802246,
302
+ 0.003665251016616821,
303
+ 0.003664130926132202,
304
+ 0.003673249959945679,
305
+ 0.0036809298992156983,
306
+ 0.0036670100688934327,
307
+ 0.0036647698879241943,
308
+ 0.0036678099632263183,
309
+ 0.003654210090637207,
310
+ 0.0036700499057769776,
311
+ 0.0036649301052093506,
312
+ 0.0036639699935913086,
313
+ 0.00369116997718811,
314
+ 0.003657249927520752,
315
+ 0.0036462109088897703,
316
+ 0.0036474909782409667,
317
+ 0.003669090986251831,
318
+ 0.003658690929412842,
319
+ 0.0036726109981536866,
320
+ 0.0036450910568237307,
321
+ 0.003684770107269287,
322
+ 0.0036783699989318846,
323
+ 0.0036708500385284424,
324
+ 0.003664129972457886,
325
+ 0.0036628499031066894,
326
+ 0.0036679699420928955,
327
+ 0.003669250011444092,
328
+ 0.003668450117111206,
329
+ 0.0036412510871887205,
330
+ 0.0036479709148406984,
331
+ 0.0036769309043884276,
332
+ 0.0036606109142303467,
333
+ 0.003658051013946533,
334
+ 0.003662851095199585,
335
+ 0.003651650905609131,
336
+ 0.0036774098873138426,
337
+ 0.0036780500411987306,
338
+ 0.0036735711097717286,
339
+ 0.0036735711097717286,
340
+ 0.003667810916900635,
341
+ 0.0036473300457000733,
342
+ 0.0036599700450897217,
343
+ 0.0036402900218963623,
344
+ 0.0036545310020446777,
345
+ 0.003632131099700928,
346
+ 0.0036718099117279052,
347
+ 0.0036862099170684812,
348
+ 0.0036590108871459963,
349
+ 0.0036718099117279052,
350
+ 0.0036666901111602783,
351
+ 0.003671329975128174,
352
+ 0.0036820499897003175,
353
+ 0.0036850900650024416,
354
+ 0.003664290904998779,
355
+ 0.0036569309234619142,
356
+ 0.0036862099170684812,
357
+ 0.0036447710990905762,
358
+ 0.003663650035858154,
359
+ 0.003643170118331909,
360
+ 0.003660130023956299,
361
+ 0.003664931058883667,
362
+ 0.00366477108001709,
363
+ 0.0036530909538269045,
364
+ 0.003657571077346802,
365
+ 0.003668131113052368,
366
+ 0.0036657299995422363,
367
+ 0.0036617300510406493,
368
+ 0.003669250011444092,
369
+ 0.003653090000152588,
370
+ 0.003656610012054443,
371
+ 0.0036598100662231445,
372
+ 0.003662691116333008,
373
+ 0.003666210889816284,
374
+ 0.003651810884475708,
375
+ 0.003659811019897461,
376
+ 0.003662689924240112,
377
+ 0.0036559700965881348,
378
+ 0.0036508500576019286,
379
+ 0.003679650068283081,
380
+ 0.003668610095977783,
381
+ 0.0036833300590515135,
382
+ 0.003659329891204834,
383
+ 0.0036487700939178466,
384
+ 0.0036438109874725342,
385
+ 0.003632131099700928,
386
+ 0.0036910099983215334,
387
+ 0.0036809310913085936,
388
+ 0.003677251100540161,
389
+ 0.003681091070175171,
390
+ 0.0036798110008239744,
391
+ 0.003684770107269287,
392
+ 0.003700769901275635,
393
+ 0.0036905300617218017,
394
+ 0.0032644529342651368,
395
+ 0.0033839728832244873,
396
+ 0.003402213096618652,
397
+ 0.003475811958312988,
398
+ 0.0033636529445648196,
399
+ 0.0036052510738372803,
400
+ 0.003259494066238403,
401
+ 0.0033854129314422605,
402
+ 0.003319653034210205,
403
+ 0.0032404539585113527,
404
+ 0.0033239729404449464,
405
+ 0.003528611898422241,
406
+ 0.003274852991104126,
407
+ 0.003439811944961548,
408
+ 0.0034015719890594484,
409
+ 0.003357093095779419,
410
+ 0.0035393309593200685,
411
+ 0.003337733030319214,
412
+ 0.0034865310192108154,
413
+ 0.0035452520847320556,
414
+ 0.003301573038101196,
415
+ 0.003397892951965332,
416
+ 0.003427333116531372,
417
+ 0.003412933111190796,
418
+ 0.0034631729125976563,
419
+ 0.003564450979232788,
420
+ 0.0033191730976104734,
421
+ 0.0035052518844604494,
422
+ 0.003338052988052368,
423
+ 0.003550050973892212,
424
+ 0.0033599729537963866,
425
+ 0.0032782130241394043,
426
+ 0.0035050909519195555
427
+ ],
428
+ "count": 274,
429
+ "total": 0.9886366784572603,
430
+ "mean": 0.003608163060062993,
431
+ "p50": 0.0036600505113601684,
432
+ "p90": 0.0036881943464279177,
433
+ "p95": 0.003695490300655365,
434
+ "p99": 0.0037308804154396052,
435
+ "stdev": 0.00011538006940002736,
436
+ "stdev_": 3.197750974092978
437
+ },
438
+ "throughput": {
439
+ "unit": "samples/s",
440
+ "value": 554.2986740641048
441
+ },
442
+ "energy": null,
443
+ "efficiency": null
444
+ }
445
+ }
446
+ }