File size: 12,624 Bytes
ac1bdf0
 
 
 
 
8b5b9b3
ac1bdf0
 
 
1aae553
329df0c
 
ac1bdf0
b860198
ac1bdf0
 
 
329df0c
 
ac1bdf0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5d01b1e
 
 
ac1bdf0
 
 
38e8a79
ac1bdf0
 
 
 
 
 
 
 
 
 
 
 
 
 
5f9e06a
c08d22b
 
ac1bdf0
 
 
fbb3ca5
 
247cbb5
ac1bdf0
 
3ad00df
ac1bdf0
 
 
da23df2
 
 
 
 
 
 
ac1bdf0
 
da23df2
 
f422321
fbb3ca5
53787ae
ac1bdf0
53787ae
ac1bdf0
5d01b1e
ac1bdf0
 
 
5e115d7
ac1bdf0
53787ae
2380aaa
d17e8c8
 
 
ac1bdf0
 
5d01b1e
38e8a79
 
53787ae
723f973
53787ae
38e8a79
7894559
38e8a79
 
 
 
53787ae
3ad00df
 
53787ae
 
 
 
 
 
3ad00df
 
38e8a79
 
 
bb9c262
38e8a79
ac1bdf0
 
 
53787ae
723f973
53787ae
5d01b1e
 
ac1bdf0
 
 
 
53787ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3ad00df
53787ae
 
 
 
 
 
 
 
 
ac1bdf0
 
 
53787ae
ac1bdf0
 
bb9c262
ac1bdf0
 
 
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
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
{
    "config": {
        "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
        "backend": {
            "name": "pytorch",
            "version": "2.3.1+rocm5.7",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "image-classification",
            "library": "transformers",
            "model_type": "vit",
            "model": "google/vit-base-patch16-224",
            "processor": "google/vit-base-patch16-224",
            "device": "cuda",
            "device_ids": "5",
            "seed": 42,
            "inter_op_num_threads": null,
            "intra_op_num_threads": null,
            "model_kwargs": {},
            "processor_kwargs": {},
            "no_weights": true,
            "device_map": null,
            "torch_dtype": null,
            "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": 1,
            "duration": 1,
            "warmup_runs": 1,
            "input_shapes": {
                "batch_size": 2,
                "sequence_length": 16,
                "num_choices": 2
            },
            "new_tokens": null,
            "memory": true,
            "latency": true,
            "energy": false,
            "forward_kwargs": {},
            "generate_kwargs": {
                "max_new_tokens": 2,
                "min_new_tokens": 2
            },
            "call_kwargs": {
                "num_inference_steps": 2
            }
        },
        "launcher": {
            "name": "process",
            "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
            "device_isolation": true,
            "device_isolation_action": "warn",
            "numactl": false,
            "numactl_kwargs": {},
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " AMD EPYC 7763 64-Core Processor",
            "cpu_count": 128,
            "cpu_ram_mb": 1082014.490624,
            "system": "Linux",
            "machine": "x86_64",
            "platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
            "processor": "x86_64",
            "python_version": "3.10.12",
            "gpu": [
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]",
                "Advanced Micro Devices, Inc. [AMD/ATI]"
            ],
            "gpu_count": 8,
            "gpu_vram_mb": 549621596160,
            "optimum_benchmark_version": "0.5.0.dev0",
            "optimum_benchmark_commit": null,
            "transformers_version": "4.47.0",
            "transformers_commit": null,
            "accelerate_version": "1.2.0",
            "accelerate_commit": null,
            "diffusers_version": "0.31.0",
            "diffusers_commit": null,
            "optimum_version": null,
            "optimum_commit": null,
            "timm_version": "1.0.12",
            "timm_commit": null,
            "peft_version": "0.14.0",
            "peft_commit": null
        },
        "print_report": true,
        "log_report": true
    },
    "report": {
        "load_model": {
            "memory": {
                "unit": "MB",
                "max_ram": 1059.495936,
                "max_global_vram": 68702.69952,
                "max_process_vram": 5534.855168,
                "max_reserved": 400.556032,
                "max_allocated": 346.271744
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.12992599487304687
                ],
                "count": 1,
                "total": 0.12992599487304687,
                "mean": 0.12992599487304687,
                "p50": 0.12992599487304687,
                "p90": 0.12992599487304687,
                "p95": 0.12992599487304687,
                "p99": 0.12992599487304687,
                "stdev": 0,
                "stdev_": 0
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 1229.35296,
                "max_global_vram": 68702.69952,
                "max_process_vram": 170132.406272,
                "max_reserved": 400.556032,
                "max_allocated": 373.34528
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.0066951789855957036,
                    0.006364940166473388,
                    0.006338220119476318,
                    0.006336780071258545,
                    0.0063218998908996585,
                    0.006320620059967041,
                    0.006319660186767578,
                    0.00630702018737793,
                    0.006352139949798584,
                    0.006319660186767578,
                    0.006336780071258545,
                    0.0063188600540161136,
                    0.006351339817047119,
                    0.006336780071258545,
                    0.006352940082550049,
                    0.006332620143890381,
                    0.006342700004577637,
                    0.0063524599075317385,
                    0.006308139801025391,
                    0.006347179889678955,
                    0.006333419799804688,
                    0.006345419883728027,
                    0.006320940017700195,
                    0.006337259769439697,
                    0.006566219806671143,
                    0.006365739822387696,
                    0.006340939998626709,
                    0.0063097400665283205,
                    0.006349259853363037,
                    0.006341899871826172,
                    0.006363979816436768,
                    0.006340620040893555,
                    0.006362860202789307,
                    0.006349420070648194,
                    0.0063929400444030764,
                    0.006384140014648438,
                    0.0063452601432800295,
                    0.006356939792633056,
                    0.006368780136108398,
                    0.006398540019989013,
                    0.006393099784851074,
                    0.006368939876556397,
                    0.0063684601783752445,
                    0.006376619815826416,
                    0.006395978927612305,
                    0.006372459888458252,
                    0.006368939876556397,
                    0.006381100177764893,
                    0.006377419948577881,
                    0.006376938819885254,
                    0.006369900226593017,
                    0.0063506999015808105,
                    0.006367980003356933,
                    0.00632125997543335,
                    0.0063719801902771,
                    0.006372940063476562,
                    0.006363019943237304,
                    0.006662219047546387,
                    0.00719389820098877,
                    0.0071412577629089355,
                    0.007173097133636475,
                    0.006759338855743409,
                    0.006673099040985108,
                    0.006597098827362061,
                    0.0066194992065429685,
                    0.006595818996429443,
                    0.006886538028717041,
                    0.007136776924133301,
                    0.007153738021850586,
                    0.007178536891937256,
                    0.006709259033203125,
                    0.006617739200592041,
                    0.006674698829650879,
                    0.006498219013214112,
                    0.006645258903503418,
                    0.006643178939819336,
                    0.0064523000717163085,
                    0.006615660190582275,
                    0.007624775886535645,
                    0.006673099040985108,
                    0.006428619861602783,
                    0.0064026999473571775,
                    0.006409578800201416,
                    0.006376299858093262,
                    0.006419980049133301,
                    0.006391819953918457,
                    0.006434858798980713,
                    0.0064473400115966795,
                    0.006400619983673096,
                    0.006412139892578125,
                    0.0064258999824523926,
                    0.00640526008605957,
                    0.0064566187858581545,
                    0.006427979946136474,
                    0.006461258888244629,
                    0.0064308600425720215,
                    0.006423019886016846,
                    0.006431018829345703,
                    0.006386060237884522,
                    0.006417099952697754,
                    0.00641965913772583,
                    0.00638286018371582,
                    0.006423180103302002,
                    0.006421899795532227,
                    0.006368780136108398,
                    0.006408140182495117,
                    0.006411179065704346,
                    0.00641565990447998,
                    0.006414380073547363,
                    0.006381579875946045,
                    0.006343020915985108,
                    0.006400780200958252,
                    0.006373419761657715,
                    0.006401740074157715,
                    0.006399980068206787,
                    0.0064187002182006835,
                    0.006396619796752929,
                    0.006417900085449219,
                    0.006416940212249756,
                    0.006403659820556641,
                    0.006406700134277344,
                    0.006386539936065674,
                    0.006368939876556397,
                    0.006401740074157715,
                    0.006393899917602539,
                    0.006383019924163819,
                    0.006382699966430664,
                    0.00637902021408081,
                    0.006418059825897217,
                    0.00636221981048584,
                    0.006391018867492676,
                    0.006390699863433838,
                    0.006385419845581055,
                    0.0063850998878479,
                    0.006395820140838623,
                    0.0064148597717285155,
                    0.00642333984375,
                    0.006395659923553467,
                    0.006398859024047851,
                    0.006361579895019532,
                    0.006391019821166992,
                    0.006426539897918701,
                    0.0064090991020202635,
                    0.006425419807434082,
                    0.006391180038452148,
                    0.006374859809875488,
                    0.006394380092620849,
                    0.006375339984893799,
                    0.00636814022064209,
                    0.006366859912872314,
                    0.00636893892288208,
                    0.006391180038452148,
                    0.006387340068817139,
                    0.006374859809875488,
                    0.0063929400444030764
                ],
                "count": 155,
                "total": 0.9996254901885989,
                "mean": 0.006449196710894184,
                "p50": 0.006391180038452148,
                "p90": 0.006644426918029785,
                "p95": 0.0067974986076354965,
                "p99": 0.007185603094100952,
                "stdev": 0.00019732780493158844,
                "stdev_": 3.059726874174208
            },
            "throughput": {
                "unit": "samples/s",
                "value": 310.1161415376798
            },
            "energy": null,
            "efficiency": null
        }
    }
}