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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "pytorch-llama",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.5.1",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model_type": "llama",
11
+ "model": "meta-llama/Llama-2-7b-chat-hf",
12
+ "processor": "meta-llama/Llama-2-7b-chat-hf",
13
+ "device": "cuda",
14
+ "device_ids": "0",
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": "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": "gptq",
34
+ "quantization_config": {
35
+ "bits": 4,
36
+ "use_exllama ": true,
37
+ "version": 2,
38
+ "model_seqlen": 256
39
+ },
40
+ "deepspeed_inference": false,
41
+ "deepspeed_inference_config": {},
42
+ "peft_type": null,
43
+ "peft_config": {}
44
+ },
45
+ "scenario": {
46
+ "name": "inference",
47
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
48
+ "iterations": 10,
49
+ "duration": 10,
50
+ "warmup_runs": 10,
51
+ "input_shapes": {
52
+ "batch_size": 1,
53
+ "num_choices": 2,
54
+ "sequence_length": 128
55
+ },
56
+ "new_tokens": null,
57
+ "memory": true,
58
+ "latency": true,
59
+ "energy": false,
60
+ "forward_kwargs": {},
61
+ "generate_kwargs": {
62
+ "max_new_tokens": 32,
63
+ "min_new_tokens": 32
64
+ },
65
+ "call_kwargs": {}
66
+ },
67
+ "launcher": {
68
+ "name": "process",
69
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
70
+ "device_isolation": true,
71
+ "device_isolation_action": "warn",
72
+ "numactl": false,
73
+ "numactl_kwargs": {},
74
+ "start_method": "spawn"
75
+ },
76
+ "environment": {
77
+ "cpu": " Intel(R) Xeon(R) Platinum 8339HC CPU @ 1.80GHz",
78
+ "cpu_count": 22,
79
+ "cpu_ram_mb": 189584.162816,
80
+ "system": "Linux",
81
+ "machine": "x86_64",
82
+ "platform": "Linux-5.19.0-0_fbk12_hardened_11583_g0bef9520ca2b-x86_64-with-glibc2.34",
83
+ "processor": "x86_64",
84
+ "python_version": "3.10.15",
85
+ "gpu": [
86
+ "NVIDIA PG509-210"
87
+ ],
88
+ "gpu_count": 1,
89
+ "gpu_vram_mb": 85899345920,
90
+ "optimum_benchmark_version": "0.5.0.dev0",
91
+ "optimum_benchmark_commit": "78d7da546ad060a586060d0d3680bec33f32a45b",
92
+ "transformers_version": "4.47.0.dev0",
93
+ "transformers_commit": null,
94
+ "accelerate_version": "1.1.0",
95
+ "accelerate_commit": null,
96
+ "diffusers_version": "0.31.0",
97
+ "diffusers_commit": null,
98
+ "optimum_version": "1.24.0.dev0",
99
+ "optimum_commit": null,
100
+ "timm_version": "1.0.11",
101
+ "timm_commit": null,
102
+ "peft_version": "0.13.2",
103
+ "peft_commit": null
104
+ },
105
+ "print_report": true,
106
+ "log_report": true
107
+ },
108
+ "report": {
109
+ "load": {
110
+ "memory": {
111
+ "unit": "MB",
112
+ "max_ram": 6375.329792,
113
+ "max_global_vram": 72107.29472,
114
+ "max_process_vram": 5381.292032,
115
+ "max_reserved": 4303.355904,
116
+ "max_allocated": 4034.388992
117
+ },
118
+ "latency": {
119
+ "unit": "s",
120
+ "values": [
121
+ 14.6606484375
122
+ ],
123
+ "count": 1,
124
+ "total": 14.6606484375,
125
+ "mean": 14.6606484375,
126
+ "p50": 14.6606484375,
127
+ "p90": 14.6606484375,
128
+ "p95": 14.6606484375,
129
+ "p99": 14.6606484375,
130
+ "stdev": 0,
131
+ "stdev_": 0
132
+ },
133
+ "throughput": null,
134
+ "energy": null,
135
+ "efficiency": null
136
+ },
137
+ "prefill": {
138
+ "memory": {
139
+ "unit": "MB",
140
+ "max_ram": 6414.938112,
141
+ "max_global_vram": 77369.049088,
142
+ "max_process_vram": 5750.390784,
143
+ "max_reserved": 4401.922048,
144
+ "max_allocated": 4122.738688
145
+ },
146
+ "latency": {
147
+ "unit": "s",
148
+ "values": [
149
+ 0.04282547378540039,
150
+ 0.04379910278320313,
151
+ 0.0430645751953125,
152
+ 0.04397065734863281,
153
+ 0.04328860855102539,
154
+ 0.04283321762084961,
155
+ 0.04336835098266602,
156
+ 0.04369612884521484,
157
+ 0.04341609573364258,
158
+ 0.062448383331298825
159
+ ],
160
+ "count": 10,
161
+ "total": 0.4527105941772461,
162
+ "mean": 0.045271059417724614,
163
+ "p50": 0.0433922233581543,
164
+ "p90": 0.04581842994689941,
165
+ "p95": 0.0541334066390991,
166
+ "p99": 0.06078538799285889,
167
+ "stdev": 0.005737441942605104,
168
+ "stdev_": 12.673531426920329
169
+ },
170
+ "throughput": {
171
+ "unit": "tokens/s",
172
+ "value": 2827.4133993401797
173
+ },
174
+ "energy": null,
175
+ "efficiency": null
176
+ },
177
+ "decode": {
178
+ "memory": {
179
+ "unit": "MB",
180
+ "max_ram": 6414.938112,
181
+ "max_global_vram": 84677.623808,
182
+ "max_process_vram": 5750.390784,
183
+ "max_reserved": 4401.922048,
184
+ "max_allocated": 4137.581568
185
+ },
186
+ "latency": {
187
+ "unit": "s",
188
+ "values": [
189
+ 1.1446434326171875,
190
+ 1.1312457275390626,
191
+ 1.1492806396484374,
192
+ 1.1636923828125,
193
+ 1.1359462890625,
194
+ 1.12259521484375,
195
+ 1.118836181640625,
196
+ 1.1177918701171874,
197
+ 1.147646728515625,
198
+ 1.291679443359375
199
+ ],
200
+ "count": 10,
201
+ "total": 11.523357910156248,
202
+ "mean": 1.1523357910156249,
203
+ "p50": 1.1402948608398438,
204
+ "p90": 1.1764910888671876,
205
+ "p95": 1.234085266113281,
206
+ "p99": 1.2801606079101562,
207
+ "stdev": 0.04852786208204437,
208
+ "stdev_": 4.211260507605492
209
+ },
210
+ "throughput": {
211
+ "unit": "tokens/s",
212
+ "value": 26.901880720616845
213
+ },
214
+ "energy": null,
215
+ "efficiency": null
216
+ },
217
+ "per_token": {
218
+ "memory": null,
219
+ "latency": {
220
+ "unit": "s",
221
+ "values": [
222
+ 0.03595731353759766,
223
+ 0.03624009704589844,
224
+ 0.03713497543334961,
225
+ 0.036713951110839846,
226
+ 0.03598102569580078,
227
+ 0.0356715202331543,
228
+ 0.03654713439941406,
229
+ 0.03701628875732422,
230
+ 0.0365937271118164,
231
+ 0.036367935180664064,
232
+ 0.03673350524902344,
233
+ 0.03692073440551758,
234
+ 0.03674390411376953,
235
+ 0.03694230270385742,
236
+ 0.03666019058227539,
237
+ 0.03697779083251953,
238
+ 0.036823486328125,
239
+ 0.03659756851196289,
240
+ 0.03698876953125,
241
+ 0.03725027084350586,
242
+ 0.03755724716186523,
243
+ 0.03737756729125977,
244
+ 0.0375269775390625,
245
+ 0.0378520622253418,
246
+ 0.03748668670654297,
247
+ 0.03696822357177734,
248
+ 0.037523681640625,
249
+ 0.037523006439208986,
250
+ 0.037192192077636715,
251
+ 0.03669868850708008,
252
+ 0.03700940704345703,
253
+ 0.03728604888916016,
254
+ 0.03772364807128906,
255
+ 0.036850334167480465,
256
+ 0.036908287048339844,
257
+ 0.03730115127563476,
258
+ 0.037047550201416014,
259
+ 0.03660595321655274,
260
+ 0.03694559860229492,
261
+ 0.03658291244506836,
262
+ 0.0366712646484375,
263
+ 0.0362498893737793,
264
+ 0.035942848205566404,
265
+ 0.035322017669677734,
266
+ 0.03507583999633789,
267
+ 0.03516364669799805,
268
+ 0.035625537872314456,
269
+ 0.035464031219482425,
270
+ 0.03500419235229492,
271
+ 0.03528540802001953,
272
+ 0.037079296112060546,
273
+ 0.03623779296875,
274
+ 0.0368109130859375,
275
+ 0.03728329467773438,
276
+ 0.036510688781738285,
277
+ 0.03571551895141602,
278
+ 0.03624691009521484,
279
+ 0.03654790496826172,
280
+ 0.03718291091918945,
281
+ 0.036795745849609374,
282
+ 0.03788579177856445,
283
+ 0.0369071044921875,
284
+ 0.03748160171508789,
285
+ 0.0377050895690918,
286
+ 0.03723452758789063,
287
+ 0.037270240783691407,
288
+ 0.03725990295410156,
289
+ 0.03632831954956055,
290
+ 0.03682374572753906,
291
+ 0.03615884780883789,
292
+ 0.03704444885253906,
293
+ 0.03667324829101563,
294
+ 0.0367913932800293,
295
+ 0.0373804817199707,
296
+ 0.03712713623046875,
297
+ 0.037198848724365234,
298
+ 0.03745049667358399,
299
+ 0.0372237434387207,
300
+ 0.037007198333740235,
301
+ 0.03718291091918945,
302
+ 0.03761852645874023,
303
+ 0.036934593200683596,
304
+ 0.03726793670654297,
305
+ 0.03669001770019531,
306
+ 0.037087841033935545,
307
+ 0.03685628890991211,
308
+ 0.03717059326171875,
309
+ 0.03747612762451172,
310
+ 0.03693795013427734,
311
+ 0.036179073333740236,
312
+ 0.03682166290283203,
313
+ 0.03697062301635742,
314
+ 0.03689651107788086,
315
+ 0.03706435012817383,
316
+ 0.037270465850830076,
317
+ 0.035971839904785155,
318
+ 0.036920799255371096,
319
+ 0.03681465530395508,
320
+ 0.0369854736328125,
321
+ 0.03704467010498047,
322
+ 0.03700086212158203,
323
+ 0.03643961715698242,
324
+ 0.0370840950012207,
325
+ 0.037169761657714843,
326
+ 0.03741856002807617,
327
+ 0.036993568420410156,
328
+ 0.03796236801147461,
329
+ 0.03702950286865234,
330
+ 0.03688911819458008,
331
+ 0.036421279907226566,
332
+ 0.0377540168762207,
333
+ 0.03744473648071289,
334
+ 0.04109030532836914,
335
+ 0.04965795135498047,
336
+ 0.03727587127685547,
337
+ 0.03747747039794922,
338
+ 0.03727571105957031,
339
+ 0.03713622283935547,
340
+ 0.036595935821533206,
341
+ 0.03686832046508789,
342
+ 0.036631904602050784,
343
+ 0.036168128967285156,
344
+ 0.03665676879882813,
345
+ 0.03609823989868164,
346
+ 0.03664368057250977,
347
+ 0.036477184295654295,
348
+ 0.0366478385925293,
349
+ 0.036935649871826175,
350
+ 0.036280990600585934,
351
+ 0.03671769714355469,
352
+ 0.036772960662841796,
353
+ 0.03645542526245117,
354
+ 0.03598780822753906,
355
+ 0.035988353729248045,
356
+ 0.035874847412109376,
357
+ 0.03614518356323242,
358
+ 0.036284576416015624,
359
+ 0.03758396911621094,
360
+ 0.03668572616577148,
361
+ 0.03693961715698242,
362
+ 0.03611155319213867,
363
+ 0.03728643035888672,
364
+ 0.037300159454345706,
365
+ 0.03694675064086914,
366
+ 0.03692620849609375,
367
+ 0.03698134231567383,
368
+ 0.036760032653808596,
369
+ 0.03694249725341797,
370
+ 0.036695552825927735,
371
+ 0.03729305648803711,
372
+ 0.037698944091796874,
373
+ 0.036593311309814455,
374
+ 0.03610140609741211,
375
+ 0.035955230712890626,
376
+ 0.035017822265625,
377
+ 0.036146846771240235,
378
+ 0.03579935836791992,
379
+ 0.03700652694702149,
380
+ 0.03609513473510742,
381
+ 0.0357050895690918,
382
+ 0.036111358642578126,
383
+ 0.035346206665039064,
384
+ 0.03659628677368164,
385
+ 0.03786441421508789,
386
+ 0.03727798461914063,
387
+ 0.03694675064086914,
388
+ 0.03681289672851563,
389
+ 0.03643088150024414,
390
+ 0.03525331115722656,
391
+ 0.036265247344970705,
392
+ 0.03562035369873047,
393
+ 0.03675743865966797,
394
+ 0.03684204864501953,
395
+ 0.036423904418945316,
396
+ 0.036361759185791015,
397
+ 0.035707073211669924,
398
+ 0.0352196159362793,
399
+ 0.03612031936645508,
400
+ 0.03643833541870117,
401
+ 0.03616476821899414,
402
+ 0.03556515121459961,
403
+ 0.03600313568115234,
404
+ 0.03593075180053711,
405
+ 0.03558707046508789,
406
+ 0.03574892807006836,
407
+ 0.03536566543579102,
408
+ 0.035780353546142576,
409
+ 0.03572681427001953,
410
+ 0.03538473510742188,
411
+ 0.035416030883789064,
412
+ 0.037334465026855466,
413
+ 0.036534656524658204,
414
+ 0.03557791900634766,
415
+ 0.03659225463867188,
416
+ 0.03616390228271484,
417
+ 0.03587062454223633,
418
+ 0.03605587387084961,
419
+ 0.03600467300415039,
420
+ 0.036198238372802734,
421
+ 0.03658566284179687,
422
+ 0.03599353790283203,
423
+ 0.03611094284057617,
424
+ 0.035894046783447264,
425
+ 0.03659619140625,
426
+ 0.03686988830566406,
427
+ 0.03661088180541992,
428
+ 0.036827136993408206,
429
+ 0.03656438446044922,
430
+ 0.03548425674438477,
431
+ 0.03565628814697266,
432
+ 0.03530723190307617,
433
+ 0.035811328887939455,
434
+ 0.03646108627319336,
435
+ 0.03669027328491211,
436
+ 0.0351959342956543,
437
+ 0.035250526428222656,
438
+ 0.03528268814086914,
439
+ 0.036346240997314455,
440
+ 0.03538345718383789,
441
+ 0.0360588493347168,
442
+ 0.03625296020507812,
443
+ 0.03606617736816406,
444
+ 0.03607494354248047,
445
+ 0.036089889526367186,
446
+ 0.03624774551391602,
447
+ 0.03634748840332031,
448
+ 0.036305374145507815,
449
+ 0.03629427337646484,
450
+ 0.036154815673828125,
451
+ 0.03588390350341797,
452
+ 0.03697488021850586,
453
+ 0.036380062103271486,
454
+ 0.03564672088623047,
455
+ 0.03618310546875,
456
+ 0.03602627182006836,
457
+ 0.03591683197021484,
458
+ 0.03659167861938477,
459
+ 0.03637334442138672,
460
+ 0.03517212677001953,
461
+ 0.035636062622070315,
462
+ 0.03653926467895508,
463
+ 0.035418529510498044,
464
+ 0.03555548858642578,
465
+ 0.035576831817626955,
466
+ 0.03670748901367187,
467
+ 0.036157184600830075,
468
+ 0.03516700744628906,
469
+ 0.035265632629394535,
470
+ 0.035632511138916016,
471
+ 0.036483806610107423,
472
+ 0.03661891174316406,
473
+ 0.03655871963500976,
474
+ 0.03703827285766602,
475
+ 0.037617919921875,
476
+ 0.03706230545043945,
477
+ 0.03730966567993164,
478
+ 0.03732236862182617,
479
+ 0.03743148803710938,
480
+ 0.03719247817993164,
481
+ 0.03726732635498047,
482
+ 0.037321281433105466,
483
+ 0.037644287109375,
484
+ 0.03730979156494141,
485
+ 0.03729123306274414,
486
+ 0.03712403106689453,
487
+ 0.03692931365966797,
488
+ 0.037281822204589844,
489
+ 0.03759795379638672,
490
+ 0.03726166534423828,
491
+ 0.03703315353393555,
492
+ 0.03741417694091797,
493
+ 0.03737984085083008,
494
+ 0.03714316940307617,
495
+ 0.03710857772827148,
496
+ 0.036980159759521486,
497
+ 0.03651663970947266,
498
+ 0.03553305435180664,
499
+ 0.03653798294067383,
500
+ 0.03568384170532227,
501
+ 0.04555145645141601,
502
+ 0.042402015686035154,
503
+ 0.040898239135742184,
504
+ 0.0382880973815918,
505
+ 0.04074873733520508,
506
+ 0.04209692764282227,
507
+ 0.04165305709838867,
508
+ 0.03827654266357422,
509
+ 0.04032793426513672,
510
+ 0.040399806976318356,
511
+ 0.046360767364501954,
512
+ 0.041255329132080076,
513
+ 0.046764129638671874,
514
+ 0.03941721725463867,
515
+ 0.04514297485351562,
516
+ 0.03980563354492188,
517
+ 0.044795169830322265,
518
+ 0.040840190887451173,
519
+ 0.04167273712158203,
520
+ 0.0367586555480957,
521
+ 0.041850208282470706,
522
+ 0.03750924682617188,
523
+ 0.044384449005126954,
524
+ 0.039292991638183596,
525
+ 0.04272025680541992,
526
+ 0.03939622497558594,
527
+ 0.04575481414794922,
528
+ 0.038351905822753905,
529
+ 0.04231804656982422,
530
+ 0.041536479949951174,
531
+ 0.04459820938110352
532
+ ],
533
+ "count": 310,
534
+ "total": 11.513670848846436,
535
+ "mean": 0.03714087370595624,
536
+ "p50": 0.03678217697143554,
537
+ "p90": 0.037993785476684576,
538
+ "p95": 0.0416005973815918,
539
+ "p99": 0.04573651195526124,
540
+ "stdev": 0.001997879281315144,
541
+ "stdev_": 5.379193007499838
542
+ },
543
+ "throughput": {
544
+ "unit": "tokens/s",
545
+ "value": 26.924514698199765
546
+ },
547
+ "energy": null,
548
+ "efficiency": null
549
+ }
550
+ }
551
+ }