Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
Browse files
cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json
ADDED
|
@@ -0,0 +1,307 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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end": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.2.2",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "fill-mask",
|
| 9 |
+
"model": "google-bert/bert-base-uncased",
|
| 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.215-203.850.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": 865.939456,
|
| 108 |
+
"max_global_vram": 1229.45536,
|
| 109 |
+
"max_process_vram": 0.0,
|
| 110 |
+
"max_reserved": 591.396864,
|
| 111 |
+
"max_allocated": 449.269248
|
| 112 |
+
},
|
| 113 |
+
"latency": {
|
| 114 |
+
"unit": "s",
|
| 115 |
+
"count": 164,
|
| 116 |
+
"total": 1.0022596473693848,
|
| 117 |
+
"mean": 0.006111339313227956,
|
| 118 |
+
"stdev": 0.0001961746853366575,
|
| 119 |
+
"p50": 0.006041088104248047,
|
| 120 |
+
"p90": 0.006240767908096314,
|
| 121 |
+
"p95": 0.0065793025016784665,
|
| 122 |
+
"p99": 0.006963158955574036,
|
| 123 |
+
"values": [
|
| 124 |
+
0.007425024032592774,
|
| 125 |
+
0.006922239780426025,
|
| 126 |
+
0.006829055786132812,
|
| 127 |
+
0.006593535900115967,
|
| 128 |
+
0.006614016056060791,
|
| 129 |
+
0.006592512130737305,
|
| 130 |
+
0.0066416640281677245,
|
| 131 |
+
0.007032832145690918,
|
| 132 |
+
0.006259712219238281,
|
| 133 |
+
0.0060928001403808595,
|
| 134 |
+
0.006504447937011719,
|
| 135 |
+
0.0062863359451293946,
|
| 136 |
+
0.0062791681289672855,
|
| 137 |
+
0.006246399879455566,
|
| 138 |
+
0.006223872184753418,
|
| 139 |
+
0.00620851182937622,
|
| 140 |
+
0.006065152168273926,
|
| 141 |
+
0.006037504196166992,
|
| 142 |
+
0.006285312175750732,
|
| 143 |
+
0.006151167869567871,
|
| 144 |
+
0.006140927791595459,
|
| 145 |
+
0.006170623779296875,
|
| 146 |
+
0.0060928001403808595,
|
| 147 |
+
0.006078464031219482,
|
| 148 |
+
0.006094848155975342,
|
| 149 |
+
0.006025216102600098,
|
| 150 |
+
0.0060702719688415525,
|
| 151 |
+
0.006004735946655273,
|
| 152 |
+
0.006100992202758789,
|
| 153 |
+
0.006072319984436035,
|
| 154 |
+
0.006062079906463623,
|
| 155 |
+
0.0060364799499511715,
|
| 156 |
+
0.006162432193756104,
|
| 157 |
+
0.006091775894165039,
|
| 158 |
+
0.006060031890869141,
|
| 159 |
+
0.006008831977844238,
|
| 160 |
+
0.006055935859680176,
|
| 161 |
+
0.0060191359519958494,
|
| 162 |
+
0.006044672012329101,
|
| 163 |
+
0.006039552211761475,
|
| 164 |
+
0.006034431934356689,
|
| 165 |
+
0.006022143840789795,
|
| 166 |
+
0.00602623987197876,
|
| 167 |
+
0.006014976024627685,
|
| 168 |
+
0.00602726411819458,
|
| 169 |
+
0.00602623987197876,
|
| 170 |
+
0.006076416015625,
|
| 171 |
+
0.006008831977844238,
|
| 172 |
+
0.006021120071411133,
|
| 173 |
+
0.006012928009033203,
|
| 174 |
+
0.006020095825195313,
|
| 175 |
+
0.0060067839622497555,
|
| 176 |
+
0.006032383918762207,
|
| 177 |
+
0.006014976024627685,
|
| 178 |
+
0.006053887844085694,
|
| 179 |
+
0.006004735946655273,
|
| 180 |
+
0.006047743797302246,
|
| 181 |
+
0.006012928009033203,
|
| 182 |
+
0.006030335903167725,
|
| 183 |
+
0.00601087999343872,
|
| 184 |
+
0.006048768043518066,
|
| 185 |
+
0.006030335903167725,
|
| 186 |
+
0.006056960105895996,
|
| 187 |
+
0.006031360149383545,
|
| 188 |
+
0.006079487800598145,
|
| 189 |
+
0.006236159801483154,
|
| 190 |
+
0.006097919940948486,
|
| 191 |
+
0.006030335903167725,
|
| 192 |
+
0.006033408164978027,
|
| 193 |
+
0.006042623996734619,
|
| 194 |
+
0.006007808208465576,
|
| 195 |
+
0.006020095825195313,
|
| 196 |
+
0.006024191856384278,
|
| 197 |
+
0.006032383918762207,
|
| 198 |
+
0.006018080234527588,
|
| 199 |
+
0.006046720027923584,
|
| 200 |
+
0.006024191856384278,
|
| 201 |
+
0.006044672012329101,
|
| 202 |
+
0.0060282878875732426,
|
| 203 |
+
0.006022143840789795,
|
| 204 |
+
0.0059996161460876465,
|
| 205 |
+
0.006137856006622314,
|
| 206 |
+
0.006020095825195313,
|
| 207 |
+
0.0060590081214904785,
|
| 208 |
+
0.005999680042266846,
|
| 209 |
+
0.006014976024627685,
|
| 210 |
+
0.005989376068115234,
|
| 211 |
+
0.00602623987197876,
|
| 212 |
+
0.006001664161682129,
|
| 213 |
+
0.006025216102600098,
|
| 214 |
+
0.006013951778411865,
|
| 215 |
+
0.00602726411819458,
|
| 216 |
+
0.006024191856384278,
|
| 217 |
+
0.006034431934356689,
|
| 218 |
+
0.0060067839622497555,
|
| 219 |
+
0.006057983875274659,
|
| 220 |
+
0.006013951778411865,
|
| 221 |
+
0.006022143840789795,
|
| 222 |
+
0.005990399837493897,
|
| 223 |
+
0.006017024040222168,
|
| 224 |
+
0.006017024040222168,
|
| 225 |
+
0.006014976024627685,
|
| 226 |
+
0.006007808208465576,
|
| 227 |
+
0.0060293121337890625,
|
| 228 |
+
0.006012928009033203,
|
| 229 |
+
0.0060067839622497555,
|
| 230 |
+
0.006008831977844238,
|
| 231 |
+
0.006090752124786377,
|
| 232 |
+
0.006235136032104492,
|
| 233 |
+
0.006199295997619629,
|
| 234 |
+
0.006196224212646485,
|
| 235 |
+
0.00623308801651001,
|
| 236 |
+
0.0062566399574279785,
|
| 237 |
+
0.00611737585067749,
|
| 238 |
+
0.006048768043518066,
|
| 239 |
+
0.006015999794006348,
|
| 240 |
+
0.0060590081214904785,
|
| 241 |
+
0.00601907205581665,
|
| 242 |
+
0.006079487800598145,
|
| 243 |
+
0.005993472099304199,
|
| 244 |
+
0.006044672012329101,
|
| 245 |
+
0.006001664161682129,
|
| 246 |
+
0.006051839828491211,
|
| 247 |
+
0.00602726411819458,
|
| 248 |
+
0.0060282878875732426,
|
| 249 |
+
0.0060067839622497555,
|
| 250 |
+
0.006039552211761475,
|
| 251 |
+
0.006003712177276611,
|
| 252 |
+
0.006097919940948486,
|
| 253 |
+
0.00603545618057251,
|
| 254 |
+
0.006047743797302246,
|
| 255 |
+
0.006031360149383545,
|
| 256 |
+
0.006064127922058105,
|
| 257 |
+
0.006021120071411133,
|
| 258 |
+
0.006048768043518066,
|
| 259 |
+
0.006017024040222168,
|
| 260 |
+
0.006049791812896729,
|
| 261 |
+
0.006021120071411133,
|
| 262 |
+
0.0060590081214904785,
|
| 263 |
+
0.006037504196166992,
|
| 264 |
+
0.006046720027923584,
|
| 265 |
+
0.006031360149383545,
|
| 266 |
+
0.006049791812896729,
|
| 267 |
+
0.006031360149383545,
|
| 268 |
+
0.00608460807800293,
|
| 269 |
+
0.006023168087005615,
|
| 270 |
+
0.0060364799499511715,
|
| 271 |
+
0.006622208118438721,
|
| 272 |
+
0.00620851182937622,
|
| 273 |
+
0.006237184047698975,
|
| 274 |
+
0.006187007904052734,
|
| 275 |
+
0.0062341117858886715,
|
| 276 |
+
0.00620851182937622,
|
| 277 |
+
0.006189055919647217,
|
| 278 |
+
0.006211584091186524,
|
| 279 |
+
0.006227968215942382,
|
| 280 |
+
0.006242303848266601,
|
| 281 |
+
0.00608358383178711,
|
| 282 |
+
0.006060031890869141,
|
| 283 |
+
0.006025216102600098,
|
| 284 |
+
0.006085631847381592,
|
| 285 |
+
0.006033408164978027,
|
| 286 |
+
0.006042623996734619,
|
| 287 |
+
0.006013984203338623
|
| 288 |
+
]
|
| 289 |
+
},
|
| 290 |
+
"throughput": {
|
| 291 |
+
"unit": "samples/s",
|
| 292 |
+
"value": 163.63025332851444
|
| 293 |
+
},
|
| 294 |
+
"energy": {
|
| 295 |
+
"unit": "kWh",
|
| 296 |
+
"cpu": 7.529562305129867e-08,
|
| 297 |
+
"ram": 4.11628952354511e-08,
|
| 298 |
+
"gpu": 1.4270581036710517e-07,
|
| 299 |
+
"total": 2.5916432865385494e-07
|
| 300 |
+
},
|
| 301 |
+
"efficiency": {
|
| 302 |
+
"unit": "samples/kWh",
|
| 303 |
+
"value": 3858555.7093994212
|
| 304 |
+
}
|
| 305 |
+
}
|
| 306 |
+
}
|
| 307 |
+
}
|