IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
568d79f verified
raw
history blame
12.9 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 952.0128,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 190,
"total": 0.9957231354713442,
"mean": 0.005240648081428125,
"stdev": 0.00021983175208179712,
"p50": 0.00521779203414917,
"p90": 0.0053935102462768555,
"p95": 0.005844907331466674,
"p99": 0.005975603322982787,
"values": [
0.006207488059997559,
0.005804031848907471,
0.005963776111602783,
0.005874688148498535,
0.005894144058227539,
0.005853216171264649,
0.005858304023742676,
0.005834752082824707,
0.005940224170684814,
0.005899263858795166,
0.006071296215057373,
0.005135359764099121,
0.0050728960037231445,
0.005098495960235596,
0.005071872234344482,
0.005096384048461914,
0.005086207866668701,
0.005396480083465576,
0.005188608169555664,
0.005182432174682617,
0.005220352172851562,
0.005070847988128662,
0.005048319816589355,
0.005096447944641113,
0.005035007953643799,
0.00506060791015625,
0.005049344062805176,
0.0050841598510742185,
0.00511078405380249,
0.005045248031616211,
0.005056511878967285,
0.00506879997253418,
0.005037055969238281,
0.005045248031616211,
0.005067776203155518,
0.005051392078399658,
0.005053440093994141,
0.005038080215454102,
0.005081088066101074,
0.0050421757698059086,
0.0050503678321838375,
0.005053440093994141,
0.0050769920349121095,
0.0050503678321838375,
0.0050462718009948735,
0.005087232112884522,
0.005057536125183106,
0.005035007953643799,
0.005043263912200928,
0.005073919773101807,
0.005017600059509277,
0.00501964807510376,
0.00499510383605957,
0.005055488109588623,
0.005215231895446777,
0.005074944019317627,
0.005087232112884522,
0.005089280128479004,
0.005111807823181152,
0.005074944019317627,
0.005093376159667969,
0.005078015804290771,
0.005067776203155518,
0.00506879997253418,
0.005075903892517089,
0.005051392078399658,
0.005051392078399658,
0.005108736038208008,
0.005066751956939697,
0.0050800638198852536,
0.005056511878967285,
0.005099520206451416,
0.005074944019317627,
0.005064703941345215,
0.0050769920349121095,
0.005087232112884522,
0.00506060791015625,
0.005062655925750732,
0.0050769920349121095,
0.005067776203155518,
0.005079040050506592,
0.005061632156372071,
0.005094399929046631,
0.005047296047210693,
0.005047296047210693,
0.005070847988128662,
0.005149695873260498,
0.0050657281875610355,
0.005127168178558349,
0.005040128231048584,
0.0050135040283203125,
0.00501043176651001,
0.005039103984832764,
0.005038080215454102,
0.005195775985717774,
0.005141503810882568,
0.005187583923339844,
0.005157887935638428,
0.005141568183898926,
0.005139455795288086,
0.005169151782989502,
0.005062655925750732,
0.005058559894561767,
0.005138432025909424,
0.005073919773101807,
0.005089216232299805,
0.005099455833435059,
0.005094399929046631,
0.005274623870849609,
0.005412864208221436,
0.005382207870483399,
0.005340127944946289,
0.005318655967712403,
0.0053975038528442385,
0.005358655929565429,
0.0053770880699157714,
0.005343232154846191,
0.005244927883148193,
0.005351424217224121,
0.0052899842262268066,
0.00586137580871582,
0.005405695915222168,
0.005354496002197265,
0.0053821439743042,
0.0054271998405456545,
0.005359615802764893,
0.005368832111358642,
0.005393407821655274,
0.005325823783874512,
0.005329919815063477,
0.005384191989898681,
0.005343232154846191,
0.005338079929351806,
0.0053606400489807126,
0.005346303939819336,
0.005353439807891846,
0.005379072189331055,
0.005388288021087646,
0.005367839813232422,
0.005354496002197265,
0.0053534722328186036,
0.0053821439743042,
0.005299200057983398,
0.005280767917633057,
0.005311488151550293,
0.005351424217224121,
0.0053309440612792965,
0.005390336036682129,
0.005339136123657226,
0.005294079780578613,
0.005339136123657226,
0.005306367874145508,
0.005296127796173096,
0.005341184139251709,
0.005256192207336426,
0.005250048160552978,
0.005300191879272461,
0.005273600101470947,
0.005268479824066162,
0.005299200057983398,
0.005262335777282715,
0.005337088108062744,
0.0053002238273620605,
0.005268479824066162,
0.005257215976715088,
0.00535756778717041,
0.0053340158462524415,
0.00532480001449585,
0.00538316822052002,
0.005329919815063477,
0.005345280170440674,
0.00542310380935669,
0.0052930560111999515,
0.005263296127319336,
0.005305344104766845,
0.0052674560546875,
0.005278687953948974,
0.005306367874145508,
0.005265408039093018,
0.005253119945526123,
0.005299200057983398,
0.005274623870849609,
0.0052705278396606445,
0.005298175811767578,
0.005276639938354492,
0.005315584182739258,
0.005379072189331055,
0.0053944320678710935,
0.005268479824066162,
0.005299200057983398
]
},
"throughput": {
"unit": "samples/s",
"value": 190.81609458643342
},
"energy": {
"unit": "kWh",
"cpu": 6.025392190252263e-08,
"ram": 3.294249944317631e-08,
"gpu": 1.330711724466998e-07,
"total": 2.2626759379239872e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4419545.82730704
}
}
}
}