IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2ec1d4b verified
raw
history blame
12.9 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.934336,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 191,
"total": 1.0002738566398623,
"mean": 0.005237035898638022,
"stdev": 9.581681760710769e-05,
"p50": 0.005216256141662597,
"p90": 0.005326879978179932,
"p95": 0.005399552106857299,
"p99": 0.005682585430145263,
"values": [
0.005675007820129394,
0.00538316822052002,
0.005497856140136719,
0.005414912223815918,
0.005404672145843506,
0.0055285758972167965,
0.00537395191192627,
0.005422080039978027,
0.005803008079528809,
0.005153791904449463,
0.0049162240028381345,
0.0049489917755126955,
0.004957183837890625,
0.00516812801361084,
0.005311488151550293,
0.005201920032501221,
0.005190656185150146,
0.005201920032501221,
0.005242879867553711,
0.005197824001312256,
0.005179391860961914,
0.005230591773986816,
0.005181439876556396,
0.005204991817474365,
0.005241792201995849,
0.0052930560111999515,
0.005228544235229492,
0.005215231895446777,
0.005206016063690186,
0.005187583923339844,
0.005197792053222656,
0.005239808082580567,
0.00522547197341919,
0.005204991817474365,
0.005230591773986816,
0.005185535907745361,
0.005213183879852295,
0.0052367358207702636,
0.005204991817474365,
0.005208064079284668,
0.005232639789581299,
0.005201920032501221,
0.005214208126068115,
0.005232639789581299,
0.005201920032501221,
0.00522441577911377,
0.005221375942230225,
0.005221375942230225,
0.0051968002319335935,
0.005232639789581299,
0.005237760066986084,
0.00521727991104126,
0.005228544235229492,
0.0052367358207702636,
0.00517632007598877,
0.0052070398330688475,
0.005232639789581299,
0.005174272060394287,
0.005202943801879883,
0.005189631938934326,
0.005212160110473632,
0.005192704200744629,
0.005201920032501221,
0.005230591773986816,
0.005185535907745361,
0.005248000144958496,
0.005231616020202637,
0.005215231895446777,
0.005202943801879883,
0.0052336640357971195,
0.005248000144958496,
0.005182464122772217,
0.005175295829772949,
0.005216256141662597,
0.005192704200744629,
0.0052008957862854,
0.005238783836364746,
0.005190656185150146,
0.005195775985717774,
0.005213183879852295,
0.0051773438453674315,
0.005198847770690918,
0.005220352172851562,
0.005223392009735107,
0.005182464122772217,
0.005204991817474365,
0.0051968002319335935,
0.005260255813598633,
0.005268479824066162,
0.005273600101470947,
0.0053002238273620605,
0.005210112094879151,
0.005246975898742676,
0.005210112094879151,
0.00520908784866333,
0.0052367358207702636,
0.005186560153961181,
0.0052008957862854,
0.005222400188446045,
0.005188608169555664,
0.005192704200744629,
0.005213183879852295,
0.005284863948822022,
0.005191679954528809,
0.005337088108062744,
0.005179391860961914,
0.005112832069396973,
0.00516809606552124,
0.005232639789581299,
0.005201920032501221,
0.0051998720169067385,
0.00522649621963501,
0.005180416107177735,
0.005193727970123291,
0.00522649621963501,
0.0052336640357971195,
0.005196767807006836,
0.005203968048095703,
0.005210112094879151,
0.005174272060394287,
0.00537497615814209,
0.00522649621963501,
0.005371903896331787,
0.005470208168029785,
0.0053340158462524415,
0.005251071929931641,
0.005242879867553711,
0.0052633600234985355,
0.005245952129364013,
0.005277696132659912,
0.005310463905334473,
0.005228544235229492,
0.0052336640357971195,
0.005245952129364013,
0.005232639789581299,
0.005210112094879151,
0.005203968048095703,
0.005194752216339111,
0.005348351955413819,
0.005264383792877197,
0.005179391860961914,
0.005187583923339844,
0.005214208126068115,
0.005220352172851562,
0.005191679954528809,
0.005195775985717774,
0.005326879978179932,
0.0051701760292053225,
0.005195807933807373,
0.005231679916381836,
0.005436416149139404,
0.005205056190490723,
0.00520908784866333,
0.005197855949401855,
0.005201920032501221,
0.005227519989013672,
0.005206016063690186,
0.005189631938934326,
0.005214208126068115,
0.005210112094879151,
0.00522649621963501,
0.005204991817474365,
0.005220352172851562,
0.0052111358642578124,
0.005216256141662597,
0.005252096176147461,
0.005208064079284668,
0.005253119945526123,
0.005241856098175048,
0.0051968002319335935,
0.0051998720169067385,
0.005202943801879883,
0.005216256141662597,
0.005210112094879151,
0.005253119945526123,
0.005228544235229492,
0.005256192207336426,
0.005259263992309571,
0.005246975898742676,
0.005750783920288086,
0.0052336640357971195,
0.005268479824066162,
0.005335008144378662,
0.0053944320678710935,
0.005310463905334473,
0.005282815933227539,
0.005182464122772217,
0.00521830415725708,
0.005220352172851562,
0.005222400188446045,
0.005227519989013672
]
},
"throughput": {
"unit": "samples/s",
"value": 190.94770770237923
},
"energy": {
"unit": "kWh",
"cpu": 6.16706907749176e-08,
"ram": 3.3717266958888104e-08,
"gpu": 1.3016792820836278e-07,
"total": 2.255558859421685e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4433491.042908964
}
}
}
}