Commit
•
991b02a
1
Parent(s):
03024cc
Upload bert-base-uncased-feature-extraction-pytorch-2024-09-25-13-33-37/benchmark.json with huggingface_hub
Browse files
bert-base-uncased-feature-extraction-pytorch-2024-09-25-13-33-37/benchmark.json
ADDED
@@ -0,0 +1,381 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "bert-base-uncased-feature-extraction-pytorch-2024-09-25-13-33-37",
|
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": true,
|
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.27026245999877574,
|
105 |
+
"mean": 0.27026245999877574,
|
106 |
+
"stdev": 0.0,
|
107 |
+
"p50": 0.27026245999877574,
|
108 |
+
"p90": 0.27026245999877574,
|
109 |
+
"p95": 0.27026245999877574,
|
110 |
+
"p99": 0.27026245999877574,
|
111 |
+
"values": [
|
112 |
+
0.27026245999877574
|
113 |
+
]
|
114 |
+
},
|
115 |
+
"throughput": null,
|
116 |
+
"energy": null,
|
117 |
+
"efficiency": null
|
118 |
+
},
|
119 |
+
"forward": {
|
120 |
+
"memory": null,
|
121 |
+
"latency": {
|
122 |
+
"unit": "s",
|
123 |
+
"count": 239,
|
124 |
+
"total": 9.995716405024723,
|
125 |
+
"mean": 0.04182308119257206,
|
126 |
+
"stdev": 0.005479080615945863,
|
127 |
+
"p50": 0.04034890899856691,
|
128 |
+
"p90": 0.04739702399892849,
|
129 |
+
"p95": 0.04979351750007481,
|
130 |
+
"p99": 0.06522586329876504,
|
131 |
+
"values": [
|
132 |
+
0.04883613899801276,
|
133 |
+
0.04795146300239139,
|
134 |
+
0.044728029002726544,
|
135 |
+
0.04450069900121889,
|
136 |
+
0.037102894002600806,
|
137 |
+
0.04325066700039315,
|
138 |
+
0.038864441001351224,
|
139 |
+
0.04134699599671876,
|
140 |
+
0.03634349999992992,
|
141 |
+
0.04034890899856691,
|
142 |
+
0.036186952002026374,
|
143 |
+
0.03435628000079305,
|
144 |
+
0.03859177399863256,
|
145 |
+
0.04764142299973173,
|
146 |
+
0.04620927599899005,
|
147 |
+
0.04015466199780349,
|
148 |
+
0.03909649599881959,
|
149 |
+
0.04286497900102404,
|
150 |
+
0.04790742299883277,
|
151 |
+
0.04678403899742989,
|
152 |
+
0.03972219299976132,
|
153 |
+
0.039439162999769906,
|
154 |
+
0.043716514999687206,
|
155 |
+
0.04149892799978261,
|
156 |
+
0.04485208400001284,
|
157 |
+
0.045184098002209794,
|
158 |
+
0.042145937997702276,
|
159 |
+
0.04288213499967242,
|
160 |
+
0.04364068299764767,
|
161 |
+
0.039757909002219094,
|
162 |
+
0.049521335000463296,
|
163 |
+
0.05205518000002485,
|
164 |
+
0.043305869003233965,
|
165 |
+
0.045183808000729186,
|
166 |
+
0.04119596100281342,
|
167 |
+
0.04324858299878542,
|
168 |
+
0.043353609999030596,
|
169 |
+
0.04339353400064283,
|
170 |
+
0.04313248099788325,
|
171 |
+
0.04097406100117951,
|
172 |
+
0.03751959200235433,
|
173 |
+
0.04324551899844664,
|
174 |
+
0.04211481400125194,
|
175 |
+
0.04133345399895916,
|
176 |
+
0.046108590002404526,
|
177 |
+
0.048132077001355356,
|
178 |
+
0.05006720300298184,
|
179 |
+
0.04046721299891942,
|
180 |
+
0.037020277999545215,
|
181 |
+
0.039295552000112366,
|
182 |
+
0.037684594997699605,
|
183 |
+
0.03770215999975335,
|
184 |
+
0.03719843099679565,
|
185 |
+
0.03958193300059065,
|
186 |
+
0.03832562300158315,
|
187 |
+
0.03784008599905064,
|
188 |
+
0.036885741999867605,
|
189 |
+
0.039457221999327885,
|
190 |
+
0.0356366749983863,
|
191 |
+
0.03765420000127051,
|
192 |
+
0.04518810700028553,
|
193 |
+
0.043174895999982255,
|
194 |
+
0.04014851199826808,
|
195 |
+
0.04430357300225296,
|
196 |
+
0.03990488699855632,
|
197 |
+
0.045868396999139804,
|
198 |
+
0.04408296199835604,
|
199 |
+
0.04196070399848395,
|
200 |
+
0.039426113002264174,
|
201 |
+
0.04251481800019974,
|
202 |
+
0.04414554299728479,
|
203 |
+
0.04485624100198038,
|
204 |
+
0.040009176002058666,
|
205 |
+
0.04631545099982759,
|
206 |
+
0.047560331997374306,
|
207 |
+
0.04976310799975181,
|
208 |
+
0.044739471002685605,
|
209 |
+
0.04422163299750537,
|
210 |
+
0.050801667999621714,
|
211 |
+
0.04033712399905198,
|
212 |
+
0.04787530300018261,
|
213 |
+
0.07768884499819251,
|
214 |
+
0.06992002600236447,
|
215 |
+
0.06501595299778273,
|
216 |
+
0.06535451799936709,
|
217 |
+
0.06414465099805966,
|
218 |
+
0.047107880000112345,
|
219 |
+
0.049671882999973604,
|
220 |
+
0.046817270002065925,
|
221 |
+
0.048200277000432834,
|
222 |
+
0.04289439399872208,
|
223 |
+
0.042556159001833294,
|
224 |
+
0.04148061800151481,
|
225 |
+
0.04605946499941638,
|
226 |
+
0.05406537900125841,
|
227 |
+
0.047356196999317035,
|
228 |
+
0.04112943599830032,
|
229 |
+
0.04207716199744027,
|
230 |
+
0.0457085369998822,
|
231 |
+
0.0450342210024246,
|
232 |
+
0.04537120600070921,
|
233 |
+
0.043119087000377476,
|
234 |
+
0.043988712001009844,
|
235 |
+
0.05100539200066123,
|
236 |
+
0.05300349000026472,
|
237 |
+
0.050372056000924204,
|
238 |
+
0.04656135999903199,
|
239 |
+
0.044712947001244174,
|
240 |
+
0.045107324000127846,
|
241 |
+
0.042533060997811845,
|
242 |
+
0.04268773600051645,
|
243 |
+
0.04223857599936309,
|
244 |
+
0.04091800500100362,
|
245 |
+
0.04278873799921712,
|
246 |
+
0.03869780099921627,
|
247 |
+
0.038958564000495244,
|
248 |
+
0.03877288600051543,
|
249 |
+
0.03791242200168199,
|
250 |
+
0.03849375099889585,
|
251 |
+
0.04151796199948876,
|
252 |
+
0.03599204299825942,
|
253 |
+
0.049295237000478664,
|
254 |
+
0.044613818998186616,
|
255 |
+
0.03873952999856556,
|
256 |
+
0.03621115100031602,
|
257 |
+
0.037899742001172854,
|
258 |
+
0.042580515997542534,
|
259 |
+
0.03531684200061136,
|
260 |
+
0.04093022900269716,
|
261 |
+
0.04079395200096769,
|
262 |
+
0.03776857300181291,
|
263 |
+
0.03813702599654789,
|
264 |
+
0.0394068409987085,
|
265 |
+
0.03751699599888525,
|
266 |
+
0.03893014999994193,
|
267 |
+
0.037653745002899086,
|
268 |
+
0.04032735699729528,
|
269 |
+
0.03736954100168077,
|
270 |
+
0.039967545999388676,
|
271 |
+
0.03889614999934565,
|
272 |
+
0.03969464500187314,
|
273 |
+
0.035546210001484724,
|
274 |
+
0.039777933998266235,
|
275 |
+
0.04309199300041655,
|
276 |
+
0.03653666600075667,
|
277 |
+
0.035243919999629725,
|
278 |
+
0.0374708820017986,
|
279 |
+
0.036051042003236944,
|
280 |
+
0.038411220000853064,
|
281 |
+
0.037509626999963075,
|
282 |
+
0.03522844100007205,
|
283 |
+
0.03874467999776243,
|
284 |
+
0.03969091800172464,
|
285 |
+
0.03686645000198041,
|
286 |
+
0.03710848000264377,
|
287 |
+
0.04005178899751627,
|
288 |
+
0.04064311199908843,
|
289 |
+
0.03410557800089009,
|
290 |
+
0.03902073199787992,
|
291 |
+
0.044466652998380596,
|
292 |
+
0.042854074999922886,
|
293 |
+
0.036740889998327475,
|
294 |
+
0.038410733999626245,
|
295 |
+
0.03709079599866527,
|
296 |
+
0.038994911999907345,
|
297 |
+
0.03885987700050464,
|
298 |
+
0.03638443300224026,
|
299 |
+
0.03730879599970649,
|
300 |
+
0.04184052100026747,
|
301 |
+
0.03792752200024552,
|
302 |
+
0.040056259000266436,
|
303 |
+
0.03891962400302873,
|
304 |
+
0.043371029998525046,
|
305 |
+
0.0403801040010876,
|
306 |
+
0.04565152899886016,
|
307 |
+
0.039157361999969,
|
308 |
+
0.04199136900206213,
|
309 |
+
0.04456694500186131,
|
310 |
+
0.04229618300087168,
|
311 |
+
0.03871364599763183,
|
312 |
+
0.03995152000061353,
|
313 |
+
0.04022040400013793,
|
314 |
+
0.03746177400171291,
|
315 |
+
0.03833966399906785,
|
316 |
+
0.04027781499826233,
|
317 |
+
0.04140972600362147,
|
318 |
+
0.0394521390007867,
|
319 |
+
0.03857994999998482,
|
320 |
+
0.03810556000098586,
|
321 |
+
0.03915545800191467,
|
322 |
+
0.03705566300050123,
|
323 |
+
0.039858565000031376,
|
324 |
+
0.03819382399888127,
|
325 |
+
0.037734322002506815,
|
326 |
+
0.03974019899760606,
|
327 |
+
0.03827522700157715,
|
328 |
+
0.03795622299730894,
|
329 |
+
0.04207506799866678,
|
330 |
+
0.0414760040002875,
|
331 |
+
0.04025740799988853,
|
332 |
+
0.04250739499912015,
|
333 |
+
0.03630166800212464,
|
334 |
+
0.03968086000168114,
|
335 |
+
0.040627029000461334,
|
336 |
+
0.037420855001983,
|
337 |
+
0.038611437998042675,
|
338 |
+
0.041941858999052783,
|
339 |
+
0.03878899100163835,
|
340 |
+
0.036525151001114864,
|
341 |
+
0.040973220002342714,
|
342 |
+
0.03875776300264988,
|
343 |
+
0.04009454899642151,
|
344 |
+
0.040104771996993804,
|
345 |
+
0.042863520997343585,
|
346 |
+
0.04007712000020547,
|
347 |
+
0.04471383299824083,
|
348 |
+
0.037383546001365175,
|
349 |
+
0.04061252199971932,
|
350 |
+
0.04164920499897562,
|
351 |
+
0.03945347600165405,
|
352 |
+
0.03817712000090978,
|
353 |
+
0.0387453440016543,
|
354 |
+
0.04242988600162789,
|
355 |
+
0.035310049999679904,
|
356 |
+
0.039323120003246004,
|
357 |
+
0.04020754299926921,
|
358 |
+
0.038065135002398165,
|
359 |
+
0.03528401899893652,
|
360 |
+
0.03543830000126036,
|
361 |
+
0.042556922999210656,
|
362 |
+
0.04281551500025671,
|
363 |
+
0.0400575640014722,
|
364 |
+
0.04024984200077597,
|
365 |
+
0.039552648002427304,
|
366 |
+
0.04168981000111671,
|
367 |
+
0.04360315899975831,
|
368 |
+
0.04440774799877545,
|
369 |
+
0.04503937900153687,
|
370 |
+
0.04018941500180517
|
371 |
+
]
|
372 |
+
},
|
373 |
+
"throughput": {
|
374 |
+
"unit": "samples/s",
|
375 |
+
"value": 47.820484358651406
|
376 |
+
},
|
377 |
+
"energy": null,
|
378 |
+
"efficiency": null
|
379 |
+
}
|
380 |
+
}
|
381 |
+
}
|