IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
629c3dc verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": "6",
"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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"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": 987.426816,
"max_global_vram": 409.23136,
"max_process_vram": 46848.622592,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.96151025390625,
"mean": 7.96151025390625,
"stdev": 0.0,
"p50": 7.96151025390625,
"p90": 7.96151025390625,
"p95": 7.96151025390625,
"p99": 7.96151025390625,
"values": [
7.96151025390625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1838.587904,
"max_global_vram": 520.609792,
"max_process_vram": 271957.082112,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 132,
"total": 0.9993499622344973,
"mean": 0.0075708330472310376,
"stdev": 0.0004905442899194224,
"p50": 0.007683220863342285,
"p90": 0.008179399394989014,
"p95": 0.008202639055252075,
"p99": 0.008431325778961182,
"values": [
0.00818802261352539,
0.008064341545104981,
0.007732662200927734,
0.007658740997314453,
0.007455060958862305,
0.007420980930328369,
0.007310259819030762,
0.007297299861907959,
0.007290420055389405,
0.00730049991607666,
0.007267539978027344,
0.0072745800018310545,
0.007305140972137451,
0.007667541027069092,
0.008159063339233398,
0.008153462409973144,
0.008180183410644531,
0.008108181953430176,
0.008143061637878419,
0.00811970329284668,
0.008113302230834962,
0.008092823028564454,
0.008126261711120606,
0.008235382080078126,
0.008136022567749023,
0.008106582641601563,
0.00813138198852539,
0.008127702713012695,
0.008148182868957519,
0.008193942070007324,
0.008172343254089356,
0.008186423301696777,
0.008181142807006835,
0.00816578197479248,
0.008211703300476074,
0.008425144195556641,
0.008434103012084962,
0.008195222854614258,
0.008159222602844239,
0.008157781600952149,
0.008180501937866212,
0.00821650218963623,
0.008217782974243163,
0.009392346382141113,
0.007800180912017823,
0.007698582172393799,
0.007690900802612304,
0.007939062118530273,
0.007729301929473877,
0.007728500843048096,
0.00764306116104126,
0.007136020183563232,
0.007008820056915283,
0.0075020999908447265,
0.007726740837097168,
0.007662580966949463,
0.007737142086029053,
0.0077347412109375,
0.007717462062835694,
0.007729300975799561,
0.0077022619247436525,
0.007667060852050781,
0.007686741828918457,
0.007700661182403565,
0.007704501152038574,
0.007757620811462402,
0.007721301078796387,
0.007704501152038574,
0.007696500778198242,
0.007697782039642334,
0.00769218111038208,
0.007668981075286865,
0.007683220863342285,
0.00769218111038208,
0.007677782058715821,
0.007745300769805908,
0.007679862022399902,
0.007700500965118408,
0.007683220863342285,
0.007685781955718994,
0.007433139801025391,
0.007325621128082276,
0.007305779933929443,
0.007240499973297119,
0.007342741012573242,
0.0075035400390625,
0.007121778964996338,
0.0072440199851989745,
0.0073075399398803715,
0.007308340072631836,
0.006972019195556641,
0.007023859024047852,
0.006892979145050049,
0.007004499912261963,
0.006789138793945312,
0.006759697914123535,
0.006732338905334472,
0.006750099182128906,
0.006772179126739502,
0.006743058204650879,
0.007299060821533203,
0.007751541137695312,
0.00772034215927124,
0.007694900989532471,
0.007718260765075684,
0.007746100902557373,
0.007120819091796875,
0.0070115399360656736,
0.007093299865722656,
0.007212500095367432,
0.007127058982849121,
0.006784177780151367,
0.007057940006256104,
0.007161300182342529,
0.007268819808959961,
0.007258580207824707,
0.006788979053497315,
0.006749458789825439,
0.0067806591987609865,
0.006959699153900147,
0.006969779014587402,
0.0067691378593444824,
0.006786579132080078,
0.006774418830871582,
0.006746259212493897,
0.006756498813629151,
0.0070364990234375,
0.007708662033081055,
0.007688341140747071,
0.00767970085144043,
0.0074622611999511715,
0.007157138824462891
]
},
"throughput": {
"unit": "samples/s",
"value": 132.08586079780756
},
"energy": null,
"efficiency": null
}
}
}