IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
56ed4f9 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+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": 1,
"num_choices": 2,
"sequence_length": 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 852.451328,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.68840478515625,
"mean": 7.68840478515625,
"stdev": 0.0,
"p50": 7.68840478515625,
"p90": 7.68840478515625,
"p95": 7.68840478515625,
"p99": 7.68840478515625,
"values": [
7.68840478515625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.33809100138901e-06,
"ram": 2.3610789981225906e-06,
"gpu": 4.708059322000081e-06,
"total": 1.1407229321511681e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1091.350528,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.0021629772186278,
"mean": 0.007262050559555275,
"stdev": 0.0003115722684144935,
"p50": 0.007176191806793213,
"p90": 0.007477862596511841,
"p95": 0.007596393513679505,
"p99": 0.008642826309204103,
"values": [
0.007554048061370849,
0.0074291200637817386,
0.007322591781616211,
0.0073134078979492185,
0.007324672222137451,
0.007244800090789795,
0.007184383869171143,
0.007351295948028564,
0.007150496006011963,
0.00709939193725586,
0.0072048320770263675,
0.007178239822387696,
0.007087103843688965,
0.007012351989746094,
0.00709119987487793,
0.007130112171173096,
0.007154687881469727,
0.007227392196655274,
0.0071485438346862796,
0.007158783912658692,
0.007095295906066895,
0.0072130560874938965,
0.007120895862579346,
0.007146495819091797,
0.0071823358535766605,
0.007173088073730469,
0.0071792640686035155,
0.007156735897064209,
0.007112703800201416,
0.007127039909362793,
0.007136256217956543,
0.007351295948028564,
0.007174143791198731,
0.007104512214660645,
0.007117824077606201,
0.007030848026275635,
0.007092192173004151,
0.007088128089904785,
0.007087103843688965,
0.007101439952850342,
0.007136223793029785,
0.007195648193359375,
0.007192575931549072,
0.007165952205657959,
0.007187456130981445,
0.007206912040710449,
0.007108607769012451,
0.0070860800743103025,
0.007384064197540283,
0.007502848148345947,
0.007400447845458984,
0.007482367992401123,
0.007435264110565186,
0.007351295948028564,
0.007394303798675537,
0.00734822416305542,
0.007444479942321777,
0.007452672004699707,
0.007334911823272705,
0.0073820161819458,
0.0073768959045410155,
0.0073768959045410155,
0.007387135982513428,
0.00744543981552124,
0.007423999786376953,
0.00754691219329834,
0.007577663898468018,
0.0074741759300231934,
0.007488512039184571,
0.007479296207427978,
0.007379968166351319,
0.007423999786376953,
0.007401440143585205,
0.0073994240760803225,
0.007460864067077637,
0.0073400321006774905,
0.0074711041450500485,
0.007230463981628418,
0.007280640125274658,
0.007384064197540283,
0.007252992153167725,
0.007080992221832275,
0.007049215793609619,
0.007244800090789795,
0.007702527999877929,
0.008514559745788575,
0.008668160438537598,
0.008643584251403809,
0.008641535758972169,
0.008339455604553223,
0.008254464149475099,
0.007161856174468994,
0.0070891518592834475,
0.007027711868286133,
0.007178239822387696,
0.007070720195770264,
0.007261184215545655,
0.007090176105499267,
0.007046144008636474,
0.00707583999633789,
0.007087103843688965,
0.007178239822387696,
0.006961152076721191,
0.007014400005340577,
0.007102464199066162,
0.007019487857818604,
0.007001088142395019,
0.007044095993041993,
0.007028736114501953,
0.007039999961853028,
0.007055424213409424,
0.007009280204772949,
0.007053311824798584,
0.007014400005340577,
0.007031807899475098,
0.007018496036529541,
0.0070522880554199216,
0.007041024208068848,
0.0072325119972229,
0.007268352031707764,
0.007008255958557129,
0.007045119762420654,
0.007038911819458008,
0.00704204797744751,
0.007104512214660645,
0.0070594558715820314,
0.007090176105499267,
0.007060480117797851,
0.0070225920677185055,
0.0070348801612854,
0.007016448020935059,
0.00704204797744751,
0.007045152187347412,
0.007178239822387696,
0.007036928176879883,
0.007477248191833496,
0.007280576229095459,
0.007233535766601563
]
},
"throughput": {
"unit": "samples/s",
"value": 137.7021533792846
},
"energy": {
"unit": "kWh",
"cpu": 8.218569876915624e-08,
"ram": 4.473597217103178e-08,
"gpu": 1.7198289620689648e-07,
"total": 2.9890456714708447e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3345549.415803746
}
}
}
}