File size: 10,753 Bytes
e949d5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "config": {
        "name": "bert-base-uncased-feature-extraction-pytorch-2024-09-25-17-28-29",
        "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": true,
            "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.054663341492414474,
                "mean": 0.054663341492414474,
                "stdev": 0.0,
                "p50": 0.054663341492414474,
                "p90": 0.054663341492414474,
                "p95": 0.054663341492414474,
                "p99": 0.054663341492414474,
                "values": [
                    0.054663341492414474
                ]
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": null,
            "latency": {
                "unit": "s",
                "count": 148,
                "total": 10.009725138545036,
                "mean": 0.06763327796314214,
                "stdev": 0.025433522927617573,
                "p50": 0.08215758576989174,
                "p90": 0.08837241306900978,
                "p95": 0.08937046509236098,
                "p99": 0.09085544280707836,
                "values": [
                    0.030780132859945297,
                    0.087571170181036,
                    0.07995138689875603,
                    0.03078364208340645,
                    0.08710252121090889,
                    0.0812809057533741,
                    0.030969608575105667,
                    0.08775125816464424,
                    0.07970964536070824,
                    0.030253935605287552,
                    0.08809491619467735,
                    0.07927149534225464,
                    0.03082004189491272,
                    0.08767811581492424,
                    0.07983437925577164,
                    0.0311494879424572,
                    0.08764905110001564,
                    0.08302861824631691,
                    0.031101468950510025,
                    0.08770926296710968,
                    0.08065235987305641,
                    0.03147134557366371,
                    0.08829094097018242,
                    0.08340052142739296,
                    0.031173348426818848,
                    0.08787019178271294,
                    0.08459831401705742,
                    0.03083276003599167,
                    0.0881752260029316,
                    0.08339597657322884,
                    0.08721482381224632,
                    0.03166530281305313,
                    0.07951664924621582,
                    0.030905012041330338,
                    0.08858499675989151,
                    0.08377328142523766,
                    0.08819307759404182,
                    0.03186004236340523,
                    0.08486791327595711,
                    0.091456089168787,
                    0.03132341057062149,
                    0.08058498054742813,
                    0.08911734819412231,
                    0.03292279317975044,
                    0.0853520967066288,
                    0.0883445292711258,
                    0.03169948235154152,
                    0.08011310175061226,
                    0.08840876445174217,
                    0.031815286725759506,
                    0.08150453120470047,
                    0.08955451101064682,
                    0.07944358885288239,
                    0.033587776124477386,
                    0.09040829166769981,
                    0.08512689918279648,
                    0.08986466005444527,
                    0.037004504352808,
                    0.08433013036847115,
                    0.08992690965533257,
                    0.03225483372807503,
                    0.07972969487309456,
                    0.08740502968430519,
                    0.030474010854959488,
                    0.08078745380043983,
                    0.08864656835794449,
                    0.0304747112095356,
                    0.08039700612425804,
                    0.08835683390498161,
                    0.030412059277296066,
                    0.07961788401007652,
                    0.08810983598232269,
                    0.03059597685933113,
                    0.07920228689908981,
                    0.08646201714873314,
                    0.03063184767961502,
                    0.07897179201245308,
                    0.08590555191040039,
                    0.030885931104421616,
                    0.07963322475552559,
                    0.03083980455994606,
                    0.08823738247156143,
                    0.08455271646380424,
                    0.08811395615339279,
                    0.031290072947740555,
                    0.083490539342165,
                    0.087986771017313,
                    0.03184426948428154,
                    0.08446857705712318,
                    0.08812745660543442,
                    0.03083176538348198,
                    0.08381897583603859,
                    0.08765442296862602,
                    0.030432619154453278,
                    0.08475420996546745,
                    0.08870118111371994,
                    0.030019648373126984,
                    0.08416152372956276,
                    0.08794580027461052,
                    0.0310264453291893,
                    0.08200851082801819,
                    0.09125197306275368,
                    0.08582908660173416,
                    0.03195899724960327,
                    0.08940395712852478,
                    0.08154548704624176,
                    0.08941389992833138,
                    0.03318936005234718,
                    0.08500992879271507,
                    0.08796100690960884,
                    0.031832996755838394,
                    0.08434564992785454,
                    0.08903706818819046,
                    0.031546518206596375,
                    0.0821695365011692,
                    0.08827381581068039,
                    0.031310565769672394,
                    0.08454721793532372,
                    0.08834567293524742,
                    0.030509483069181442,
                    0.08002863451838493,
                    0.08785631880164146,
                    0.08347004652023315,
                    0.031232096254825592,
                    0.08930826559662819,
                    0.08507643640041351,
                    0.03162110596895218,
                    0.08826463297009468,
                    0.0852467529475689,
                    0.03121034801006317,
                    0.0866924449801445,
                    0.07987753674387932,
                    0.029631271958351135,
                    0.08730368316173553,
                    0.078520018607378,
                    0.03053818643093109,
                    0.08685464411973953,
                    0.07701215147972107,
                    0.031156502664089203,
                    0.0870230384171009,
                    0.029011443257331848,
                    0.0782267153263092,
                    0.08793272823095322,
                    0.029254745692014694,
                    0.08214563503861427,
                    0.08649980276823044,
                    0.028945371508598328,
                    0.08221834525465965
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 29.571241557890076
            },
            "energy": null,
            "efficiency": null
        }
    }
}