File size: 11,996 Bytes
6e607a1
 
 
 
 
d0c1148
6e607a1
 
 
1ca554f
c86ebd1
 
6e607a1
50c4482
6e607a1
 
 
c86ebd1
 
6e607a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81262f9
 
 
6e607a1
 
 
7479e6f
6e607a1
 
 
 
 
 
 
 
 
 
 
 
 
 
0cf2c13
bdd4ec2
 
6e607a1
 
 
64ea7fa
 
b3ef252
6e607a1
 
9d13a00
6e607a1
 
 
2fe3436
 
 
 
 
 
 
6e607a1
 
2fe3436
 
06c4e5c
64ea7fa
81262f9
6e607a1
81262f9
6e607a1
81262f9
6e607a1
 
 
fd01ab9
6e607a1
b3ef252
2b0c30f
f03d544
 
 
6e607a1
 
81262f9
7479e6f
 
fd01ab9
ea06c20
fd01ab9
28ae08d
 
7479e6f
 
 
 
fd01ab9
9d13a00
 
fd01ab9
 
 
 
 
 
9d13a00
 
7479e6f
 
 
ba297bc
7479e6f
6e607a1
 
 
fd01ab9
ea06c20
fd01ab9
6e607a1
81262f9
6e607a1
 
 
 
fd01ab9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d13a00
fd01ab9
 
 
 
 
 
 
 
 
6e607a1
 
 
fd01ab9
6e607a1
 
ba297bc
6e607a1
 
 
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
{
    "config": {
        "name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
        "backend": {
            "name": "pytorch",
            "version": "2.3.1+rocm5.7",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "image-classification",
            "library": "timm",
            "model_type": "resnet50",
            "model": "timm/resnet50.a1_in1k",
            "processor": "timm/resnet50.a1_in1k",
            "device": "cuda",
            "device_ids": "5",
            "seed": 42,
            "inter_op_num_threads": null,
            "intra_op_num_threads": null,
            "model_kwargs": {},
            "processor_kwargs": {},
            "no_weights": false,
            "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.46.3",
            "transformers_commit": null,
            "accelerate_version": "1.1.1",
            "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.13.2",
            "peft_commit": null
        },
        "print_report": true,
        "log_report": true
    },
    "report": {
        "load_model": {
            "memory": {
                "unit": "MB",
                "max_ram": 1180.479488,
                "max_global_vram": 68702.69952,
                "max_process_vram": 7693.35296,
                "max_reserved": 123.731968,
                "max_allocated": 102.475264
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.4702275695800781
                ],
                "count": 1,
                "total": 0.4702275695800781,
                "mean": 0.4702275695800781,
                "p50": 0.4702275695800781,
                "p90": 0.4702275695800781,
                "p95": 0.4702275695800781,
                "p99": 0.4702275695800781,
                "stdev": 0,
                "stdev_": 0
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 1254.105088,
                "max_global_vram": 68702.69952,
                "max_process_vram": 105787.06432,
                "max_reserved": 148.897792,
                "max_allocated": 124.554752
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.007971321105957031,
                    0.007154843807220459,
                    0.00706780481338501,
                    0.0071049251556396485,
                    0.007121724128723144,
                    0.0071311650276184085,
                    0.007126523971557617,
                    0.007089564800262451,
                    0.007091004848480225,
                    0.007110044956207275,
                    0.00706124496459961,
                    0.0071305251121521,
                    0.007151323795318604,
                    0.007150044918060303,
                    0.007142044067382812,
                    0.007138205051422119,
                    0.007080605030059814,
                    0.007081405162811279,
                    0.007077245235443115,
                    0.007177245140075683,
                    0.007040286064147949,
                    0.00704300594329834,
                    0.007150845050811767,
                    0.007038684844970703,
                    0.007140123844146728,
                    0.007033245086669922,
                    0.007049884796142578,
                    0.007070525169372559,
                    0.007083324909210205,
                    0.007042524814605713,
                    0.007034365177154541,
                    0.007040925025939941,
                    0.0070657248497009275,
                    0.007029405117034912,
                    0.007025084972381592,
                    0.007057565212249756,
                    0.0070314850807189945,
                    0.007238043785095215,
                    0.007037885189056396,
                    0.0070302047729492185,
                    0.007069085121154785,
                    0.00703932523727417,
                    0.007055164813995362,
                    0.006995484828948974,
                    0.007037885189056396,
                    0.007057724952697754,
                    0.007053245067596436,
                    0.007042524814605713,
                    0.0070271649360656736,
                    0.007032444953918457,
                    0.007048285007476807,
                    0.007035964965820312,
                    0.007029085159301758,
                    0.007023805141448974,
                    0.007059165000915527,
                    0.007041725158691406,
                    0.007027484893798828,
                    0.007014365196228028,
                    0.007059804916381836,
                    0.007046685218811035,
                    0.007025245189666748,
                    0.006997244834899902,
                    0.007008925914764404,
                    0.007201244831085205,
                    0.007028124809265137,
                    0.007035164833068847,
                    0.007079965114593506,
                    0.007073884963989258,
                    0.00709228515625,
                    0.007061564922332763,
                    0.0070724449157714845,
                    0.007062845230102539,
                    0.007080444812774658,
                    0.007064284801483155,
                    0.007059484958648682,
                    0.007064925193786621,
                    0.007058205127716065,
                    0.007056125164031982,
                    0.007053724765777588,
                    0.007059965133666992,
                    0.007056924819946289,
                    0.007044925212860108,
                    0.007036446094512939,
                    0.007018846035003662,
                    0.007054524898529053,
                    0.007056446075439453,
                    0.007081884860992432,
                    0.0070479650497436526,
                    0.007434203147888184,
                    0.007075805187225342,
                    0.007070845127105713,
                    0.007071165084838868,
                    0.007046844959259033,
                    0.007080764770507813,
                    0.007082045078277588,
                    0.007072925090789795,
                    0.007099484920501709,
                    0.007050684928894043,
                    0.007064284801483155,
                    0.007034046173095703,
                    0.007039006233215332,
                    0.007054366111755371,
                    0.007027805805206299,
                    0.00702492618560791,
                    0.007097404956817627,
                    0.007050845146179199,
                    0.00706828498840332,
                    0.007038364887237549,
                    0.007079484939575195,
                    0.007062204837799072,
                    0.007061405181884766,
                    0.007062365055084228,
                    0.00705788516998291,
                    0.007025565147399902,
                    0.007025566101074219,
                    0.007019485950469971,
                    0.007068604946136475,
                    0.007048445224761963,
                    0.007024604797363282,
                    0.006999646186828613,
                    0.007047485828399658,
                    0.007050526142120361,
                    0.007031645774841309,
                    0.007047485828399658,
                    0.007032286167144775,
                    0.007033565998077393,
                    0.007021406173706055,
                    0.007010685920715332,
                    0.007034844875335693,
                    0.00702732515335083,
                    0.007055164813995362,
                    0.0070607647895812985,
                    0.007068924903869629,
                    0.007070845127105713,
                    0.007079325199127197,
                    0.007050045013427734,
                    0.007047484874725342,
                    0.0070871648788452144,
                    0.0070798048973083495,
                    0.007026044845581054,
                    0.007019804954528809
                ],
                "count": 141,
                "total": 0.9969744343757633,
                "mean": 0.0070707406693316524,
                "p50": 0.007056125164031982,
                "p90": 0.007126523971557617,
                "p95": 0.007150845050811767,
                "p99": 0.007355739402770995,
                "stdev": 9.097919507312623e-05,
                "stdev_": 1.286699644744938
            },
            "throughput": {
                "unit": "samples/s",
                "value": 282.85579878140913
            },
            "energy": null,
            "efficiency": null
        }
    }
}