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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "2024-10-10-11-14-43/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": "phi3",
11
+ "model": "microsoft/Phi-3.5-mini-instruct",
12
+ "processor": "microsoft/Phi-3.5-mini-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": 18714.865664,
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
+ 8.399750124663115
115
+ ],
116
+ "count": 1,
117
+ "total": 8.399750124663115,
118
+ "mean": 8.399750124663115,
119
+ "p50": 8.399750124663115,
120
+ "p90": 8.399750124663115,
121
+ "p95": 8.399750124663115,
122
+ "p99": 8.399750124663115,
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": 16276.750336,
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
+ 3.3581380620598793,
143
+ 3.396693389862776,
144
+ 3.4571818970143795,
145
+ 3.5572459772229195,
146
+ 3.4731837548315525,
147
+ 3.5803959518671036,
148
+ 3.374232042580843,
149
+ 5.356942415237427,
150
+ 4.5129506178200245,
151
+ 3.4573763869702816
152
+ ],
153
+ "count": 10,
154
+ "total": 37.524340495467186,
155
+ "mean": 3.7524340495467188,
156
+ "p50": 3.465280070900917,
157
+ "p90": 4.5973497975617645,
158
+ "p95": 4.977146106399595,
159
+ "p99": 5.280983153469861,
160
+ "stdev": 0.6243235637482007,
161
+ "stdev_": 16.637829086526303
162
+ },
163
+ "throughput": {
164
+ "unit": "tokens/s",
165
+ "value": 8.527798111166135
166
+ },
167
+ "energy": null,
168
+ "efficiency": null
169
+ },
170
+ "decode": {
171
+ "memory": {
172
+ "unit": "MB",
173
+ "max_ram": 16276.750336,
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
+ 33.501635421067476,
183
+ 30.04133592545986,
184
+ 31.445279240608215,
185
+ 32.22521169483662,
186
+ 29.81996901333332,
187
+ 41.92725533992052,
188
+ 41.742891021072865,
189
+ 40.72321484610438,
190
+ 36.302091002464294,
191
+ 29.9244181253016
192
+ ],
193
+ "count": 10,
194
+ "total": 347.65330163016915,
195
+ "mean": 34.76533016301691,
196
+ "p50": 32.863423557952046,
197
+ "p90": 41.76132745295763,
198
+ "p95": 41.844291396439075,
199
+ "p99": 41.910662551224235,
200
+ "stdev": 4.765674807588583,
201
+ "stdev_": 13.70812468986206
202
+ },
203
+ "throughput": {
204
+ "unit": "tokens/s",
205
+ "value": 1.7833859108852967
206
+ },
207
+ "energy": null,
208
+ "efficiency": null
209
+ },
210
+ "per_token": {
211
+ "memory": null,
212
+ "latency": {
213
+ "unit": "s",
214
+ "values": [
215
+ 1.1384357027709484,
216
+ 1.177622027695179,
217
+ 1.2003977410495281,
218
+ 1.1222545504570007,
219
+ 1.1713331490755081,
220
+ 1.0922859869897366,
221
+ 1.1245402358472347,
222
+ 1.0887378714978695,
223
+ 1.0933789052069187,
224
+ 1.04338264092803,
225
+ 2.5836568102240562,
226
+ 0.9817171767354012,
227
+ 0.9770018830895424,
228
+ 0.9235625192523003,
229
+ 1.0084493197500706,
230
+ 0.9811127707362175,
231
+ 0.9208281897008419,
232
+ 0.9809328615665436,
233
+ 0.9289973638951778,
234
+ 0.9859548509120941,
235
+ 0.9852742440998554,
236
+ 0.9847075641155243,
237
+ 0.9451818726956844,
238
+ 0.9612500742077827,
239
+ 0.9418791197240353,
240
+ 0.9792121089994907,
241
+ 0.9790862575173378,
242
+ 0.9306129962205887,
243
+ 1.2642306201159954,
244
+ 0.9998959638178349,
245
+ 1.005143839865923,
246
+ 1.0203991308808327,
247
+ 0.9920058287680149,
248
+ 0.9966826364398003,
249
+ 0.9953101053833961,
250
+ 0.9291196055710316,
251
+ 0.9696704670786858,
252
+ 0.9301869682967663,
253
+ 0.987386416643858,
254
+ 0.9202318973839283,
255
+ 0.9781012162566185,
256
+ 0.9842051900923252,
257
+ 0.940557025372982,
258
+ 0.9892774075269699,
259
+ 0.9911873750388622,
260
+ 0.9843054339289665,
261
+ 0.9321952946484089,
262
+ 0.9788714051246643,
263
+ 0.983123891055584,
264
+ 0.9373661689460278,
265
+ 0.9977158568799496,
266
+ 0.9967306777834892,
267
+ 0.9766447097063065,
268
+ 0.9264360927045345,
269
+ 0.9862302131950855,
270
+ 0.989815678447485,
271
+ 0.9204447530210018,
272
+ 0.9958750903606415,
273
+ 0.9726669117808342,
274
+ 0.923191498965025,
275
+ 0.9769759476184845,
276
+ 0.937883235514164,
277
+ 1.0038145929574966,
278
+ 0.9356443509459496,
279
+ 0.9842030443251133,
280
+ 0.9259354844689369,
281
+ 0.9633580222725868,
282
+ 0.9284386411309242,
283
+ 0.9787793271243572,
284
+ 0.921055294573307,
285
+ 0.9715253077447414,
286
+ 0.9293092153966427,
287
+ 0.980810422450304,
288
+ 0.9748993143439293,
289
+ 0.9295509122312069,
290
+ 0.9894356057047844,
291
+ 1.02058532461524,
292
+ 1.0904977284371853,
293
+ 1.0841796584427357,
294
+ 1.0298358500003815,
295
+ 1.0859693884849548,
296
+ 1.0873793698847294,
297
+ 1.0984263382852077,
298
+ 1.024993922561407,
299
+ 1.0732106268405914,
300
+ 1.0327858179807663,
301
+ 1.0791507065296173,
302
+ 1.081660270690918,
303
+ 1.0225499421358109,
304
+ 1.0838542468845844,
305
+ 1.0221294797956944,
306
+ 1.0773406624794006,
307
+ 1.0334686152637005,
308
+ 1.025660865008831,
309
+ 1.083419531583786,
310
+ 1.0327927507460117,
311
+ 1.070757694542408,
312
+ 1.0347601920366287,
313
+ 1.0777060836553574,
314
+ 1.0838213339447975,
315
+ 1.0328659415245056,
316
+ 1.0774759203195572,
317
+ 1.089761409908533,
318
+ 1.0210511833429337,
319
+ 1.0121761299669743,
320
+ 1.0829932019114494,
321
+ 1.0853435210883617,
322
+ 1.0839992016553879,
323
+ 1.0269759930670261,
324
+ 1.0876033268868923,
325
+ 1.0944339707493782,
326
+ 1.0298818238079548,
327
+ 1.109166506677866,
328
+ 1.0857994854450226,
329
+ 1.0941513702273369,
330
+ 0.9991730563342571,
331
+ 0.9974812120199203,
332
+ 0.9982665330171585,
333
+ 1.0019456297159195,
334
+ 0.976470872759819,
335
+ 0.9289552867412567,
336
+ 0.9809416867792606,
337
+ 0.9330388009548187,
338
+ 0.9858381599187851,
339
+ 0.9323876649141312,
340
+ 0.9798810072243214,
341
+ 0.9282574504613876,
342
+ 0.9837096184492111,
343
+ 0.9854167923331261,
344
+ 0.9311277456581593,
345
+ 0.9929866082966328,
346
+ 0.975170198827982,
347
+ 0.924533985555172,
348
+ 0.9784401841461658,
349
+ 0.9856738410890102,
350
+ 0.9309582859277725,
351
+ 0.9746614508330822,
352
+ 0.9304128997027874,
353
+ 0.9742713011801243,
354
+ 0.9257941879332066,
355
+ 0.9783140309154987,
356
+ 0.9218395128846169,
357
+ 0.969913836568594,
358
+ 0.9223781675100327,
359
+ 0.987464290112257,
360
+ 0.9202763512730598,
361
+ 0.9856284596025944,
362
+ 0.9847845360636711,
363
+ 0.9374007992446423,
364
+ 0.995894443243742,
365
+ 0.9869710579514503,
366
+ 0.9729698747396469,
367
+ 0.9434096142649651,
368
+ 1.0001477897167206,
369
+ 0.978327140212059,
370
+ 1.0453919284045696,
371
+ 1.2942124083638191,
372
+ 1.3069291189312935,
373
+ 1.5827287174761295,
374
+ 1.0205241590738297,
375
+ 1.684956394135952,
376
+ 2.0071276016533375,
377
+ 1.4697532132267952,
378
+ 0.9854139052331448,
379
+ 0.9400103129446507,
380
+ 1.686314158141613,
381
+ 1.5830329842865467,
382
+ 1.8000198565423489,
383
+ 1.0415470115840435,
384
+ 1.1040319204330444,
385
+ 1.4436596930027008,
386
+ 1.7231036685407162,
387
+ 1.184716660529375,
388
+ 1.1395438238978386,
389
+ 1.1696329601109028,
390
+ 1.131481558084488,
391
+ 1.6683161593973637,
392
+ 1.141899909824133,
393
+ 1.1835839822888374,
394
+ 1.1797052212059498,
395
+ 1.3359068483114243,
396
+ 1.089801549911499,
397
+ 1.3668644726276398,
398
+ 1.7911975868046284,
399
+ 1.7504928074777126,
400
+ 1.0747970789670944,
401
+ 1.0397629737854004,
402
+ 1.3824371211230755,
403
+ 1.4925954155623913,
404
+ 1.0173395834863186,
405
+ 1.2972969077527523,
406
+ 1.0141821280121803,
407
+ 1.083788201212883,
408
+ 1.5184855461120605,
409
+ 1.5929313525557518,
410
+ 1.571888018399477,
411
+ 2.223855134099722,
412
+ 1.6039031185209751,
413
+ 1.5024455301463604,
414
+ 1.4671013206243515,
415
+ 1.024438962340355,
416
+ 1.0754979886114597,
417
+ 1.003241941332817,
418
+ 1.28562256321311,
419
+ 0.921080008149147,
420
+ 0.9212512448430061,
421
+ 1.5782709680497646,
422
+ 1.088150266557932,
423
+ 2.1945955231785774,
424
+ 1.5069400109350681,
425
+ 1.1015802510082722,
426
+ 0.9989534988999367,
427
+ 2.128241177648306,
428
+ 1.0894646272063255,
429
+ 1.0835177637636662,
430
+ 1.31818637996912,
431
+ 1.6153025887906551,
432
+ 1.1411330960690975,
433
+ 1.5759688653051853,
434
+ 1.6091405861079693,
435
+ 1.097939532250166,
436
+ 1.489734087139368,
437
+ 1.4302357733249664,
438
+ 1.3789326772093773,
439
+ 1.0950008481740952,
440
+ 1.605417400598526,
441
+ 1.293320693075657,
442
+ 2.1278112828731537,
443
+ 1.3645955994725227,
444
+ 1.031461264938116,
445
+ 1.5023802481591702,
446
+ 1.4960583820939064,
447
+ 1.1092017702758312,
448
+ 1.1034789346158504,
449
+ 1.0913921669125557,
450
+ 1.2833945713937283,
451
+ 1.3165629468858242,
452
+ 1.0826188065111637,
453
+ 1.5940546356141567,
454
+ 1.0025205686688423,
455
+ 1.0736385881900787,
456
+ 1.2250505462288857,
457
+ 1.2195956744253635,
458
+ 1.193432278931141,
459
+ 1.414183545857668,
460
+ 1.0937596298754215,
461
+ 1.5862558707594872,
462
+ 1.094409067183733,
463
+ 1.108453419059515,
464
+ 1.0806798972189426,
465
+ 2.0739275999367237,
466
+ 2.142223585397005,
467
+ 1.0840606540441513,
468
+ 1.0839973539113998,
469
+ 1.0290987975895405,
470
+ 0.9870520606637001,
471
+ 0.9932393617928028,
472
+ 0.9201038889586926,
473
+ 1.0738199539482594,
474
+ 0.9267219118773937,
475
+ 1.2620188817381859,
476
+ 1.2937371879816055,
477
+ 1.448078092187643,
478
+ 1.0587906427681446,
479
+ 1.2306020259857178,
480
+ 1.476415079087019,
481
+ 1.0325193852186203,
482
+ 1.0846510417759418,
483
+ 1.074777141213417,
484
+ 0.9309312328696251,
485
+ 1.2921703271567822,
486
+ 0.9991178959608078,
487
+ 0.9993756338953972,
488
+ 1.3077789098024368,
489
+ 1.0114902220666409,
490
+ 1.055048331618309,
491
+ 1.2314375787973404,
492
+ 1.0074683725833893,
493
+ 1.0017726495862007,
494
+ 0.940196581184864,
495
+ 0.9816303625702858,
496
+ 0.920859795063734,
497
+ 0.9756297282874584,
498
+ 0.9816593639552593,
499
+ 0.9289572313427925,
500
+ 0.978353139013052,
501
+ 0.9289989694952965,
502
+ 0.9759187437593937,
503
+ 0.929035235196352,
504
+ 0.9809492528438568,
505
+ 0.9891758672893047,
506
+ 0.9281279109418392,
507
+ 1.0840245857834816,
508
+ 0.9802136085927486,
509
+ 0.9322773180902004,
510
+ 0.9693350978195667,
511
+ 0.9306082129478455,
512
+ 0.978623241186142,
513
+ 0.9838609024882317,
514
+ 0.9376424625515938,
515
+ 0.9914923831820488,
516
+ 0.9714805297553539,
517
+ 0.9300731755793095,
518
+ 0.9780604802072048,
519
+ 0.9323897622525692,
520
+ 0.9750336855649948,
521
+ 0.9848188161849976,
522
+ 0.9370813593268394,
523
+ 0.9935021847486496,
524
+ 0.9939015991985798
525
+ ],
526
+ "count": 310,
527
+ "total": 347.64793706685305,
528
+ "mean": 1.121444958280171,
529
+ "p50": 1.0205547418445349,
530
+ "p90": 1.4966905687004328,
531
+ "p95": 1.6125296875834465,
532
+ "p99": 2.1409651686996227,
533
+ "stdev": 0.2610671956614392,
534
+ "stdev_": 23.279537148377518
535
+ },
536
+ "throughput": {
537
+ "unit": "tokens/s",
538
+ "value": 1.7834134303543225
539
+ },
540
+ "energy": null,
541
+ "efficiency": null
542
+ }
543
+ }
544
+ }