IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c2e9a75 verified
raw
history blame
12.4 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.0",
"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.364992,
"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.9988475871086119,
"mean": 0.005580154117925206,
"stdev": 0.0003427077686315029,
"p50": 0.005647488117218017,
"p90": 0.005904384136199951,
"p95": 0.006203494405746459,
"p99": 0.006702053899765015,
"values": [
0.005993472099304199,
0.005601280212402344,
0.00566374397277832,
0.006199295997619629,
0.005901343822479248,
0.005910528182983398,
0.005904384136199951,
0.006001664161682129,
0.006384640216827392,
0.006339583873748779,
0.005854207992553711,
0.005868544101715088,
0.00576204776763916,
0.006106112003326416,
0.005848063945770264,
0.005822463989257813,
0.005718016147613526,
0.005744639873504639,
0.005727231979370117,
0.005672959804534912,
0.005738495826721191,
0.005840896129608154,
0.005856256008148194,
0.005727136135101318,
0.005904384136199951,
0.005750783920288086,
0.005747712135314941,
0.005700607776641845,
0.005756927967071533,
0.005883903980255127,
0.00669593620300293,
0.00587059211730957,
0.005783552169799804,
0.00576204776763916,
0.005695487976074219,
0.005804031848907471,
0.005686272144317627,
0.005758975982666016,
0.005791744232177734,
0.005767168045043946,
0.005313536167144775,
0.005210112094879151,
0.005239808082580567,
0.005279744148254394,
0.005341184139251709,
0.005450751781463623,
0.005320703983306885,
0.005395455837249756,
0.005493760108947754,
0.005346303939819336,
0.005396480083465576,
0.005883999824523926,
0.005916672229766846,
0.005874559879302978,
0.005801023960113526,
0.006116288185119629,
0.006774784088134766,
0.006723743915557861,
0.005747712135314941,
0.0057190399169921875,
0.005882880210876465,
0.005689407825469971,
0.005771103858947754,
0.0057497601509094234,
0.005723135948181152,
0.005763072013854981,
0.005742591857910156,
0.005780479907989502,
0.005686272144317627,
0.005798912048339844,
0.005781504154205322,
0.005794816017150879,
0.005667840003967285,
0.0057415680885314945,
0.005894144058227539,
0.005787648200988769,
0.005765120029449463,
0.005681151866912842,
0.005725183963775635,
0.005683199882507324,
0.005751808166503906,
0.005765120029449463,
0.005834752082824707,
0.005900288105010986,
0.005820352077484131,
0.0058091521263122555,
0.005756927967071533,
0.0057784318923950195,
0.005735424041748047,
0.005742591857910156,
0.005848063945770264,
0.005837855815887451,
0.005726208209991455,
0.0055920639038085935,
0.005706751823425293,
0.005399551868438721,
0.00559830379486084,
0.0056154241561889645,
0.005535744190216065,
0.005628928184509278,
0.005279744148254394,
0.005384191989898681,
0.00624128007888794,
0.006322175979614258,
0.006375423908233643,
0.006404096126556396,
0.00589731216430664,
0.005751808166503906,
0.005647488117218017,
0.005536767959594726,
0.005326848030090332,
0.005973919868469239,
0.00535859203338623,
0.0053534722328186036,
0.005378047943115235,
0.005277696132659912,
0.0052633600234985355,
0.005274623870849609,
0.005284863948822022,
0.005247007846832275,
0.0051874880790710445,
0.005252096176147461,
0.005206016063690186,
0.005188479900360108,
0.005215199947357177,
0.005201920032501221,
0.005248032093048096,
0.00524886417388916,
0.005214208126068115,
0.005195775985717774,
0.005327775955200196,
0.005221536159515381,
0.005249983787536621,
0.0052930560111999515,
0.00521727991104126,
0.005183487892150879,
0.005202943801879883,
0.005276671886444092,
0.00522547197341919,
0.005222400188446045,
0.0052622718811035155,
0.0051968002319335935,
0.005186399936676025,
0.0052111358642578124,
0.005285888195037842,
0.005215231895446777,
0.005287936210632324,
0.005269504070281982,
0.005255167961120606,
0.005208064079284668,
0.005202943801879883,
0.005239808082580567,
0.0052674560546875,
0.005246975898742676,
0.005248000144958496,
0.005259263992309571,
0.005318655967712403,
0.005384191989898681,
0.005310463905334473,
0.0052715520858764645,
0.005203968048095703,
0.005187424182891845,
0.005279744148254394,
0.0052787837982177736,
0.005219327926635742,
0.0052674560546875,
0.0052008957862854,
0.0052070398330688475,
0.005224448204040527,
0.005158912181854248,
0.005210976123809815,
0.005254144191741943,
0.0052336640357971195,
0.0051916160583496095,
0.005204991817474365,
0.005214208126068115,
0.005193727970123291,
0.005213183879852295,
0.005231616020202637
]
},
"throughput": {
"unit": "samples/s",
"value": 179.20651990375788
},
"energy": {
"unit": "kWh",
"cpu": 6.22407486093398e-08,
"ram": 3.402259922731139e-08,
"gpu": 1.3082471198952895e-07,
"total": 2.2708805982618014e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4403578.069077825
}
}
}
}