Commit
•
7daac2c
1
Parent(s):
6076257
Upload bert-base-uncased-feature-extraction-pytorch-2024-09-25-13-05-51/benchmark.json with huggingface_hub
Browse files
bert-base-uncased-feature-extraction-pytorch-2024-09-25-13-05-51/benchmark.json
ADDED
@@ -0,0 +1,393 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "bert-base-uncased-feature-extraction-pytorch-2024-09-25-13-05-51",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "feature-extraction",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "bert",
|
11 |
+
"model": "bert-base-uncased",
|
12 |
+
"processor": "bert-base-uncased",
|
13 |
+
"device": "cpu",
|
14 |
+
"device_ids": null,
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": false,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {},
|
33 |
+
"quantization_scheme": null,
|
34 |
+
"quantization_config": {},
|
35 |
+
"deepspeed_inference": false,
|
36 |
+
"deepspeed_inference_config": {},
|
37 |
+
"peft_type": null,
|
38 |
+
"peft_config": {}
|
39 |
+
},
|
40 |
+
"scenario": {
|
41 |
+
"name": "inference",
|
42 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
43 |
+
"iterations": 10,
|
44 |
+
"duration": 10,
|
45 |
+
"warmup_runs": 10,
|
46 |
+
"input_shapes": {
|
47 |
+
"batch_size": 2,
|
48 |
+
"num_choices": 2,
|
49 |
+
"sequence_length": 16
|
50 |
+
},
|
51 |
+
"new_tokens": null,
|
52 |
+
"memory": false,
|
53 |
+
"latency": true,
|
54 |
+
"energy": false,
|
55 |
+
"forward_kwargs": {},
|
56 |
+
"generate_kwargs": {},
|
57 |
+
"call_kwargs": {}
|
58 |
+
},
|
59 |
+
"launcher": {
|
60 |
+
"name": "process",
|
61 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
62 |
+
"device_isolation": false,
|
63 |
+
"device_isolation_action": null,
|
64 |
+
"numactl": false,
|
65 |
+
"numactl_kwargs": "",
|
66 |
+
"start_method": "spawn"
|
67 |
+
},
|
68 |
+
"environment": {
|
69 |
+
"cpu": " 12th Gen Intel(R) Core(TM) i9-12900H",
|
70 |
+
"cpu_count": 20,
|
71 |
+
"cpu_ram_mb": 8162.504704,
|
72 |
+
"system": "Linux",
|
73 |
+
"machine": "x86_64",
|
74 |
+
"platform": "Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35",
|
75 |
+
"processor": "x86_64",
|
76 |
+
"python_version": "3.9.16",
|
77 |
+
"gpu": [
|
78 |
+
"NVIDIA GeForce RTX 3070 Ti Laptop GPU"
|
79 |
+
],
|
80 |
+
"gpu_count": 1,
|
81 |
+
"gpu_vram_mb": 8589934592,
|
82 |
+
"optimum_benchmark_version": "0.5.0",
|
83 |
+
"optimum_benchmark_commit": null,
|
84 |
+
"transformers_version": "4.39.3",
|
85 |
+
"transformers_commit": null,
|
86 |
+
"accelerate_version": "0.22.0",
|
87 |
+
"accelerate_commit": null,
|
88 |
+
"diffusers_version": "0.30.3",
|
89 |
+
"diffusers_commit": null,
|
90 |
+
"optimum_version": "1.22.0",
|
91 |
+
"optimum_commit": null,
|
92 |
+
"timm_version": null,
|
93 |
+
"timm_commit": null,
|
94 |
+
"peft_version": "0.5.0",
|
95 |
+
"peft_commit": null
|
96 |
+
}
|
97 |
+
},
|
98 |
+
"report": {
|
99 |
+
"load": {
|
100 |
+
"memory": null,
|
101 |
+
"latency": {
|
102 |
+
"unit": "s",
|
103 |
+
"count": 1,
|
104 |
+
"total": 0.243447623000975,
|
105 |
+
"mean": 0.243447623000975,
|
106 |
+
"stdev": 0.0,
|
107 |
+
"p50": 0.243447623000975,
|
108 |
+
"p90": 0.243447623000975,
|
109 |
+
"p95": 0.243447623000975,
|
110 |
+
"p99": 0.243447623000975,
|
111 |
+
"values": [
|
112 |
+
0.243447623000975
|
113 |
+
]
|
114 |
+
},
|
115 |
+
"throughput": null,
|
116 |
+
"energy": null,
|
117 |
+
"efficiency": null
|
118 |
+
},
|
119 |
+
"forward": {
|
120 |
+
"memory": null,
|
121 |
+
"latency": {
|
122 |
+
"unit": "s",
|
123 |
+
"count": 251,
|
124 |
+
"total": 10.025767425000595,
|
125 |
+
"mean": 0.03994329651394659,
|
126 |
+
"stdev": 0.006795598961452563,
|
127 |
+
"p50": 0.03892265899958147,
|
128 |
+
"p90": 0.046723460998691735,
|
129 |
+
"p95": 0.049488473000565136,
|
130 |
+
"p99": 0.056767529499666125,
|
131 |
+
"values": [
|
132 |
+
0.04140967999956047,
|
133 |
+
0.04426534000049287,
|
134 |
+
0.04335521500070172,
|
135 |
+
0.040721633999055484,
|
136 |
+
0.0360065040003974,
|
137 |
+
0.037973784001223976,
|
138 |
+
0.04303117900053621,
|
139 |
+
0.04336507799962419,
|
140 |
+
0.04171342300105607,
|
141 |
+
0.041276488000221434,
|
142 |
+
0.0356128589992295,
|
143 |
+
0.03170641699944099,
|
144 |
+
0.03539822200036724,
|
145 |
+
0.04311604999929841,
|
146 |
+
0.04647790800117946,
|
147 |
+
0.037890878000325756,
|
148 |
+
0.041082616000494454,
|
149 |
+
0.03693612799906987,
|
150 |
+
0.037327888001527754,
|
151 |
+
0.038629034999758005,
|
152 |
+
0.03502888499861001,
|
153 |
+
0.03781679500025348,
|
154 |
+
0.040340092000406,
|
155 |
+
0.041923441998733324,
|
156 |
+
0.040371756000240566,
|
157 |
+
0.03646165799909795,
|
158 |
+
0.036042644000190194,
|
159 |
+
0.03979371599962178,
|
160 |
+
0.03652547000092454,
|
161 |
+
0.03392184900076245,
|
162 |
+
0.036356615000840975,
|
163 |
+
0.03358583899898804,
|
164 |
+
0.037602166999931796,
|
165 |
+
0.039822196999011794,
|
166 |
+
0.04255021799872338,
|
167 |
+
0.04128097899956629,
|
168 |
+
0.041168256000673864,
|
169 |
+
0.033279563000178314,
|
170 |
+
0.034441255000274396,
|
171 |
+
0.033010647999617504,
|
172 |
+
0.03464433400040434,
|
173 |
+
0.03915756700007478,
|
174 |
+
0.03230477000033716,
|
175 |
+
0.03352403600001708,
|
176 |
+
0.03273983800136193,
|
177 |
+
0.03899787299997115,
|
178 |
+
0.034191196000392665,
|
179 |
+
0.03291846399952192,
|
180 |
+
0.03728161799881491,
|
181 |
+
0.03874241599987727,
|
182 |
+
0.036969364000469795,
|
183 |
+
0.036796088999835774,
|
184 |
+
0.047879998999633244,
|
185 |
+
0.03528849100075604,
|
186 |
+
0.0398191019994556,
|
187 |
+
0.03806472099859093,
|
188 |
+
0.03676271600124892,
|
189 |
+
0.03661760799877811,
|
190 |
+
0.038339115999406204,
|
191 |
+
0.036128809000729234,
|
192 |
+
0.034755548998873564,
|
193 |
+
0.036648842000431614,
|
194 |
+
0.0352679090010497,
|
195 |
+
0.03331106599944178,
|
196 |
+
0.03546584899959271,
|
197 |
+
0.03424188000099093,
|
198 |
+
0.03408887399928062,
|
199 |
+
0.04515426200123329,
|
200 |
+
0.041802026998993824,
|
201 |
+
0.043356960000892286,
|
202 |
+
0.03630857899952389,
|
203 |
+
0.03299766900090617,
|
204 |
+
0.038977047999651404,
|
205 |
+
0.053462158000911586,
|
206 |
+
0.041908918999979505,
|
207 |
+
0.04597193299923674,
|
208 |
+
0.0501673100006883,
|
209 |
+
0.03997264999998151,
|
210 |
+
0.08097437600008561,
|
211 |
+
0.04790816100103257,
|
212 |
+
0.04785499599893228,
|
213 |
+
0.04033438300029957,
|
214 |
+
0.03732819099968765,
|
215 |
+
0.036809348999668146,
|
216 |
+
0.04489737499898183,
|
217 |
+
0.05129487399972277,
|
218 |
+
0.04555075099960959,
|
219 |
+
0.03893319800044992,
|
220 |
+
0.034023103000436095,
|
221 |
+
0.03357020399926114,
|
222 |
+
0.03668714000014006,
|
223 |
+
0.032928486998571316,
|
224 |
+
0.040037583999946946,
|
225 |
+
0.05231058000026678,
|
226 |
+
0.044693247000395786,
|
227 |
+
0.040996794999955455,
|
228 |
+
0.03531728500092868,
|
229 |
+
0.03595876600047632,
|
230 |
+
0.034573072000057437,
|
231 |
+
0.03645827899890719,
|
232 |
+
0.04093122899939772,
|
233 |
+
0.04630876699957298,
|
234 |
+
0.04534182899988082,
|
235 |
+
0.04195916299977398,
|
236 |
+
0.0402147929999046,
|
237 |
+
0.04531697600032203,
|
238 |
+
0.03437311000016052,
|
239 |
+
0.036727998000060325,
|
240 |
+
0.04401456699997652,
|
241 |
+
0.040451363998727174,
|
242 |
+
0.03397782200045185,
|
243 |
+
0.04020345599928987,
|
244 |
+
0.03973420700094721,
|
245 |
+
0.03689013100120064,
|
246 |
+
0.04254719199889223,
|
247 |
+
0.04168791099982627,
|
248 |
+
0.034324019001360284,
|
249 |
+
0.04248134400040726,
|
250 |
+
0.040693760000067414,
|
251 |
+
0.03597001900016039,
|
252 |
+
0.036513775999992504,
|
253 |
+
0.03342521999911696,
|
254 |
+
0.04059156599942071,
|
255 |
+
0.03050467200046114,
|
256 |
+
0.03552321400093206,
|
257 |
+
0.03837382999881811,
|
258 |
+
0.03971367299891426,
|
259 |
+
0.04159295300087251,
|
260 |
+
0.03961526100101764,
|
261 |
+
0.03492181799992977,
|
262 |
+
0.033771775000786874,
|
263 |
+
0.04892243099857296,
|
264 |
+
0.04159555099977297,
|
265 |
+
0.03360729799896944,
|
266 |
+
0.03765634999945178,
|
267 |
+
0.03422505999878922,
|
268 |
+
0.032780204001028324,
|
269 |
+
0.03427113200086751,
|
270 |
+
0.03120312200007902,
|
271 |
+
0.03583974399953149,
|
272 |
+
0.03930401500110747,
|
273 |
+
0.03858250899975246,
|
274 |
+
0.037816969999767025,
|
275 |
+
0.03552929900070012,
|
276 |
+
0.0365712259990687,
|
277 |
+
0.035685250999449636,
|
278 |
+
0.04068836599981296,
|
279 |
+
0.04059191499982262,
|
280 |
+
0.037011681000876706,
|
281 |
+
0.03239092600051663,
|
282 |
+
0.03514259000075981,
|
283 |
+
0.04012494900052843,
|
284 |
+
0.04331657900002028,
|
285 |
+
0.03713826600142056,
|
286 |
+
0.0365737119991536,
|
287 |
+
0.038559058999453555,
|
288 |
+
0.03427029799968295,
|
289 |
+
0.04049523899993801,
|
290 |
+
0.0979738570003974,
|
291 |
+
0.049913320999621646,
|
292 |
+
0.04421495000133291,
|
293 |
+
0.04336414799945487,
|
294 |
+
0.044160793999253656,
|
295 |
+
0.048388109000370605,
|
296 |
+
0.05083520699918154,
|
297 |
+
0.045202848999906564,
|
298 |
+
0.047154052001133095,
|
299 |
+
0.04335056499985512,
|
300 |
+
0.04728519300078915,
|
301 |
+
0.04454470800010313,
|
302 |
+
0.0370318879995466,
|
303 |
+
0.03302354699917487,
|
304 |
+
0.037742174999948475,
|
305 |
+
0.037081389000377385,
|
306 |
+
0.03881162400102767,
|
307 |
+
0.03888378599913267,
|
308 |
+
0.03748597800040443,
|
309 |
+
0.04126267200081202,
|
310 |
+
0.03864905800037377,
|
311 |
+
0.0432513169998856,
|
312 |
+
0.041370564000317245,
|
313 |
+
0.045687308000196936,
|
314 |
+
0.035481097000229056,
|
315 |
+
0.03420309800094401,
|
316 |
+
0.034445744999175076,
|
317 |
+
0.03357387899995956,
|
318 |
+
0.03265024500069558,
|
319 |
+
0.031059044998983154,
|
320 |
+
0.03581253199990897,
|
321 |
+
0.03545339999982389,
|
322 |
+
0.03319400100008352,
|
323 |
+
0.03616060700005619,
|
324 |
+
0.037111376999746426,
|
325 |
+
0.03151596099996823,
|
326 |
+
0.0351212570003554,
|
327 |
+
0.03803590800089296,
|
328 |
+
0.0358772420004243,
|
329 |
+
0.04753761699976167,
|
330 |
+
0.03906237100090948,
|
331 |
+
0.036951066000256105,
|
332 |
+
0.040257472999655874,
|
333 |
+
0.03727524999885645,
|
334 |
+
0.0380510469985893,
|
335 |
+
0.034669356000449625,
|
336 |
+
0.045622498999364325,
|
337 |
+
0.04536155399910058,
|
338 |
+
0.04345013599959202,
|
339 |
+
0.042764802999954554,
|
340 |
+
0.0340042080006242,
|
341 |
+
0.03985111299880373,
|
342 |
+
0.03993925299982948,
|
343 |
+
0.03480199499972514,
|
344 |
+
0.032251153999823146,
|
345 |
+
0.03212300399900414,
|
346 |
+
0.035676232999321655,
|
347 |
+
0.03478069300035713,
|
348 |
+
0.03536861899920041,
|
349 |
+
0.03295161200003349,
|
350 |
+
0.03892265899958147,
|
351 |
+
0.03990881500067189,
|
352 |
+
0.03972912800054473,
|
353 |
+
0.04009784099980607,
|
354 |
+
0.045549349999419064,
|
355 |
+
0.045431008000377915,
|
356 |
+
0.05861185299909266,
|
357 |
+
0.04916253400006099,
|
358 |
+
0.042337075999967055,
|
359 |
+
0.05395946700082277,
|
360 |
+
0.05492320600023959,
|
361 |
+
0.049643819000266376,
|
362 |
+
0.050807732999601285,
|
363 |
+
0.04685425900061091,
|
364 |
+
0.046723460998691735,
|
365 |
+
0.0493331270008639,
|
366 |
+
0.0474537819991383,
|
367 |
+
0.045676591000301414,
|
368 |
+
0.04229911699985678,
|
369 |
+
0.03895158200066362,
|
370 |
+
0.04213146900110587,
|
371 |
+
0.04149395300009928,
|
372 |
+
0.038362896999387885,
|
373 |
+
0.041494618000797345,
|
374 |
+
0.038900188001207425,
|
375 |
+
0.039899826000691974,
|
376 |
+
0.04145743200024299,
|
377 |
+
0.04558495699893683,
|
378 |
+
0.045513078999647405,
|
379 |
+
0.0452049800005625,
|
380 |
+
0.043759135000073,
|
381 |
+
0.04287937300068734,
|
382 |
+
0.04591426700062584
|
383 |
+
]
|
384 |
+
},
|
385 |
+
"throughput": {
|
386 |
+
"unit": "samples/s",
|
387 |
+
"value": 50.070979977871396
|
388 |
+
},
|
389 |
+
"energy": null,
|
390 |
+
"efficiency": null
|
391 |
+
}
|
392 |
+
}
|
393 |
+
}
|