IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a4f2a97 verified
raw
history blame
12.8 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.2.2",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"model": "timm/resnet50.a1_in1k",
"library": "timm",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 945.885184,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 187,
"total": 0.9968600587844851,
"mean": 0.005330802453392968,
"stdev": 0.00017875489929554527,
"p50": 0.005310463905334473,
"p90": 0.005397228908538818,
"p95": 0.005755791950225826,
"p99": 0.0060909771347045895,
"values": [
0.006087679862976075,
0.005901311874389649,
0.00587775993347168,
0.006001664161682129,
0.005912576198577881,
0.006111231803894043,
0.0059023361206054685,
0.005932032108306885,
0.005922815799713135,
0.006311935901641846,
0.005208064079284668,
0.005097504138946533,
0.005256192207336426,
0.005119999885559082,
0.005126143932342529,
0.005144576072692871,
0.005101568222045898,
0.005078015804290771,
0.005055488109588623,
0.005095359802246094,
0.005049344062805176,
0.005055488109588623,
0.005107711791992187,
0.005119999885559082,
0.005096447944641113,
0.0050954241752624516,
0.005253119945526123,
0.0052111358642578124,
0.005239808082580567,
0.005346303939819336,
0.005278719902038574,
0.005268479824066162,
0.005359615802764893,
0.005356544017791748,
0.005310463905334473,
0.005262335777282715,
0.0051946878433227536,
0.005167103767395019,
0.005179391860961914,
0.005224448204040527,
0.0051693120002746585,
0.00520908784866333,
0.00521017599105835,
0.005230495929718018,
0.005223423957824707,
0.005294079780578613,
0.0052367358207702636,
0.0052971520423889164,
0.005302271842956543,
0.005276671886444092,
0.00522547197341919,
0.0052367358207702636,
0.0052787837982177736,
0.005316736221313477,
0.005346303939819336,
0.005420032024383545,
0.0053309440612792965,
0.005384191989898681,
0.005369823932647705,
0.005296319961547852,
0.0052928638458251956,
0.005287839889526367,
0.005310463905334473,
0.0052715520858764645,
0.005252096176147461,
0.005351359844207764,
0.0053361282348632815,
0.005278719902038574,
0.005340223789215088,
0.0052724480628967285,
0.00530944013595581,
0.005237760066986084,
0.005330815792083741,
0.005280767917633057,
0.00531763219833374,
0.005343232154846191,
0.005264448165893555,
0.005287936210632324,
0.00532480001449585,
0.005264383792877197,
0.005255072116851806,
0.0053647360801696775,
0.005328896045684814,
0.005279744148254394,
0.005302175998687744,
0.005257152080535889,
0.005244800090789795,
0.0053318080902099605,
0.005275712013244629,
0.005331967830657959,
0.005469183921813964,
0.0053606400489807126,
0.005381120204925537,
0.005340159893035889,
0.005262335777282715,
0.005268479824066162,
0.005326848030090332,
0.005266272068023682,
0.005394336223602295,
0.005340159893035889,
0.005274623870849609,
0.00531660795211792,
0.005338111877441406,
0.005340159893035889,
0.005371903896331787,
0.005391359806060791,
0.005326848030090332,
0.005378047943115235,
0.005417984008789062,
0.005322751998901368,
0.005471199989318848,
0.0053647360801696775,
0.005263423919677735,
0.005292031764984131,
0.005329919815063477,
0.005274623870849609,
0.005389311790466309,
0.005335103988647461,
0.0053340158462524415,
0.005288959980010987,
0.0052705278396606445,
0.005284863948822022,
0.005327871799468994,
0.005287936210632324,
0.005279744148254394,
0.005278719902038574,
0.005315616130828858,
0.005310463905334473,
0.0052971520423889164,
0.005299200057983398,
0.005272575855255127,
0.005311423778533935,
0.005325823783874512,
0.005284863948822022,
0.005341184139251709,
0.005458943843841553,
0.005437439918518067,
0.005336063861846924,
0.005288959980010987,
0.005295104026794434,
0.0053678078651428224,
0.0052633600234985355,
0.005320703983306885,
0.005292031764984131,
0.0053821439743042,
0.0053350720405578615,
0.00538108777999878,
0.005401567935943603,
0.005321728229522705,
0.0053155522346496585,
0.005384191989898681,
0.005296127796173096,
0.005295104026794434,
0.005333055973052978,
0.005430272102355957,
0.005329919815063477,
0.005279712200164795,
0.005350399971008301,
0.005355519771575928,
0.005320640087127686,
0.005268479824066162,
0.005296192169189453,
0.0052367358207702636,
0.005261248111724854,
0.00536678409576416,
0.005332992076873779,
0.005339072227478027,
0.005352447986602784,
0.005348351955413819,
0.00531763219833374,
0.00530131196975708,
0.0052204160690307614,
0.0052008957862854,
0.00530841588973999,
0.005253119945526123,
0.0053678078651428224,
0.005419007778167725,
0.005327807903289795,
0.005349376201629639,
0.005336063861846924,
0.005280767917633057,
0.005319647789001465,
0.005355552196502685,
0.005348351955413819,
0.0053350400924682614,
0.005382080078125,
0.005340159893035889
]
},
"throughput": {
"unit": "samples/s",
"value": 187.58901849073706
},
"energy": {
"unit": "kWh",
"cpu": 6.418819452549245e-08,
"ram": 3.50907365793466e-08,
"gpu": 1.3077487939459428e-07,
"total": 2.300538104994333e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4346809.113176864
}
}
}
}