File size: 10,084 Bytes
5782c2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_text-classification_FacebookAI/roberta-base",
        "backend": {
            "name": "pytorch",
            "version": "2.2.2+rocm5.7",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "text-classification",
            "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": 1011.310592,
                "max_global_vram": 897.14688,
                "max_process_vram": 222345.35936,
                "max_reserved": 555.74528,
                "max_allocated": 499.443712
            },
            "latency": {
                "unit": "s",
                "count": 130,
                "total": 0.9979781708717345,
                "mean": 0.007676755160551805,
                "stdev": 0.000754682042599847,
                "p50": 0.007872199058532713,
                "p90": 0.008240805435180664,
                "p95": 0.008409059715270997,
                "p99": 0.009847812995910634,
                "values": [
                    0.0076050801277160645,
                    0.007288122177124023,
                    0.006812283992767334,
                    0.00695388412475586,
                    0.006803964138031006,
                    0.006822525024414062,
                    0.006824443817138672,
                    0.006835003852844238,
                    0.006824924945831299,
                    0.0068326048851013186,
                    0.006793724060058594,
                    0.006803005218505859,
                    0.006790524005889893,
                    0.006758685111999512,
                    0.006776124000549316,
                    0.006732765197753906,
                    0.00675884485244751,
                    0.006758685111999512,
                    0.00674684476852417,
                    0.006764285087585449,
                    0.006947644233703613,
                    0.006739964962005615,
                    0.006752924919128418,
                    0.006735324859619141,
                    0.006754205226898193,
                    0.006742684841156006,
                    0.007091322898864746,
                    0.006758204936981201,
                    0.006769403934478759,
                    0.00677084493637085,
                    0.006783005237579346,
                    0.006783804893493652,
                    0.006771164894104004,
                    0.006745405197143554,
                    0.006737724781036377,
                    0.006750685214996338,
                    0.006765404224395752,
                    0.010254507064819335,
                    0.007207481861114502,
                    0.006951643943786621,
                    0.00691404390335083,
                    0.006889883995056152,
                    0.006911643981933594,
                    0.006952603816986084,
                    0.006876605033874512,
                    0.0069247641563415525,
                    0.007800280094146728,
                    0.007893558979034423,
                    0.007863318920135498,
                    0.008093077659606934,
                    0.007886038780212403,
                    0.008046519279479981,
                    0.007744919776916504,
                    0.007647960186004638,
                    0.0077255601882934575,
                    0.007729720115661621,
                    0.007751319885253906,
                    0.00769644021987915,
                    0.008149718284606934,
                    0.008291956901550292,
                    0.007982839107513427,
                    0.008048598289489745,
                    0.007958518028259278,
                    0.008013717651367188,
                    0.008058518409729003,
                    0.008768914222717285,
                    0.00808123779296875,
                    0.007971477985382081,
                    0.007872919082641601,
                    0.007870199203491211,
                    0.007863638877868652,
                    0.007853719234466552,
                    0.008034997940063477,
                    0.007893398761749267,
                    0.007848120212554932,
                    0.012225056648254394,
                    0.00818811798095703,
                    0.00777851915359497,
                    0.00807083797454834,
                    0.007857879161834717,
                    0.007778678894042969,
                    0.007803799152374268,
                    0.007830039978027344,
                    0.008294516563415528,
                    0.007969557762145996,
                    0.00797403907775879,
                    0.008289396286010742,
                    0.008143478393554688,
                    0.008129076957702637,
                    0.008172278404235839,
                    0.008037558555603027,
                    0.008014999389648437,
                    0.007998357772827149,
                    0.007988277912139893,
                    0.008038357734680176,
                    0.007935638904571534,
                    0.008563155174255372,
                    0.008175156593322753,
                    0.008050357818603516,
                    0.008027478218078614,
                    0.008009398460388183,
                    0.008087318420410156,
                    0.00848443603515625,
                    0.008133398056030274,
                    0.008046358108520509,
                    0.00795947790145874,
                    0.008472275733947755,
                    0.008257077217102051,
                    0.008238997459411621,
                    0.008169878005981445,
                    0.008062357902526856,
                    0.007983798027038575,
                    0.008020598411560059,
                    0.007871479034423827,
                    0.007902039051055907,
                    0.008098998069763184,
                    0.007902519226074219,
                    0.00782283878326416,
                    0.007940279006958009,
                    0.007884278774261474,
                    0.007818359851837159,
                    0.008031159400939942,
                    0.008852113723754882,
                    0.008193717002868653,
                    0.008229717254638672,
                    0.0081285982131958,
                    0.008331795692443848,
                    0.00827403736114502,
                    0.008198837280273437,
                    0.008226996421813964
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 130.26337027637078
            },
            "energy": null,
            "efficiency": null
        }
    }
}