IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2f606a2
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": "6", | |
"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.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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1118.22848, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 51582.357504, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.676974609375, | |
"mean": 8.676974609375, | |
"stdev": 0.0, | |
"p50": 8.676974609375, | |
"p90": 8.676974609375, | |
"p95": 8.676974609375, | |
"p99": 8.676974609375, | |
"values": [ | |
8.676974609375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1202.614272, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 113313.19808, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 1.001636348247528, | |
"mean": 0.007419528505537246, | |
"stdev": 0.0003961510769852851, | |
"p50": 0.007321454048156738, | |
"p90": 0.007902766323089599, | |
"p95": 0.007929967641830444, | |
"p99": 0.008111855144500732, | |
"values": [ | |
0.007829134941101074, | |
0.007602574825286865, | |
0.007726254940032959, | |
0.007607695102691651, | |
0.007654735088348389, | |
0.0076107349395751955, | |
0.007574574947357178, | |
0.007593615055084229, | |
0.007516654014587403, | |
0.007493774890899658, | |
0.007373454093933106, | |
0.007225133895874023, | |
0.00720993423461914, | |
0.007234094142913819, | |
0.007203534126281739, | |
0.007213133811950684, | |
0.007220973968505859, | |
0.007114253997802735, | |
0.007132334232330322, | |
0.007166413784027099, | |
0.0071456141471862794, | |
0.00735361385345459, | |
0.007115853786468506, | |
0.007137613773345947, | |
0.00715265417098999, | |
0.007281134128570557, | |
0.00720513391494751, | |
0.007405934810638427, | |
0.010577939987182617, | |
0.007321454048156738, | |
0.007107533931732178, | |
0.007282094001770019, | |
0.007140813827514648, | |
0.007131053924560547, | |
0.00715265417098999, | |
0.007106413841247558, | |
0.007106732845306396, | |
0.007105613231658935, | |
0.007108654022216797, | |
0.007196174144744873, | |
0.007268013954162597, | |
0.007281613826751709, | |
0.00744065523147583, | |
0.007727694988250732, | |
0.007445933818817138, | |
0.007455534934997558, | |
0.0074329738616943355, | |
0.0075894551277160644, | |
0.007565454959869385, | |
0.0076033749580383305, | |
0.0074824137687683106, | |
0.007428975105285645, | |
0.007901134967803956, | |
0.007694095134735107, | |
0.0077244949340820315, | |
0.007464653968811035, | |
0.007576495170593262, | |
0.007648495197296143, | |
0.007601134777069092, | |
0.0074272141456604, | |
0.007601294994354248, | |
0.007424173831939697, | |
0.008133614540100097, | |
0.00743201494216919, | |
0.007294894218444824, | |
0.007428975105285645, | |
0.007731215000152588, | |
0.007260334014892578, | |
0.0078211350440979, | |
0.007482254981994629, | |
0.0074800138473510745, | |
0.007492333889007568, | |
0.007447854995727539, | |
0.007435694217681885, | |
0.007467854976654053, | |
0.007440653800964356, | |
0.007638734817504883, | |
0.007478575229644776, | |
0.007125614166259765, | |
0.007121294021606445, | |
0.007135374069213867, | |
0.007092494010925293, | |
0.007121613025665283, | |
0.007130574226379394, | |
0.007123693943023681, | |
0.007085453987121582, | |
0.0070833740234375, | |
0.007050414085388184, | |
0.007049932956695557, | |
0.007311694145202637, | |
0.007074893951416016, | |
0.007054253101348877, | |
0.007150413990020752, | |
0.007101613998413086, | |
0.007117934226989746, | |
0.007125453948974609, | |
0.007829935073852538, | |
0.007176494121551514, | |
0.00720993423461914, | |
0.007124173164367676, | |
0.007130733966827393, | |
0.0070843338966369625, | |
0.007134414196014404, | |
0.007171854019165039, | |
0.0071003341674804685, | |
0.007101774215698242, | |
0.0071126542091369625, | |
0.0071339340209960935, | |
0.007130414009094238, | |
0.00714401388168335, | |
0.007123534202575684, | |
0.007151534080505371, | |
0.0071296138763427734, | |
0.007176973819732666, | |
0.007168334007263183, | |
0.007113773822784424, | |
0.007472814083099365, | |
0.007275694847106933, | |
0.00805633544921875, | |
0.007929296016693115, | |
0.007924815177917481, | |
0.007866735935211183, | |
0.007931534767150878, | |
0.008069616317749023, | |
0.00795873498916626, | |
0.007577774047851563, | |
0.007450894832611084, | |
0.007430414199829102, | |
0.007921615123748778, | |
0.008009296417236328, | |
0.007896655082702637, | |
0.007920656204223633, | |
0.007922735214233399, | |
0.007922895908355713, | |
0.007903853893280029 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.77945387684582 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |