Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
Browse files
cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json
ADDED
@@ -0,0 +1,264 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.2.2+rocm5.7",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "multiple-choice",
|
9 |
+
"model": "FacebookAI/roberta-base",
|
10 |
+
"library": "transformers",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"hub_kwargs": {
|
17 |
+
"revision": "main",
|
18 |
+
"force_download": false,
|
19 |
+
"local_files_only": false,
|
20 |
+
"trust_remote_code": false
|
21 |
+
},
|
22 |
+
"no_weights": true,
|
23 |
+
"device_map": null,
|
24 |
+
"torch_dtype": null,
|
25 |
+
"eval_mode": true,
|
26 |
+
"to_bettertransformer": false,
|
27 |
+
"low_cpu_mem_usage": null,
|
28 |
+
"attn_implementation": null,
|
29 |
+
"cache_implementation": null,
|
30 |
+
"autocast_enabled": false,
|
31 |
+
"autocast_dtype": null,
|
32 |
+
"torch_compile": false,
|
33 |
+
"torch_compile_target": "forward",
|
34 |
+
"torch_compile_config": {},
|
35 |
+
"quantization_scheme": null,
|
36 |
+
"quantization_config": {},
|
37 |
+
"deepspeed_inference": false,
|
38 |
+
"deepspeed_inference_config": {},
|
39 |
+
"peft_type": null,
|
40 |
+
"peft_config": {}
|
41 |
+
},
|
42 |
+
"scenario": {
|
43 |
+
"name": "inference",
|
44 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
45 |
+
"iterations": 1,
|
46 |
+
"duration": 1,
|
47 |
+
"warmup_runs": 1,
|
48 |
+
"input_shapes": {
|
49 |
+
"batch_size": 1,
|
50 |
+
"num_choices": 2,
|
51 |
+
"sequence_length": 2
|
52 |
+
},
|
53 |
+
"new_tokens": null,
|
54 |
+
"latency": true,
|
55 |
+
"memory": true,
|
56 |
+
"energy": false,
|
57 |
+
"forward_kwargs": {},
|
58 |
+
"generate_kwargs": {
|
59 |
+
"max_new_tokens": 2,
|
60 |
+
"min_new_tokens": 2
|
61 |
+
},
|
62 |
+
"call_kwargs": {
|
63 |
+
"num_inference_steps": 2
|
64 |
+
}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "error",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7763 64-Core Processor",
|
75 |
+
"cpu_count": 128,
|
76 |
+
"cpu_ram_mb": 1082015.236096,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.10.12",
|
82 |
+
"gpu": [
|
83 |
+
"Advanced Micro Devices, Inc. [AMD/ATI]"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 68702699520,
|
87 |
+
"optimum_benchmark_version": "0.2.0",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.40.2",
|
90 |
+
"transformers_commit": null,
|
91 |
+
"accelerate_version": "0.30.1",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": "0.27.2",
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": null,
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": null,
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
},
|
103 |
+
"report": {
|
104 |
+
"forward": {
|
105 |
+
"memory": {
|
106 |
+
"unit": "MB",
|
107 |
+
"max_ram": 1006.804992,
|
108 |
+
"max_global_vram": 898.465792,
|
109 |
+
"max_process_vram": 235652.304896,
|
110 |
+
"max_reserved": 555.74528,
|
111 |
+
"max_allocated": 499.507712
|
112 |
+
},
|
113 |
+
"latency": {
|
114 |
+
"unit": "s",
|
115 |
+
"count": 130,
|
116 |
+
"total": 0.9992472524642946,
|
117 |
+
"mean": 0.007686517326648418,
|
118 |
+
"stdev": 0.0006116050854434982,
|
119 |
+
"p50": 0.007464600086212158,
|
120 |
+
"p90": 0.008495841884613036,
|
121 |
+
"p95": 0.008535266113281249,
|
122 |
+
"p99": 0.009367949438095087,
|
123 |
+
"values": [
|
124 |
+
0.008386995315551758,
|
125 |
+
0.008475153923034669,
|
126 |
+
0.008489073753356934,
|
127 |
+
0.008526193618774413,
|
128 |
+
0.008570193290710449,
|
129 |
+
0.0085377140045166,
|
130 |
+
0.0085892333984375,
|
131 |
+
0.008546194076538087,
|
132 |
+
0.008513874053955078,
|
133 |
+
0.008509235382080078,
|
134 |
+
0.008495473861694336,
|
135 |
+
0.008478034019470214,
|
136 |
+
0.008485393524169922,
|
137 |
+
0.008438514709472657,
|
138 |
+
0.008515153884887695,
|
139 |
+
0.008435154914855957,
|
140 |
+
0.008470675468444825,
|
141 |
+
0.008492753982543946,
|
142 |
+
0.008478354454040528,
|
143 |
+
0.008499154090881348,
|
144 |
+
0.00847051429748535,
|
145 |
+
0.008480753898620606,
|
146 |
+
0.008470673561096192,
|
147 |
+
0.00853227424621582,
|
148 |
+
0.008595473289489746,
|
149 |
+
0.009983145713806152,
|
150 |
+
0.009683467864990235,
|
151 |
+
0.008120916366577148,
|
152 |
+
0.008123796463012695,
|
153 |
+
0.008115156173706055,
|
154 |
+
0.008092596054077148,
|
155 |
+
0.008097235679626464,
|
156 |
+
0.00808859634399414,
|
157 |
+
0.008080116271972656,
|
158 |
+
0.008112115859985352,
|
159 |
+
0.008095477104187012,
|
160 |
+
0.008094037055969238,
|
161 |
+
0.008074517250061036,
|
162 |
+
0.008084755897521972,
|
163 |
+
0.008067795753479004,
|
164 |
+
0.00812187671661377,
|
165 |
+
0.008098517417907715,
|
166 |
+
0.008094037055969238,
|
167 |
+
0.008079317092895508,
|
168 |
+
0.008084436416625977,
|
169 |
+
0.00813403606414795,
|
170 |
+
0.008114035606384278,
|
171 |
+
0.00808859634399414,
|
172 |
+
0.007547479152679443,
|
173 |
+
0.007546679019927978,
|
174 |
+
0.00714332103729248,
|
175 |
+
0.007157241821289063,
|
176 |
+
0.007157241821289063,
|
177 |
+
0.007132761001586914,
|
178 |
+
0.0071510009765625,
|
179 |
+
0.007145081043243408,
|
180 |
+
0.007130521774291992,
|
181 |
+
0.007120921134948731,
|
182 |
+
0.007152921199798584,
|
183 |
+
0.007134521961212158,
|
184 |
+
0.007138681888580322,
|
185 |
+
0.00714332103729248,
|
186 |
+
0.007119162082672119,
|
187 |
+
0.007132922172546387,
|
188 |
+
0.007138841152191162,
|
189 |
+
0.007319799900054932,
|
190 |
+
0.007222361087799072,
|
191 |
+
0.007136122226715088,
|
192 |
+
0.0071508421897888185,
|
193 |
+
0.007144121170043946,
|
194 |
+
0.007550518989562988,
|
195 |
+
0.0075618791580200195,
|
196 |
+
0.007281079769134522,
|
197 |
+
0.007170842170715332,
|
198 |
+
0.0071814022064208985,
|
199 |
+
0.007189722061157227,
|
200 |
+
0.007183162212371827,
|
201 |
+
0.007133882045745849,
|
202 |
+
0.007152600765228272,
|
203 |
+
0.007373559951782227,
|
204 |
+
0.007127641201019287,
|
205 |
+
0.007136442184448242,
|
206 |
+
0.0071434822082519535,
|
207 |
+
0.007123001098632812,
|
208 |
+
0.00713820219039917,
|
209 |
+
0.007110042095184326,
|
210 |
+
0.007152921199798584,
|
211 |
+
0.007141880989074707,
|
212 |
+
0.007130521774291992,
|
213 |
+
0.00713900089263916,
|
214 |
+
0.0071345210075378414,
|
215 |
+
0.007154682159423828,
|
216 |
+
0.007130681991577148,
|
217 |
+
0.007133720874786377,
|
218 |
+
0.0073346800804138185,
|
219 |
+
0.007147481918334961,
|
220 |
+
0.007157561779022217,
|
221 |
+
0.0071503610610961915,
|
222 |
+
0.00712476110458374,
|
223 |
+
0.007114041805267334,
|
224 |
+
0.0071348419189453125,
|
225 |
+
0.00714060115814209,
|
226 |
+
0.007395319938659668,
|
227 |
+
0.008132116317749023,
|
228 |
+
0.00819947624206543,
|
229 |
+
0.00817115592956543,
|
230 |
+
0.008130037307739257,
|
231 |
+
0.007778997898101807,
|
232 |
+
0.007684439182281494,
|
233 |
+
0.00762139892578125,
|
234 |
+
0.007641718864440918,
|
235 |
+
0.007603158950805664,
|
236 |
+
0.007707479000091552,
|
237 |
+
0.0075881190299987794,
|
238 |
+
0.007533880233764648,
|
239 |
+
0.007177560806274414,
|
240 |
+
0.007116120815277099,
|
241 |
+
0.007131161212921143,
|
242 |
+
0.007135161876678467,
|
243 |
+
0.0072802801132202145,
|
244 |
+
0.007598518848419189,
|
245 |
+
0.007157560825347901,
|
246 |
+
0.007154201030731201,
|
247 |
+
0.0071391620635986325,
|
248 |
+
0.007135961055755615,
|
249 |
+
0.00713900089263916,
|
250 |
+
0.0071207618713378905,
|
251 |
+
0.007128761768341064,
|
252 |
+
0.00715339994430542,
|
253 |
+
0.007135961055755615
|
254 |
+
]
|
255 |
+
},
|
256 |
+
"throughput": {
|
257 |
+
"unit": "samples/s",
|
258 |
+
"value": 130.09793089688304
|
259 |
+
},
|
260 |
+
"energy": null,
|
261 |
+
"efficiency": null
|
262 |
+
}
|
263 |
+
}
|
264 |
+
}
|