Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
Browse files
cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.1+cpu",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "fill-mask",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "bert",
|
| 11 |
+
"model": "google-bert/bert-base-uncased",
|
| 12 |
+
"processor": "google-bert/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": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": null,
|
| 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": 1,
|
| 44 |
+
"duration": 1,
|
| 45 |
+
"warmup_runs": 1,
|
| 46 |
+
"input_shapes": {
|
| 47 |
+
"batch_size": 1,
|
| 48 |
+
"num_choices": 2,
|
| 49 |
+
"sequence_length": 2
|
| 50 |
+
},
|
| 51 |
+
"new_tokens": null,
|
| 52 |
+
"memory": true,
|
| 53 |
+
"latency": true,
|
| 54 |
+
"energy": true,
|
| 55 |
+
"forward_kwargs": {},
|
| 56 |
+
"generate_kwargs": {
|
| 57 |
+
"max_new_tokens": 2,
|
| 58 |
+
"min_new_tokens": 2
|
| 59 |
+
},
|
| 60 |
+
"call_kwargs": {
|
| 61 |
+
"num_inference_steps": 2
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
"launcher": {
|
| 65 |
+
"name": "process",
|
| 66 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 67 |
+
"device_isolation": false,
|
| 68 |
+
"device_isolation_action": "error",
|
| 69 |
+
"numactl": false,
|
| 70 |
+
"numactl_kwargs": {},
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7742 64-Core Processor",
|
| 75 |
+
"cpu_count": 128,
|
| 76 |
+
"cpu_ram_mb": 540671.660032,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.35",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.10.12",
|
| 82 |
+
"optimum_benchmark_version": "0.4.0",
|
| 83 |
+
"optimum_benchmark_commit": null,
|
| 84 |
+
"transformers_version": "4.44.0",
|
| 85 |
+
"transformers_commit": null,
|
| 86 |
+
"accelerate_version": "0.33.0",
|
| 87 |
+
"accelerate_commit": null,
|
| 88 |
+
"diffusers_version": "0.30.0",
|
| 89 |
+
"diffusers_commit": null,
|
| 90 |
+
"optimum_version": null,
|
| 91 |
+
"optimum_commit": null,
|
| 92 |
+
"timm_version": "1.0.8",
|
| 93 |
+
"timm_commit": null,
|
| 94 |
+
"peft_version": "0.12.0",
|
| 95 |
+
"peft_commit": null
|
| 96 |
+
}
|
| 97 |
+
},
|
| 98 |
+
"report": {
|
| 99 |
+
"load": {
|
| 100 |
+
"memory": {
|
| 101 |
+
"unit": "MB",
|
| 102 |
+
"max_ram": 956.5184,
|
| 103 |
+
"max_global_vram": null,
|
| 104 |
+
"max_process_vram": null,
|
| 105 |
+
"max_reserved": null,
|
| 106 |
+
"max_allocated": null
|
| 107 |
+
},
|
| 108 |
+
"latency": {
|
| 109 |
+
"unit": "s",
|
| 110 |
+
"count": 1,
|
| 111 |
+
"total": 5.060118122026324,
|
| 112 |
+
"mean": 5.060118122026324,
|
| 113 |
+
"stdev": 0.0,
|
| 114 |
+
"p50": 5.060118122026324,
|
| 115 |
+
"p90": 5.060118122026324,
|
| 116 |
+
"p95": 5.060118122026324,
|
| 117 |
+
"p99": 5.060118122026324,
|
| 118 |
+
"values": [
|
| 119 |
+
5.060118122026324
|
| 120 |
+
]
|
| 121 |
+
},
|
| 122 |
+
"throughput": null,
|
| 123 |
+
"energy": {
|
| 124 |
+
"unit": "kWh",
|
| 125 |
+
"cpu": 5.270721286069602e-05,
|
| 126 |
+
"ram": 8.84559721890803e-05,
|
| 127 |
+
"gpu": 0,
|
| 128 |
+
"total": 0.00014116318504977631
|
| 129 |
+
},
|
| 130 |
+
"efficiency": null
|
| 131 |
+
},
|
| 132 |
+
"forward": {
|
| 133 |
+
"memory": {
|
| 134 |
+
"unit": "MB",
|
| 135 |
+
"max_ram": 866.750464,
|
| 136 |
+
"max_global_vram": null,
|
| 137 |
+
"max_process_vram": null,
|
| 138 |
+
"max_reserved": null,
|
| 139 |
+
"max_allocated": null
|
| 140 |
+
},
|
| 141 |
+
"latency": {
|
| 142 |
+
"unit": "s",
|
| 143 |
+
"count": 72,
|
| 144 |
+
"total": 1.005678259767592,
|
| 145 |
+
"mean": 0.013967753607883222,
|
| 146 |
+
"stdev": 0.0004886843289281364,
|
| 147 |
+
"p50": 0.014004338532686234,
|
| 148 |
+
"p90": 0.0144935367628932,
|
| 149 |
+
"p95": 0.014938362780958414,
|
| 150 |
+
"p99": 0.015165246101096274,
|
| 151 |
+
"values": [
|
| 152 |
+
0.014370780438184738,
|
| 153 |
+
0.014929007738828659,
|
| 154 |
+
0.014153111726045609,
|
| 155 |
+
0.014369908720254898,
|
| 156 |
+
0.013790772296488285,
|
| 157 |
+
0.01381617970764637,
|
| 158 |
+
0.014959964901208878,
|
| 159 |
+
0.014098750427365303,
|
| 160 |
+
0.014065638184547424,
|
| 161 |
+
0.014949796721339226,
|
| 162 |
+
0.014665953814983368,
|
| 163 |
+
0.014408290386199951,
|
| 164 |
+
0.014495604671537876,
|
| 165 |
+
0.015389650128781796,
|
| 166 |
+
0.014041203074157238,
|
| 167 |
+
0.015073588117957115,
|
| 168 |
+
0.014353647828102112,
|
| 169 |
+
0.014154563657939434,
|
| 170 |
+
0.014183458872139454,
|
| 171 |
+
0.013983534649014473,
|
| 172 |
+
0.014474925585091114,
|
| 173 |
+
0.014017948880791664,
|
| 174 |
+
0.014457612298429012,
|
| 175 |
+
0.014262687414884567,
|
| 176 |
+
0.014247548766434193,
|
| 177 |
+
0.014294416643679142,
|
| 178 |
+
0.01395251601934433,
|
| 179 |
+
0.014385919086635113,
|
| 180 |
+
0.014030912891030312,
|
| 181 |
+
0.014647028408944607,
|
| 182 |
+
0.014456741511821747,
|
| 183 |
+
0.014318753033876419,
|
| 184 |
+
0.013666810467839241,
|
| 185 |
+
0.013003306463360786,
|
| 186 |
+
0.01324289571493864,
|
| 187 |
+
0.013424897566437721,
|
| 188 |
+
0.014007849618792534,
|
| 189 |
+
0.013886784203350544,
|
| 190 |
+
0.01356973871588707,
|
| 191 |
+
0.013442880474030972,
|
| 192 |
+
0.013466916047036648,
|
| 193 |
+
0.013479058630764484,
|
| 194 |
+
0.014144276268780231,
|
| 195 |
+
0.013504386879503727,
|
| 196 |
+
0.013514935970306396,
|
| 197 |
+
0.013512711971998215,
|
| 198 |
+
0.013484789989888668,
|
| 199 |
+
0.013452778570353985,
|
| 200 |
+
0.013494557701051235,
|
| 201 |
+
0.013536275364458561,
|
| 202 |
+
0.013936275616288185,
|
| 203 |
+
0.013614563271403313,
|
| 204 |
+
0.013594084419310093,
|
| 205 |
+
0.013588945381343365,
|
| 206 |
+
0.013479079119861126,
|
| 207 |
+
0.013717835769057274,
|
| 208 |
+
0.013571111485362053,
|
| 209 |
+
0.013529453426599503,
|
| 210 |
+
0.014000827446579933,
|
| 211 |
+
0.01356938760727644,
|
| 212 |
+
0.013408997096121311,
|
| 213 |
+
0.01338641531765461,
|
| 214 |
+
0.013330521062016487,
|
| 215 |
+
0.013386826030910015,
|
| 216 |
+
0.013561554253101349,
|
| 217 |
+
0.01340545155107975,
|
| 218 |
+
0.01410538237541914,
|
| 219 |
+
0.014211362227797508,
|
| 220 |
+
0.014103279449045658,
|
| 221 |
+
0.014150678180158138,
|
| 222 |
+
0.014198146760463715,
|
| 223 |
+
0.014191814698278904
|
| 224 |
+
]
|
| 225 |
+
},
|
| 226 |
+
"throughput": {
|
| 227 |
+
"unit": "samples/s",
|
| 228 |
+
"value": 71.5934736589005
|
| 229 |
+
},
|
| 230 |
+
"energy": {
|
| 231 |
+
"unit": "kWh",
|
| 232 |
+
"cpu": 4.246568537751414e-07,
|
| 233 |
+
"ram": 7.125636966945459e-07,
|
| 234 |
+
"gpu": 0.0,
|
| 235 |
+
"total": 1.1372205504696873e-06
|
| 236 |
+
},
|
| 237 |
+
"efficiency": {
|
| 238 |
+
"unit": "samples/kWh",
|
| 239 |
+
"value": 879336.9057453162
|
| 240 |
+
}
|
| 241 |
+
}
|
| 242 |
+
}
|
| 243 |
+
}
|