File size: 10,081 Bytes
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
{
    "config": {
        "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
        "backend": {
            "name": "pytorch",
            "version": "2.2.2+rocm5.7",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "multiple-choice",
            "model": "FacebookAI/roberta-base",
            "library": "transformers",
            "device": "cuda",
            "device_ids": "0",
            "seed": 42,
            "inter_op_num_threads": null,
            "intra_op_num_threads": null,
            "hub_kwargs": {
                "revision": "main",
                "force_download": false,
                "local_files_only": false,
                "trust_remote_code": false
            },
            "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": 1,
                "num_choices": 2,
                "sequence_length": 2
            },
            "new_tokens": null,
            "latency": true,
            "memory": 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": "error",
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " AMD EPYC 7763 64-Core Processor",
            "cpu_count": 128,
            "cpu_ram_mb": 1082015.236096,
            "system": "Linux",
            "machine": "x86_64",
            "platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
            "processor": "x86_64",
            "python_version": "3.10.12",
            "gpu": [
                "Advanced Micro Devices, Inc. [AMD/ATI]"
            ],
            "gpu_count": 1,
            "gpu_vram_mb": 68702699520,
            "optimum_benchmark_version": "0.2.0",
            "optimum_benchmark_commit": null,
            "transformers_version": "4.40.2",
            "transformers_commit": null,
            "accelerate_version": "0.30.1",
            "accelerate_commit": null,
            "diffusers_version": "0.27.2",
            "diffusers_commit": null,
            "optimum_version": null,
            "optimum_commit": null,
            "timm_version": "0.9.16",
            "timm_commit": null,
            "peft_version": null,
            "peft_commit": null
        }
    },
    "report": {
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 1006.804992,
                "max_global_vram": 898.465792,
                "max_process_vram": 235652.304896,
                "max_reserved": 555.74528,
                "max_allocated": 499.507712
            },
            "latency": {
                "unit": "s",
                "count": 130,
                "total": 0.9992472524642946,
                "mean": 0.007686517326648418,
                "stdev": 0.0006116050854434982,
                "p50": 0.007464600086212158,
                "p90": 0.008495841884613036,
                "p95": 0.008535266113281249,
                "p99": 0.009367949438095087,
                "values": [
                    0.008386995315551758,
                    0.008475153923034669,
                    0.008489073753356934,
                    0.008526193618774413,
                    0.008570193290710449,
                    0.0085377140045166,
                    0.0085892333984375,
                    0.008546194076538087,
                    0.008513874053955078,
                    0.008509235382080078,
                    0.008495473861694336,
                    0.008478034019470214,
                    0.008485393524169922,
                    0.008438514709472657,
                    0.008515153884887695,
                    0.008435154914855957,
                    0.008470675468444825,
                    0.008492753982543946,
                    0.008478354454040528,
                    0.008499154090881348,
                    0.00847051429748535,
                    0.008480753898620606,
                    0.008470673561096192,
                    0.00853227424621582,
                    0.008595473289489746,
                    0.009983145713806152,
                    0.009683467864990235,
                    0.008120916366577148,
                    0.008123796463012695,
                    0.008115156173706055,
                    0.008092596054077148,
                    0.008097235679626464,
                    0.00808859634399414,
                    0.008080116271972656,
                    0.008112115859985352,
                    0.008095477104187012,
                    0.008094037055969238,
                    0.008074517250061036,
                    0.008084755897521972,
                    0.008067795753479004,
                    0.00812187671661377,
                    0.008098517417907715,
                    0.008094037055969238,
                    0.008079317092895508,
                    0.008084436416625977,
                    0.00813403606414795,
                    0.008114035606384278,
                    0.00808859634399414,
                    0.007547479152679443,
                    0.007546679019927978,
                    0.00714332103729248,
                    0.007157241821289063,
                    0.007157241821289063,
                    0.007132761001586914,
                    0.0071510009765625,
                    0.007145081043243408,
                    0.007130521774291992,
                    0.007120921134948731,
                    0.007152921199798584,
                    0.007134521961212158,
                    0.007138681888580322,
                    0.00714332103729248,
                    0.007119162082672119,
                    0.007132922172546387,
                    0.007138841152191162,
                    0.007319799900054932,
                    0.007222361087799072,
                    0.007136122226715088,
                    0.0071508421897888185,
                    0.007144121170043946,
                    0.007550518989562988,
                    0.0075618791580200195,
                    0.007281079769134522,
                    0.007170842170715332,
                    0.0071814022064208985,
                    0.007189722061157227,
                    0.007183162212371827,
                    0.007133882045745849,
                    0.007152600765228272,
                    0.007373559951782227,
                    0.007127641201019287,
                    0.007136442184448242,
                    0.0071434822082519535,
                    0.007123001098632812,
                    0.00713820219039917,
                    0.007110042095184326,
                    0.007152921199798584,
                    0.007141880989074707,
                    0.007130521774291992,
                    0.00713900089263916,
                    0.0071345210075378414,
                    0.007154682159423828,
                    0.007130681991577148,
                    0.007133720874786377,
                    0.0073346800804138185,
                    0.007147481918334961,
                    0.007157561779022217,
                    0.0071503610610961915,
                    0.00712476110458374,
                    0.007114041805267334,
                    0.0071348419189453125,
                    0.00714060115814209,
                    0.007395319938659668,
                    0.008132116317749023,
                    0.00819947624206543,
                    0.00817115592956543,
                    0.008130037307739257,
                    0.007778997898101807,
                    0.007684439182281494,
                    0.00762139892578125,
                    0.007641718864440918,
                    0.007603158950805664,
                    0.007707479000091552,
                    0.0075881190299987794,
                    0.007533880233764648,
                    0.007177560806274414,
                    0.007116120815277099,
                    0.007131161212921143,
                    0.007135161876678467,
                    0.0072802801132202145,
                    0.007598518848419189,
                    0.007157560825347901,
                    0.007154201030731201,
                    0.0071391620635986325,
                    0.007135961055755615,
                    0.00713900089263916,
                    0.0071207618713378905,
                    0.007128761768341064,
                    0.00715339994430542,
                    0.007135961055755615
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 130.09793089688304
            },
            "energy": null,
            "efficiency": null
        }
    }
}