IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
49808e0 verified
raw
history blame
12.5 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"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": {},
"hub_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,
"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.12",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 949.174272,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 183,
"total": 0.9981143059730528,
"mean": 0.005454176535371874,
"stdev": 0.00020629565496538404,
"p50": 0.005488639831542969,
"p90": 0.005720883178710937,
"p95": 0.005757705688476562,
"p99": 0.005880319976806642,
"values": [
0.00602726411819458,
0.005764095783233642,
0.0057580161094665525,
0.005775392055511475,
0.00575491189956665,
0.0057415680885314945,
0.005848063945770264,
0.005787648200988769,
0.005785600185394287,
0.005646336078643799,
0.00568832015991211,
0.005635072231292724,
0.005608448028564453,
0.005628928184509278,
0.005599167823791504,
0.005618720054626465,
0.005684224128723145,
0.005518335819244385,
0.005431295871734619,
0.0055101442337036136,
0.0055285758972167965,
0.0055214080810546875,
0.00555622386932373,
0.00566476821899414,
0.00572108793258667,
0.005649407863616943,
0.00573747205734253,
0.005552127838134766,
0.005587967872619629,
0.005489664077758789,
0.005618624210357666,
0.00562278413772583,
0.005636096000671387,
0.005657599925994873,
0.005642240047454834,
0.00608358383178711,
0.00561356782913208,
0.005647359848022461,
0.005780479907989502,
0.005734399795532226,
0.005591040134429932,
0.0056442880630493165,
0.005612544059753418,
0.005481472015380859,
0.005471263885498047,
0.005547967910766602,
0.005474271774291992,
0.005553152084350586,
0.005501952171325684,
0.005488639831542969,
0.005540863990783691,
0.005511104106903076,
0.005619711875915527,
0.005617663860321045,
0.005764095783233642,
0.005720064163208007,
0.005734399795532226,
0.005701632022857666,
0.005639167785644531,
0.005654528141021729,
0.005501952171325684,
0.005569536209106446,
0.005710847854614258,
0.005650432109832764,
0.005659647941589355,
0.005593088150024414,
0.005676032066345215,
0.0055623679161071774,
0.005451712131500244,
0.005499904155731201,
0.005529600143432617,
0.005596159934997558,
0.00552243185043335,
0.005639167785644531,
0.005750783920288086,
0.0055101442337036136,
0.005484543800354004,
0.00548140811920166,
0.005517312049865723,
0.005553152084350586,
0.005488639831542969,
0.005587999820709229,
0.005563392162322998,
0.005554175853729248,
0.00563097620010376,
0.005549056053161621,
0.005727231979370117,
0.005666816234588623,
0.00566374397277832,
0.005653503894805908,
0.005628928184509278,
0.005661695957183838,
0.005569536209106446,
0.005738560199737549,
0.005525504112243652,
0.005560319900512695,
0.005679103851318359,
0.005422080039978027,
0.00530847978591919,
0.005275648117065429,
0.005202943801879883,
0.005286911964416504,
0.005277632236480713,
0.005303264141082764,
0.00520908784866333,
0.005156864166259765,
0.0051476478576660155,
0.0052111358642578124,
0.005395455837249756,
0.005280767917633057,
0.005242879867553711,
0.005368832111358642,
0.0052705278396606445,
0.005379072189331055,
0.00532480001449585,
0.005286911964416504,
0.005279744148254394,
0.005405663967132568,
0.005432320117950439,
0.005252096176147461,
0.0053043198585510255,
0.005224448204040527,
0.005231616020202637,
0.0053637118339538575,
0.005214208126068115,
0.005245952129364013,
0.005276671886444092,
0.005231616020202637,
0.005216256141662597,
0.005296127796173096,
0.00522547197341919,
0.0051998720169067385,
0.005258240222930908,
0.005227519989013672,
0.00537497615814209,
0.005246047973632813,
0.0052111358642578124,
0.0051968002319335935,
0.005259263992309571,
0.005234687805175781,
0.005193727970123291,
0.005193727970123291,
0.005220352172851562,
0.005190656185150146,
0.0052941122055053715,
0.005253119945526123,
0.0053606400489807126,
0.005193727970123291,
0.005288959980010987,
0.005200863838195801,
0.005210112094879151,
0.005220352172851562,
0.005223423957824707,
0.005205056190490723,
0.005279744148254394,
0.005221375942230225,
0.005510176181793213,
0.005656576156616211,
0.005216256141662597,
0.0052336640357971195,
0.005278719902038574,
0.005238783836364746,
0.005216256141662597,
0.005417984008789062,
0.005273600101470947,
0.005283840179443359,
0.0052295680046081545,
0.00520908784866333,
0.0052008957862854,
0.005216256141662597,
0.0052008957862854,
0.005274623870849609,
0.00522649621963501,
0.005204991817474365,
0.005179391860961914,
0.005277696132659912,
0.005228544235229492,
0.005190656185150146,
0.005182464122772217,
0.0052295680046081545,
0.005213183879852295,
0.0051773438453674315,
0.0052008957862854
]
},
"throughput": {
"unit": "samples/s",
"value": 183.3457339553859
},
"energy": {
"unit": "kWh",
"cpu": 6.269612938148144e-08,
"ram": 3.427888321254166e-08,
"gpu": 1.3419616849735498e-07,
"total": 2.3117118109137807e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4325798.72317526
}
}
}
}