Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
Browse files
cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json
ADDED
@@ -0,0 +1,326 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.2.2",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "image-classification",
|
9 |
+
"model": "google/vit-base-patch16-224",
|
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": 904.757248,
|
108 |
+
"max_global_vram": 1057.488896,
|
109 |
+
"max_process_vram": 0.0,
|
110 |
+
"max_reserved": 406.847488,
|
111 |
+
"max_allocated": 364.432384
|
112 |
+
},
|
113 |
+
"latency": {
|
114 |
+
"unit": "s",
|
115 |
+
"count": 183,
|
116 |
+
"total": 0.9988874578475951,
|
117 |
+
"mean": 0.005458401409003253,
|
118 |
+
"stdev": 0.00021808223133829203,
|
119 |
+
"p50": 0.005513216018676758,
|
120 |
+
"p90": 0.0056920062065124516,
|
121 |
+
"p95": 0.005798249769210816,
|
122 |
+
"p99": 0.006087188405990601,
|
123 |
+
"values": [
|
124 |
+
0.0062228479385375976,
|
125 |
+
0.00576204776763916,
|
126 |
+
0.0058429441452026365,
|
127 |
+
0.005654528141021729,
|
128 |
+
0.005624832153320313,
|
129 |
+
0.005593088150024414,
|
130 |
+
0.005586944103240967,
|
131 |
+
0.005603328227996827,
|
132 |
+
0.005566527843475342,
|
133 |
+
0.005626880168914795,
|
134 |
+
0.005574656009674072,
|
135 |
+
0.00573747205734253,
|
136 |
+
0.005603328227996827,
|
137 |
+
0.005612544059753418,
|
138 |
+
0.005605343818664551,
|
139 |
+
0.005559296131134033,
|
140 |
+
0.00546611213684082,
|
141 |
+
0.005450751781463623,
|
142 |
+
0.005479423999786377,
|
143 |
+
0.005571584224700928,
|
144 |
+
0.005557248115539551,
|
145 |
+
0.0056135039329528805,
|
146 |
+
0.005612544059753418,
|
147 |
+
0.005607423782348633,
|
148 |
+
0.005640192031860352,
|
149 |
+
0.00561356782913208,
|
150 |
+
0.005636096000671387,
|
151 |
+
0.005513216018676758,
|
152 |
+
0.005576704025268555,
|
153 |
+
0.005617663860321045,
|
154 |
+
0.005575679779052735,
|
155 |
+
0.005605375766754151,
|
156 |
+
0.005628928184509278,
|
157 |
+
0.005599232196807862,
|
158 |
+
0.005601280212402344,
|
159 |
+
0.00553984022140503,
|
160 |
+
0.005571584224700928,
|
161 |
+
0.005603328227996827,
|
162 |
+
0.005581823825836182,
|
163 |
+
0.005618688106536865,
|
164 |
+
0.00551423978805542,
|
165 |
+
0.005463039875030518,
|
166 |
+
0.00551423978805542,
|
167 |
+
0.00551423978805542,
|
168 |
+
0.005561344146728516,
|
169 |
+
0.005527552127838135,
|
170 |
+
0.0054906878471374515,
|
171 |
+
0.005585919857025146,
|
172 |
+
0.005548064231872559,
|
173 |
+
0.005604351997375488,
|
174 |
+
0.005594111919403076,
|
175 |
+
0.005624832153320313,
|
176 |
+
0.005652480125427246,
|
177 |
+
0.005611487865447998,
|
178 |
+
0.005656576156616211,
|
179 |
+
0.005567488193511963,
|
180 |
+
0.0055285758972167965,
|
181 |
+
0.005540863990783691,
|
182 |
+
0.005598207950592041,
|
183 |
+
0.005647359848022461,
|
184 |
+
0.0055552000999450684,
|
185 |
+
0.005578752040863037,
|
186 |
+
0.005607423782348633,
|
187 |
+
0.005543935775756836,
|
188 |
+
0.005481472015380859,
|
189 |
+
0.0054876160621643065,
|
190 |
+
0.005576704025268555,
|
191 |
+
0.005532671928405761,
|
192 |
+
0.005570496082305908,
|
193 |
+
0.005657599925994873,
|
194 |
+
0.0054906878471374515,
|
195 |
+
0.005483520030975342,
|
196 |
+
0.005552127838134766,
|
197 |
+
0.005536767959594726,
|
198 |
+
0.0060661759376525876,
|
199 |
+
0.0057497601509094234,
|
200 |
+
0.0058264961242675785,
|
201 |
+
0.005710847854614258,
|
202 |
+
0.005763072013854981,
|
203 |
+
0.005734399795532226,
|
204 |
+
0.005772287845611572,
|
205 |
+
0.005811200141906738,
|
206 |
+
0.005917791843414307,
|
207 |
+
0.005863423824310303,
|
208 |
+
0.005822463989257813,
|
209 |
+
0.005633024215698243,
|
210 |
+
0.005594175815582275,
|
211 |
+
0.005595136165618897,
|
212 |
+
0.005495808124542236,
|
213 |
+
0.005533696174621582,
|
214 |
+
0.005700607776641845,
|
215 |
+
0.005582848072052002,
|
216 |
+
0.005534719944000244,
|
217 |
+
0.005574624061584473,
|
218 |
+
0.005286911964416504,
|
219 |
+
0.005392384052276611,
|
220 |
+
0.005585919857025146,
|
221 |
+
0.0053944320678710935,
|
222 |
+
0.005252096176147461,
|
223 |
+
0.0053002238273620605,
|
224 |
+
0.005252096176147461,
|
225 |
+
0.005302271842956543,
|
226 |
+
0.005288959980010987,
|
227 |
+
0.005348320007324219,
|
228 |
+
0.0053309440612792965,
|
229 |
+
0.005303296089172363,
|
230 |
+
0.0054282240867614745,
|
231 |
+
0.0055582718849182125,
|
232 |
+
0.005438464164733887,
|
233 |
+
0.005339136123657226,
|
234 |
+
0.005292031764984131,
|
235 |
+
0.005646336078643799,
|
236 |
+
0.006182911872863769,
|
237 |
+
0.005774432182312011,
|
238 |
+
0.005626880168914795,
|
239 |
+
0.005582848072052002,
|
240 |
+
0.005369855880737305,
|
241 |
+
0.005396480083465576,
|
242 |
+
0.00538316822052002,
|
243 |
+
0.00530838394165039,
|
244 |
+
0.005343232154846191,
|
245 |
+
0.005298175811767578,
|
246 |
+
0.0053155522346496585,
|
247 |
+
0.005356544017791748,
|
248 |
+
0.005290048122406006,
|
249 |
+
0.00530944013595581,
|
250 |
+
0.005222400188446045,
|
251 |
+
0.005158912181854248,
|
252 |
+
0.00522547197341919,
|
253 |
+
0.005251071929931641,
|
254 |
+
0.005210112094879151,
|
255 |
+
0.0053534722328186036,
|
256 |
+
0.0053975038528442385,
|
257 |
+
0.005385216236114502,
|
258 |
+
0.005387263774871826,
|
259 |
+
0.005268479824066162,
|
260 |
+
0.005212096214294434,
|
261 |
+
0.0052367358207702636,
|
262 |
+
0.005250016212463379,
|
263 |
+
0.005203968048095703,
|
264 |
+
0.00522652816772461,
|
265 |
+
0.005265408039093018,
|
266 |
+
0.005221375942230225,
|
267 |
+
0.005235712051391602,
|
268 |
+
0.005234687805175781,
|
269 |
+
0.005201920032501221,
|
270 |
+
0.005152768135070801,
|
271 |
+
0.00515174388885498,
|
272 |
+
0.005157887935638428,
|
273 |
+
0.005148672103881836,
|
274 |
+
0.005145599842071533,
|
275 |
+
0.00515174388885498,
|
276 |
+
0.0051333122253417966,
|
277 |
+
0.005149695873260498,
|
278 |
+
0.005142528057098389,
|
279 |
+
0.005134335994720459,
|
280 |
+
0.005168191909790039,
|
281 |
+
0.005165056228637695,
|
282 |
+
0.005161983966827393,
|
283 |
+
0.005144576072692871,
|
284 |
+
0.005134335994720459,
|
285 |
+
0.00516096019744873,
|
286 |
+
0.005153791904449463,
|
287 |
+
0.005139455795288086,
|
288 |
+
0.005140448093414306,
|
289 |
+
0.005167103767395019,
|
290 |
+
0.005143583774566651,
|
291 |
+
0.005180416107177735,
|
292 |
+
0.005167103767395019,
|
293 |
+
0.005139488220214844,
|
294 |
+
0.005183519840240479,
|
295 |
+
0.005800896167755127,
|
296 |
+
0.005336063861846924,
|
297 |
+
0.005250048160552978,
|
298 |
+
0.005285888195037842,
|
299 |
+
0.0052705278396606445,
|
300 |
+
0.005249023914337158,
|
301 |
+
0.005272575855255127,
|
302 |
+
0.005325823783874512,
|
303 |
+
0.005252096176147461,
|
304 |
+
0.005265408039093018,
|
305 |
+
0.005208064079284668,
|
306 |
+
0.005184512138366699
|
307 |
+
]
|
308 |
+
},
|
309 |
+
"throughput": {
|
310 |
+
"unit": "samples/s",
|
311 |
+
"value": 183.2038219744282
|
312 |
+
},
|
313 |
+
"energy": {
|
314 |
+
"unit": "kWh",
|
315 |
+
"cpu": 6.415977402850315e-08,
|
316 |
+
"ram": 3.507929569447721e-08,
|
317 |
+
"gpu": 3.5473902252970366e-07,
|
318 |
+
"total": 4.5397809225268407e-07
|
319 |
+
},
|
320 |
+
"efficiency": {
|
321 |
+
"unit": "samples/kWh",
|
322 |
+
"value": 2202749.465371559
|
323 |
+
}
|
324 |
+
}
|
325 |
+
}
|
326 |
+
}
|