IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
0194346
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": 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.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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1153.630208, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 51281.711104, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.7701279296875, | |
"mean": 8.7701279296875, | |
"stdev": 0.0, | |
"p50": 8.7701279296875, | |
"p90": 8.7701279296875, | |
"p95": 8.7701279296875, | |
"p99": 8.7701279296875, | |
"values": [ | |
8.7701279296875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.991424, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 101152.055296, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9949865832328795, | |
"mean": 0.00737027098691022, | |
"stdev": 0.0002959082368241479, | |
"p50": 0.007224301815032959, | |
"p90": 0.007846923923492432, | |
"p95": 0.008127563095092773, | |
"p99": 0.008272548847198486, | |
"values": [ | |
0.00837549877166748, | |
0.007803339958190918, | |
0.00766494083404541, | |
0.007746220111846924, | |
0.007654059886932373, | |
0.007724141120910645, | |
0.007611821174621582, | |
0.007663340091705322, | |
0.007580300807952881, | |
0.007550061225891113, | |
0.007416780948638916, | |
0.007417420864105225, | |
0.007450060844421387, | |
0.007414220809936523, | |
0.0073555011749267575, | |
0.0072959809303283696, | |
0.007271502017974853, | |
0.007234220981597901, | |
0.00723566198348999, | |
0.00720750093460083, | |
0.00732462215423584, | |
0.007308781147003174, | |
0.007460781097412109, | |
0.007522700786590576, | |
0.007336141109466553, | |
0.007281421184539795, | |
0.007295981884002685, | |
0.007192781925201416, | |
0.007233101844787598, | |
0.007292301177978516, | |
0.007217582225799561, | |
0.007270700931549072, | |
0.007219821929931641, | |
0.007184782028198242, | |
0.007323501110076905, | |
0.0072420620918273925, | |
0.007256141185760498, | |
0.007191341876983642, | |
0.0072844610214233396, | |
0.007263341903686524, | |
0.00722094202041626, | |
0.007285901069641113, | |
0.007217422008514405, | |
0.007195820808410644, | |
0.007205902099609375, | |
0.007198222160339355, | |
0.007191182136535645, | |
0.007333741188049316, | |
0.0072329421043395995, | |
0.007225420951843262, | |
0.007201101779937744, | |
0.0072113418579101566, | |
0.0072140607833862305, | |
0.007215181827545166, | |
0.007195820808410644, | |
0.007205902099609375, | |
0.007195662021636963, | |
0.007213421821594238, | |
0.007224301815032959, | |
0.007201100826263428, | |
0.0071947021484375, | |
0.007176301002502441, | |
0.0071900620460510255, | |
0.007336620807647705, | |
0.007283182144165039, | |
0.0072723011970520016, | |
0.0072329421043395995, | |
0.007207981109619141, | |
0.007213741779327393, | |
0.007211501121520996, | |
0.0071809420585632324, | |
0.007198061943054199, | |
0.007199182033538819, | |
0.007210062026977539, | |
0.007202860832214356, | |
0.007209422111511231, | |
0.007197900772094727, | |
0.007179502010345459, | |
0.007198701858520508, | |
0.007186221122741699, | |
0.007179821968078613, | |
0.007151341915130615, | |
0.007189900875091553, | |
0.007187022209167481, | |
0.007179341793060303, | |
0.007174861907958984, | |
0.007185582160949707, | |
0.007170062065124511, | |
0.0071950221061706544, | |
0.007211822032928467, | |
0.007179660797119141, | |
0.007178542137145996, | |
0.0071595020294189455, | |
0.0071687808036804196, | |
0.007181901931762696, | |
0.00718654203414917, | |
0.007209580898284912, | |
0.007160622119903565, | |
0.007197900772094727, | |
0.007671181201934814, | |
0.007212460994720459, | |
0.007247181892395019, | |
0.007212780952453614, | |
0.007203341960906983, | |
0.0074478211402893065, | |
0.00719710111618042, | |
0.007207982063293457, | |
0.007225581169128418, | |
0.007230542182922363, | |
0.007213740825653076, | |
0.007239021778106689, | |
0.007177422046661377, | |
0.0072047820091247555, | |
0.007221261978149414, | |
0.007190540790557861, | |
0.007529901027679443, | |
0.008335979461669921, | |
0.008148618698120117, | |
0.008111498832702636, | |
0.008149418830871582, | |
0.008058059692382812, | |
0.007511980056762695, | |
0.00753662109375, | |
0.007875979900360108, | |
0.008109898567199706, | |
0.008075819969177247, | |
0.008128458976745606, | |
0.008094859123229981, | |
0.008137739181518555, | |
0.008127179145812988, | |
0.008132139205932616, | |
0.0075689411163330075, | |
0.007320781230926513, | |
0.0072092609405517575, | |
0.007230381011962891 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.68022149742177 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |