IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
febb6a4 verified
raw
history blame
10.2 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": "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": 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.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "10c9775dced65978a85f54ff6905a3aea7d61cca",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1827.77856,
"max_global_vram": 541.478912,
"max_process_vram": 108580.339712,
"max_reserved": 148.897792,
"max_allocated": 113.520128
},
"latency": {
"unit": "s",
"count": 130,
"total": 1.0015772566795351,
"mean": 0.007704440435996422,
"stdev": 0.0003358469302224453,
"p50": 0.007613269090652465,
"p90": 0.008239860248565675,
"p95": 0.008304876041412354,
"p99": 0.008591223106384277,
"values": [
0.008315828323364258,
0.007866228103637695,
0.007952468872070313,
0.00819934844970703,
0.008364308357238769,
0.008309588432312012,
0.008294387817382813,
0.00823710823059082,
0.007989428043365478,
0.0076822290420532225,
0.007637908935546875,
0.007613748073577881,
0.007612148761749268,
0.007600308895111084,
0.007583989143371582,
0.007561588764190674,
0.0075329489707946775,
0.007542068958282471,
0.007568149089813232,
0.007520948886871338,
0.007495988845825195,
0.007537428855895996,
0.007533429145812988,
0.0075451087951660155,
0.007576949119567871,
0.007547988891601563,
0.007575829029083252,
0.007578548908233643,
0.007572948932647705,
0.007698389053344726,
0.007693267822265625,
0.007664148807525635,
0.0077175889015197756,
0.007613429069519043,
0.007581748962402344,
0.0075873489379882815,
0.007578548908233643,
0.007511828899383545,
0.007538228988647461,
0.009025587081909179,
0.00866462802886963,
0.007760307788848877,
0.007592469215393066,
0.007647028923034668,
0.007836149215698243,
0.007827828884124756,
0.007809429168701172,
0.007744468212127685,
0.0077366290092468265,
0.007805108070373535,
0.007691829204559326,
0.0076515088081359865,
0.007439669132232666,
0.007380309104919433,
0.007418388843536377,
0.007430388927459717,
0.00763870906829834,
0.007385748863220215,
0.007414869785308838,
0.00773262882232666,
0.007762228965759278,
0.007719347953796387,
0.007865909099578858,
0.007895187854766846,
0.007493588924407959,
0.00766926908493042,
0.0076131091117858886,
0.0074382290840148925,
0.0074289488792419435,
0.00737070894241333,
0.0073953490257263185,
0.007392149925231933,
0.007373748779296875,
0.0073433489799499515,
0.007411348819732666,
0.007407669067382812,
0.007268789768218994,
0.007259668827056885,
0.0074387087821960445,
0.007280148983001709,
0.007465748786926269,
0.007266870021820068,
0.007440148830413818,
0.007289749145507812,
0.007440309047698975,
0.007355669021606445,
0.0073627099990844725,
0.0074044690132141116,
0.00742094898223877,
0.007401908874511719,
0.007373589038848877,
0.007431028842926025,
0.007264470100402832,
0.007241909027099609,
0.00744382905960083,
0.007312788963317871,
0.007442708969116211,
0.007315989971160889,
0.007425748825073243,
0.007341908931732178,
0.008299508094787598,
0.007688309192657471,
0.008235347747802735,
0.007989909172058106,
0.007561588764190674,
0.007766229152679443,
0.007796148777008057,
0.0077635087966918944,
0.007701269149780273,
0.007636629104614258,
0.007796627998352051,
0.007754868984222412,
0.007817428112030029,
0.007960309028625488,
0.00813022804260254,
0.007875507831573486,
0.00777902889251709,
0.008309267997741699,
0.008135348320007325,
0.008258228302001952,
0.008284947395324708,
0.008239348411560059,
0.00823454761505127,
0.008244466781616212,
0.008262067794799806,
0.008222228050231933,
0.008411507606506347,
0.008136467933654785,
0.00814382839202881,
0.008105427742004394
]
},
"throughput": {
"unit": "samples/s",
"value": 129.79527952839175
},
"energy": null,
"efficiency": null
}
}
}