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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "2024-10-10-13-15-21/pytorch",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.4.1",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model_type": "llama",
11
+ "model": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
12
+ "processor": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
13
+ "device": "cpu",
14
+ "device_ids": null,
15
+ "seed": 42,
16
+ "inter_op_num_threads": null,
17
+ "intra_op_num_threads": null,
18
+ "model_kwargs": {},
19
+ "processor_kwargs": {},
20
+ "no_weights": false,
21
+ "device_map": null,
22
+ "torch_dtype": "float32",
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": 10,
44
+ "duration": 10,
45
+ "warmup_runs": 10,
46
+ "input_shapes": {
47
+ "batch_size": 2,
48
+ "num_choices": 2,
49
+ "sequence_length": 16
50
+ },
51
+ "new_tokens": null,
52
+ "memory": true,
53
+ "latency": true,
54
+ "energy": false,
55
+ "forward_kwargs": {},
56
+ "generate_kwargs": {
57
+ "max_new_tokens": 32,
58
+ "min_new_tokens": 32
59
+ },
60
+ "call_kwargs": {}
61
+ },
62
+ "launcher": {
63
+ "name": "process",
64
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
65
+ "device_isolation": false,
66
+ "device_isolation_action": null,
67
+ "numactl": true,
68
+ "numactl_kwargs": {
69
+ "cpunodebind": 0,
70
+ "membind": 0
71
+ },
72
+ "start_method": "spawn"
73
+ },
74
+ "environment": {
75
+ "cpu": " AMD EPYC 7R13 Processor",
76
+ "cpu_count": 64,
77
+ "cpu_ram_mb": 529717.026816,
78
+ "system": "Linux",
79
+ "machine": "x86_64",
80
+ "platform": "Linux-5.10.205-195.807.amzn2.x86_64-x86_64-with-glibc2.36",
81
+ "processor": "",
82
+ "python_version": "3.10.15",
83
+ "optimum_benchmark_version": "0.5.0",
84
+ "optimum_benchmark_commit": null,
85
+ "transformers_version": "4.44.2",
86
+ "transformers_commit": null,
87
+ "accelerate_version": "0.34.2",
88
+ "accelerate_commit": null,
89
+ "diffusers_version": null,
90
+ "diffusers_commit": null,
91
+ "optimum_version": "1.22.0",
92
+ "optimum_commit": null,
93
+ "timm_version": null,
94
+ "timm_commit": null,
95
+ "peft_version": null,
96
+ "peft_commit": null
97
+ },
98
+ "print_report": false,
99
+ "log_report": true
100
+ },
101
+ "report": {
102
+ "load": {
103
+ "memory": {
104
+ "unit": "MB",
105
+ "max_ram": 7341.576192,
106
+ "max_global_vram": null,
107
+ "max_process_vram": null,
108
+ "max_reserved": null,
109
+ "max_allocated": null
110
+ },
111
+ "latency": {
112
+ "unit": "s",
113
+ "values": [
114
+ 3.724861901253462
115
+ ],
116
+ "count": 1,
117
+ "total": 3.724861901253462,
118
+ "mean": 3.724861901253462,
119
+ "p50": 3.724861901253462,
120
+ "p90": 3.724861901253462,
121
+ "p95": 3.724861901253462,
122
+ "p99": 3.724861901253462,
123
+ "stdev": 0,
124
+ "stdev_": 0
125
+ },
126
+ "throughput": null,
127
+ "energy": null,
128
+ "efficiency": null
129
+ },
130
+ "prefill": {
131
+ "memory": {
132
+ "unit": "MB",
133
+ "max_ram": 5306.855424,
134
+ "max_global_vram": null,
135
+ "max_process_vram": null,
136
+ "max_reserved": null,
137
+ "max_allocated": null
138
+ },
139
+ "latency": {
140
+ "unit": "s",
141
+ "values": [
142
+ 0.7200786955654621,
143
+ 0.792355839163065,
144
+ 2.4664254635572433,
145
+ 0.69408343359828,
146
+ 0.7157965451478958,
147
+ 2.5207341462373734,
148
+ 0.7687269486486912,
149
+ 0.7052935063838959,
150
+ 0.9717286936938763,
151
+ 0.7321321777999401
152
+ ],
153
+ "count": 10,
154
+ "total": 11.087355449795723,
155
+ "mean": 1.1087355449795724,
156
+ "p50": 0.7504295632243156,
157
+ "p90": 2.4718563318252564,
158
+ "p95": 2.4962952390313147,
159
+ "p99": 2.5158463647961615,
160
+ "stdev": 0.6966722298489831,
161
+ "stdev_": 62.83484217706926
162
+ },
163
+ "throughput": {
164
+ "unit": "tokens/s",
165
+ "value": 28.861706603434975
166
+ },
167
+ "energy": null,
168
+ "efficiency": null
169
+ },
170
+ "decode": {
171
+ "memory": {
172
+ "unit": "MB",
173
+ "max_ram": 5306.855424,
174
+ "max_global_vram": null,
175
+ "max_process_vram": null,
176
+ "max_reserved": null,
177
+ "max_allocated": null
178
+ },
179
+ "latency": {
180
+ "unit": "s",
181
+ "values": [
182
+ 14.600170020014048,
183
+ 10.227855522185564,
184
+ 14.517007939517498,
185
+ 10.392739053815603,
186
+ 11.778041336685419,
187
+ 14.313847541809082,
188
+ 12.591537479311228,
189
+ 13.732940457761288,
190
+ 11.991505086421967,
191
+ 14.668896954506636
192
+ ],
193
+ "count": 10,
194
+ "total": 128.81454139202833,
195
+ "mean": 12.881454139202834,
196
+ "p50": 13.162238968536258,
197
+ "p90": 14.607042713463306,
198
+ "p95": 14.637969833984972,
199
+ "p99": 14.662711530402303,
200
+ "stdev": 1.6410247206132291,
201
+ "stdev_": 12.739436890273195
202
+ },
203
+ "throughput": {
204
+ "unit": "tokens/s",
205
+ "value": 4.813121199672016
206
+ },
207
+ "energy": null,
208
+ "efficiency": null
209
+ },
210
+ "per_token": {
211
+ "memory": null,
212
+ "latency": {
213
+ "unit": "s",
214
+ "values": [
215
+ 0.4060986116528511,
216
+ 0.3879626765847206,
217
+ 0.38639020919799805,
218
+ 0.3389683812856674,
219
+ 0.3950040340423584,
220
+ 0.3980884477496147,
221
+ 0.4014359675347805,
222
+ 0.408795777708292,
223
+ 0.30595654249191284,
224
+ 0.29907840862870216,
225
+ 0.35322246700525284,
226
+ 0.3287738524377346,
227
+ 0.392280638217926,
228
+ 0.3813580498099327,
229
+ 0.3238604702055454,
230
+ 0.3710867539048195,
231
+ 0.32230665162205696,
232
+ 0.3220280036330223,
233
+ 0.37156737595796585,
234
+ 0.30829939991235733,
235
+ 0.3796352557837963,
236
+ 0.3317713364958763,
237
+ 0.38707520440220833,
238
+ 2.190471913665533,
239
+ 0.3145546317100525,
240
+ 2.1154560409486294,
241
+ 0.4715309292078018,
242
+ 0.2996096573770046,
243
+ 0.30278632417321205,
244
+ 0.29659273475408554,
245
+ 0.30761319026350975,
246
+ 0.33112097904086113,
247
+ 0.3937394507229328,
248
+ 0.3666521981358528,
249
+ 0.3209872283041477,
250
+ 0.31414123997092247,
251
+ 0.3649541847407818,
252
+ 0.32057804614305496,
253
+ 0.32005195692181587,
254
+ 0.38338039442896843,
255
+ 0.3899538554251194,
256
+ 0.32215747982263565,
257
+ 0.3636073060333729,
258
+ 0.30736011639237404,
259
+ 0.3166304975748062,
260
+ 0.3060135208070278,
261
+ 0.3091295138001442,
262
+ 0.36669084429740906,
263
+ 0.3050985336303711,
264
+ 0.30528177320957184,
265
+ 0.3086755573749542,
266
+ 0.3081359341740608,
267
+ 0.36458243429660797,
268
+ 0.306567445397377,
269
+ 0.30651822686195374,
270
+ 0.30621372163295746,
271
+ 0.3093601278960705,
272
+ 0.3068452328443527,
273
+ 0.30239907279610634,
274
+ 0.299660611897707,
275
+ 0.3781965859234333,
276
+ 0.3226397670805454,
277
+ 0.5186826884746552,
278
+ 0.4156517721712589,
279
+ 0.39961494505405426,
280
+ 0.45749930292367935,
281
+ 0.40147214382886887,
282
+ 0.4058132469654083,
283
+ 0.39769215881824493,
284
+ 0.39666127040982246,
285
+ 0.4333694279193878,
286
+ 0.3982875756919384,
287
+ 0.4031490162014961,
288
+ 0.41138100251555443,
289
+ 0.45806317776441574,
290
+ 0.4083564095199108,
291
+ 0.40609724819660187,
292
+ 0.41149958968162537,
293
+ 0.4179246090352535,
294
+ 0.4698227010667324,
295
+ 0.4200233519077301,
296
+ 0.47172965109348297,
297
+ 0.4162351153790951,
298
+ 0.41249486431479454,
299
+ 0.40562882646918297,
300
+ 0.404088094830513,
301
+ 2.0490081757307053,
302
+ 0.5410574115812778,
303
+ 0.3800075836479664,
304
+ 0.318134818226099,
305
+ 0.3824032172560692,
306
+ 0.32439664006233215,
307
+ 0.38023078814148903,
308
+ 0.30587805062532425,
309
+ 0.30150676146149635,
310
+ 0.3026697225868702,
311
+ 0.30445729568600655,
312
+ 0.30190060287714005,
313
+ 0.3039427548646927,
314
+ 0.30195118859410286,
315
+ 0.30230090394616127,
316
+ 0.3604142554104328,
317
+ 0.297284085303545,
318
+ 0.3452077768743038,
319
+ 0.3635067492723465,
320
+ 0.306117407977581,
321
+ 0.3068896755576134,
322
+ 0.30681683123111725,
323
+ 0.30844755470752716,
324
+ 0.30606334283947945,
325
+ 0.3717831037938595,
326
+ 0.3175463043153286,
327
+ 0.37183379009366035,
328
+ 0.3257202319800854,
329
+ 0.3839045837521553,
330
+ 0.3280140832066536,
331
+ 0.3628889322280884,
332
+ 0.32510538399219513,
333
+ 0.38753674551844597,
334
+ 0.3289935886859894,
335
+ 0.48231420293450356,
336
+ 0.3931570313870907,
337
+ 0.31860895827412605,
338
+ 0.369430098682642,
339
+ 0.3035487085580826,
340
+ 0.3120494745671749,
341
+ 0.29993636533617973,
342
+ 0.2906515970826149,
343
+ 0.3086654096841812,
344
+ 0.3703462518751621,
345
+ 0.30092109367251396,
346
+ 0.4848570264875889,
347
+ 0.30838167294859886,
348
+ 0.31231487169861794,
349
+ 0.298489473760128,
350
+ 0.2986452616751194,
351
+ 0.29559220001101494,
352
+ 0.30393417179584503,
353
+ 0.29583287984132767,
354
+ 0.29063356667757034,
355
+ 0.24079057946801186,
356
+ 0.29277247935533524,
357
+ 0.3104771450161934,
358
+ 0.358247984200716,
359
+ 0.29549412056803703,
360
+ 0.3029988966882229,
361
+ 0.29668891802430153,
362
+ 2.199366856366396,
363
+ 0.32413385435938835,
364
+ 0.3789532072842121,
365
+ 0.32491692528128624,
366
+ 0.31735193729400635,
367
+ 0.3757103309035301,
368
+ 0.3207756318151951,
369
+ 0.3640647158026695,
370
+ 2.1172928251326084,
371
+ 0.29789577051997185,
372
+ 0.35945307090878487,
373
+ 0.24313323944807053,
374
+ 0.3583574742078781,
375
+ 0.3003269210457802,
376
+ 0.3131164610385895,
377
+ 0.3004646301269531,
378
+ 0.3050765246152878,
379
+ 0.3101684935390949,
380
+ 0.3011963441967964,
381
+ 0.49090779945254326,
382
+ 0.5063797384500504,
383
+ 0.38420598953962326,
384
+ 0.3110824413597584,
385
+ 0.31373781710863113,
386
+ 0.3091985546052456,
387
+ 0.4619828499853611,
388
+ 0.39623741060495377,
389
+ 0.3963371030986309,
390
+ 0.32352113351225853,
391
+ 1.5717493295669556,
392
+ 1.1324451826512814,
393
+ 0.3101143129169941,
394
+ 0.3612363040447235,
395
+ 0.30799122154712677,
396
+ 0.3131397031247616,
397
+ 0.31204869225621223,
398
+ 0.36476778611540794,
399
+ 0.23869719728827477,
400
+ 0.30108412355184555,
401
+ 0.31018831580877304,
402
+ 0.3065812736749649,
403
+ 0.3066705986857414,
404
+ 0.2986005209386349,
405
+ 0.30515575036406517,
406
+ 0.30927134677767754,
407
+ 0.36346180737018585,
408
+ 0.31820032000541687,
409
+ 0.3091186359524727,
410
+ 0.38137758150696754,
411
+ 0.3109889551997185,
412
+ 0.30118872597813606,
413
+ 0.2905999459326267,
414
+ 0.31642020121216774,
415
+ 0.37787453830242157,
416
+ 0.627284474670887,
417
+ 0.36680587008595467,
418
+ 0.3143945299088955,
419
+ 0.31222524493932724,
420
+ 0.3752118907868862,
421
+ 0.3207213915884495,
422
+ 0.37891973555088043,
423
+ 0.4026447758078575,
424
+ 0.3183503746986389,
425
+ 0.378567885607481,
426
+ 0.345193974673748,
427
+ 0.37485121190547943,
428
+ 2.1916170082986355,
429
+ 0.37747106701135635,
430
+ 0.32191141322255135,
431
+ 0.3791581764817238,
432
+ 0.32155321165919304,
433
+ 0.31241923198103905,
434
+ 0.37074659764766693,
435
+ 0.314176756888628,
436
+ 0.39028190448880196,
437
+ 0.3161463253200054,
438
+ 0.3107012063264847,
439
+ 0.37017934024333954,
440
+ 0.33116284385323524,
441
+ 0.3810761943459511,
442
+ 0.31288717314600945,
443
+ 0.38000351190567017,
444
+ 0.3861698880791664,
445
+ 0.4252971038222313,
446
+ 0.49054616689682007,
447
+ 0.3257346674799919,
448
+ 0.4541688859462738,
449
+ 0.42225511372089386,
450
+ 0.4176983907818794,
451
+ 0.6003327183425426,
452
+ 0.368108905851841,
453
+ 0.32504282146692276,
454
+ 0.3890242502093315,
455
+ 0.3926568105816841,
456
+ 0.39355673640966415,
457
+ 2.4016763791441917,
458
+ 0.33887047320604324,
459
+ 0.38712821528315544,
460
+ 0.3887520097196102,
461
+ 0.3826122246682644,
462
+ 0.3314410150051117,
463
+ 0.42911214381456375,
464
+ 0.39551690965890884,
465
+ 0.3954157866537571,
466
+ 0.3842344507575035,
467
+ 0.38662779331207275,
468
+ 0.40138689056038857,
469
+ 0.3403823561966419,
470
+ 0.3962584286928177,
471
+ 0.4030826464295387,
472
+ 0.3918062262237072,
473
+ 0.3771911896765232,
474
+ 0.3233508840203285,
475
+ 0.3850675970315933,
476
+ 0.3167821019887924,
477
+ 0.3836885914206505,
478
+ 0.402656152844429,
479
+ 0.3802902027964592,
480
+ 0.3318944163620472,
481
+ 0.39710501208901405,
482
+ 0.3993716649711132,
483
+ 0.3995853140950203,
484
+ 0.3830878511071205,
485
+ 0.38874368742108345,
486
+ 0.3298024497926235,
487
+ 0.40620923414826393,
488
+ 0.40323207154870033,
489
+ 0.39800333231687546,
490
+ 0.3919817581772804,
491
+ 0.40392644703388214,
492
+ 0.41021696105599403,
493
+ 0.45496056601405144,
494
+ 0.39320629090070724,
495
+ 0.39358559250831604,
496
+ 0.410217322409153,
497
+ 0.4030751734972,
498
+ 0.3985523581504822,
499
+ 0.39655472338199615,
500
+ 0.39782512187957764,
501
+ 0.39238953962922096,
502
+ 0.3909521959722042,
503
+ 0.49973998591303825,
504
+ 0.5049194172024727,
505
+ 0.40988748148083687,
506
+ 0.4981357231736183,
507
+ 2.2173570096492767,
508
+ 0.47422387450933456,
509
+ 0.41235268861055374,
510
+ 0.4146449491381645,
511
+ 0.4577169455587864,
512
+ 0.4219565689563751,
513
+ 0.4211292117834091,
514
+ 0.45701171830296516,
515
+ 0.3416304513812065,
516
+ 0.48970451205968857,
517
+ 0.3878569006919861,
518
+ 0.39185693114995956,
519
+ 0.392665296792984,
520
+ 0.33698686212301254,
521
+ 0.39378850534558296,
522
+ 0.38802986219525337,
523
+ 0.39956218004226685,
524
+ 0.3808535747230053
525
+ ],
526
+ "count": 310,
527
+ "total": 128.80931735783815,
528
+ "mean": 0.4155139269607682,
529
+ "p50": 0.3687695022672415,
530
+ "p90": 0.4570604767650366,
531
+ "p95": 0.5025886731222272,
532
+ "p99": 2.1915139497816565,
533
+ "stdev": 0.30499104126364374,
534
+ "stdev_": 73.40091907254897
535
+ },
536
+ "throughput": {
537
+ "unit": "tokens/s",
538
+ "value": 4.813316402241398
539
+ },
540
+ "energy": null,
541
+ "efficiency": null
542
+ }
543
+ }
544
+ }