IlyasMoutawwakil HF staff commited on
Commit
614dafc
·
verified ·
1 Parent(s): 2b9a37a

Upload benchmarks/pytorch-llama-2.3.0-float16.json with huggingface_hub

Browse files
benchmarks/pytorch-llama-2.3.0-float16.json ADDED
@@ -0,0 +1,550 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "pytorch-llama",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.0",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model": "meta-llama/Llama-2-7b-hf",
11
+ "processor": "meta-llama/Llama-2-7b-hf",
12
+ "device": "cuda",
13
+ "device_ids": "0",
14
+ "seed": 42,
15
+ "inter_op_num_threads": null,
16
+ "intra_op_num_threads": null,
17
+ "model_kwargs": {},
18
+ "processor_kwargs": {},
19
+ "hub_kwargs": {},
20
+ "no_weights": true,
21
+ "device_map": null,
22
+ "torch_dtype": "float16",
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
+ "tensor_parallel": false,
38
+ "peft_type": null,
39
+ "peft_config": {}
40
+ },
41
+ "scenario": {
42
+ "name": "inference",
43
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
44
+ "iterations": 10,
45
+ "duration": 10,
46
+ "warmup_runs": 10,
47
+ "input_shapes": {
48
+ "batch_size": 1,
49
+ "num_choices": 2,
50
+ "sequence_length": 128
51
+ },
52
+ "new_tokens": null,
53
+ "latency": true,
54
+ "memory": true,
55
+ "energy": false,
56
+ "forward_kwargs": {},
57
+ "generate_kwargs": {
58
+ "max_new_tokens": 32,
59
+ "min_new_tokens": 32
60
+ },
61
+ "call_kwargs": {}
62
+ },
63
+ "launcher": {
64
+ "name": "process",
65
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
66
+ "device_isolation": true,
67
+ "device_isolation_action": "warn",
68
+ "numactl": false,
69
+ "numactl_kwargs": {},
70
+ "start_method": "spawn"
71
+ },
72
+ "environment": {
73
+ "cpu": " AMD EPYC 7742 64-Core Processor",
74
+ "cpu_count": 128,
75
+ "cpu_ram_mb": 540671.627264,
76
+ "system": "Linux",
77
+ "machine": "x86_64",
78
+ "platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.35",
79
+ "processor": "x86_64",
80
+ "python_version": "3.10.12",
81
+ "gpu": [
82
+ "NVIDIA A100-SXM4-80GB",
83
+ "NVIDIA A100-SXM4-80GB",
84
+ "NVIDIA A100-SXM4-80GB",
85
+ "NVIDIA DGX Display",
86
+ "NVIDIA A100-SXM4-80GB"
87
+ ],
88
+ "gpu_count": 5,
89
+ "gpu_vram_mb": 347892350976,
90
+ "optimum_benchmark_version": "0.2.1",
91
+ "optimum_benchmark_commit": "347e13ca9f7f904f55669603cfb9f0b6c7e8672c",
92
+ "transformers_version": "4.41.1",
93
+ "transformers_commit": null,
94
+ "accelerate_version": "0.30.1",
95
+ "accelerate_commit": null,
96
+ "diffusers_version": null,
97
+ "diffusers_commit": null,
98
+ "optimum_version": "1.20.0",
99
+ "optimum_commit": null,
100
+ "timm_version": null,
101
+ "timm_commit": null,
102
+ "peft_version": "0.11.1",
103
+ "peft_commit": null
104
+ }
105
+ },
106
+ "report": {
107
+ "prefill": {
108
+ "memory": {
109
+ "unit": "MB",
110
+ "max_ram": 1227.485184,
111
+ "max_global_vram": 15218.966528,
112
+ "max_process_vram": 14292.09088,
113
+ "max_reserved": 13759.414272,
114
+ "max_allocated": 13578.50368
115
+ },
116
+ "latency": {
117
+ "unit": "s",
118
+ "count": 11,
119
+ "total": 0.33348883247375494,
120
+ "mean": 0.030317166588523178,
121
+ "stdev": 0.0006808782450806106,
122
+ "p50": 0.030200544357299804,
123
+ "p90": 0.030986015319824218,
124
+ "p95": 0.03135895919799805,
125
+ "p99": 0.03165731430053711,
126
+ "values": [
127
+ 0.03173190307617187,
128
+ 0.030948896408081055,
129
+ 0.03068956756591797,
130
+ 0.030453184127807616,
131
+ 0.029873664855957032,
132
+ 0.030986015319824218,
133
+ 0.030200544357299804,
134
+ 0.029642112731933595,
135
+ 0.029924224853515625,
136
+ 0.029542335510253905,
137
+ 0.029496383666992188
138
+ ]
139
+ },
140
+ "throughput": {
141
+ "unit": "tokens/s",
142
+ "value": 4222.030433690182
143
+ },
144
+ "energy": null,
145
+ "efficiency": null
146
+ },
147
+ "decode": {
148
+ "memory": {
149
+ "unit": "MB",
150
+ "max_ram": 1227.485184,
151
+ "max_global_vram": 15218.966528,
152
+ "max_process_vram": 14292.09088,
153
+ "max_reserved": 13759.414272,
154
+ "max_allocated": 13657.83552
155
+ },
156
+ "latency": {
157
+ "unit": "s",
158
+ "count": 11,
159
+ "total": 10.365610290527345,
160
+ "mean": 0.9423282082297586,
161
+ "stdev": 0.011083219201782932,
162
+ "p50": 0.9396575927734375,
163
+ "p90": 0.9554216918945313,
164
+ "p95": 0.9603456420898437,
165
+ "p99": 0.9642848022460938,
166
+ "values": [
167
+ 0.9652695922851563,
168
+ 0.9370484619140625,
169
+ 0.9452354736328125,
170
+ 0.9422606811523437,
171
+ 0.9396575927734375,
172
+ 0.9554216918945313,
173
+ 0.9331040649414063,
174
+ 0.932161865234375,
175
+ 0.9298218383789062,
176
+ 0.931310546875,
177
+ 0.9543184814453125
178
+ ]
179
+ },
180
+ "throughput": {
181
+ "unit": "tokens/s",
182
+ "value": 32.89724294493536
183
+ },
184
+ "energy": null,
185
+ "efficiency": null
186
+ },
187
+ "per_token": {
188
+ "memory": null,
189
+ "latency": {
190
+ "unit": "s",
191
+ "count": 340,
192
+ "total": 10.636115966796876,
193
+ "mean": 0.03128269401999081,
194
+ "stdev": 0.005345889653283576,
195
+ "p50": 0.030132224082946777,
196
+ "p90": 0.03119851493835449,
197
+ "p95": 0.03183129644393921,
198
+ "p99": 0.060970833816528326,
199
+ "values": [
200
+ 0.031073280334472656,
201
+ 0.03139891242980957,
202
+ 0.031197183609008788,
203
+ 0.03141119956970215,
204
+ 0.031120384216308594,
205
+ 0.031143936157226562,
206
+ 0.03181977653503418,
207
+ 0.03158118438720703,
208
+ 0.031438848495483396,
209
+ 0.031048704147338867,
210
+ 0.03205017471313477,
211
+ 0.03077836799621582,
212
+ 0.029928447723388672,
213
+ 0.0299683837890625,
214
+ 0.029938688278198244,
215
+ 0.030219263076782226,
216
+ 0.03061452865600586,
217
+ 0.031148031234741212,
218
+ 0.031123455047607423,
219
+ 0.031510528564453126,
220
+ 0.03125657653808594,
221
+ 0.031118335723876952,
222
+ 0.03124019241333008,
223
+ 0.031086591720581053,
224
+ 0.031032320022583007,
225
+ 0.03147776031494141,
226
+ 0.03156377601623535,
227
+ 0.03160678482055664,
228
+ 0.03129958343505859,
229
+ 0.03143475151062012,
230
+ 0.06258687973022461,
231
+ 0.030999551773071288,
232
+ 0.03094118309020996,
233
+ 0.030883840560913086,
234
+ 0.030267391204833984,
235
+ 0.030338048934936523,
236
+ 0.030442495346069336,
237
+ 0.030108671188354492,
238
+ 0.029937664031982423,
239
+ 0.030014463424682617,
240
+ 0.029875200271606447,
241
+ 0.03015782356262207,
242
+ 0.030728191375732423,
243
+ 0.030130176544189452,
244
+ 0.030060543060302734,
245
+ 0.02998374366760254,
246
+ 0.029997055053710937,
247
+ 0.029501440048217774,
248
+ 0.029851648330688478,
249
+ 0.02997452735900879,
250
+ 0.029884416580200194,
251
+ 0.030724096298217773,
252
+ 0.03058995246887207,
253
+ 0.03017318344116211,
254
+ 0.03034419250488281,
255
+ 0.02992639923095703,
256
+ 0.02996121597290039,
257
+ 0.029831167221069335,
258
+ 0.030067712783813476,
259
+ 0.029856767654418945,
260
+ 0.02995609664916992,
261
+ 0.061211647033691405,
262
+ 0.03102822494506836,
263
+ 0.030716928482055664,
264
+ 0.030514175415039063,
265
+ 0.030458879470825196,
266
+ 0.0307589111328125,
267
+ 0.030826496124267577,
268
+ 0.03038924789428711,
269
+ 0.030666751861572264,
270
+ 0.030298112869262695,
271
+ 0.030434303283691407,
272
+ 0.03059404754638672,
273
+ 0.03057459259033203,
274
+ 0.030996480941772462,
275
+ 0.031040512084960937,
276
+ 0.03078451156616211,
277
+ 0.030276607513427735,
278
+ 0.03031449508666992,
279
+ 0.030518272399902343,
280
+ 0.030305280685424804,
281
+ 0.0301977596282959,
282
+ 0.030195711135864257,
283
+ 0.030451711654663087,
284
+ 0.030279680252075194,
285
+ 0.02997657585144043,
286
+ 0.03019161605834961,
287
+ 0.03021004867553711,
288
+ 0.030331903457641602,
289
+ 0.030256128311157225,
290
+ 0.030503936767578125,
291
+ 0.030621696472167968,
292
+ 0.06128844833374023,
293
+ 0.02996019172668457,
294
+ 0.030069759368896484,
295
+ 0.02996326446533203,
296
+ 0.0301711368560791,
297
+ 0.029783039093017577,
298
+ 0.03156172752380371,
299
+ 0.033949695587158206,
300
+ 0.03012505531311035,
301
+ 0.02991001510620117,
302
+ 0.030093311309814453,
303
+ 0.030284799575805665,
304
+ 0.03017932891845703,
305
+ 0.029879295349121093,
306
+ 0.030256128311157225,
307
+ 0.0304005126953125,
308
+ 0.030342144012451173,
309
+ 0.03034316825866699,
310
+ 0.030423040390014647,
311
+ 0.030135295867919923,
312
+ 0.030357503890991212,
313
+ 0.03017932891845703,
314
+ 0.030473215103149414,
315
+ 0.030493696212768553,
316
+ 0.03035238456726074,
317
+ 0.029899776458740233,
318
+ 0.03038515281677246,
319
+ 0.030277631759643556,
320
+ 0.030272512435913085,
321
+ 0.030552064895629883,
322
+ 0.03040358352661133,
323
+ 0.06059417724609375,
324
+ 0.030332927703857423,
325
+ 0.03003392028808594,
326
+ 0.030119935989379884,
327
+ 0.030078975677490235,
328
+ 0.030011392593383788,
329
+ 0.030120960235595705,
330
+ 0.03017728042602539,
331
+ 0.030134271621704102,
332
+ 0.029839359283447265,
333
+ 0.030063615798950196,
334
+ 0.02993971252441406,
335
+ 0.030225408554077147,
336
+ 0.030040063858032227,
337
+ 0.029928447723388672,
338
+ 0.030212095260620117,
339
+ 0.030067712783813476,
340
+ 0.030315519332885742,
341
+ 0.02980147171020508,
342
+ 0.030082048416137694,
343
+ 0.0299683837890625,
344
+ 0.02997555160522461,
345
+ 0.030086143493652344,
346
+ 0.03022643280029297,
347
+ 0.03098931121826172,
348
+ 0.031122432708740235,
349
+ 0.031247360229492187,
350
+ 0.030840831756591795,
351
+ 0.030888959884643553,
352
+ 0.030846975326538087,
353
+ 0.03121049690246582,
354
+ 0.06288896179199219,
355
+ 0.030744575500488282,
356
+ 0.030449663162231445,
357
+ 0.030307327270507813,
358
+ 0.030925823211669923,
359
+ 0.0303687686920166,
360
+ 0.03053670310974121,
361
+ 0.03036672019958496,
362
+ 0.030291967391967774,
363
+ 0.031016960144042968,
364
+ 0.03396710586547851,
365
+ 0.03447091293334961,
366
+ 0.036863998413085936,
367
+ 0.03136716842651367,
368
+ 0.030459903717041017,
369
+ 0.030306304931640625,
370
+ 0.03062579154968262,
371
+ 0.03041279983520508,
372
+ 0.030220287322998047,
373
+ 0.03019161605834961,
374
+ 0.029807615280151366,
375
+ 0.029896703720092774,
376
+ 0.029883392333984377,
377
+ 0.029868032455444334,
378
+ 0.030216192245483397,
379
+ 0.03000115203857422,
380
+ 0.030040063858032227,
381
+ 0.029864959716796875,
382
+ 0.03014963150024414,
383
+ 0.030023679733276368,
384
+ 0.029954048156738283,
385
+ 0.06057574462890625,
386
+ 0.030092287063598632,
387
+ 0.030130176544189452,
388
+ 0.029865983963012696,
389
+ 0.02995199966430664,
390
+ 0.029914112091064454,
391
+ 0.030035968780517577,
392
+ 0.02997964859008789,
393
+ 0.029929471969604493,
394
+ 0.02998681640625,
395
+ 0.030136320114135744,
396
+ 0.0299683837890625,
397
+ 0.030291967391967774,
398
+ 0.030308351516723633,
399
+ 0.030095359802246095,
400
+ 0.03037798309326172,
401
+ 0.03021107292175293,
402
+ 0.030259199142456054,
403
+ 0.030108671188354492,
404
+ 0.030082048416137694,
405
+ 0.029981695175170898,
406
+ 0.029929471969604493,
407
+ 0.03001753616333008,
408
+ 0.030266368865966797,
409
+ 0.030030847549438477,
410
+ 0.030266368865966797,
411
+ 0.030010368347167967,
412
+ 0.030010368347167967,
413
+ 0.030051328659057616,
414
+ 0.030102527618408204,
415
+ 0.03037900733947754,
416
+ 0.06019379043579102,
417
+ 0.0299233283996582,
418
+ 0.029826047897338868,
419
+ 0.030074880599975585,
420
+ 0.02995814323425293,
421
+ 0.030268415451049805,
422
+ 0.030028799057006835,
423
+ 0.029857791900634766,
424
+ 0.02976563262939453,
425
+ 0.03001651191711426,
426
+ 0.030003200531005858,
427
+ 0.029874176025390626,
428
+ 0.029899776458740233,
429
+ 0.029820928573608397,
430
+ 0.02999091148376465,
431
+ 0.02996121597290039,
432
+ 0.03000831985473633,
433
+ 0.030050304412841795,
434
+ 0.03018137550354004,
435
+ 0.030297088623046874,
436
+ 0.030274560928344726,
437
+ 0.029936639785766602,
438
+ 0.030139392852783203,
439
+ 0.030418943405151368,
440
+ 0.030254079818725587,
441
+ 0.030128128051757814,
442
+ 0.030045183181762695,
443
+ 0.03017215919494629,
444
+ 0.03002572822570801,
445
+ 0.030071807861328126,
446
+ 0.03037286376953125,
447
+ 0.06049075317382813,
448
+ 0.030277631759643556,
449
+ 0.03034419250488281,
450
+ 0.0304005126953125,
451
+ 0.030069759368896484,
452
+ 0.029916160583496092,
453
+ 0.030072832107543947,
454
+ 0.030270463943481447,
455
+ 0.03060326385498047,
456
+ 0.03036262321472168,
457
+ 0.029912063598632813,
458
+ 0.03002060890197754,
459
+ 0.029829120635986327,
460
+ 0.029920255661010742,
461
+ 0.030039039611816407,
462
+ 0.029895679473876953,
463
+ 0.02982707214355469,
464
+ 0.02999398422241211,
465
+ 0.029929471969604493,
466
+ 0.02956287956237793,
467
+ 0.029930496215820314,
468
+ 0.02997145652770996,
469
+ 0.02993561553955078,
470
+ 0.02977177619934082,
471
+ 0.02993971252441406,
472
+ 0.029663232803344725,
473
+ 0.029641727447509765,
474
+ 0.02961408042907715,
475
+ 0.02999398422241211,
476
+ 0.02982809638977051,
477
+ 0.02976870346069336,
478
+ 0.05970022583007813,
479
+ 0.02977689552307129,
480
+ 0.02978713607788086,
481
+ 0.02999295997619629,
482
+ 0.02973593521118164,
483
+ 0.02979327964782715,
484
+ 0.030005247116088866,
485
+ 0.029825023651123047,
486
+ 0.02998067283630371,
487
+ 0.030058496475219725,
488
+ 0.02972876739501953,
489
+ 0.029978624343872072,
490
+ 0.03019161605834961,
491
+ 0.029885440826416015,
492
+ 0.03017932891845703,
493
+ 0.030027776718139648,
494
+ 0.030219263076782226,
495
+ 0.030219263076782226,
496
+ 0.030051328659057616,
497
+ 0.030044160842895507,
498
+ 0.030073856353759764,
499
+ 0.030535680770874023,
500
+ 0.030113792419433592,
501
+ 0.030079999923706056,
502
+ 0.030076927185058593,
503
+ 0.030318592071533205,
504
+ 0.03016703987121582,
505
+ 0.03002572822570801,
506
+ 0.030102527618408204,
507
+ 0.030123008728027343,
508
+ 0.030062591552734375,
509
+ 0.059947006225585936,
510
+ 0.03017728042602539,
511
+ 0.029688831329345702,
512
+ 0.02992742347717285,
513
+ 0.030006271362304687,
514
+ 0.02955571174621582,
515
+ 0.029641727447509765,
516
+ 0.029493247985839844,
517
+ 0.029463552474975587,
518
+ 0.02935398483276367,
519
+ 0.029277183532714843,
520
+ 0.029447168350219727,
521
+ 0.029500415802001953,
522
+ 0.02940928077697754,
523
+ 0.029488128662109377,
524
+ 0.029711360931396483,
525
+ 0.029430784225463868,
526
+ 0.029405183792114258,
527
+ 0.029677568435668947,
528
+ 0.02954035186767578,
529
+ 0.04206284713745117,
530
+ 0.04883148956298828,
531
+ 0.031104000091552734,
532
+ 0.0303503360748291,
533
+ 0.029662208557128908,
534
+ 0.029731840133666993,
535
+ 0.029820928573608397,
536
+ 0.03002470397949219,
537
+ 0.029973503112792968,
538
+ 0.030058496475219725,
539
+ 0.030078975677490235
540
+ ]
541
+ },
542
+ "throughput": {
543
+ "unit": "tokens/s",
544
+ "value": 31.966556312604112
545
+ },
546
+ "energy": null,
547
+ "efficiency": null
548
+ }
549
+ }
550
+ }