IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f03d544
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1177.739264, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 7940.538368, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.4912261962890625 | |
], | |
"count": 1, | |
"total": 0.4912261962890625, | |
"mean": 0.4912261962890625, | |
"p50": 0.4912261962890625, | |
"p90": 0.4912261962890625, | |
"p95": 0.4912261962890625, | |
"p99": 0.4912261962890625, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1262.338048, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 115555.852288, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.00775149393081665, | |
0.0071282958984375, | |
0.007237576007843018, | |
0.007164616107940674, | |
0.007174215793609619, | |
0.0071228561401367185, | |
0.007224135875701905, | |
0.0071222162246704105, | |
0.007196936130523681, | |
0.007106696128845215, | |
0.0071991758346557615, | |
0.00707533597946167, | |
0.007273736000061035, | |
0.007125576972961426, | |
0.007198054790496827, | |
0.0071426968574523925, | |
0.0071158170700073246, | |
0.007082537174224853, | |
0.007175655841827393, | |
0.007090216159820557, | |
0.007171016216278076, | |
0.007058536052703858, | |
0.007149896144866943, | |
0.007091976165771484, | |
0.007351975917816162, | |
0.007090056896209717, | |
0.007063015937805176, | |
0.007171656131744385, | |
0.007090856075286865, | |
0.007905253887176514, | |
0.007991014003753662, | |
0.007911653041839599, | |
0.00792445421218872, | |
0.007938694000244141, | |
0.007967973232269287, | |
0.007935973167419433, | |
0.00797357416152954, | |
0.007952293872833253, | |
0.007939013004302978, | |
0.008011652946472167, | |
0.007941412925720214, | |
0.00796877384185791, | |
0.007980614185333253, | |
0.00798045301437378, | |
0.007968132972717284, | |
0.007973093032836914, | |
0.007953733921051025, | |
0.00796125316619873, | |
0.00796621322631836, | |
0.007992292881011963, | |
0.007998213768005372, | |
0.008003653526306153, | |
0.008011334419250489, | |
0.007969892978668213, | |
0.007965733051300048, | |
0.007964132785797119, | |
0.007974853992462158, | |
0.007999653816223145, | |
0.00800061321258545, | |
0.007970852851867676, | |
0.007989092826843262, | |
0.007967173099517822, | |
0.007971814155578613, | |
0.008112451553344727, | |
0.00796605396270752, | |
0.008103813171386719, | |
0.008051813125610352, | |
0.0072914958000183105, | |
0.007111976146697998, | |
0.007097415924072266, | |
0.007099815845489502, | |
0.007091816902160645, | |
0.007108457088470459, | |
0.0070921359062194825, | |
0.007068456172943115, | |
0.00705517578125, | |
0.007107497215270996, | |
0.007265416145324707, | |
0.007081096172332764, | |
0.007045736789703369, | |
0.007304454803466797, | |
0.0072609357833862305, | |
0.00727693510055542, | |
0.007086536884307861, | |
0.0070858969688415525, | |
0.007082056045532226, | |
0.007080135822296142, | |
0.007063176155090332, | |
0.0070449371337890625, | |
0.007061895847320557, | |
0.007053575992584229, | |
0.007040777206420898, | |
0.007068456172943115, | |
0.0070090961456298825, | |
0.01353211498260498, | |
0.004901904106140137, | |
0.007337415218353271, | |
0.007068456172943115, | |
0.007119656085968018, | |
0.007081256866455078, | |
0.007093576908111572, | |
0.0070542159080505375, | |
0.007078536033630371, | |
0.007045257091522217, | |
0.007068295955657959, | |
0.007060457229614258, | |
0.007081896781921387, | |
0.00706333589553833, | |
0.007065095901489258, | |
0.0070548558235168455, | |
0.007065096855163574, | |
0.007065415859222412, | |
0.007054056167602539, | |
0.007070857048034668, | |
0.007073417186737061, | |
0.007082856178283691, | |
0.007053895950317383, | |
0.007053096771240234, | |
0.007057736873626709, | |
0.007058536052703858, | |
0.007053095817565918, | |
0.007040456771850586, | |
0.007058536052703858, | |
0.007028296947479248, | |
0.007043656826019287, | |
0.007031816005706787, | |
0.007047017097473144, | |
0.007071016788482666, | |
0.007194215774536133, | |
0.007097256183624267, | |
0.007077897071838379, | |
0.007076296806335449, | |
0.0070722951889038085, | |
0.007077095985412597, | |
0.007048616886138916 | |
], | |
"count": 135, | |
"total": 0.9974997115135193, | |
"mean": 0.007388886751951995, | |
"p50": 0.007111976146697998, | |
"p90": 0.007980549716949463, | |
"p95": 0.00800152530670166, | |
"p99": 0.008109514503479005, | |
"stdev": 0.0006950639257481236, | |
"stdev_": 9.406882918654851 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.3383850058089 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |