IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
bec30e4 verified
raw
history blame
11.2 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+rocm6.1",
"_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": 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.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": 1469.329408,
"max_global_vram": 11.087872,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.06688623046875,
"mean": 8.06688623046875,
"stdev": 0.0,
"p50": 8.06688623046875,
"p90": 8.06688623046875,
"p95": 8.06688623046875,
"p99": 8.06688623046875,
"values": [
8.06688623046875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1553.55136,
"max_global_vram": 11.153408,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 127,
"total": 1.002719582080841,
"mean": 0.007895429780164102,
"stdev": 0.00029625667773174155,
"p50": 0.007777419090270996,
"p90": 0.008254793739318847,
"p95": 0.008390489387512207,
"p99": 0.009095025615692138,
"values": [
0.00833357810974121,
0.00823261833190918,
0.00820589828491211,
0.008258857727050782,
0.00824205780029297,
0.00816701889038086,
0.0081025390625,
0.00810269832611084,
0.00796989917755127,
0.00795357894897461,
0.007951979160308837,
0.007917579174041747,
0.00785853910446167,
0.007848138809204102,
0.007805099010467529,
0.007822699069976806,
0.007805738925933838,
0.00786573886871338,
0.007831500053405762,
0.007852778911590577,
0.007799338817596435,
0.007755019187927246,
0.007789100170135498,
0.007789259910583496,
0.00786077880859375,
0.007777419090270996,
0.0077950191497802735,
0.007793739795684814,
0.007763500213623047,
0.007751338958740235,
0.009003975868225097,
0.007630859851837158,
0.007641739845275879,
0.0076526198387146,
0.007851658821105957,
0.0076427001953125,
0.007629419803619385,
0.007631339073181152,
0.007624619960784912,
0.007635660171508789,
0.007891658782958985,
0.007626859188079834,
0.007902538776397705,
0.009160455703735351,
0.009127016067504884,
0.00845741844177246,
0.008391497611999511,
0.008258057594299316,
0.008388136863708496,
0.008212778091430664,
0.008081739425659179,
0.008295018196105957,
0.0084490966796875,
0.008167179107666015,
0.00810269832611084,
0.008154698371887207,
0.008038538932800293,
0.008092617988586426,
0.007913098812103272,
0.007905259132385253,
0.007681900024414062,
0.007655338764190674,
0.00766510009765625,
0.00767549991607666,
0.007633258819580078,
0.007672140121459961,
0.007689259052276611,
0.007702219963073731,
0.007658219814300537,
0.007639979839324951,
0.007664460182189942,
0.007672298908233643,
0.00802333927154541,
0.008027018547058106,
0.008031818389892578,
0.0076441397666931156,
0.007942698955535888,
0.008056617736816407,
0.007807499885559082,
0.0077223801612854,
0.00769421911239624,
0.007721419811248779,
0.007712618827819824,
0.0076865401268005375,
0.007704938888549805,
0.007738379955291748,
0.007758378982543945,
0.007749258995056152,
0.00773822021484375,
0.007715818881988526,
0.007695980072021484,
0.007711019039154053,
0.00774206018447876,
0.00772813892364502,
0.007710060119628906,
0.007677579879760742,
0.007707819938659668,
0.007705419063568115,
0.007696139812469483,
0.007697419166564941,
0.00769021987915039,
0.007719819068908691,
0.007707339763641357,
0.007710060119628906,
0.007703179836273193,
0.007714540004730225,
0.007662059783935547,
0.007702859878540039,
0.007697100162506103,
0.007718379974365234,
0.007718698978424072,
0.007677740097045899,
0.007714859962463379,
0.007690859794616699,
0.007717898845672607,
0.008770856857299805,
0.008269417762756347,
0.007977738857269287,
0.008252617835998535,
0.008167338371276856,
0.008200778007507323,
0.00823597812652588,
0.008002538681030274,
0.007890698909759521,
0.007734059810638428,
0.007750860214233398,
0.0078004589080810545
]
},
"throughput": {
"unit": "samples/s",
"value": 126.65554983622633
},
"energy": null,
"efficiency": null
}
}
}