Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
Browse files
cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json
ADDED
@@ -0,0 +1,332 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.2.2",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "image-classification",
|
9 |
+
"model": "timm/resnet50.a1_in1k",
|
10 |
+
"library": "timm",
|
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": false,
|
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": 946.139136,
|
108 |
+
"max_global_vram": 1047.003136,
|
109 |
+
"max_process_vram": 0.0,
|
110 |
+
"max_reserved": 396.361728,
|
111 |
+
"max_allocated": 253.912576
|
112 |
+
},
|
113 |
+
"latency": {
|
114 |
+
"unit": "s",
|
115 |
+
"count": 189,
|
116 |
+
"total": 0.9951875820159912,
|
117 |
+
"mean": 0.005265542761989372,
|
118 |
+
"stdev": 0.00017791048691492866,
|
119 |
+
"p50": 0.005214208126068115,
|
120 |
+
"p90": 0.005360844802856445,
|
121 |
+
"p95": 0.005745664024353027,
|
122 |
+
"p99": 0.0058924646377563495,
|
123 |
+
"values": [
|
124 |
+
0.006188032150268555,
|
125 |
+
0.005753856182098388,
|
126 |
+
0.005835775852203369,
|
127 |
+
0.0058091521263122555,
|
128 |
+
0.0058122239112854005,
|
129 |
+
0.005772287845611572,
|
130 |
+
0.005852159976959229,
|
131 |
+
0.005735424041748047,
|
132 |
+
0.005768191814422607,
|
133 |
+
0.005742591857910156,
|
134 |
+
0.005747712135314941,
|
135 |
+
0.0057292799949646,
|
136 |
+
0.0063539199829101565,
|
137 |
+
0.0052070398330688475,
|
138 |
+
0.005007359981536865,
|
139 |
+
0.005064703941345215,
|
140 |
+
0.005244927883148193,
|
141 |
+
0.005192704200744629,
|
142 |
+
0.005203968048095703,
|
143 |
+
0.00520908784866333,
|
144 |
+
0.005201920032501221,
|
145 |
+
0.00522649621963501,
|
146 |
+
0.005254144191741943,
|
147 |
+
0.005264383792877197,
|
148 |
+
0.005264448165893555,
|
149 |
+
0.005345280170440674,
|
150 |
+
0.005258240222930908,
|
151 |
+
0.0052306241989135745,
|
152 |
+
0.005258240222930908,
|
153 |
+
0.005265408039093018,
|
154 |
+
0.005242879867553711,
|
155 |
+
0.005266335964202881,
|
156 |
+
0.005258240222930908,
|
157 |
+
0.005237760066986084,
|
158 |
+
0.005495808124542236,
|
159 |
+
0.005455872058868408,
|
160 |
+
0.005281792163848877,
|
161 |
+
0.005298175811767578,
|
162 |
+
0.00526643180847168,
|
163 |
+
0.0052070398330688475,
|
164 |
+
0.0052111358642578124,
|
165 |
+
0.005249023914337158,
|
166 |
+
0.005213183879852295,
|
167 |
+
0.005361663818359375,
|
168 |
+
0.0052705278396606445,
|
169 |
+
0.005196832180023194,
|
170 |
+
0.005203968048095703,
|
171 |
+
0.005283840179443359,
|
172 |
+
0.005210207939147949,
|
173 |
+
0.005215231895446777,
|
174 |
+
0.00522441577911377,
|
175 |
+
0.005186560153961181,
|
176 |
+
0.005185535907745361,
|
177 |
+
0.005277696132659912,
|
178 |
+
0.005195775985717774,
|
179 |
+
0.005154751777648926,
|
180 |
+
0.005247935771942138,
|
181 |
+
0.005203968048095703,
|
182 |
+
0.0051773757934570315,
|
183 |
+
0.005178368091583252,
|
184 |
+
0.005208064079284668,
|
185 |
+
0.00517632007598877,
|
186 |
+
0.005268415927886963,
|
187 |
+
0.005231584072113037,
|
188 |
+
0.005241856098175048,
|
189 |
+
0.005272607803344726,
|
190 |
+
0.005280799865722656,
|
191 |
+
0.005258240222930908,
|
192 |
+
0.005245952129364013,
|
193 |
+
0.005279776096343994,
|
194 |
+
0.005221375942230225,
|
195 |
+
0.005194752216339111,
|
196 |
+
0.0052295680046081545,
|
197 |
+
0.005191679954528809,
|
198 |
+
0.00516812801361084,
|
199 |
+
0.005208064079284668,
|
200 |
+
0.005183487892150879,
|
201 |
+
0.005180416107177735,
|
202 |
+
0.0051968002319335935,
|
203 |
+
0.00526643180847168,
|
204 |
+
0.005252096176147461,
|
205 |
+
0.005305344104766845,
|
206 |
+
0.0052111358642578124,
|
207 |
+
0.005169151782989502,
|
208 |
+
0.005184512138366699,
|
209 |
+
0.005203968048095703,
|
210 |
+
0.005198847770690918,
|
211 |
+
0.005154751777648926,
|
212 |
+
0.005181407928466797,
|
213 |
+
0.005214208126068115,
|
214 |
+
0.0053606400489807126,
|
215 |
+
0.005187583923339844,
|
216 |
+
0.0052008957862854,
|
217 |
+
0.0051363840103149415,
|
218 |
+
0.005158912181854248,
|
219 |
+
0.005175295829772949,
|
220 |
+
0.005187583923339844,
|
221 |
+
0.005155839920043945,
|
222 |
+
0.005155839920043945,
|
223 |
+
0.005186560153961181,
|
224 |
+
0.005252096176147461,
|
225 |
+
0.0051773438453674315,
|
226 |
+
0.005198847770690918,
|
227 |
+
0.005138495922088623,
|
228 |
+
0.005114880084991455,
|
229 |
+
0.00515993595123291,
|
230 |
+
0.0051701760292053225,
|
231 |
+
0.005163008213043213,
|
232 |
+
0.005167103767395019,
|
233 |
+
0.005242879867553711,
|
234 |
+
0.005161983966827393,
|
235 |
+
0.005190591812133789,
|
236 |
+
0.005173247814178467,
|
237 |
+
0.005145599842071533,
|
238 |
+
0.005139455795288086,
|
239 |
+
0.00515993595123291,
|
240 |
+
0.005184512138366699,
|
241 |
+
0.00515993595123291,
|
242 |
+
0.005161983966827393,
|
243 |
+
0.00526643180847168,
|
244 |
+
0.005159999847412109,
|
245 |
+
0.005178368091583252,
|
246 |
+
0.005174272060394287,
|
247 |
+
0.005171199798583984,
|
248 |
+
0.005234687805175781,
|
249 |
+
0.005285888195037842,
|
250 |
+
0.005323775768280029,
|
251 |
+
0.005251071929931641,
|
252 |
+
0.0053606400489807126,
|
253 |
+
0.005262335777282715,
|
254 |
+
0.005251071929931641,
|
255 |
+
0.005305344104766845,
|
256 |
+
0.0052070398330688475,
|
257 |
+
0.005161983966827393,
|
258 |
+
0.00537395191192627,
|
259 |
+
0.0052674560546875,
|
260 |
+
0.005185535907745361,
|
261 |
+
0.005274623870849609,
|
262 |
+
0.005178368091583252,
|
263 |
+
0.005204991817474365,
|
264 |
+
0.005173247814178467,
|
265 |
+
0.005193727970123291,
|
266 |
+
0.0053637118339538575,
|
267 |
+
0.005212160110473632,
|
268 |
+
0.005242879867553711,
|
269 |
+
0.005185535907745361,
|
270 |
+
0.005166016101837158,
|
271 |
+
0.005276671886444092,
|
272 |
+
0.0051528000831604,
|
273 |
+
0.005187583923339844,
|
274 |
+
0.005194752216339111,
|
275 |
+
0.00520908784866333,
|
276 |
+
0.005156864166259765,
|
277 |
+
0.005252096176147461,
|
278 |
+
0.005180416107177735,
|
279 |
+
0.00515174388885498,
|
280 |
+
0.005256192207336426,
|
281 |
+
0.00522547197341919,
|
282 |
+
0.005210112094879151,
|
283 |
+
0.005178368091583252,
|
284 |
+
0.0051660799980163576,
|
285 |
+
0.005185535907745361,
|
286 |
+
0.005228544235229492,
|
287 |
+
0.005248000144958496,
|
288 |
+
0.00526639986038208,
|
289 |
+
0.005280767917633057,
|
290 |
+
0.005286911964416504,
|
291 |
+
0.005242879867553711,
|
292 |
+
0.005239808082580567,
|
293 |
+
0.005277696132659912,
|
294 |
+
0.005271615982055664,
|
295 |
+
0.005258240222930908,
|
296 |
+
0.0052674560546875,
|
297 |
+
0.00520908784866333,
|
298 |
+
0.0051773438453674315,
|
299 |
+
0.005268479824066162,
|
300 |
+
0.005180384159088135,
|
301 |
+
0.005214208126068115,
|
302 |
+
0.005241856098175048,
|
303 |
+
0.0052367358207702636,
|
304 |
+
0.005222400188446045,
|
305 |
+
0.005494783878326416,
|
306 |
+
0.005257215976715088,
|
307 |
+
0.005256192207336426,
|
308 |
+
0.005237760066986084,
|
309 |
+
0.005179391860961914,
|
310 |
+
0.005182400226593018,
|
311 |
+
0.005164031982421875,
|
312 |
+
0.005191679954528809
|
313 |
+
]
|
314 |
+
},
|
315 |
+
"throughput": {
|
316 |
+
"unit": "samples/s",
|
317 |
+
"value": 189.91394528570697
|
318 |
+
},
|
319 |
+
"energy": {
|
320 |
+
"unit": "kWh",
|
321 |
+
"cpu": 6.139217760621918e-08,
|
322 |
+
"ram": 3.356103035365744e-08,
|
323 |
+
"gpu": 1.3043188327461932e-07,
|
324 |
+
"total": 2.2538509123449595e-07
|
325 |
+
},
|
326 |
+
"efficiency": {
|
327 |
+
"unit": "samples/kWh",
|
328 |
+
"value": 4436850.700828195
|
329 |
+
}
|
330 |
+
}
|
331 |
+
}
|
332 |
+
}
|