IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3e90acb verified
raw
history blame
12.8 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.344576,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 188,
"total": 0.9994104633331298,
"mean": 0.005316013102835797,
"stdev": 0.00015893610773245177,
"p50": 0.00529919981956482,
"p90": 0.005485363245010376,
"p95": 0.0055552000999450684,
"p99": 0.005794119868278503,
"values": [
0.005785600185394287,
0.0055552000999450684,
0.005724160194396972,
0.005565440177917481,
0.005610496044158936,
0.005638144016265869,
0.005545983791351319,
0.005489664077758789,
0.005529600143432617,
0.005450751781463623,
0.005379072189331055,
0.005404672145843506,
0.005433343887329102,
0.0054609918594360355,
0.005420032024383545,
0.005241856098175048,
0.005241856098175048,
0.005303296089172363,
0.005340159893035889,
0.00540777587890625,
0.0054579200744628905,
0.005422080039978027,
0.005519360065460205,
0.005381120204925537,
0.005351424217224121,
0.005387263774871826,
0.005462016105651855,
0.005409791946411133,
0.0054609918594360355,
0.005463039875030518,
0.005444608211517334,
0.005399551868438721,
0.005377024173736572,
0.005478400230407715,
0.00542310380935669,
0.0054906878471374515,
0.0053002238273620605,
0.00522547197341919,
0.005220352172851562,
0.005351424217224121,
0.0052705278396606445,
0.005278719902038574,
0.00536678409576416,
0.005384191989898681,
0.005369855880737305,
0.00552345609664917,
0.005458943843841553,
0.005473279953002929,
0.005453824043273926,
0.005371840000152588,
0.005343232154846191,
0.005360608100891113,
0.0054609918594360355,
0.005425151824951172,
0.005540863990783691,
0.005446656227111817,
0.005346335887908935,
0.005381120204925537,
0.00602623987197876,
0.005443583965301513,
0.005429247856140137,
0.005582848072052002,
0.005392384052276611,
0.005452799797058106,
0.005433343887329102,
0.005404672145843506,
0.005381152153015136,
0.0054568958282470706,
0.005325888156890869,
0.0054271998405456545,
0.005479423999786377,
0.0055552000999450684,
0.00546611213684082,
0.005464064121246338,
0.005496863842010498,
0.005408736228942871,
0.005412864208221436,
0.005389311790466309,
0.005349440097808838,
0.005384191989898681,
0.0053002238273620605,
0.005274591922760009,
0.0051701760292053225,
0.005062655925750732,
0.005268479824066162,
0.005303359985351562,
0.0052919678688049315,
0.005057536125183106,
0.005038015842437744,
0.004998144149780274,
0.005049344062805176,
0.00505241584777832,
0.00520908784866333,
0.005189631938934326,
0.0052008957862854,
0.005124095916748047,
0.0051476478576660155,
0.005246975898742676,
0.00535756778717041,
0.005327871799468994,
0.00506060791015625,
0.005067776203155518,
0.005032959938049316,
0.005078015804290771,
0.005026815891265869,
0.004988927841186524,
0.005033984184265137,
0.005057536125183106,
0.0050503678321838375,
0.005029888153076172,
0.005036992073059082,
0.005088255882263183,
0.0050165758132934574,
0.00511894416809082,
0.005269504070281982,
0.005370880126953125,
0.005342207908630371,
0.005337088108062744,
0.005254144191741943,
0.005221375942230225,
0.005298175811767578,
0.005237760066986084,
0.005214208126068115,
0.005242879867553711,
0.005242879867553711,
0.005220352172851562,
0.005219327926635742,
0.005264383792877197,
0.005232639789581299,
0.005295104026794434,
0.005251071929931641,
0.005307392120361328,
0.00521727991104126,
0.005260287761688232,
0.00533190393447876,
0.005214208126068115,
0.005223423957824707,
0.005242879867553711,
0.005282815933227539,
0.005239808082580567,
0.005242879867553711,
0.005216191768646241,
0.005261312007904053,
0.005243904113769531,
0.005252096176147461,
0.0052336640357971195,
0.005242879867553711,
0.005239808082580567,
0.005228544235229492,
0.005231616020202637,
0.005230591773986816,
0.00521830415725708,
0.005250048160552978,
0.005215231895446777,
0.005194752216339111,
0.005253119945526123,
0.005257215976715088,
0.0052408318519592285,
0.00526643180847168,
0.005256192207336426,
0.005609471797943116,
0.005851136207580566,
0.005472256183624268,
0.005483520030975342,
0.005312479972839355,
0.005306367874145508,
0.005346303939819336,
0.00532480001449585,
0.005307392120361328,
0.005355519771575928,
0.005354559898376464,
0.005283840179443359,
0.005284832000732422,
0.005237760066986084,
0.005203968048095703,
0.00520908784866333,
0.0051968002319335935,
0.005184512138366699,
0.005185503959655762,
0.005239808082580567,
0.005220352172851562,
0.005195775985717774,
0.005219327926635742,
0.0052070398330688475,
0.005228544235229492,
0.005213183879852295,
0.005224448204040527,
0.0052111358642578124
]
},
"throughput": {
"unit": "samples/s",
"value": 188.1108982719692
},
"energy": {
"unit": "kWh",
"cpu": 5.841432582764399e-08,
"ram": 3.1932587814811545e-08,
"gpu": 1.2970864235467992e-07,
"total": 2.2005555599713547e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4544306.984064594
}
}
}
}