IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
da33e94 verified
raw
history blame
12.4 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",
"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",
"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.1",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 949.0432,
"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.9978932151794433,
"mean": 0.005574822431170075,
"stdev": 0.00024100363804126045,
"p50": 0.005617663860321045,
"p90": 0.005828812789916992,
"p95": 0.005896192026138305,
"p99": 0.006201865110397339,
"values": [
0.006062079906463623,
0.005829631805419922,
0.006095871925354004,
0.005997536182403565,
0.005892096042633056,
0.0059391999244689945,
0.005891104221343994,
0.005883903980255127,
0.005855231761932373,
0.005817344188690185,
0.005859327793121338,
0.005728256225585937,
0.005767168045043946,
0.0057149438858032225,
0.005738495826721191,
0.005740543842315674,
0.005652480125427246,
0.005581823825836182,
0.005570559978485107,
0.005633024215698243,
0.0056258559226989744,
0.005734399795532226,
0.00576204776763916,
0.005806079864501953,
0.005805056095123291,
0.00576313591003418,
0.005734335899353027,
0.005659647941589355,
0.005672959804534912,
0.005730303764343261,
0.005933055877685547,
0.005750783920288086,
0.005783552169799804,
0.005788671970367432,
0.005732351779937744,
0.005754879951477051,
0.005686272144317627,
0.0057415680885314945,
0.00570470380783081,
0.005765120029449463,
0.005721055984497071,
0.005617663860321045,
0.005566527843475342,
0.005554175853729248,
0.005617663860321045,
0.005666816234588623,
0.005716991901397705,
0.005565440177917481,
0.00566374397277832,
0.005710847854614258,
0.0056514558792114256,
0.005791744232177734,
0.005798880100250244,
0.00581324815750122,
0.005783552169799804,
0.005860352039337159,
0.005735424041748047,
0.005676032066345215,
0.005666816234588623,
0.005695487976074219,
0.005811200141906738,
0.005767168045043946,
0.0057149438858032225,
0.005750879764556884,
0.005742591857910156,
0.005615583896636963,
0.005581823825836182,
0.005756927967071533,
0.005689343929290771,
0.005662720203399658,
0.005767168045043946,
0.00582860803604126,
0.005667840003967285,
0.005610496044158936,
0.00566476821899414,
0.0056514558792114256,
0.005647359848022461,
0.005619711875915527,
0.005645311832427978,
0.005673984050750733,
0.005635072231292724,
0.00568832015991211,
0.005706751823425293,
0.005805056095123291,
0.005792768001556397,
0.005831679821014404,
0.005786623954772949,
0.005804031848907471,
0.00570470380783081,
0.005716991901397705,
0.005746687889099121,
0.005597184181213379,
0.005706751823425293,
0.005690368175506591,
0.005606400012969971,
0.00555622386932373,
0.005375999927520752,
0.005396480083465576,
0.005563392162322998,
0.005593088150024414,
0.005422143936157226,
0.005278719902038574,
0.005282815933227539,
0.005336063861846924,
0.00530841588973999,
0.005471231937408447,
0.005469247817993164,
0.005561344146728516,
0.005544960021972656,
0.005508096218109131,
0.005603328227996827,
0.005763072013854981,
0.0058388481140136715,
0.006523903846740723,
0.006276095867156982,
0.006180928230285644,
0.006108160018920898,
0.005339136123657226,
0.005343232154846191,
0.005359615802764893,
0.0052971520423889164,
0.005306367874145508,
0.005326848030090332,
0.005320703983306885,
0.005336063861846924,
0.005362688064575195,
0.005282815933227539,
0.005291007995605469,
0.005341184139251709,
0.005285888195037842,
0.005303296089172363,
0.005336063861846924,
0.005274623870849609,
0.005278719902038574,
0.005314559936523438,
0.005276671886444092,
0.0052930560111999515,
0.005350399971008301,
0.0052930560111999515,
0.005269504070281982,
0.005323775768280029,
0.005299200057983398,
0.0053012480735778805,
0.00530944013595581,
0.0052798080444335935,
0.005292031764984131,
0.005343232154846191,
0.005299200057983398,
0.005278719902038574,
0.005332992076873779,
0.005285888195037842,
0.005320703983306885,
0.005349376201629639,
0.0052971520423889164,
0.005277696132659912,
0.00530841588973999,
0.005296127796173096,
0.005337088108062744,
0.0053309440612792965,
0.0052705278396606445,
0.005279744148254394,
0.005368768215179443,
0.005326848030090332,
0.0052899842262268066,
0.00533187198638916,
0.005291007995605469,
0.005281792163848877,
0.005351424217224121,
0.005285888195037842,
0.0052899842262268066,
0.005337024211883545,
0.0053043198585510255,
0.005277696132659912,
0.005331967830657959,
0.0053043198585510255,
0.005269504070281982,
0.005327871799468994,
0.005295104026794434,
0.005320703983306885
]
},
"throughput": {
"unit": "samples/s",
"value": 179.37791065932024
},
"energy": {
"unit": "kWh",
"cpu": 5.9227464099725094e-08,
"ram": 3.238150398010475e-08,
"gpu": 1.2967649263000038e-07,
"total": 2.2128546070983025e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4519049.723340348
}
}
}
}