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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "2024-10-21-17-02-49/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": "gpt2",
11
+ "model": "openai-community/gpt2",
12
+ "processor": "openai-community/gpt2",
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.02272,
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": 1511.952384,
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
+ 1.6824433393776417
115
+ ],
116
+ "count": 1,
117
+ "total": 1.6824433393776417,
118
+ "mean": 1.6824433393776417,
119
+ "p50": 1.6824433393776417,
120
+ "p90": 1.6824433393776417,
121
+ "p95": 1.6824433393776417,
122
+ "p99": 1.6824433393776417,
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": 1607.860224,
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.11356927827000618,
143
+ 0.12102339044213295,
144
+ 0.17740445584058762,
145
+ 0.12898390367627144,
146
+ 0.12069202959537506,
147
+ 0.17938660830259323,
148
+ 0.12032097578048706,
149
+ 0.12909867987036705,
150
+ 0.16880978643894196,
151
+ 0.1704593002796173
152
+ ],
153
+ "count": 10,
154
+ "total": 1.4297484084963799,
155
+ "mean": 0.142974840849638,
156
+ "p50": 0.12904129177331924,
157
+ "p90": 0.17760267108678818,
158
+ "p95": 0.1784946396946907,
159
+ "p99": 0.17920821458101271,
160
+ "stdev": 0.025843033593847917,
161
+ "stdev_": 18.07523158639232
162
+ },
163
+ "throughput": {
164
+ "unit": "tokens/s",
165
+ "value": 223.8156014711243
166
+ },
167
+ "energy": null,
168
+ "efficiency": null
169
+ },
170
+ "decode": {
171
+ "memory": {
172
+ "unit": "MB",
173
+ "max_ram": 1608.192,
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
+ 2.003968395292759,
183
+ 1.99579543992877,
184
+ 1.9997130669653416,
185
+ 2.0577770359814167,
186
+ 2.002662528306246,
187
+ 1.9959323331713676,
188
+ 1.9956984110176563,
189
+ 1.9877891093492508,
190
+ 1.9437489062547684,
191
+ 1.9966221041977406
192
+ ],
193
+ "count": 10,
194
+ "total": 19.979707330465317,
195
+ "mean": 1.9979707330465317,
196
+ "p50": 1.996277218684554,
197
+ "p90": 2.009349259361625,
198
+ "p95": 2.033563147671521,
199
+ "p99": 2.0529342583194374,
200
+ "stdev": 0.025879249750573787,
201
+ "stdev_": 1.295276718649065
202
+ },
203
+ "throughput": {
204
+ "unit": "tokens/s",
205
+ "value": 31.031485584106427
206
+ },
207
+ "energy": null,
208
+ "efficiency": null
209
+ },
210
+ "per_token": {
211
+ "memory": null,
212
+ "latency": {
213
+ "unit": "s",
214
+ "values": [
215
+ 0.08290493860840797,
216
+ 0.029768113046884537,
217
+ 0.08687425404787064,
218
+ 0.02995363250374794,
219
+ 0.07877011969685555,
220
+ 0.08731310814619064,
221
+ 0.030303150415420532,
222
+ 0.0795217789709568,
223
+ 0.08783405274152756,
224
+ 0.030614882707595825,
225
+ 0.07916086539626122,
226
+ 0.08686229214072227,
227
+ 0.030553389340639114,
228
+ 0.0792069211602211,
229
+ 0.086700938642025,
230
+ 0.030286431312561035,
231
+ 0.08023051917552948,
232
+ 0.08692965283989906,
233
+ 0.030506007373332977,
234
+ 0.07954404130578041,
235
+ 0.03117005154490471,
236
+ 0.08802908658981323,
237
+ 0.07969382405281067,
238
+ 0.030377954244613647,
239
+ 0.08688848465681076,
240
+ 0.07893484830856323,
241
+ 0.030035004019737244,
242
+ 0.08739648759365082,
243
+ 0.07898245379328728,
244
+ 0.030569743365049362,
245
+ 0.08748139441013336,
246
+ 0.08720375597476959,
247
+ 0.07930684834718704,
248
+ 0.03003791719675064,
249
+ 0.08707630634307861,
250
+ 0.0779709741473198,
251
+ 0.029767539352178574,
252
+ 0.08651818707585335,
253
+ 0.029979880899190903,
254
+ 0.07837695255875587,
255
+ 0.08719000965356827,
256
+ 0.029964357614517212,
257
+ 0.07853163778781891,
258
+ 0.08769164234399796,
259
+ 0.030194584280252457,
260
+ 0.07925865799188614,
261
+ 0.08732463419437408,
262
+ 0.030628014355897903,
263
+ 0.0792209841310978,
264
+ 0.0856688842177391,
265
+ 0.030306946486234665,
266
+ 0.07938256859779358,
267
+ 0.08724340423941612,
268
+ 0.030177336186170578,
269
+ 0.08117293566465378,
270
+ 0.08820676058530807,
271
+ 0.03051135689020157,
272
+ 0.07929281145334244,
273
+ 0.030114222317934036,
274
+ 0.08731184527277946,
275
+ 0.07917311415076256,
276
+ 0.030417781323194504,
277
+ 0.08629284054040909,
278
+ 0.030060309916734695,
279
+ 0.07856028154492378,
280
+ 0.029982127249240875,
281
+ 0.08629709482192993,
282
+ 0.08167045935988426,
283
+ 0.030002914369106293,
284
+ 0.08692952245473862,
285
+ 0.07855475321412086,
286
+ 0.03024846687912941,
287
+ 0.08675124868750572,
288
+ 0.02980988100171089,
289
+ 0.0783306434750557,
290
+ 0.08686115965247154,
291
+ 0.030309975147247314,
292
+ 0.08038786426186562,
293
+ 0.0886889360845089,
294
+ 0.030641652643680573,
295
+ 0.07971063628792763,
296
+ 0.08724543079733849,
297
+ 0.030308179557323456,
298
+ 0.07917986437678337,
299
+ 0.08771225437521935,
300
+ 0.031097538769245148,
301
+ 0.07969512417912483,
302
+ 0.0873819962143898,
303
+ 0.030842453241348267,
304
+ 0.07923725619912148,
305
+ 0.08584609627723694,
306
+ 0.03114262968301773,
307
+ 0.07933365553617477,
308
+ 0.07954621315002441,
309
+ 0.08699578046798706,
310
+ 0.030185505747795105,
311
+ 0.07905017212033272,
312
+ 0.08748038858175278,
313
+ 0.03184349834918976,
314
+ 0.0800260566174984,
315
+ 0.0873182825744152,
316
+ 0.030915815383195877,
317
+ 0.07943721860647202,
318
+ 0.08623646199703217,
319
+ 0.03124794363975525,
320
+ 0.07934311404824257,
321
+ 0.03690690919756889,
322
+ 0.07905439287424088,
323
+ 0.07919153571128845,
324
+ 0.030887730419635773,
325
+ 0.08812009915709496,
326
+ 0.07986462488770485,
327
+ 0.03187134489417076,
328
+ 0.08786103129386902,
329
+ 0.07940198108553886,
330
+ 0.0318022258579731,
331
+ 0.08803275227546692,
332
+ 0.07987315952777863,
333
+ 0.030230648815631866,
334
+ 0.08732926845550537,
335
+ 0.07893716543912888,
336
+ 0.031017296016216278,
337
+ 0.08815096691250801,
338
+ 0.07903868332505226,
339
+ 0.08737840875983238,
340
+ 0.029742710292339325,
341
+ 0.0789823979139328,
342
+ 0.0855221338570118,
343
+ 0.029834691435098648,
344
+ 0.0783546008169651,
345
+ 0.02991395816206932,
346
+ 0.08675343915820122,
347
+ 0.07866501063108444,
348
+ 0.029960516840219498,
349
+ 0.08699065446853638,
350
+ 0.07840747386217117,
351
+ 0.02972714975476265,
352
+ 0.08706442266702652,
353
+ 0.029849741607904434,
354
+ 0.0785021223127842,
355
+ 0.0864981971681118,
356
+ 0.030232835561037064,
357
+ 0.08035014197230339,
358
+ 0.08821791410446167,
359
+ 0.03116045519709587,
360
+ 0.08355510979890823,
361
+ 0.08799733594059944,
362
+ 0.030904293060302734,
363
+ 0.08000020310282707,
364
+ 0.08788298442959785,
365
+ 0.030625533312559128,
366
+ 0.07993805781006813,
367
+ 0.08801978453993797,
368
+ 0.03132043033838272,
369
+ 0.07973895967006683,
370
+ 0.03054724633693695,
371
+ 0.08731510490179062,
372
+ 0.07880424708127975,
373
+ 0.032222680747509,
374
+ 0.08731842413544655,
375
+ 0.07901722192764282,
376
+ 0.03086073324084282,
377
+ 0.08730969205498695,
378
+ 0.030536796897649765,
379
+ 0.0789499506354332,
380
+ 0.08745970949530602,
381
+ 0.030350439250469208,
382
+ 0.07874463871121407,
383
+ 0.08698621019721031,
384
+ 0.029977574944496155,
385
+ 0.0795634314417839,
386
+ 0.0866161435842514,
387
+ 0.03001048043370247,
388
+ 0.0784013606607914,
389
+ 0.08582095056772232,
390
+ 0.030003368854522705,
391
+ 0.07894011959433556,
392
+ 0.030307583510875702,
393
+ 0.08764849603176117,
394
+ 0.07853236794471741,
395
+ 0.029854703694581985,
396
+ 0.08743537962436676,
397
+ 0.07888195663690567,
398
+ 0.030176900327205658,
399
+ 0.08757654950022697,
400
+ 0.07885708659887314,
401
+ 0.08741167560219765,
402
+ 0.03005054220557213,
403
+ 0.07889170572161674,
404
+ 0.0855594091117382,
405
+ 0.029977966099977493,
406
+ 0.07899346202611923,
407
+ 0.03016415238380432,
408
+ 0.08618698641657829,
409
+ 0.0784686841070652,
410
+ 0.02999270334839821,
411
+ 0.08749986067414284,
412
+ 0.07894236221909523,
413
+ 0.030670788139104843,
414
+ 0.08774841204285622,
415
+ 0.07908780872821808,
416
+ 0.030093010514974594,
417
+ 0.0870266929268837,
418
+ 0.030419915914535522,
419
+ 0.07873887568712234,
420
+ 0.08668454363942146,
421
+ 0.030091028660535812,
422
+ 0.07879319041967392,
423
+ 0.08715524151921272,
424
+ 0.030114606022834778,
425
+ 0.08289114013314247,
426
+ 0.08667659759521484,
427
+ 0.030603285878896713,
428
+ 0.07916923239827156,
429
+ 0.08658843114972115,
430
+ 0.03079453483223915,
431
+ 0.07964383810758591,
432
+ 0.07865237444639206,
433
+ 0.08655481413006783,
434
+ 0.02999911457300186,
435
+ 0.07880894839763641,
436
+ 0.08662855625152588,
437
+ 0.029709503054618835,
438
+ 0.07869342342019081,
439
+ 0.03609725087881088,
440
+ 0.0786292776465416,
441
+ 0.07863548398017883,
442
+ 0.03002322092652321,
443
+ 0.08683636412024498,
444
+ 0.07837329059839249,
445
+ 0.029871869832277298,
446
+ 0.08657090365886688,
447
+ 0.030100088566541672,
448
+ 0.07891098782420158,
449
+ 0.08725613355636597,
450
+ 0.030206460505723953,
451
+ 0.07921726629137993,
452
+ 0.08741254732012749,
453
+ 0.03001110628247261,
454
+ 0.07912136614322662,
455
+ 0.08734156936407089,
456
+ 0.0299556702375412,
457
+ 0.07879934832453728,
458
+ 0.08639783039689064,
459
+ 0.030215512961149216,
460
+ 0.08374343067407608,
461
+ 0.08407200500369072,
462
+ 0.03037494421005249,
463
+ 0.030978109687566757,
464
+ 0.08719741553068161,
465
+ 0.029958996921777725,
466
+ 0.0788278877735138,
467
+ 0.08679919689893723,
468
+ 0.03013148158788681,
469
+ 0.07876430824398994,
470
+ 0.08646280318498611,
471
+ 0.029811915010213852,
472
+ 0.07895421981811523,
473
+ 0.08696038648486137,
474
+ 0.031066812574863434,
475
+ 0.07892268151044846,
476
+ 0.08609519898891449,
477
+ 0.02981487289071083,
478
+ 0.0792936161160469,
479
+ 0.030287284404039383,
480
+ 0.0870140790939331,
481
+ 0.07865964248776436,
482
+ 0.03012550249695778,
483
+ 0.08696513995528221,
484
+ 0.0784844309091568,
485
+ 0.029944688081741333,
486
+ 0.086761474609375,
487
+ 0.07896649464964867,
488
+ 0.03031099960207939,
489
+ 0.08786065503954887,
490
+ 0.030277341604232788,
491
+ 0.07935434579849243,
492
+ 0.08759656175971031,
493
+ 0.030528832226991653,
494
+ 0.08571954816579819,
495
+ 0.029911436140537262,
496
+ 0.07833398878574371,
497
+ 0.029860004782676697,
498
+ 0.08652855828404427,
499
+ 0.07841072604060173,
500
+ 0.030123412609100342,
501
+ 0.08655818551778793,
502
+ 0.07855880260467529,
503
+ 0.03036956489086151,
504
+ 0.08715884387493134,
505
+ 0.030181337147951126,
506
+ 0.07853639498353004,
507
+ 0.08769216015934944,
508
+ 0.03001139685511589,
509
+ 0.08302642032504082,
510
+ 0.08739649876952171,
511
+ 0.03041168302297592,
512
+ 0.07898931205272675,
513
+ 0.08745930716395378,
514
+ 0.030811142176389694,
515
+ 0.07905949652194977,
516
+ 0.08724984526634216,
517
+ 0.02985016629099846,
518
+ 0.08056964725255966,
519
+ 0.08694979920983315,
520
+ 0.031596966087818146,
521
+ 0.0788983553647995,
522
+ 0.08599378913640976,
523
+ 0.030666440725326538,
524
+ 0.07916632294654846
525
+ ],
526
+ "count": 310,
527
+ "total": 19.973630283027887,
528
+ "mean": 0.06443106542912222,
529
+ "p50": 0.07896035723388195,
530
+ "p90": 0.08737876750528813,
531
+ "p95": 0.08769192714244127,
532
+ "p99": 0.08814818881452084,
533
+ "stdev": 0.025390094743037318,
534
+ "stdev_": 39.4066039012933
535
+ },
536
+ "throughput": {
537
+ "unit": "tokens/s",
538
+ "value": 31.040927023007434
539
+ },
540
+ "energy": null,
541
+ "efficiency": null
542
+ }
543
+ }
544
+ }