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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "2024-10-10-13-27-38/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": "qwen2",
11
+ "model": "Qwen/Qwen2.5-7B-Instruct",
12
+ "processor": "Qwen/Qwen2.5-7B-Instruct",
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": 35904.417792,
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
+ 17.653250481933355
115
+ ],
116
+ "count": 1,
117
+ "total": 17.653250481933355,
118
+ "mean": 17.653250481933355,
119
+ "p50": 17.653250481933355,
120
+ "p90": 17.653250481933355,
121
+ "p95": 17.653250481933355,
122
+ "p99": 17.653250481933355,
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": 32586.477568,
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
+ 7.114257633686066,
143
+ 6.9122952707111835,
144
+ 7.246219478547573,
145
+ 7.030736085027456,
146
+ 7.265082646161318,
147
+ 6.757320333272219,
148
+ 6.376978535205126,
149
+ 7.046132210642099,
150
+ 6.656667198985815,
151
+ 6.604565516114235
152
+ ],
153
+ "count": 10,
154
+ "total": 69.01025490835309,
155
+ "mean": 6.901025490835309,
156
+ "p50": 6.97151567786932,
157
+ "p90": 7.248105795308947,
158
+ "p95": 7.256594220735133,
159
+ "p99": 7.263384961076081,
160
+ "stdev": 0.27893514120336665,
161
+ "stdev_": 4.041937558031016
162
+ },
163
+ "throughput": {
164
+ "unit": "tokens/s",
165
+ "value": 4.63699200104341
166
+ },
167
+ "energy": null,
168
+ "efficiency": null
169
+ },
170
+ "decode": {
171
+ "memory": {
172
+ "unit": "MB",
173
+ "max_ram": 32586.477568,
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
+ 63.17382514476776,
183
+ 65.35659051686525,
184
+ 55.37452078983188,
185
+ 50.915375493466854,
186
+ 47.49415132775903,
187
+ 45.104538425803185,
188
+ 45.05941754952073,
189
+ 48.155522741377354,
190
+ 45.74066999182105,
191
+ 47.49882814288139
192
+ ],
193
+ "count": 10,
194
+ "total": 513.8734401240945,
195
+ "mean": 51.38734401240945,
196
+ "p50": 47.82717544212937,
197
+ "p90": 63.39210168197751,
198
+ "p95": 64.37434609942137,
199
+ "p99": 65.16014163337648,
200
+ "stdev": 7.08734589851425,
201
+ "stdev_": 13.792006640395227
202
+ },
203
+ "throughput": {
204
+ "unit": "tokens/s",
205
+ "value": 1.2065227575300976
206
+ },
207
+ "energy": null,
208
+ "efficiency": null
209
+ },
210
+ "per_token": {
211
+ "memory": null,
212
+ "latency": {
213
+ "unit": "s",
214
+ "values": [
215
+ 1.7681835927069187,
216
+ 3.4078874364495277,
217
+ 1.8021652027964592,
218
+ 1.8068931549787521,
219
+ 2.261068418622017,
220
+ 1.726471833884716,
221
+ 1.9878739155828953,
222
+ 1.5795339308679104,
223
+ 1.8304941393435001,
224
+ 1.5634720548987389,
225
+ 1.606158822774887,
226
+ 1.616318330168724,
227
+ 1.6184928230941296,
228
+ 1.9202837757766247,
229
+ 3.450111825019121,
230
+ 1.6720258966088295,
231
+ 1.7256851755082607,
232
+ 1.75783621519804,
233
+ 1.7265837825834751,
234
+ 1.5630804300308228,
235
+ 1.5898851603269577,
236
+ 1.533352144062519,
237
+ 3.1931427754461765,
238
+ 5.343102682381868,
239
+ 1.6616773642599583,
240
+ 1.7369111701846123,
241
+ 1.5022210367023945,
242
+ 1.598583146929741,
243
+ 1.624124240130186,
244
+ 2.656230367720127,
245
+ 2.343122761696577,
246
+ 1.7591094300150871,
247
+ 1.6286157593131065,
248
+ 1.7802175655961037,
249
+ 1.5908653438091278,
250
+ 1.5171627439558506,
251
+ 1.493276171386242,
252
+ 1.6895058862864971,
253
+ 3.347988873720169,
254
+ 5.13086811080575,
255
+ 1.5426892451941967,
256
+ 1.6004906855523586,
257
+ 2.0029783472418785,
258
+ 1.6391308568418026,
259
+ 1.52532322332263,
260
+ 1.5069370567798615,
261
+ 2.186821110546589,
262
+ 2.093376763164997,
263
+ 1.9745018891990185,
264
+ 2.0757181458175182,
265
+ 1.7520508393645287,
266
+ 2.346122395247221,
267
+ 1.6076675169169903,
268
+ 2.084550578147173,
269
+ 1.8133570104837418,
270
+ 1.9934194646775723,
271
+ 2.128780335187912,
272
+ 2.2920861802995205,
273
+ 2.1631330735981464,
274
+ 2.6446249149739742,
275
+ 2.5772662423551083,
276
+ 3.8671637177467346,
277
+ 1.9852449893951416,
278
+ 2.3654357455670834,
279
+ 2.0360347852110863,
280
+ 2.374017111957073,
281
+ 2.723650574684143,
282
+ 1.8582580871880054,
283
+ 1.5034046098589897,
284
+ 1.6465991362929344,
285
+ 1.4499674253165722,
286
+ 1.6358654126524925,
287
+ 1.8747524544596672,
288
+ 1.4206897020339966,
289
+ 1.4671851061284542,
290
+ 1.4384502470493317,
291
+ 1.4643107503652573,
292
+ 1.9214762523770332,
293
+ 1.6099670119583607,
294
+ 1.4689327515661716,
295
+ 1.6052444465458393,
296
+ 1.9042164869606495,
297
+ 1.4260458834469318,
298
+ 1.679093286395073,
299
+ 1.4906517751514912,
300
+ 1.565056350082159,
301
+ 1.4333108961582184,
302
+ 1.6245144605636597,
303
+ 1.4097499176859856,
304
+ 1.462467536330223,
305
+ 3.8359421268105507,
306
+ 2.106362149119377,
307
+ 1.5868472456932068,
308
+ 1.5491143092513084,
309
+ 2.0500447005033493,
310
+ 1.7718442045152187,
311
+ 1.701318010687828,
312
+ 1.4650880098342896,
313
+ 1.9086740873754025,
314
+ 1.640469465404749,
315
+ 1.460494514554739,
316
+ 1.5559008307754993,
317
+ 1.680026601999998,
318
+ 1.464311558753252,
319
+ 1.7624241672456264,
320
+ 1.5449306890368462,
321
+ 1.4213817492127419,
322
+ 1.568018052726984,
323
+ 1.7861261330544949,
324
+ 1.6119177863001823,
325
+ 1.7638235799968243,
326
+ 2.141072131693363,
327
+ 1.5725331641733646,
328
+ 1.7254820428788662,
329
+ 1.4259584471583366,
330
+ 1.4681672006845474,
331
+ 1.7029561065137386,
332
+ 1.4312676340341568,
333
+ 1.4676583148539066,
334
+ 1.459305603057146,
335
+ 1.4513339586555958,
336
+ 1.7661967910826206,
337
+ 1.4546430632472038,
338
+ 2.1419729441404343,
339
+ 1.9010721147060394,
340
+ 1.7762134373188019,
341
+ 2.2160165905952454,
342
+ 1.6020240932703018,
343
+ 1.4636012949049473,
344
+ 1.6160628609359264,
345
+ 1.8222533836960793,
346
+ 1.4647764824330807,
347
+ 1.7365992963314056,
348
+ 1.4626570045948029,
349
+ 1.4276827089488506,
350
+ 1.468505822122097,
351
+ 1.4329461827874184,
352
+ 1.4534464962780476,
353
+ 1.4221769347786903,
354
+ 1.423435002565384,
355
+ 1.4693606309592724,
356
+ 1.429002270102501,
357
+ 1.4702580831944942,
358
+ 1.435199748724699,
359
+ 1.4652475081384182,
360
+ 1.4286426231265068,
361
+ 1.474669460207224,
362
+ 1.4328301846981049,
363
+ 1.464672900736332,
364
+ 1.4327681809663773,
365
+ 1.4693042039871216,
366
+ 1.4310141205787659,
367
+ 1.4982984140515327,
368
+ 1.4678047075867653,
369
+ 1.4311448149383068,
370
+ 1.438781276345253,
371
+ 1.4013014882802963,
372
+ 1.4686011709272861,
373
+ 1.4323601126670837,
374
+ 1.6065926253795624,
375
+ 1.4586185403168201,
376
+ 1.437251329421997,
377
+ 1.4721843674778938,
378
+ 1.4274075105786324,
379
+ 1.4661480821669102,
380
+ 1.4193136915564537,
381
+ 1.410939633846283,
382
+ 1.469047974795103,
383
+ 1.4303078353404999,
384
+ 1.4693841524422169,
385
+ 1.433273371309042,
386
+ 1.4672483839094639,
387
+ 1.4289179928600788,
388
+ 1.6004419699311256,
389
+ 1.4669023714959621,
390
+ 1.434362668544054,
391
+ 1.4672634564340115,
392
+ 1.4329279772937298,
393
+ 1.4656192809343338,
394
+ 1.4319997280836105,
395
+ 1.4704417325556278,
396
+ 1.4181833565235138,
397
+ 1.4165718294680119,
398
+ 1.4671027697622776,
399
+ 1.4308040924370289,
400
+ 1.463426098227501,
401
+ 1.4551252573728561,
402
+ 1.4723606295883656,
403
+ 1.3972427360713482,
404
+ 1.5316320396959782,
405
+ 1.4691742546856403,
406
+ 1.4322599954903126,
407
+ 1.471731297671795,
408
+ 1.4259674474596977,
409
+ 1.4151211753487587,
410
+ 1.4538570679724216,
411
+ 1.5188346281647682,
412
+ 1.4142794720828533,
413
+ 1.468948818743229,
414
+ 1.5021546743810177,
415
+ 1.431886613368988,
416
+ 1.4644411280751228,
417
+ 1.434070136398077,
418
+ 1.4692771509289742,
419
+ 1.4331989660859108,
420
+ 1.464082259684801,
421
+ 1.436005748808384,
422
+ 1.4635489657521248,
423
+ 1.4311735518276691,
424
+ 1.4684767164289951,
425
+ 1.43087899684906,
426
+ 1.4675031937658787,
427
+ 1.4375089146196842,
428
+ 1.4641438461840153,
429
+ 1.435873582959175,
430
+ 1.4659490697085857,
431
+ 1.4319299049675465,
432
+ 1.4575478471815586,
433
+ 2.5977691896259785,
434
+ 1.46378618106246,
435
+ 1.4319142065942287,
436
+ 1.470462467521429,
437
+ 1.4337660819292068,
438
+ 1.4779867082834244,
439
+ 1.4157986715435982,
440
+ 1.4697876125574112,
441
+ 1.4317081272602081,
442
+ 1.4674253277480602,
443
+ 1.423119131475687,
444
+ 1.409830268472433,
445
+ 1.4705512672662735,
446
+ 1.4304680824279785,
447
+ 1.4666381552815437,
448
+ 1.4366301782429218,
449
+ 1.467168401926756,
450
+ 1.4340135417878628,
451
+ 1.4701542630791664,
452
+ 1.4268802665174007,
453
+ 1.468014683574438,
454
+ 1.4302533492445946,
455
+ 1.4716646037995815,
456
+ 3.4407747872173786,
457
+ 1.4562487825751305,
458
+ 1.5330546535551548,
459
+ 1.4706882983446121,
460
+ 1.428062915802002,
461
+ 1.4668530523777008,
462
+ 1.4319939278066158,
463
+ 1.529294889420271,
464
+ 1.5111301951110363,
465
+ 1.4708303660154343,
466
+ 1.4178302213549614,
467
+ 1.4096245132386684,
468
+ 1.4697333239018917,
469
+ 1.48112278804183,
470
+ 1.4199819527566433,
471
+ 1.4294500797986984,
472
+ 1.7169660702347755,
473
+ 1.5820492394268513,
474
+ 1.5101014636456966,
475
+ 1.7897575870156288,
476
+ 1.4517071843147278,
477
+ 1.4105923362076283,
478
+ 1.4401911534368992,
479
+ 1.464747030287981,
480
+ 1.4333813078701496,
481
+ 1.468441180884838,
482
+ 1.399736039340496,
483
+ 1.5200213603675365,
484
+ 1.4172282554209232,
485
+ 1.4615039676427841,
486
+ 1.4375051446259022,
487
+ 1.4635396413505077,
488
+ 1.424740869551897,
489
+ 1.4582512192428112,
490
+ 1.4166014529764652,
491
+ 1.4317531250417233,
492
+ 1.4724761247634888,
493
+ 1.4295803979039192,
494
+ 1.4657687619328499,
495
+ 1.42853232473135,
496
+ 1.4724901355803013,
497
+ 1.426195602864027,
498
+ 1.4717541746795177,
499
+ 1.4288433454930782,
500
+ 1.4715972393751144,
501
+ 1.4293026141822338,
502
+ 1.8215524479746819,
503
+ 3.227171815931797,
504
+ 1.440565425902605,
505
+ 1.408451296389103,
506
+ 1.4700793586671352,
507
+ 1.4310657270252705,
508
+ 1.4687310978770256,
509
+ 1.4323204793035984,
510
+ 1.4678363390266895,
511
+ 1.430955681949854,
512
+ 1.4694240540266037,
513
+ 1.4306833483278751,
514
+ 1.4684094078838825,
515
+ 1.4312798827886581,
516
+ 1.4700833931565285,
517
+ 1.6013607122004032,
518
+ 1.4290366619825363,
519
+ 1.4716910608112812,
520
+ 1.4340159222483635,
521
+ 1.4633553586900234,
522
+ 1.4303532429039478,
523
+ 1.7709635347127914,
524
+ 1.434176791459322
525
+ ],
526
+ "count": 310,
527
+ "total": 513.8579590767622,
528
+ "mean": 1.6576063196024586,
529
+ "p50": 1.4693723917007446,
530
+ "p90": 2.052612045034767,
531
+ "p95": 2.3701554970815777,
532
+ "p99": 3.8012173996493317,
533
+ "stdev": 0.4835444308274939,
534
+ "stdev_": 29.171246821951165
535
+ },
536
+ "throughput": {
537
+ "unit": "tokens/s",
538
+ "value": 1.2065591065553232
539
+ },
540
+ "energy": null,
541
+ "efficiency": null
542
+ }
543
+ }
544
+ }