Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/file.json with huggingface_hub
Browse files
cuda_inference_transformers_image-classification_google/vit-base-patch16-224/file.json
ADDED
@@ -0,0 +1,312 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.214-202.855.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.64256,
|
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": 169,
|
116 |
+
"total": 0.995434849739075,
|
117 |
+
"mean": 0.0058901470398761814,
|
118 |
+
"stdev": 0.0002672380576739546,
|
119 |
+
"p50": 0.005928959846496582,
|
120 |
+
"p90": 0.006132121753692627,
|
121 |
+
"p95": 0.006424575901031494,
|
122 |
+
"p99": 0.006725652408599853,
|
123 |
+
"values": [
|
124 |
+
0.006331391811370849,
|
125 |
+
0.006081535816192627,
|
126 |
+
0.00609388780593872,
|
127 |
+
0.006128640174865723,
|
128 |
+
0.006146048069000244,
|
129 |
+
0.006072319984436035,
|
130 |
+
0.006139904022216797,
|
131 |
+
0.0061931519508361815,
|
132 |
+
0.0060590081214904785,
|
133 |
+
0.0060897917747497554,
|
134 |
+
0.006051839828491211,
|
135 |
+
0.0061931519508361815,
|
136 |
+
0.006067200183868408,
|
137 |
+
0.005976064205169678,
|
138 |
+
0.00607539176940918,
|
139 |
+
0.005917695999145508,
|
140 |
+
0.005955584049224853,
|
141 |
+
0.005915647983551026,
|
142 |
+
0.005985280036926269,
|
143 |
+
0.005988319873809814,
|
144 |
+
0.006052864074707031,
|
145 |
+
0.006045695781707764,
|
146 |
+
0.006106175899505615,
|
147 |
+
0.006065152168273926,
|
148 |
+
0.006049791812896729,
|
149 |
+
0.0059391999244689945,
|
150 |
+
0.006004735946655273,
|
151 |
+
0.0059699201583862304,
|
152 |
+
0.006060031890869141,
|
153 |
+
0.006017024040222168,
|
154 |
+
0.005982272148132324,
|
155 |
+
0.006030335903167725,
|
156 |
+
0.006039552211761475,
|
157 |
+
0.005997568130493164,
|
158 |
+
0.00601801586151123,
|
159 |
+
0.005989376068115234,
|
160 |
+
0.006032383918762207,
|
161 |
+
0.0062197761535644535,
|
162 |
+
0.0059556479454040525,
|
163 |
+
0.005941247940063477,
|
164 |
+
0.0065372161865234375,
|
165 |
+
0.006696959972381592,
|
166 |
+
0.0069407038688659665,
|
167 |
+
0.005883903980255127,
|
168 |
+
0.005975039958953857,
|
169 |
+
0.005992447853088379,
|
170 |
+
0.005991424083709717,
|
171 |
+
0.005997568130493164,
|
172 |
+
0.006054912090301514,
|
173 |
+
0.006001664161682129,
|
174 |
+
0.006051839828491211,
|
175 |
+
0.0060293121337890625,
|
176 |
+
0.006031360149383545,
|
177 |
+
0.005946368217468262,
|
178 |
+
0.0067010560035705566,
|
179 |
+
0.005983232021331787,
|
180 |
+
0.006137856006622314,
|
181 |
+
0.006415359973907471,
|
182 |
+
0.00643071985244751,
|
183 |
+
0.006037504196166992,
|
184 |
+
0.005910528182983398,
|
185 |
+
0.005956607818603516,
|
186 |
+
0.005955584049224853,
|
187 |
+
0.0059955201148986816,
|
188 |
+
0.005952511787414551,
|
189 |
+
0.006097919940948486,
|
190 |
+
0.0059391999244689945,
|
191 |
+
0.005928959846496582,
|
192 |
+
0.006130688190460205,
|
193 |
+
0.006007808208465576,
|
194 |
+
0.005925888061523437,
|
195 |
+
0.005963776111602783,
|
196 |
+
0.005993472099304199,
|
197 |
+
0.005954592227935791,
|
198 |
+
0.005914624214172363,
|
199 |
+
0.006021120071411133,
|
200 |
+
0.00601801586151123,
|
201 |
+
0.006054912090301514,
|
202 |
+
0.006044672012329101,
|
203 |
+
0.0060405759811401364,
|
204 |
+
0.005979135990142822,
|
205 |
+
0.006008831977844238,
|
206 |
+
0.005946368217468262,
|
207 |
+
0.006011903762817383,
|
208 |
+
0.005847040176391601,
|
209 |
+
0.005990399837493897,
|
210 |
+
0.005911551952362061,
|
211 |
+
0.00591974401473999,
|
212 |
+
0.005818367958068848,
|
213 |
+
0.0058039999008178715,
|
214 |
+
0.005800000190734863,
|
215 |
+
0.005973055839538575,
|
216 |
+
0.005788671970367432,
|
217 |
+
0.005626880168914795,
|
218 |
+
0.0056258559226989744,
|
219 |
+
0.0057077760696411135,
|
220 |
+
0.005756927967071533,
|
221 |
+
0.0057825279235839844,
|
222 |
+
0.005823488235473633,
|
223 |
+
0.005775360107421875,
|
224 |
+
0.005900288105010986,
|
225 |
+
0.005953536033630371,
|
226 |
+
0.006777919769287109,
|
227 |
+
0.006627327919006347,
|
228 |
+
0.0065413122177124024,
|
229 |
+
0.006533120155334473,
|
230 |
+
0.0057149438858032225,
|
231 |
+
0.005634047985076904,
|
232 |
+
0.00568012809753418,
|
233 |
+
0.005710847854614258,
|
234 |
+
0.0056145920753479005,
|
235 |
+
0.005641215801239013,
|
236 |
+
0.005662720203399658,
|
237 |
+
0.005610496044158936,
|
238 |
+
0.005640192031860352,
|
239 |
+
0.00566374397277832,
|
240 |
+
0.005628928184509278,
|
241 |
+
0.005591040134429932,
|
242 |
+
0.005596159934997558,
|
243 |
+
0.005627903938293457,
|
244 |
+
0.00561356782913208,
|
245 |
+
0.005626880168914795,
|
246 |
+
0.005599232196807862,
|
247 |
+
0.005659647941589355,
|
248 |
+
0.005642240047454834,
|
249 |
+
0.005620736122131348,
|
250 |
+
0.005616640090942383,
|
251 |
+
0.0056258559226989744,
|
252 |
+
0.005618688106536865,
|
253 |
+
0.005627903938293457,
|
254 |
+
0.005604320049285889,
|
255 |
+
0.005623807907104492,
|
256 |
+
0.005615615844726562,
|
257 |
+
0.005635072231292724,
|
258 |
+
0.005609471797943116,
|
259 |
+
0.005584832191467285,
|
260 |
+
0.005641215801239013,
|
261 |
+
0.005612576007843017,
|
262 |
+
0.005631008148193359,
|
263 |
+
0.005617663860321045,
|
264 |
+
0.005633024215698243,
|
265 |
+
0.005699584007263184,
|
266 |
+
0.005607359886169434,
|
267 |
+
0.005626880168914795,
|
268 |
+
0.005606400012969971,
|
269 |
+
0.00561356782913208,
|
270 |
+
0.005643263816833496,
|
271 |
+
0.005637119770050049,
|
272 |
+
0.005616640090942383,
|
273 |
+
0.005608448028564453,
|
274 |
+
0.0056442880630493165,
|
275 |
+
0.00562278413772583,
|
276 |
+
0.005599232196807862,
|
277 |
+
0.005620736122131348,
|
278 |
+
0.005610496044158936,
|
279 |
+
0.0056217598915100095,
|
280 |
+
0.00561356782913208,
|
281 |
+
0.005610496044158936,
|
282 |
+
0.005659647941589355,
|
283 |
+
0.005667840003967285,
|
284 |
+
0.005629951953887939,
|
285 |
+
0.005616640090942383,
|
286 |
+
0.005637119770050049,
|
287 |
+
0.005636096000671387,
|
288 |
+
0.0056442880630493165,
|
289 |
+
0.0056217598915100095,
|
290 |
+
0.005595136165618897,
|
291 |
+
0.005599232196807862,
|
292 |
+
0.005594111919403076
|
293 |
+
]
|
294 |
+
},
|
295 |
+
"throughput": {
|
296 |
+
"unit": "samples/s",
|
297 |
+
"value": 169.7750486074489
|
298 |
+
},
|
299 |
+
"energy": {
|
300 |
+
"unit": "kWh",
|
301 |
+
"cpu": 6.491535981640935e-08,
|
302 |
+
"ram": 3.5490031235089874e-08,
|
303 |
+
"gpu": 3.6680964378142444e-07,
|
304 |
+
"total": 4.6721503483292366e-07
|
305 |
+
},
|
306 |
+
"efficiency": {
|
307 |
+
"unit": "samples/kWh",
|
308 |
+
"value": 2140342.0811524196
|
309 |
+
}
|
310 |
+
}
|
311 |
+
}
|
312 |
+
}
|