File size: 11,906 Bytes
743dc1e 6514b98 743dc1e a4f2a97 74fc5fa 5195e81 743dc1e 5195e81 743dc1e 6514b98 83dfd9f 743dc1e 9eb6a7f 743dc1e c05b4a9 44cc529 743dc1e 6514b98 743dc1e 5938af5 743dc1e fc6e1b2 743dc1e 2d82439 743dc1e 1c35a18 743dc1e 1c35a18 743dc1e 6514b98 743dc1e e6d1741 743dc1e 33d0691 743dc1e 1c35a18 d37ea42 2a3ea04 743dc1e 83dfd9f 9eb6a7f b7717a4 9eb6a7f e6d1741 9eb6a7f 99c71a6 b7717a4 5a96e32 b7717a4 5a96e32 9eb6a7f 83dfd9f b7717a4 83dfd9f 9eb6a7f 743dc1e b7717a4 7ce0756 743dc1e def5118 6514b98 743dc1e b7717a4 3e5a374 b7717a4 3e5a374 b7717a4 3e5a374 b7717a4 3e5a374 b7717a4 5a96e32 b7717a4 743dc1e b7717a4 743dc1e b7717a4 743dc1e b7717a4 743dc1e |
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 |
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"model_type": "resnet50",
"model": "timm/resnet50.a1_in1k",
"processor": "timm/resnet50.a1_in1k",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": false,
"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": 880.88576,
"max_global_vram": 716.701696,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.3617136535644531
],
"count": 1,
"total": 0.3617136535644531,
"mean": 0.3617136535644531,
"p50": 0.3617136535644531,
"p90": 0.3617136535644531,
"p95": 0.3617136535644531,
"p99": 0.3617136535644531,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.956961268472263e-05,
"ram": 5.454909572520013e-05,
"gpu": 0.000130230937518001,
"total": 0.00028434964592792376
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1124.089856,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 133.139968
},
"latency": {
"unit": "s",
"values": [
0.007478271961212158,
0.007186431884765625,
0.007172095775604248,
0.0071792640686035155,
0.007172095775604248,
0.007217184066772461,
0.007269375801086426,
0.007336959838867187,
0.007308288097381592,
0.00724889612197876,
0.007287807941436767,
0.007233535766601563,
0.00724070405960083,
0.007216127872467041,
0.007255040168762207,
0.007200831890106201,
0.0072120318412780765,
0.0072540159225463864,
0.007156735897064209,
0.007132160186767578,
0.007189472198486328,
0.007185344219207764,
0.00709939193725586,
0.0071146240234375,
0.007667712211608887,
0.007542784214019775,
0.007366591930389404,
0.007533376216888428,
0.007443359851837158,
0.007151519775390625,
0.0071905279159545895,
0.007154687881469727,
0.007137311935424805,
0.007200767993927002,
0.007203839778900147,
0.007234560012817383,
0.007472127914428711,
0.007229599952697754,
0.008572928428649903,
0.0077281599044799806,
0.008956928253173829,
0.008720383644104004,
0.008018943786621094,
0.00764518404006958,
0.007570432186126709,
0.0074967041015625,
0.00749567985534668,
0.007484416007995606,
0.007890944004058837,
0.007395328044891358,
0.0071916160583496095,
0.007156735897064209,
0.007280640125274658,
0.007401472091674805,
0.007445504188537597,
0.0074403839111328125,
0.00744755220413208,
0.007478271961212158,
0.007580671787261963,
0.00744755220413208,
0.007329631805419922,
0.007320576190948487,
0.0071905279159545895,
0.007160831928253173,
0.007172128200531006,
0.00719155216217041,
0.00719155216217041,
0.007225344181060791,
0.007126016139984131,
0.007278624057769775,
0.007070720195770264,
0.007073791980743408,
0.007054336071014404,
0.007061503887176514,
0.0070677118301391605,
0.007222271919250488,
0.007090176105499267,
0.007048223972320557,
0.007055424213409424,
0.007053311824798584,
0.007054336071014404,
0.007028736114501953,
0.007068672180175781,
0.007202816009521484,
0.007233535766601563,
0.007065599918365479,
0.007058432102203369,
0.007063519954681396,
0.007054336071014404,
0.007069695949554444,
0.007036928176879883,
0.007040095806121826,
0.007064576148986816,
0.007063712120056152,
0.00709119987487793,
0.00714035177230835,
0.007077919960021973,
0.007074816226959229,
0.007198719978332519,
0.007058303833007812,
0.0071207361221313475,
0.00711356782913208,
0.007173120021820068,
0.007134208202362061,
0.007101439952850342,
0.007102464199066162,
0.0071485438346862796,
0.007131135940551757,
0.007047167778015137,
0.007109632015228271,
0.007186431884765625,
0.007079936027526855,
0.007121920108795166,
0.007121920108795166,
0.0071198720932006835,
0.007284736156463623,
0.007353343963623047,
0.007223296165466309,
0.007130112171173096,
0.007114751815795899,
0.007048192024230957,
0.00707583999633789,
0.007159808158874512,
0.007269375801086426,
0.007064576148986816,
0.007051296234130859,
0.007138336181640625,
0.00707689619064331,
0.007689087867736816,
0.008005632400512695,
0.00821452808380127,
0.007589888095855713,
0.007049215793609619,
0.007079936027526855,
0.007082943916320801,
0.007136256217956543,
0.0071188478469848635
],
"count": 137,
"total": 0.9962214417457581,
"mean": 0.007271689355808453,
"p50": 0.007185344219207764,
"p90": 0.007553843402862549,
"p95": 0.00776071672439575,
"p99": 0.008667299766540525,
"stdev": 0.00030624075710193295,
"stdev_": 4.211411435739002
},
"throughput": {
"unit": "samples/s",
"value": 275.0392518352627
},
"energy": {
"unit": "kWh",
"cpu": 8.761856493053854e-08,
"ram": 4.787784813501328e-08,
"gpu": 2.0546585064707632e-07,
"total": 3.4096226371262804e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 5865751.764499231
}
}
}
} |