IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a0b6d4a verified
raw
history blame
12.8 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",
"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.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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 950.890496,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 187,
"total": 0.9992139177322391,
"mean": 0.0053433899343969995,
"stdev": 0.0002907413281369613,
"p50": 0.005368832111358642,
"p90": 0.005641420745849609,
"p95": 0.00576203818321228,
"p99": 0.0063421031379699705,
"values": [
0.00607539176940918,
0.005643263816833496,
0.0057292799949646,
0.005574687957763672,
0.005578752040863037,
0.005607423782348633,
0.0055848960876464845,
0.005570591926574707,
0.005511168003082275,
0.0056514558792114256,
0.005728256225585937,
0.0055214080810546875,
0.0056525120735168456,
0.0055808000564575196,
0.005581823825836182,
0.00586956787109375,
0.005586944103240967,
0.0055316481590271,
0.005482495784759522,
0.00555622386932373,
0.005468160152435303,
0.005355519771575928,
0.005430272102355957,
0.005436416149139404,
0.005473279953002929,
0.005483551979064942,
0.005511168003082275,
0.00551423978805542,
0.005595136165618897,
0.005425151824951172,
0.005474239826202393,
0.005476352214813233,
0.005506048202514649,
0.005485568046569824,
0.005472256183624268,
0.005525504112243652,
0.0054988799095153805,
0.005402624130249023,
0.0054988799095153805,
0.005433343887329102,
0.005441535949707031,
0.0054988799095153805,
0.005437439918518067,
0.005328896045684814,
0.005389311790466309,
0.005545983791351319,
0.005502975940704345,
0.005395455837249756,
0.005336063861846924,
0.005295104026794434,
0.005342207908630371,
0.005344255924224854,
0.005401599884033203,
0.005536704063415527,
0.005557248115539551,
0.005768191814422607,
0.005709824085235596,
0.005559296131134033,
0.005595136165618897,
0.005689343929290771,
0.0053647360801696775,
0.0053678078651428224,
0.005578752040863037,
0.005619711875915527,
0.005762015819549561,
0.005635072231292724,
0.005432320117950439,
0.005480447769165039,
0.005279744148254394,
0.005288959980010987,
0.005452799797058106,
0.005619711875915527,
0.005499904155731201,
0.005591040134429932,
0.005687295913696289,
0.005406720161437988,
0.005368832111358642,
0.005356448173522949,
0.00531763219833374,
0.005398528099060058,
0.0053463678359985355,
0.005311488151550293,
0.005437439918518067,
0.005516287803649903,
0.005314559936523438,
0.005430272102355957,
0.005485536098480225,
0.005512191772460938,
0.005541888236999512,
0.005470208168029785,
0.005496831893920898,
0.005640192031860352,
0.005554175853729248,
0.005634047985076904,
0.005624832153320313,
0.005393407821655274,
0.005417984008789062,
0.005570559978485107,
0.005179391860961914,
0.00515174388885498,
0.005216256141662597,
0.005250048160552978,
0.005148672103881836,
0.005189663887023925,
0.005158847808837891,
0.005082111835479736,
0.005094399929046631,
0.005025792121887207,
0.005075903892517089,
0.00520908784866333,
0.0059985918998718265,
0.006336512088775635,
0.006401023864746094,
0.006376448154449463,
0.005937151908874512,
0.005557248115539551,
0.005502975940704345,
0.00576204776763916,
0.005362751960754394,
0.005285888195037842,
0.005307392120361328,
0.005203968048095703,
0.005232575893402099,
0.005939167976379394,
0.0051435518264770505,
0.005152768135070801,
0.0050954241752624516,
0.005007359981536865,
0.005021696090698242,
0.0050022401809692385,
0.005031968116760254,
0.004992959976196289,
0.004998144149780274,
0.004988927841186524,
0.0050503678321838375,
0.005035007953643799,
0.005040128231048584,
0.00505241584777832,
0.005064703941345215,
0.005037055969238281,
0.004999167919158935,
0.0050421757698059086,
0.00499612808227539,
0.004988927841186524,
0.004982719898223877,
0.0050094079971313476,
0.005369855880737305,
0.0053944320678710935,
0.0051476478576660155,
0.005070847988128662,
0.0050769920349121095,
0.005024767875671386,
0.0050032639503479,
0.004988927841186524,
0.004984831809997559,
0.004988927841186524,
0.0050135040283203125,
0.0049909758567810054,
0.005003327846527099,
0.004987904071807861,
0.005022719860076904,
0.005039103984832764,
0.005051392078399658,
0.005031936168670655,
0.005067808151245117,
0.005037055969238281,
0.00505241584777832,
0.005058559894561767,
0.00502784013748169,
0.005008384227752686,
0.005007359981536865,
0.005008384227752686,
0.004989952087402344,
0.005000192165374756,
0.004992000102996826,
0.005006271839141846,
0.0049827837944030765,
0.005029952049255371,
0.005049344062805176,
0.005057536125183106,
0.005055488109588623,
0.004984831809997559,
0.004971551895141602,
0.0050124797821044925,
0.004974592208862305,
0.004986879825592041,
0.004974592208862305
]
},
"throughput": {
"unit": "samples/s",
"value": 187.1471130270132
},
"energy": {
"unit": "kWh",
"cpu": 6.288755630339545e-08,
"ram": 3.438337766893378e-08,
"gpu": 1.2880962685713865e-07,
"total": 2.2608056082946786e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4423202.049442447
}
}
}
}