File size: 10,965 Bytes
9be1df3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "config": {
        "name": "bert-base-uncased-feature-extraction-pytorch-2024-09-25-15-08-47",
        "backend": {
            "name": "pytorch",
            "version": "2.4.1",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "feature-extraction",
            "library": "transformers",
            "model_type": "bert",
            "model": "bert-base-uncased",
            "processor": "bert-base-uncased",
            "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": false,
            "latency": true,
            "energy": false,
            "forward_kwargs": {},
            "generate_kwargs": {},
            "call_kwargs": {}
        },
        "launcher": {
            "name": "process",
            "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
            "device_isolation": false,
            "device_isolation_action": null,
            "numactl": false,
            "numactl_kwargs": "",
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " AMD EPYC 7R13 Processor",
            "cpu_count": 64,
            "cpu_ram_mb": 529717.02272,
            "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": null,
            "latency": {
                "unit": "s",
                "count": 1,
                "total": 0.07210066542029381,
                "mean": 0.07210066542029381,
                "stdev": 0.0,
                "p50": 0.07210066542029381,
                "p90": 0.07210066542029381,
                "p95": 0.07210066542029381,
                "p99": 0.07210066542029381,
                "values": [
                    0.07210066542029381
                ]
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": null,
            "latency": {
                "unit": "s",
                "count": 153,
                "total": 9.974208168685436,
                "mean": 0.06519090306330351,
                "stdev": 0.026105268909514683,
                "p50": 0.08034047484397888,
                "p90": 0.08824116662144661,
                "p95": 0.08881376460194587,
                "p99": 0.09044995039701462,
                "values": [
                    0.08671865984797478,
                    0.029282402247190475,
                    0.08440905436873436,
                    0.0892685018479824,
                    0.02868487685918808,
                    0.08193496987223625,
                    0.08509622514247894,
                    0.028885550796985626,
                    0.07830393314361572,
                    0.0288834311068058,
                    0.0865822583436966,
                    0.07800916582345963,
                    0.028924360871315002,
                    0.08839720860123634,
                    0.02927860990166664,
                    0.029224053025245667,
                    0.08561369776725769,
                    0.028702400624752045,
                    0.07779108732938766,
                    0.08651905879378319,
                    0.030083738267421722,
                    0.07827753946185112,
                    0.08480985090136528,
                    0.030197083950042725,
                    0.07819927483797073,
                    0.028606794774532318,
                    0.08638685569167137,
                    0.07740380987524986,
                    0.028886329382658005,
                    0.08676977828145027,
                    0.08310487493872643,
                    0.03034083917737007,
                    0.08638887107372284,
                    0.028962984681129456,
                    0.07815849408507347,
                    0.08559264242649078,
                    0.028768200427293777,
                    0.07915101200342178,
                    0.08866899088025093,
                    0.03139154985547066,
                    0.07798196375370026,
                    0.08537538722157478,
                    0.028692476451396942,
                    0.08164789155125618,
                    0.02918834239244461,
                    0.08721264824271202,
                    0.08031235635280609,
                    0.029645033180713654,
                    0.08578061312437057,
                    0.07739222049713135,
                    0.029253773391246796,
                    0.08614078536629677,
                    0.028380360454320908,
                    0.08138513565063477,
                    0.08517786860466003,
                    0.02861091122031212,
                    0.0821840763092041,
                    0.08686718344688416,
                    0.029349002987146378,
                    0.08232486620545387,
                    0.08727655187249184,
                    0.031969014555215836,
                    0.08363697305321693,
                    0.08660118281841278,
                    0.029040157794952393,
                    0.0819331482052803,
                    0.0861346647143364,
                    0.02911483496427536,
                    0.07864395529031754,
                    0.08579368889331818,
                    0.029402464628219604,
                    0.07986610010266304,
                    0.028894200921058655,
                    0.08696756884455681,
                    0.07885725423693657,
                    0.029293451458215714,
                    0.08608243241906166,
                    0.08233628049492836,
                    0.029818952083587646,
                    0.08673082292079926,
                    0.02863265573978424,
                    0.07864443585276604,
                    0.08652118593454361,
                    0.030007828027009964,
                    0.07874234765768051,
                    0.0864611528813839,
                    0.02870640903711319,
                    0.07988366857171059,
                    0.08693121373653412,
                    0.03012882173061371,
                    0.08467292785644531,
                    0.08825604245066643,
                    0.03183877840638161,
                    0.08136601746082306,
                    0.08858264610171318,
                    0.03136418014764786,
                    0.08063030987977982,
                    0.08702444657683372,
                    0.029733363538980484,
                    0.08311114087700844,
                    0.08792019635438919,
                    0.03104686364531517,
                    0.08419809490442276,
                    0.08794542029500008,
                    0.03107985481619835,
                    0.08034047484397888,
                    0.08798841014504433,
                    0.02982364222407341,
                    0.08436251804232597,
                    0.08833266794681549,
                    0.03010709211230278,
                    0.0799177996814251,
                    0.08733798190951347,
                    0.029730897396802902,
                    0.07946400716900826,
                    0.08716830238699913,
                    0.02999015524983406,
                    0.08359574526548386,
                    0.08686870709061623,
                    0.03104371204972267,
                    0.07990296930074692,
                    0.0876222476363182,
                    0.03084626793861389,
                    0.07977413758635521,
                    0.08818166330456734,
                    0.03145522251725197,
                    0.08570212498307228,
                    0.08879226818680763,
                    0.032228484749794006,
                    0.0803372859954834,
                    0.08840389549732208,
                    0.031040795147418976,
                    0.0824575424194336,
                    0.08947433531284332,
                    0.032102737575769424,
                    0.08311960101127625,
                    0.08884600922465324,
                    0.08056440576910973,
                    0.03210434690117836,
                    0.09420588985085487,
                    0.08237894624471664,
                    0.0907680131494999,
                    0.033568207174539566,
                    0.08502240851521492,
                    0.09015635401010513,
                    0.0318465530872345,
                    0.08447688817977905,
                    0.08866484463214874,
                    0.08896942436695099,
                    0.03396686911582947,
                    0.0822608694434166,
                    0.08997344970703125,
                    0.03353537619113922
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 30.67912708707078
            },
            "energy": null,
            "efficiency": null
        }
    }
}