Commit
•
ac1bdf0
1
Parent(s):
03822da
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,277 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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+rocm5.7",
|
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": 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": 1062.670336,
|
108 |
+
"max_global_vram": 778.469376,
|
109 |
+
"max_process_vram": 209335.001088,
|
110 |
+
"max_reserved": 406.847488,
|
111 |
+
"max_allocated": 355.912704
|
112 |
+
},
|
113 |
+
"latency": {
|
114 |
+
"unit": "s",
|
115 |
+
"count": 143,
|
116 |
+
"total": 0.9990407528877254,
|
117 |
+
"mean": 0.006986298971242837,
|
118 |
+
"stdev": 0.0001443188814090477,
|
119 |
+
"p50": 0.006934846878051758,
|
120 |
+
"p90": 0.007149181747436523,
|
121 |
+
"p95": 0.007313628101348877,
|
122 |
+
"p99": 0.007505675249099732,
|
123 |
+
"values": [
|
124 |
+
0.006942845821380615,
|
125 |
+
0.007180604934692383,
|
126 |
+
0.007111485004425049,
|
127 |
+
0.0073497238159179685,
|
128 |
+
0.007481083869934082,
|
129 |
+
0.00752348279953003,
|
130 |
+
0.007455644130706787,
|
131 |
+
0.007475004196166992,
|
132 |
+
0.007381723880767822,
|
133 |
+
0.007321084022521972,
|
134 |
+
0.007548762798309326,
|
135 |
+
0.007246524810791016,
|
136 |
+
0.0071033258438110355,
|
137 |
+
0.007045566082000732,
|
138 |
+
0.007053246021270752,
|
139 |
+
0.006943486213684082,
|
140 |
+
0.006884127140045166,
|
141 |
+
0.006886847019195556,
|
142 |
+
0.006859167098999024,
|
143 |
+
0.006889246940612793,
|
144 |
+
0.006915326118469238,
|
145 |
+
0.006969245910644531,
|
146 |
+
0.006926365852355957,
|
147 |
+
0.006936446189880371,
|
148 |
+
0.006874046802520752,
|
149 |
+
0.006913725852966309,
|
150 |
+
0.006844606876373291,
|
151 |
+
0.0069386868476867675,
|
152 |
+
0.006914525985717773,
|
153 |
+
0.006893246173858642,
|
154 |
+
0.006950205802917481,
|
155 |
+
0.00695948600769043,
|
156 |
+
0.006927486896514893,
|
157 |
+
0.006968286991119385,
|
158 |
+
0.006970046997070312,
|
159 |
+
0.00697516679763794,
|
160 |
+
0.006980125904083252,
|
161 |
+
0.0069804458618164065,
|
162 |
+
0.006936286926269531,
|
163 |
+
0.006927486896514893,
|
164 |
+
0.006871325969696045,
|
165 |
+
0.006905726909637451,
|
166 |
+
0.006955326080322266,
|
167 |
+
0.006953566074371338,
|
168 |
+
0.006881566047668457,
|
169 |
+
0.0069706859588623046,
|
170 |
+
0.006882846832275391,
|
171 |
+
0.006891646862030029,
|
172 |
+
0.006857087135314941,
|
173 |
+
0.006958207130432129,
|
174 |
+
0.006931807041168213,
|
175 |
+
0.0069130859375,
|
176 |
+
0.0069130859375,
|
177 |
+
0.006920445919036866,
|
178 |
+
0.006903807163238526,
|
179 |
+
0.006994845867156982,
|
180 |
+
0.00696908712387085,
|
181 |
+
0.006927166938781738,
|
182 |
+
0.006939645767211914,
|
183 |
+
0.006991806030273437,
|
184 |
+
0.00690540599822998,
|
185 |
+
0.006910366058349609,
|
186 |
+
0.006935006141662598,
|
187 |
+
0.006928606986999512,
|
188 |
+
0.006905887126922607,
|
189 |
+
0.006901725769042969,
|
190 |
+
0.006863966941833496,
|
191 |
+
0.006896286964416504,
|
192 |
+
0.00695996618270874,
|
193 |
+
0.007136925220489502,
|
194 |
+
0.007140604972839355,
|
195 |
+
0.00717148494720459,
|
196 |
+
0.007081884860992432,
|
197 |
+
0.007000606060028076,
|
198 |
+
0.007147005081176758,
|
199 |
+
0.007090365886688233,
|
200 |
+
0.007124125957489014,
|
201 |
+
0.00711084508895874,
|
202 |
+
0.0070540461540222164,
|
203 |
+
0.007067485809326172,
|
204 |
+
0.007103324890136719,
|
205 |
+
0.007208765029907227,
|
206 |
+
0.007125085830688477,
|
207 |
+
0.007149725914001465,
|
208 |
+
0.007080605983734131,
|
209 |
+
0.007035165786743164,
|
210 |
+
0.007005886077880859,
|
211 |
+
0.006896286964416504,
|
212 |
+
0.006956285953521728,
|
213 |
+
0.006862686157226562,
|
214 |
+
0.006885087013244629,
|
215 |
+
0.006934045791625976,
|
216 |
+
0.006912605762481689,
|
217 |
+
0.006877087116241455,
|
218 |
+
0.006843007087707519,
|
219 |
+
0.006908445835113525,
|
220 |
+
0.006909566879272461,
|
221 |
+
0.006879967212677002,
|
222 |
+
0.006884925842285157,
|
223 |
+
0.007120766162872314,
|
224 |
+
0.0071666851043701175,
|
225 |
+
0.00717420482635498,
|
226 |
+
0.007039004802703857,
|
227 |
+
0.006972445964813233,
|
228 |
+
0.006934846878051758,
|
229 |
+
0.006939486980438232,
|
230 |
+
0.006928926944732666,
|
231 |
+
0.006963645935058594,
|
232 |
+
0.0069663658142089845,
|
233 |
+
0.006972286224365234,
|
234 |
+
0.00694364595413208,
|
235 |
+
0.0069138860702514645,
|
236 |
+
0.006944126129150391,
|
237 |
+
0.006881086826324463,
|
238 |
+
0.006894365787506103,
|
239 |
+
0.006926846027374267,
|
240 |
+
0.006875967025756836,
|
241 |
+
0.0068996472358703615,
|
242 |
+
0.0068814058303833005,
|
243 |
+
0.006894207000732422,
|
244 |
+
0.006886846065521241,
|
245 |
+
0.00689212703704834,
|
246 |
+
0.006879167079925537,
|
247 |
+
0.007129724979400635,
|
248 |
+
0.007118205070495606,
|
249 |
+
0.0071254057884216305,
|
250 |
+
0.006903326988220214,
|
251 |
+
0.006890845775604248,
|
252 |
+
0.006922206878662109,
|
253 |
+
0.006946207046508789,
|
254 |
+
0.006916767120361328,
|
255 |
+
0.006866846084594726,
|
256 |
+
0.0068623671531677245,
|
257 |
+
0.0068497262001037595,
|
258 |
+
0.006874046802520752,
|
259 |
+
0.0068759660720825195,
|
260 |
+
0.006901247024536133,
|
261 |
+
0.006893086910247803,
|
262 |
+
0.006881246089935303,
|
263 |
+
0.006918207168579101,
|
264 |
+
0.006835165977478027,
|
265 |
+
0.006860126972198486,
|
266 |
+
0.006869886875152588
|
267 |
+
]
|
268 |
+
},
|
269 |
+
"throughput": {
|
270 |
+
"unit": "samples/s",
|
271 |
+
"value": 143.13730404556443
|
272 |
+
},
|
273 |
+
"energy": null,
|
274 |
+
"efficiency": null
|
275 |
+
}
|
276 |
+
}
|
277 |
+
}
|