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,290 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.2.2",
|
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": true,
|
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 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.10.14",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
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.0",
|
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": 890.933248,
|
108 |
+
"max_global_vram": 1195.900928,
|
109 |
+
"max_process_vram": 0.0,
|
110 |
+
"max_reserved": 555.74528,
|
111 |
+
"max_allocated": 509.039104
|
112 |
+
},
|
113 |
+
"latency": {
|
114 |
+
"unit": "s",
|
115 |
+
"count": 147,
|
116 |
+
"total": 1.0010028176307677,
|
117 |
+
"mean": 0.006809542977080052,
|
118 |
+
"stdev": 0.0004622006678675761,
|
119 |
+
"p50": 0.006697951793670654,
|
120 |
+
"p90": 0.006977740859985352,
|
121 |
+
"p95": 0.007162982416152954,
|
122 |
+
"p99": 0.009501163654327387,
|
123 |
+
"values": [
|
124 |
+
0.01036083221435547,
|
125 |
+
0.009812992095947265,
|
126 |
+
0.009135104179382325,
|
127 |
+
0.007342080116271973,
|
128 |
+
0.00729804801940918,
|
129 |
+
0.007814144134521485,
|
130 |
+
0.007114751815795899,
|
131 |
+
0.006765567779541016,
|
132 |
+
0.006710271835327148,
|
133 |
+
0.006730751991271973,
|
134 |
+
0.006702079772949219,
|
135 |
+
0.006699007987976074,
|
136 |
+
0.0067123198509216305,
|
137 |
+
0.006692863941192627,
|
138 |
+
0.006808544158935547,
|
139 |
+
0.006694911956787109,
|
140 |
+
0.006713344097137451,
|
141 |
+
0.006721536159515381,
|
142 |
+
0.006738944053649902,
|
143 |
+
0.006731776237487793,
|
144 |
+
0.00669593620300293,
|
145 |
+
0.00667852783203125,
|
146 |
+
0.006694911956787109,
|
147 |
+
0.006669312000274658,
|
148 |
+
0.006651904106140137,
|
149 |
+
0.006800384044647217,
|
150 |
+
0.006976511955261231,
|
151 |
+
0.007166975975036621,
|
152 |
+
0.007153664112091064,
|
153 |
+
0.006994944095611572,
|
154 |
+
0.006936575889587402,
|
155 |
+
0.006918144226074219,
|
156 |
+
0.006949888229370117,
|
157 |
+
0.006945792198181152,
|
158 |
+
0.006899712085723877,
|
159 |
+
0.006987775802612305,
|
160 |
+
0.007016448020935059,
|
161 |
+
0.007038976192474365,
|
162 |
+
0.006930431842803955,
|
163 |
+
0.006979584217071533,
|
164 |
+
0.006725632190704346,
|
165 |
+
0.006706175804138184,
|
166 |
+
0.006657023906707763,
|
167 |
+
0.00667852783203125,
|
168 |
+
0.006691840171813965,
|
169 |
+
0.006652927875518798,
|
170 |
+
0.0066416640281677245,
|
171 |
+
0.00669593620300293,
|
172 |
+
0.006660096168518067,
|
173 |
+
0.006669312000274658,
|
174 |
+
0.006657023906707763,
|
175 |
+
0.006647808074951172,
|
176 |
+
0.006652927875518798,
|
177 |
+
0.0066447358131408694,
|
178 |
+
0.006627327919006347,
|
179 |
+
0.0067338237762451176,
|
180 |
+
0.0068853759765625,
|
181 |
+
0.006876160144805908,
|
182 |
+
0.006663167953491211,
|
183 |
+
0.006680575847625733,
|
184 |
+
0.006663167953491211,
|
185 |
+
0.006628384113311767,
|
186 |
+
0.0066344962120056155,
|
187 |
+
0.006647808074951172,
|
188 |
+
0.006626304149627686,
|
189 |
+
0.007288832187652588,
|
190 |
+
0.006768671989440918,
|
191 |
+
0.006863808155059815,
|
192 |
+
0.006714367866516113,
|
193 |
+
0.006740992069244385,
|
194 |
+
0.006761472225189209,
|
195 |
+
0.006735936164855957,
|
196 |
+
0.006687744140625,
|
197 |
+
0.0066826558113098145,
|
198 |
+
0.006632480144500732,
|
199 |
+
0.006676447868347168,
|
200 |
+
0.006697951793670654,
|
201 |
+
0.0066518402099609375,
|
202 |
+
0.006653952121734619,
|
203 |
+
0.0066641921997070315,
|
204 |
+
0.006662144184112549,
|
205 |
+
0.00668665599822998,
|
206 |
+
0.006692863941192627,
|
207 |
+
0.006656000137329102,
|
208 |
+
0.006670335769653321,
|
209 |
+
0.006689792156219483,
|
210 |
+
0.0066447358131408694,
|
211 |
+
0.006658048152923584,
|
212 |
+
0.006675456047058105,
|
213 |
+
0.006643712043762207,
|
214 |
+
0.006661119937896728,
|
215 |
+
0.006676479816436768,
|
216 |
+
0.00663753604888916,
|
217 |
+
0.0067041277885437015,
|
218 |
+
0.006732800006866455,
|
219 |
+
0.006713280200958252,
|
220 |
+
0.00672051191329956,
|
221 |
+
0.00672051191329956,
|
222 |
+
0.006715392112731934,
|
223 |
+
0.006714367866516113,
|
224 |
+
0.00672870397567749,
|
225 |
+
0.0067010560035705566,
|
226 |
+
0.006718463897705078,
|
227 |
+
0.006732895851135254,
|
228 |
+
0.006712287902832031,
|
229 |
+
0.0066979842185974124,
|
230 |
+
0.006733856201171875,
|
231 |
+
0.00673689603805542,
|
232 |
+
0.0067010560035705566,
|
233 |
+
0.006724607944488525,
|
234 |
+
0.006680575847625733,
|
235 |
+
0.006642687797546387,
|
236 |
+
0.006652927875518798,
|
237 |
+
0.006672383785247803,
|
238 |
+
0.006656000137329102,
|
239 |
+
0.006796288013458252,
|
240 |
+
0.006656000137329102,
|
241 |
+
0.006639616012573242,
|
242 |
+
0.00662937593460083,
|
243 |
+
0.0066375679969787596,
|
244 |
+
0.006624256134033203,
|
245 |
+
0.006642687797546387,
|
246 |
+
0.006660031795501709,
|
247 |
+
0.006636544227600098,
|
248 |
+
0.0067491202354431155,
|
249 |
+
0.006723584175109864,
|
250 |
+
0.006672383785247803,
|
251 |
+
0.006687744140625,
|
252 |
+
0.0066713600158691405,
|
253 |
+
0.006703104019165039,
|
254 |
+
0.006779903888702392,
|
255 |
+
0.006672383785247803,
|
256 |
+
0.006843391895294189,
|
257 |
+
0.006691840171813965,
|
258 |
+
0.006710303783416748,
|
259 |
+
0.006804480075836182,
|
260 |
+
0.006680575847625733,
|
261 |
+
0.006652927875518798,
|
262 |
+
0.006666240215301514,
|
263 |
+
0.006658048152923584,
|
264 |
+
0.006745120048522949,
|
265 |
+
0.0067686400413513184,
|
266 |
+
0.006666240215301514,
|
267 |
+
0.006649856090545654,
|
268 |
+
0.00667852783203125,
|
269 |
+
0.006672351837158203,
|
270 |
+
0.006708223819732666
|
271 |
+
]
|
272 |
+
},
|
273 |
+
"throughput": {
|
274 |
+
"unit": "samples/s",
|
275 |
+
"value": 146.85273348973007
|
276 |
+
},
|
277 |
+
"energy": {
|
278 |
+
"unit": "kWh",
|
279 |
+
"cpu": 7.922582383509037e-08,
|
280 |
+
"ram": 4.33093671053939e-08,
|
281 |
+
"gpu": 1.5034456471998507e-07,
|
282 |
+
"total": 2.7287975566046934e-07
|
283 |
+
},
|
284 |
+
"efficiency": {
|
285 |
+
"unit": "samples/kWh",
|
286 |
+
"value": 3664617.7638924965
|
287 |
+
}
|
288 |
+
}
|
289 |
+
}
|
290 |
+
}
|