IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
449cc6f verified
raw
history blame
12.4 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.059584,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 179,
"total": 0.9967738885879521,
"mean": 0.005568569209988557,
"stdev": 0.00022093974257567518,
"p50": 0.005596159934997558,
"p90": 0.005793177604675293,
"p95": 0.005868748664855957,
"p99": 0.006092783994674682,
"values": [
0.006088736057281494,
0.005907455921173096,
0.005879807949066162,
0.005846015930175781,
0.006003712177276611,
0.00586240005493164,
0.00591974401473999,
0.005867519855499268,
0.005865471839904785,
0.005774271965026855,
0.005781504154205322,
0.005763072013854981,
0.005736447811126709,
0.005705728054046631,
0.005742591857910156,
0.0057825279235839844,
0.0056483840942382815,
0.005595136165618897,
0.005566463947296142,
0.005609471797943116,
0.005672959804534912,
0.005790719985961914,
0.005772287845611572,
0.0057415680885314945,
0.005783552169799804,
0.005758944034576416,
0.0057149438858032225,
0.00568832015991211,
0.0056483840942382815,
0.005757952213287353,
0.0057712640762329105,
0.005898240089416504,
0.005760000228881836,
0.005761023998260498,
0.005733376026153565,
0.005705728054046631,
0.005669888019561768,
0.005741504192352295,
0.0057149438858032225,
0.0057497601509094234,
0.005741504192352295,
0.005698560237884521,
0.005552127838134766,
0.005570559978485107,
0.005594111919403076,
0.005638144016265869,
0.005634047985076904,
0.005581823825836182,
0.005669951915740967,
0.00570470380783081,
0.005708799839019775,
0.005745664119720459,
0.005794816017150879,
0.005808127880096436,
0.005772255897521973,
0.005755904197692871,
0.005772287845611572,
0.005736447811126709,
0.005676032066345215,
0.005668863773345947,
0.006107135772705078,
0.0057877120971679685,
0.005751808166503906,
0.005767168045043946,
0.006687744140625,
0.005712863922119141,
0.0056145920753479005,
0.0057292799949646,
0.005697535991668701,
0.0056514558792114256,
0.005668863773345947,
0.005851136207580566,
0.005788671970367432,
0.005738495826721191,
0.005736447811126709,
0.0056852798461914066,
0.00562278413772583,
0.005619711875915527,
0.00567193603515625,
0.005642240047454834,
0.005661695957183838,
0.005744639873504639,
0.005702655792236328,
0.005792768001556397,
0.0059064321517944334,
0.005798912048339844,
0.005538815975189209,
0.005581823825836182,
0.005505023956298828,
0.005471168041229248,
0.005472256183624268,
0.005569536209106446,
0.005624832153320313,
0.00573747205734253,
0.005686272144317627,
0.005576704025268555,
0.005537792205810547,
0.005416959762573242,
0.005390336036682129,
0.005620768070220947,
0.005596159934997558,
0.005387328147888184,
0.005379072189331055,
0.005337120056152344,
0.00531763219833374,
0.005361663818359375,
0.0052971520423889164,
0.005412864208221436,
0.005593088150024414,
0.005563392162322998,
0.005653503894805908,
0.005699584007263184,
0.00582144021987915,
0.005628928184509278,
0.005499904155731201,
0.005492735862731934,
0.005390336036682129,
0.005345280170440674,
0.005377024173736572,
0.005343167781829834,
0.005306367874145508,
0.005377024173736572,
0.005298175811767578,
0.005314559936523438,
0.005385216236114502,
0.005411839962005615,
0.00530841588973999,
0.005329919815063477,
0.005340159893035889,
0.00531763219833374,
0.005378047943115235,
0.005312511920928955,
0.005298175811767578,
0.0053350400924682614,
0.005320703983306885,
0.005315584182739258,
0.00531660795211792,
0.0053012480735778805,
0.005355519771575928,
0.005314559936523438,
0.005321728229522705,
0.005340159893035889,
0.005337088108062744,
0.005350399971008301,
0.0053309440612792965,
0.00530944013595581,
0.00531660795211792,
0.005345280170440674,
0.005320703983306885,
0.00531763219833374,
0.005322751998901368,
0.005346303939819336,
0.005345280170440674,
0.005341184139251709,
0.005318655967712403,
0.005336063861846924,
0.0053554878234863285,
0.005344223976135254,
0.005359615802764893,
0.005352447986602784,
0.005319680213928223,
0.005329919815063477,
0.005330976009368897,
0.005307392120361328,
0.005321792125701904,
0.005372928142547607,
0.005601280212402344,
0.005310463905334473,
0.005361663818359375,
0.005319680213928223,
0.005289023876190186,
0.005325823783874512,
0.005336063861846924,
0.005298175811767578,
0.0053350720405578615,
0.005320672035217285,
0.0053043198585510255,
0.005327871799468994,
0.005338111877441406
]
},
"throughput": {
"unit": "samples/s",
"value": 179.5793429677163
},
"energy": {
"unit": "kWh",
"cpu": 6.149513888235538e-08,
"ram": 3.362198639069195e-08,
"gpu": 1.251569798031088e-07,
"total": 2.2027410507615614e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4539798.2647768175
}
}
}
}