File size: 11,766 Bytes
dacea88
 
 
 
 
2439cfe
dacea88
 
 
985784a
b6836b5
 
dacea88
b0a5c7a
dacea88
 
 
b6836b5
 
dacea88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6857760
 
 
dacea88
 
 
c0672e9
dacea88
 
 
 
 
 
 
 
 
 
 
 
 
 
4c545ee
2f99107
 
dacea88
 
 
ae4b4af
 
da77d90
dacea88
 
bd30878
dacea88
 
 
2c27689
 
 
 
 
 
 
dacea88
 
2c27689
 
3a260e0
ae4b4af
6857760
dacea88
6857760
dacea88
6857760
dacea88
 
 
6b3b0e6
dacea88
da77d90
7bb3e6f
cfaf8bc
 
 
dacea88
 
6857760
c0672e9
 
6b3b0e6
c9102ac
6b3b0e6
c0672e9
0ed374c
c0672e9
 
 
 
6b3b0e6
bd30878
 
6b3b0e6
 
 
 
 
 
bd30878
 
c0672e9
 
 
0df28c2
c0672e9
dacea88
 
 
6b3b0e6
c9102ac
6b3b0e6
6857760
 
dacea88
 
 
 
6b3b0e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bd30878
6b3b0e6
 
 
 
 
 
 
 
 
dacea88
 
 
6b3b0e6
dacea88
 
0df28c2
dacea88
 
 
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
{
    "config": {
        "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
        "backend": {
            "name": "pytorch",
            "version": "2.3.1+rocm5.7",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "multiple-choice",
            "library": "transformers",
            "model_type": "roberta",
            "model": "FacebookAI/roberta-base",
            "processor": "FacebookAI/roberta-base",
            "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.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": 1109.856256,
                "max_global_vram": 68702.69952,
                "max_process_vram": 4006.07232,
                "max_reserved": 555.74528,
                "max_allocated": 499.37152
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.09255622100830078
                ],
                "count": 1,
                "total": 0.09255622100830078,
                "mean": 0.09255622100830078,
                "p50": 0.09255622100830078,
                "p90": 0.09255622100830078,
                "p95": 0.09255622100830078,
                "p99": 0.09255622100830078,
                "stdev": 0,
                "stdev_": 0
            },
            "throughput": null,
            "energy": null,
            "efficiency": null
        },
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 1228.312576,
                "max_global_vram": 68702.69952,
                "max_process_vram": 222596.395008,
                "max_reserved": 557.842432,
                "max_allocated": 501.534208
            },
            "latency": {
                "unit": "s",
                "values": [
                    0.007700924873352051,
                    0.007258847236633301,
                    0.007244606971740722,
                    0.007234847068786621,
                    0.007195807933807373,
                    0.007187326908111572,
                    0.007189887046813965,
                    0.007183328151702881,
                    0.007213726997375488,
                    0.007205727100372314,
                    0.007229887008666992,
                    0.007193568229675293,
                    0.007209567070007325,
                    0.007218846797943115,
                    0.007215647220611572,
                    0.00718668794631958,
                    0.007208446979522705,
                    0.007194686889648438,
                    0.007207006931304932,
                    0.01394681739807129,
                    0.0072230081558227535,
                    0.007239168167114258,
                    0.007244128227233887,
                    0.0072260479927062984,
                    0.007271966934204102,
                    0.007218846797943115,
                    0.007201406955718994,
                    0.0072174072265625,
                    0.007246207237243652,
                    0.007228446960449219,
                    0.0072394881248474124,
                    0.007239167213439941,
                    0.007232767105102539,
                    0.007213566780090332,
                    0.007238368034362793,
                    0.007217088222503662,
                    0.0072182068824768065,
                    0.007231166839599609,
                    0.007237407207489013,
                    0.007246527194976806,
                    0.0072065281867980955,
                    0.0072113280296325685,
                    0.00722780704498291,
                    0.007217566967010498,
                    0.007213726997375488,
                    0.007412927150726318,
                    0.007203327178955078,
                    0.007235326766967773,
                    0.007226527214050293,
                    0.007258687019348144,
                    0.0073031668663024905,
                    0.007219167232513428,
                    0.007257566928863525,
                    0.007211166858673096,
                    0.007208447933197021,
                    0.007243806838989258,
                    0.007231486797332764,
                    0.0072340469360351566,
                    0.0072630071640014645,
                    0.0072340469360351566,
                    0.00725404691696167,
                    0.007889564037322999,
                    0.008235003471374512,
                    0.008243802070617676,
                    0.008102684020996094,
                    0.007630685806274414,
                    0.007654045104980469,
                    0.007607005119323731,
                    0.007682205200195313,
                    0.007652606010437012,
                    0.008244921684265136,
                    0.00823676300048828,
                    0.008264922142028808,
                    0.008220763206481933,
                    0.008236762046813964,
                    0.00826956272125244,
                    0.008209242820739746,
                    0.008214842796325684,
                    0.007797723770141602,
                    0.0076975650787353515,
                    0.007860125064849854,
                    0.008228602409362793,
                    0.008227322578430176,
                    0.008068922996520997,
                    0.007532445907592773,
                    0.007511806011199951,
                    0.007215967178344726,
                    0.007207167148590088,
                    0.0072305269241333,
                    0.007215007781982422,
                    0.007244607925415039,
                    0.007219167232513428,
                    0.0072322869300842285,
                    0.007163006782531739,
                    0.0072111678123474125,
                    0.007203327178955078,
                    0.007199327945709228,
                    0.007200128078460694,
                    0.007195006847381591,
                    0.007170207977294922,
                    0.007188767910003662,
                    0.007188607215881348,
                    0.007209726810455322,
                    0.00721724796295166,
                    0.0072676467895507815,
                    0.007237728118896484,
                    0.007211166858673096,
                    0.007230206966400147,
                    0.007216766834259033,
                    0.007160448074340821,
                    0.007218047142028809,
                    0.007205886840820313,
                    0.0072409272193908695,
                    0.0071943678855896,
                    0.007200448036193847,
                    0.007205566883087158,
                    0.0072201271057128905,
                    0.00719868803024292,
                    0.007201727867126465,
                    0.007158047199249268,
                    0.007200128078460694,
                    0.007193088054656982,
                    0.007210206985473633,
                    0.00718684720993042,
                    0.007213568210601807,
                    0.0071962871551513674,
                    0.0072359671592712406,
                    0.007222207069396973,
                    0.0072225270271301266,
                    0.007219168186187744,
                    0.007194528102874756,
                    0.007197246074676513,
                    0.007204926967620849,
                    0.0071849279403686525,
                    0.007198526859283448
                ],
                "count": 135,
                "total": 1.0008093886375429,
                "mean": 0.007413402878796612,
                "p50": 0.007222207069396973,
                "p90": 0.008089179611206056,
                "p95": 0.008235531044006348,
                "p99": 0.008267984924316405,
                "stdev": 0.0006494004821589906,
                "stdev_": 8.75981641327451
            },
            "throughput": {
                "unit": "samples/s",
                "value": 269.78164180450585
            },
            "energy": null,
            "efficiency": null
        }
    }
}