File size: 13,026 Bytes
4ad451b dc32cf6 4ad451b a1e3114 439d282 939454f 4ad451b 939454f 4ad451b dc32cf6 4ad451b 51a19b4 4ad451b 3adaf87 5ca7d31 4ad451b dc32cf6 4ad451b 13e7ec1 4ad451b 50782c1 4ad451b 00cfcfa 4ad451b 55fe82a 4ad451b 55fe82a 4ad451b dc32cf6 4ad451b 18402bc 4ad451b 08e6e2c 4ad451b 55fe82a de92835 bec5d83 4ad451b ef5e41c 51a19b4 e787f00 5d96e2d 51a19b4 18402bc 51a19b4 6fdf8b6 e787f00 1ec8432 e787f00 1ec8432 51a19b4 ef5e41c e787f00 ef5e41c 51a19b4 4ad451b e787f00 dc32cf6 4ad451b dc32cf6 4ad451b e787f00 08e6e2c 55fe82a e787f00 55fe82a e787f00 55fe82a e787f00 55fe82a e787f00 55fe82a e787f00 55fe82a e787f00 1ec8432 55fe82a e787f00 4ad451b e787f00 4ad451b e787f00 4ad451b e787f00 4ad451b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 |
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 2,
"sequence_length": 16,
"num_choices": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": true,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.47.0",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.14.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 816.463872,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.07567155456542969
],
"count": 1,
"total": 0.07567155456542969,
"mean": 0.07567155456542969,
"p50": 0.07567155456542969,
"p90": 0.07567155456542969,
"p95": 0.07567155456542969,
"p99": 0.07567155456542969,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.646063730208535e-05,
"ram": 5.284685317364262e-05,
"gpu": 0.00013741705437799942,
"total": 0.0002867245448537274
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1094.115328,
"max_global_vram": 1207.435264,
"max_process_vram": 0.0,
"max_reserved": 559.939584,
"max_allocated": 510.51264
},
"latency": {
"unit": "s",
"values": [
0.006160352230072021,
0.005855231761932373,
0.005850080013275146,
0.005896192073822021,
0.005991424083709717,
0.006695968151092529,
0.006423552036285401,
0.007176191806793213,
0.006268928050994873,
0.006115327835083008,
0.006195199966430664,
0.006087679862976075,
0.0061296639442443845,
0.0060364799499511715,
0.00643993616104126,
0.006079487800598145,
0.006078495979309082,
0.006150144100189209,
0.006114304065704346,
0.00606928014755249,
0.0060999679565429685,
0.006072319984436035,
0.006071296215057373,
0.006071296215057373,
0.006060031890869141,
0.006830080032348633,
0.006328320026397705,
0.006157311916351318,
0.006082560062408447,
0.006089727878570556,
0.0060702719688415525,
0.006093823909759521,
0.006073344230651856,
0.006057983875274659,
0.006091775894165039,
0.006072319984436035,
0.006107135772705078,
0.006044735908508301,
0.00611737585067749,
0.006062079906463623,
0.006136832237243653,
0.006055935859680176,
0.006091775894165039,
0.006065152168273926,
0.0060999679565429685,
0.006050816059112549,
0.006141952037811279,
0.006055935859680176,
0.006059040069580078,
0.006062079906463623,
0.006080512046813965,
0.006057983875274659,
0.006030335903167725,
0.006065152168273926,
0.006037504196166992,
0.006043647766113281,
0.006031360149383545,
0.006060031890869141,
0.006042623996734619,
0.006159359931945801,
0.006209536075592041,
0.006235136032104492,
0.00620851182937622,
0.006052864074707031,
0.006087679862976075,
0.006098944187164307,
0.006054912090301514,
0.006062079906463623,
0.006074368000030517,
0.006015007972717285,
0.006057983875274659,
0.00601907205581665,
0.006168575763702393,
0.00606928014755249,
0.00607539176940918,
0.006057983875274659,
0.006057983875274659,
0.006060031890869141,
0.006078464031219482,
0.0060282878875732426,
0.006065152168273926,
0.0060293121337890625,
0.006048768043518066,
0.0060293121337890625,
0.0060661759376525876,
0.0060488319396972655,
0.006239232063293457,
0.006081535816192627,
0.0060928001403808595,
0.006269951820373535,
0.006131711959838867,
0.006116352081298828,
0.006053887844085694,
0.006427648067474365,
0.0060282878875732426,
0.006168575763702393,
0.0060631041526794435,
0.006067168235778808,
0.006065152168273926,
0.006344704151153564,
0.00611737585067749,
0.006062079906463623,
0.006091775894165039,
0.006023168087005615,
0.006065152168273926,
0.0060282878875732426,
0.0060661759376525876,
0.006013951778411865,
0.0060364799499511715,
0.006008831977844238,
0.006050816059112549,
0.00601804780960083,
0.006049791812896729,
0.006001664161682129,
0.0060364799499511715,
0.006017024040222168,
0.006047743797302246,
0.006029344081878662,
0.006038527965545654,
0.006015999794006348,
0.006011903762817383,
0.006022143840789795,
0.0060282878875732426,
0.006012896060943604,
0.006038527965545654,
0.00601907205581665,
0.006031360149383545,
0.0060293121337890625,
0.006037504196166992,
0.006056960105895996,
0.006013951778411865,
0.006037504196166992,
0.00601804780960083,
0.006042623996734619,
0.005913599967956543,
0.0059996161460876465,
0.00602726411819458,
0.006047743797302246,
0.006024191856384278,
0.006034431934356689,
0.006015999794006348,
0.00602726411819458,
0.005996543884277344,
0.006077439785003662,
0.00592793607711792,
0.005959680080413818,
0.005932032108306885,
0.005963712215423584,
0.006176767826080322,
0.006087679862976075,
0.0060364799499511715,
0.0065382399559021,
0.007420928001403809,
0.007632895946502686,
0.006401023864746094,
0.006291456222534179,
0.006090752124786377,
0.006102015972137451,
0.006052864074707031,
0.006048768043518066,
0.006037504196166992,
0.006065152168273926,
0.0060631041526794435
],
"count": 163,
"total": 0.9963173422813412,
"mean": 0.006112376333014365,
"p50": 0.006062079906463623,
"p90": 0.006230016040802002,
"p95": 0.00642129921913147,
"p99": 0.007269191560745238,
"stdev": 0.00021718287556357909,
"stdev_": 3.553165965755804
},
"throughput": {
"unit": "samples/s",
"value": 327.20498395976296
},
"energy": {
"unit": "kWh",
"cpu": 7.557072013005546e-08,
"ram": 4.125150115363044e-08,
"gpu": 2.0148636076433783e-07,
"total": 3.183085820480238e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 6283211.049893265
}
}
}
} |