IlyasMoutawwakil HF Staff commited on
Commit
501c0ac
·
verified ·
1 Parent(s): 135e700

Upload benchmarks/2.3.0-4bit-awq-gemm.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. benchmarks/2.3.0-4bit-awq-gemm.json +520 -0
benchmarks/2.3.0-4bit-awq-gemm.json ADDED
@@ -0,0 +1,520 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "awq",
34
+ "quantization_config": {
35
+ "bits": 4,
36
+ "version": "gemm"
37
+ },
38
+ "deepspeed_inference": false,
39
+ "deepspeed_inference_config": {},
40
+ "tensor_parallel": false,
41
+ "peft_type": null,
42
+ "peft_config": {}
43
+ },
44
+ "scenario": {
45
+ "name": "inference",
46
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
47
+ "iterations": 10,
48
+ "duration": 10,
49
+ "warmup_runs": 10,
50
+ "input_shapes": {
51
+ "batch_size": 1,
52
+ "num_choices": 2,
53
+ "sequence_length": 128
54
+ },
55
+ "new_tokens": null,
56
+ "latency": true,
57
+ "memory": true,
58
+ "energy": false,
59
+ "forward_kwargs": {},
60
+ "generate_kwargs": {
61
+ "max_new_tokens": 32,
62
+ "min_new_tokens": 32
63
+ },
64
+ "call_kwargs": {}
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": true,
70
+ "device_isolation_action": "warn",
71
+ "numactl": false,
72
+ "numactl_kwargs": {},
73
+ "start_method": "spawn"
74
+ },
75
+ "environment": {
76
+ "cpu": " AMD EPYC 7742 64-Core Processor",
77
+ "cpu_count": 128,
78
+ "cpu_ram_mb": 540671.627264,
79
+ "system": "Linux",
80
+ "machine": "x86_64",
81
+ "platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.35",
82
+ "processor": "x86_64",
83
+ "python_version": "3.10.12",
84
+ "gpu": [
85
+ "NVIDIA A100-SXM4-80GB",
86
+ "NVIDIA A100-SXM4-80GB",
87
+ "NVIDIA A100-SXM4-80GB",
88
+ "NVIDIA DGX Display",
89
+ "NVIDIA A100-SXM4-80GB"
90
+ ],
91
+ "gpu_count": 5,
92
+ "gpu_vram_mb": 347892350976,
93
+ "optimum_benchmark_version": "0.2.1",
94
+ "optimum_benchmark_commit": "347e13ca9f7f904f55669603cfb9f0b6c7e8672c",
95
+ "transformers_version": "4.41.1",
96
+ "transformers_commit": null,
97
+ "accelerate_version": "0.30.1",
98
+ "accelerate_commit": null,
99
+ "diffusers_version": null,
100
+ "diffusers_commit": null,
101
+ "optimum_version": "1.20.0",
102
+ "optimum_commit": null,
103
+ "timm_version": null,
104
+ "timm_commit": null,
105
+ "peft_version": "0.11.1",
106
+ "peft_commit": null
107
+ }
108
+ },
109
+ "report": {
110
+ "prefill": {
111
+ "memory": {
112
+ "unit": "MB",
113
+ "max_ram": 1992.597504,
114
+ "max_global_vram": 6274.613248,
115
+ "max_process_vram": 5347.7376,
116
+ "max_reserved": 4815.060992,
117
+ "max_allocated": 4428.105728
118
+ },
119
+ "latency": {
120
+ "unit": "s",
121
+ "count": 10,
122
+ "total": 2.7647943420410153,
123
+ "mean": 0.27647943420410154,
124
+ "stdev": 0.0013259237825260736,
125
+ "p50": 0.27594503784179686,
126
+ "p90": 0.27788690490722656,
127
+ "p95": 0.2787926040649414,
128
+ "p99": 0.27951716339111327,
129
+ "values": [
130
+ 0.27969830322265626,
131
+ 0.2752821044921875,
132
+ 0.27768563842773436,
133
+ 0.2754232177734375,
134
+ 0.2773633728027344,
135
+ 0.2758430786132812,
136
+ 0.27556500244140625,
137
+ 0.2760469970703125,
138
+ 0.27640762329101565,
139
+ 0.27547900390625
140
+ ]
141
+ },
142
+ "throughput": {
143
+ "unit": "tokens/s",
144
+ "value": 462.9639103844098
145
+ },
146
+ "energy": null,
147
+ "efficiency": null
148
+ },
149
+ "decode": {
150
+ "memory": {
151
+ "unit": "MB",
152
+ "max_ram": 1993.691136,
153
+ "max_global_vram": 6274.613248,
154
+ "max_process_vram": 5347.7376,
155
+ "max_reserved": 4815.060992,
156
+ "max_allocated": 4534.656
157
+ },
158
+ "latency": {
159
+ "unit": "s",
160
+ "count": 10,
161
+ "total": 83.92089160156252,
162
+ "mean": 8.39208916015625,
163
+ "stdev": 0.015863420381591217,
164
+ "p50": 8.3852275390625,
165
+ "p90": 8.4208203125,
166
+ "p95": 8.423597656250001,
167
+ "p99": 8.425819531250001,
168
+ "values": [
169
+ 8.382623046875,
170
+ 8.3820498046875,
171
+ 8.426375,
172
+ 8.3804599609375,
173
+ 8.3891796875,
174
+ 8.38722265625,
175
+ 8.420203125,
176
+ 8.383953125,
177
+ 8.3823232421875,
178
+ 8.386501953125
179
+ ]
180
+ },
181
+ "throughput": {
182
+ "unit": "tokens/s",
183
+ "value": 3.693955034126785
184
+ },
185
+ "energy": null,
186
+ "efficiency": null
187
+ },
188
+ "per_token": {
189
+ "memory": null,
190
+ "latency": {
191
+ "unit": "s",
192
+ "count": 309,
193
+ "total": 86.1355849914551,
194
+ "mean": 0.2787559384836734,
195
+ "stdev": 0.04649253197575786,
196
+ "p50": 0.27045785522460936,
197
+ "p90": 0.2708756530761719,
198
+ "p95": 0.2720786499023437,
199
+ "p99": 0.5467964379882813,
200
+ "values": [
201
+ 0.2706370544433594,
202
+ 0.2704609375,
203
+ 0.27074560546875,
204
+ 0.270482421875,
205
+ 0.27041690063476564,
206
+ 0.27029812622070315,
207
+ 0.27040155029296875,
208
+ 0.2702243957519531,
209
+ 0.2700585021972656,
210
+ 0.27052236938476565,
211
+ 0.2711398315429687,
212
+ 0.27063192749023435,
213
+ 0.27010867309570313,
214
+ 0.26994790649414063,
215
+ 0.27019161987304685,
216
+ 0.27095654296875,
217
+ 0.2705428466796875,
218
+ 0.2705428466796875,
219
+ 0.27045272827148437,
220
+ 0.27034625244140625,
221
+ 0.2703953857421875,
222
+ 0.270244873046875,
223
+ 0.2699018249511719,
224
+ 0.26983935546875,
225
+ 0.27039129638671877,
226
+ 0.2708746337890625,
227
+ 0.27075173950195314,
228
+ 0.2705868835449219,
229
+ 0.2699100036621094,
230
+ 0.26986700439453126,
231
+ 0.5459937133789062,
232
+ 0.27082342529296877,
233
+ 0.2703902587890625,
234
+ 0.2697840576171875,
235
+ 0.27015679931640624,
236
+ 0.27030526733398436,
237
+ 0.27041998291015623,
238
+ 0.27035546875,
239
+ 0.270424072265625,
240
+ 0.27040155029296875,
241
+ 0.27034521484375,
242
+ 0.27058584594726565,
243
+ 0.27103948974609376,
244
+ 0.27042919921875,
245
+ 0.2702080078125,
246
+ 0.2704332885742188,
247
+ 0.270487548828125,
248
+ 0.27101593017578124,
249
+ 0.27067083740234377,
250
+ 0.26997247314453127,
251
+ 0.2698997802734375,
252
+ 0.2700994567871094,
253
+ 0.27028890991210935,
254
+ 0.270708740234375,
255
+ 0.2706268310546875,
256
+ 0.27020697021484374,
257
+ 0.2699509887695313,
258
+ 0.27026943969726563,
259
+ 0.27029708862304686,
260
+ 0.27040155029296875,
261
+ 0.27041690063476564,
262
+ 0.548411376953125,
263
+ 0.27058892822265623,
264
+ 0.2709708862304688,
265
+ 0.2701055908203125,
266
+ 0.2697830505371094,
267
+ 0.26974618530273436,
268
+ 0.27019879150390624,
269
+ 0.27058074951171873,
270
+ 0.27067391967773435,
271
+ 0.2702192687988281,
272
+ 0.269907958984375,
273
+ 0.2699049072265625,
274
+ 0.2700318603515625,
275
+ 0.2706974792480469,
276
+ 0.2705162353515625,
277
+ 0.27015576171875,
278
+ 0.2700072937011719,
279
+ 0.27029196166992187,
280
+ 0.27072921752929685,
281
+ 0.2707701721191406,
282
+ 0.27009228515625,
283
+ 0.2700984191894531,
284
+ 0.2701895751953125,
285
+ 0.2760018005371094,
286
+ 0.27061349487304687,
287
+ 0.3071764526367188,
288
+ 0.2726911926269531,
289
+ 0.27048550415039063,
290
+ 0.2707118225097656,
291
+ 0.27111322021484374,
292
+ 0.2706483154296875,
293
+ 0.54546533203125,
294
+ 0.26991717529296877,
295
+ 0.2704629821777344,
296
+ 0.2704332885742188,
297
+ 0.27046502685546875,
298
+ 0.2703779907226562,
299
+ 0.2699632568359375,
300
+ 0.2700585021972656,
301
+ 0.27020391845703123,
302
+ 0.27071078491210937,
303
+ 0.27062783813476565,
304
+ 0.27038821411132813,
305
+ 0.27025714111328125,
306
+ 0.2705899658203125,
307
+ 0.27061761474609375,
308
+ 0.27063192749023435,
309
+ 0.26978814697265624,
310
+ 0.2702172241210937,
311
+ 0.2702950439453125,
312
+ 0.27074560546875,
313
+ 0.2706042785644531,
314
+ 0.27063092041015624,
315
+ 0.270276611328125,
316
+ 0.27030526733398436,
317
+ 0.2699663391113281,
318
+ 0.27067083740234377,
319
+ 0.270455810546875,
320
+ 0.2704128112792969,
321
+ 0.269918212890625,
322
+ 0.2699130859375,
323
+ 0.27048345947265623,
324
+ 0.5480755004882812,
325
+ 0.27049163818359373,
326
+ 0.27045785522460936,
327
+ 0.27038104248046874,
328
+ 0.27057766723632815,
329
+ 0.2707425231933594,
330
+ 0.2702264404296875,
331
+ 0.27035955810546874,
332
+ 0.270424072265625,
333
+ 0.2708182983398438,
334
+ 0.27067495727539065,
335
+ 0.2708305969238281,
336
+ 0.27040155029296875,
337
+ 0.2703267822265625,
338
+ 0.27009228515625,
339
+ 0.270750732421875,
340
+ 0.27087973022460937,
341
+ 0.2707906494140625,
342
+ 0.27070260620117187,
343
+ 0.27038821411132813,
344
+ 0.2705541076660156,
345
+ 0.2704885864257813,
346
+ 0.27073739624023435,
347
+ 0.270671875,
348
+ 0.270671875,
349
+ 0.2722764892578125,
350
+ 0.27072308349609375,
351
+ 0.270824462890625,
352
+ 0.2705602416992188,
353
+ 0.2706288757324219,
354
+ 0.2701055908203125,
355
+ 0.5466419067382813,
356
+ 0.27077734375,
357
+ 0.2706483154296875,
358
+ 0.27052032470703125,
359
+ 0.27019366455078125,
360
+ 0.27082955932617186,
361
+ 0.27061862182617186,
362
+ 0.270593017578125,
363
+ 0.27051519775390626,
364
+ 0.27064627075195313,
365
+ 0.2704844665527344,
366
+ 0.27058380126953124,
367
+ 0.27084902954101564,
368
+ 0.2707281799316406,
369
+ 0.27072409057617186,
370
+ 0.2707548217773437,
371
+ 0.27068621826171874,
372
+ 0.2705111083984375,
373
+ 0.27138662719726564,
374
+ 0.2701905822753906,
375
+ 0.27054180908203124,
376
+ 0.27066265869140627,
377
+ 0.27028582763671877,
378
+ 0.2703001708984375,
379
+ 0.2705387573242187,
380
+ 0.27050189208984377,
381
+ 0.2707527770996094,
382
+ 0.2707220458984375,
383
+ 0.2699632568359375,
384
+ 0.27008306884765626,
385
+ 0.269876220703125,
386
+ 0.546292724609375,
387
+ 0.27061965942382815,
388
+ 0.26992025756835936,
389
+ 0.26999603271484374,
390
+ 0.27034930419921877,
391
+ 0.27041485595703124,
392
+ 0.2705397644042969,
393
+ 0.2702868347167969,
394
+ 0.27019879150390624,
395
+ 0.2704486389160156,
396
+ 0.270856201171875,
397
+ 0.27088385009765625,
398
+ 0.27021414184570314,
399
+ 0.27045889282226565,
400
+ 0.29821746826171874,
401
+ 0.281965576171875,
402
+ 0.27032577514648437,
403
+ 0.27017214965820313,
404
+ 0.27028890991210935,
405
+ 0.27070260620117187,
406
+ 0.270698486328125,
407
+ 0.27044659423828127,
408
+ 0.269781005859375,
409
+ 0.2699765625,
410
+ 0.2699263916015625,
411
+ 0.27060531616210937,
412
+ 0.2705531005859375,
413
+ 0.27056231689453125,
414
+ 0.26991207885742186,
415
+ 0.27005029296875,
416
+ 0.2701240234375,
417
+ 0.5468098754882813,
418
+ 0.2704056396484375,
419
+ 0.2706237487792969,
420
+ 0.2710005798339844,
421
+ 0.270213134765625,
422
+ 0.27036056518554685,
423
+ 0.2706001892089844,
424
+ 0.270635009765625,
425
+ 0.270376953125,
426
+ 0.27089306640625,
427
+ 0.2701598815917969,
428
+ 0.27008206176757815,
429
+ 0.2701547546386719,
430
+ 0.27035955810546874,
431
+ 0.2706636657714844,
432
+ 0.2704435119628906,
433
+ 0.27086846923828123,
434
+ 0.27025613403320314,
435
+ 0.27035546875,
436
+ 0.27052032470703125,
437
+ 0.2704711608886719,
438
+ 0.27039129638671877,
439
+ 0.26991207885742186,
440
+ 0.270129150390625,
441
+ 0.27037490844726564,
442
+ 0.2704906311035156,
443
+ 0.27047320556640625,
444
+ 0.270519287109375,
445
+ 0.27024996948242186,
446
+ 0.27055514526367186,
447
+ 0.2706923522949219,
448
+ 0.5468416137695312,
449
+ 0.270571533203125,
450
+ 0.27090737915039065,
451
+ 0.2704691162109375,
452
+ 0.2697635803222656,
453
+ 0.2697021484375,
454
+ 0.27003289794921875,
455
+ 0.2707855224609375,
456
+ 0.27105075073242185,
457
+ 0.27042816162109373,
458
+ 0.2699468688964844,
459
+ 0.2701138000488281,
460
+ 0.27004519653320314,
461
+ 0.27075173950195314,
462
+ 0.2702950439453125,
463
+ 0.2704035949707031,
464
+ 0.26982196044921875,
465
+ 0.26998989868164064,
466
+ 0.2701424560546875,
467
+ 0.27061862182617186,
468
+ 0.27088690185546876,
469
+ 0.2717818908691406,
470
+ 0.2702315368652344,
471
+ 0.2708080749511719,
472
+ 0.2708111267089844,
473
+ 0.27017831420898436,
474
+ 0.2703359985351563,
475
+ 0.2705541076660156,
476
+ 0.2702591857910156,
477
+ 0.2703513488769531,
478
+ 0.2698833923339844,
479
+ 0.5459118041992187,
480
+ 0.27081317138671873,
481
+ 0.27064114379882814,
482
+ 0.2706534423828125,
483
+ 0.27017010498046873,
484
+ 0.27032577514648437,
485
+ 0.27028378295898436,
486
+ 0.2704312438964844,
487
+ 0.270350341796875,
488
+ 0.27050497436523435,
489
+ 0.2703267822265625,
490
+ 0.2700789794921875,
491
+ 0.270234619140625,
492
+ 0.27066162109375,
493
+ 0.270587890625,
494
+ 0.2703236999511719,
495
+ 0.2702796936035156,
496
+ 0.27073126220703125,
497
+ 0.27065444946289063,
498
+ 0.27037490844726564,
499
+ 0.2703585205078125,
500
+ 0.27076812744140627,
501
+ 0.27056640625,
502
+ 0.2706954345703125,
503
+ 0.2704404602050781,
504
+ 0.27032473754882813,
505
+ 0.2701527099609375,
506
+ 0.27048345947265623,
507
+ 0.27055206298828127,
508
+ 0.27079473876953125,
509
+ 0.2725181579589844
510
+ ]
511
+ },
512
+ "throughput": {
513
+ "unit": "tokens/s",
514
+ "value": 3.5873675209920934
515
+ },
516
+ "energy": null,
517
+ "efficiency": null
518
+ }
519
+ }
520
+ }