File size: 11,056 Bytes
060f15a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
{
    "config": {
        "name": "2024-10-03-12-11-44/pytorch",
        "backend": {
            "name": "pytorch",
            "version": "2.4.1",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "feature-extraction",
            "library": "transformers",
            "model_type": "gpt2",
            "model": "openai-community/gpt2",
            "processor": "openai-community/gpt2",
            "device": "cpu",
            "device_ids": null,
            "seed": 42,
            "inter_op_num_threads": null,
            "intra_op_num_threads": null,
            "model_kwargs": {},
            "processor_kwargs": {},
            "no_weights": false,
            "device_map": null,
            "torch_dtype": "float32",
            "eval_mode": true,
            "to_bettertransformer": false,
            "low_cpu_mem_usage": null,
            "attn_implementation": null,
            "cache_implementation": null,
            "autocast_enabled": false,
            "autocast_dtype": null,
            "torch_compile": false,
            "torch_compile_target": "forward",
            "torch_compile_config": {},
            "quantization_scheme": null,
            "quantization_config": {},
            "deepspeed_inference": false,
            "deepspeed_inference_config": {},
            "peft_type": null,
            "peft_config": {}
        },
        "scenario": {
            "name": "inference",
            "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
            "iterations": 10,
            "duration": 10,
            "warmup_runs": 10,
            "input_shapes": {
                "batch_size": 2,
                "num_choices": 2,
                "sequence_length": 16
            },
            "new_tokens": null,
            "memory": true,
            "latency": true,
            "energy": false,
            "forward_kwargs": {},
            "generate_kwargs": {
                "max_new_tokens": 32,
                "min_new_tokens": 32
            },
            "call_kwargs": {}
        },
        "launcher": {
            "name": "process",
            "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
            "device_isolation": false,
            "device_isolation_action": null,
            "numactl": true,
            "numactl_kwargs": {
                "cpunodebind": 0,
                "membind": 0
            },
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " AMD EPYC 7R13 Processor",
            "cpu_count": 64,
            "cpu_ram_mb": 529717.026816,
            "system": "Linux",
            "machine": "x86_64",
            "platform": "Linux-5.10.205-195.807.amzn2.x86_64-x86_64-with-glibc2.36",
            "processor": "",
            "python_version": "3.10.15",
            "optimum_benchmark_version": "0.5.0",
            "optimum_benchmark_commit": null,
            "transformers_version": "4.44.2",
            "transformers_commit": null,
            "accelerate_version": "0.34.2",
            "accelerate_commit": null,
            "diffusers_version": null,
            "diffusers_commit": null,
            "optimum_version": "1.22.0",
            "optimum_commit": null,
            "timm_version": null,
            "timm_commit": null,
            "peft_version": null,
            "peft_commit": null
        }
    },
    "report": {
        "load": {
            "memory": {
                "unit": "MB",
                "max_ram": 1350.053888,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "values": [
                    5.446339800953865
                ],
                "count": 1,
                "total": 5.446339800953865,
                "mean": 5.446339800953865,
                "p50": 5.446339800953865,
                "p90": 5.446339800953865,
                "p95": 5.446339800953865,
                "p99": 5.446339800953865,
                "stdev": 0,
                "stdev_": 0
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 1133.002752,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.07211260870099068,
                    0.08712881058454514,
                    0.03192144259810448,
                    0.08901969343423843,
                    0.08365127816796303,
                    0.030785299837589264,
                    0.09117395803332329,
                    0.08516648039221764,
                    0.08884396776556969,
                    0.03202417492866516,
                    0.08828726038336754,
                    0.08974859118461609,
                    0.08621463179588318,
                    0.03249753266572952,
                    0.08844377845525742,
                    0.08403347060084343,
                    0.0316540002822876,
                    0.08734548836946487,
                    0.08284838870167732,
                    0.031995829194784164,
                    0.08778147399425507,
                    0.08311906084418297,
                    0.08883332461118698,
                    0.029844172298908234,
                    0.08430439606308937,
                    0.08893497660756111,
                    0.0325552299618721,
                    0.08627215400338173,
                    0.08953828364610672,
                    0.03022896870970726,
                    0.08486832678318024,
                    0.08853471279144287,
                    0.08460183069109917,
                    0.031494658440351486,
                    0.09973353520035744,
                    0.0833778828382492,
                    0.08785052970051765,
                    0.03373149409890175,
                    0.08212831988930702,
                    0.08821769058704376,
                    0.03391868621110916,
                    0.08439534902572632,
                    0.08856771141290665,
                    0.03235815465450287,
                    0.08359530940651894,
                    0.08816565945744514,
                    0.08489584550261497,
                    0.03110184147953987,
                    0.08856809511780739,
                    0.08459892123937607,
                    0.031157534569501877,
                    0.08733880892395973,
                    0.0841650553047657,
                    0.030547112226486206,
                    0.08782298490405083,
                    0.08472080156207085,
                    0.09423286840319633,
                    0.032623693346977234,
                    0.08440857008099556,
                    0.08756478875875473,
                    0.0318482331931591,
                    0.08350762352347374,
                    0.08946392312645912,
                    0.0847887471318245,
                    0.03126977011561394,
                    0.08786434307694435,
                    0.08619091287255287,
                    0.03135005757212639,
                    0.09026874974370003,
                    0.08420547842979431,
                    0.2983642518520355,
                    0.031972017139196396,
                    0.07953934371471405,
                    0.09058502689003944,
                    0.030382290482521057,
                    0.08372338488698006,
                    0.08971590921282768,
                    0.08407830446958542,
                    0.03121604397892952,
                    0.09072363004088402,
                    0.08343665674328804,
                    0.031056031584739685,
                    0.08707237988710403,
                    0.0848214440047741,
                    0.03190623223781586,
                    0.08785221725702286,
                    0.08411530405282974,
                    0.08981222659349442,
                    0.030464816838502884,
                    0.08419576287269592,
                    0.08932027220726013,
                    0.0317525789141655,
                    0.08719335496425629,
                    0.08823258802294731,
                    0.08838725090026855,
                    0.03081253543496132,
                    0.08262435719370842,
                    0.09577960520982742,
                    0.032657597213983536,
                    0.0792769230902195,
                    0.08840733394026756,
                    0.032758817076683044,
                    0.08042096719145775,
                    0.08879368752241135,
                    0.03085567057132721,
                    0.0852825678884983,
                    0.08746981993317604,
                    0.08388468250632286,
                    0.03197556361556053,
                    0.08930324390530586,
                    0.08320152387022972,
                    0.032891955226659775,
                    0.0874667540192604,
                    0.08433596789836884,
                    0.08781297504901886,
                    0.029759343713521957,
                    0.08411829546093941,
                    0.08842362463474274,
                    0.030253786593675613,
                    0.08527141436934471,
                    0.08821740001440048,
                    0.03176594153046608,
                    0.08352569490671158,
                    0.08811841905117035,
                    0.03093539923429489,
                    0.08662167191505432,
                    0.08222931995987892,
                    0.031720247119665146,
                    0.08853322267532349,
                    0.10124259814620018,
                    0.09010403230786324,
                    0.08753561228513718,
                    0.09024511277675629,
                    0.034699127078056335,
                    0.08595048263669014,
                    0.09234531223773956,
                    0.09113291651010513,
                    0.03464493155479431,
                    0.08296076953411102
                ],
                "count": 139,
                "total": 10.072639882564545,
                "mean": 0.07246503512636362,
                "p50": 0.08440857008099556,
                "p90": 0.08976131826639175,
                "p95": 0.09113702066242695,
                "p99": 0.10066915422677994,
                "stdev": 0.031620398342282356,
                "stdev_": 43.63538675879077
            },
            "throughput": {
                "unit": "samples/s",
                "value": 27.599517429508243
            },
            "energy": null,
            "efficiency": null
        }
    }
}