IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
25b0692 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": "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 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"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.4.0",
"optimum_benchmark_commit": "3e7bebdc507bc4e37dce5660074b7586de6b39b2",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 982.9376,
"max_global_vram": 409.120768,
"max_process_vram": 45864.497152,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.1621748046875,
"mean": 7.1621748046875,
"stdev": 0.0,
"p50": 7.1621748046875,
"p90": 7.1621748046875,
"p95": 7.1621748046875,
"p99": 7.1621748046875,
"values": [
7.1621748046875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1830.301696,
"max_global_vram": 520.482816,
"max_process_vram": 266580.209664,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 143,
"total": 1.0011518106460577,
"mean": 0.00700106161290949,
"stdev": 0.00015435144971786993,
"p50": 0.0070337882041931156,
"p90": 0.007195356750488282,
"p95": 0.007290493154525757,
"p99": 0.007346460971832276,
"values": [
0.00690274715423584,
0.00676466703414917,
0.00676738691329956,
0.006755547046661377,
0.006753946781158447,
0.006745147228240967,
0.00673842716217041,
0.006735385894775391,
0.006765946865081787,
0.006775547027587891,
0.006769307136535644,
0.006826587200164795,
0.006750906944274902,
0.00676082706451416,
0.006765946865081787,
0.006772346973419189,
0.006826107025146484,
0.006781947135925293,
0.006759547233581543,
0.006762746810913086,
0.006863707065582275,
0.00675378704071045,
0.00676034688949585,
0.006765946865081787,
0.006732347011566162,
0.006763226985931396,
0.006732186794281006,
0.006731066226959228,
0.006763226985931396,
0.006772666931152344,
0.006747867107391357,
0.006744347095489502,
0.006767867088317871,
0.006743387222290039,
0.007047388076782226,
0.0070851478576660154,
0.007064507961273193,
0.0070205078125,
0.007049307823181152,
0.007012827873229981,
0.007005627155303955,
0.007035706996917725,
0.0070411481857299806,
0.007064348220825196,
0.007065147876739502,
0.007066907882690429,
0.007048027992248535,
0.007038427829742432,
0.007021627902984619,
0.007025467872619629,
0.007042108058929443,
0.007076988220214844,
0.0070208277702331545,
0.007107388973236084,
0.0070160279273986815,
0.007049307823181152,
0.007061627864837647,
0.007035707950592041,
0.007051228046417236,
0.0070845079421997074,
0.007067227840423584,
0.007059867858886719,
0.007039708137512207,
0.007059226989746094,
0.006973307132720947,
0.007019227981567383,
0.007038427829742432,
0.007041468143463135,
0.0070337882041931156,
0.007041947841644287,
0.00701826810836792,
0.007021627902984619,
0.007023707866668701,
0.007060348033905029,
0.007036027908325196,
0.007087227821350098,
0.007083868026733399,
0.006990747928619385,
0.007077948093414306,
0.006986268043518066,
0.0070496277809143065,
0.007035068035125732,
0.007038908004760742,
0.00705106782913208,
0.0070534682273864745,
0.007036347866058349,
0.007021307945251465,
0.007095868110656738,
0.007046267986297607,
0.007053946971893311,
0.007039867877960205,
0.007031707763671875,
0.007056508064270019,
0.006975067138671875,
0.0070441880226135255,
0.006979386806488037,
0.0070619478225708,
0.0073173089027404785,
0.007318109035491943,
0.007309628963470459,
0.007387228965759277,
0.007177148818969727,
0.007328828811645508,
0.007253468990325928,
0.00735922908782959,
0.0072965087890625,
0.007293629169464111,
0.0072622690200805666,
0.0071531481742858885,
0.007136669158935547,
0.007230748176574707,
0.007230587959289551,
0.0071968288421630855,
0.0071961889266967775,
0.007192028045654297,
0.007252509117126465,
0.007028508186340332,
0.007034587860107422,
0.007045308113098145,
0.007011548042297363,
0.0070179481506347655,
0.00705106782913208,
0.007045467853546142,
0.007040828227996826,
0.007043707847595215,
0.007041627883911133,
0.007011706829071045,
0.0070105881690979005,
0.006971228122711182,
0.006963868141174317,
0.007031548023223877,
0.006954426765441894,
0.007018907070159912,
0.0069638671875,
0.007051228046417236,
0.007026587963104248,
0.00702434778213501,
0.0070205078125,
0.006997787952423095,
0.00702882719039917,
0.007015707969665527,
0.0070110678672790526,
0.007005308151245117
]
},
"throughput": {
"unit": "samples/s",
"value": 142.83548057284153
},
"energy": null,
"efficiency": null
}
}
}