IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d52fddc verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"model_type": "resnet50",
"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": {},
"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,
"memory": true,
"latency": 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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 853.66784,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.6462294921875,
"mean": 7.6462294921875,
"stdev": 0.0,
"p50": 7.6462294921875,
"p90": 7.6462294921875,
"p95": 7.6462294921875,
"p99": 7.6462294921875,
"values": [
7.6462294921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.283666434027783e-06,
"ram": 2.329168317686223e-06,
"gpu": 6.5341718940001075e-06,
"total": 1.3147006645714113e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.345856,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9978073587417603,
"mean": 0.007391165620309335,
"stdev": 0.00021254868884949108,
"p50": 0.0074711041450500485,
"p90": 0.007607475280761718,
"p95": 0.007657471895217895,
"p99": 0.007833672199249266,
"values": [
0.007651328086853027,
0.007904255867004394,
0.007676928043365478,
0.007704607963562012,
0.007589888095855713,
0.007608320236206055,
0.007591936111450195,
0.007664639949798584,
0.007504896163940429,
0.007508927822113037,
0.007606207847595215,
0.007535615921020508,
0.007452672004699707,
0.007461887836456299,
0.0075038719177246095,
0.007554048061370849,
0.007592959880828858,
0.007598144054412842,
0.007576576232910156,
0.007494656085968018,
0.0074741759300231934,
0.007525375843048096,
0.00757862377166748,
0.007571455955505371,
0.00753868818283081,
0.007561215877532959,
0.007583744049072265,
0.0075049281120300295,
0.007489535808563232,
0.007567296028137207,
0.007608320236206055,
0.007460864067077637,
0.007432191848754883,
0.007429183959960938,
0.007506944179534912,
0.0074926080703735356,
0.007517183780670166,
0.0074711041450500485,
0.007623680114746094,
0.007688223838806152,
0.00758681583404541,
0.0075673599243164065,
0.007568384170532226,
0.007521279811859131,
0.007461887836456299,
0.007548927783966064,
0.007654399871826172,
0.007549952030181885,
0.00790015983581543,
0.007575551986694336,
0.007523327827453613,
0.0074711041450500485,
0.007485504150390625,
0.007517183780670166,
0.00760422420501709,
0.007458816051483155,
0.00750486421585083,
0.007518208026885987,
0.007489535808563232,
0.007505919933319092,
0.007513088226318359,
0.007529471874237061,
0.007577600002288819,
0.0076308479309082035,
0.007573503971099854,
0.007576608180999756,
0.007577600002288819,
0.007489535808563232,
0.007549952030181885,
0.007536640167236328,
0.007444479942321777,
0.007641088008880615,
0.007501823902130127,
0.007459839820861816,
0.00738918399810791,
0.0074926080703735356,
0.007683072090148926,
0.0074065918922424315,
0.007205887794494629,
0.007208000183105469,
0.0072325119972229,
0.007448575973510742,
0.007346144199371338,
0.007362559795379638,
0.007383039951324463,
0.007561215877532959,
0.007502848148345947,
0.00725708818435669,
0.007168000221252442,
0.007196671962738037,
0.007270400047302246,
0.007214079856872559,
0.007219200134277344,
0.007241727828979493,
0.007122943878173828,
0.007123968124389648,
0.007175168037414551,
0.007160768032073974,
0.0071823358535766605,
0.007121920108795166,
0.00709939193725586,
0.007090176105499267,
0.007102464199066162,
0.007055424213409424,
0.007196671962738037,
0.00709939193725586,
0.007090176105499267,
0.00714137601852417,
0.007131135940551757,
0.007142399787902832,
0.007094272136688232,
0.007079936027526855,
0.007015423774719238,
0.00709119987487793,
0.007139328002929687,
0.007130112171173096,
0.007044095993041993,
0.007028736114501953,
0.007156735897064209,
0.007176191806793213,
0.007158783912658692,
0.007170048236846924,
0.007061503887176514,
0.00709222412109375,
0.007077888011932373,
0.0070553598403930665,
0.007036928176879883,
0.007127039909362793,
0.007122943878173828,
0.007045119762420654,
0.007137375831604004,
0.007394303798675537,
0.007230463981628418,
0.007151648044586182,
0.00714137601852417
]
},
"throughput": {
"unit": "samples/s",
"value": 135.29665703231097
},
"energy": {
"unit": "kWh",
"cpu": 8.4304477201538e-08,
"ram": 4.5999935589792976e-08,
"gpu": 1.741805963971633e-07,
"total": 3.0448500918849426e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3284233.9354084283
}
}
}
}