IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7947cf7
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.466368, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 51841.675264, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.2885888671875, | |
"mean": 9.2885888671875, | |
"stdev": 0.0, | |
"p50": 9.2885888671875, | |
"p90": 9.2885888671875, | |
"p95": 9.2885888671875, | |
"p99": 9.2885888671875, | |
"values": [ | |
9.2885888671875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.983232, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 123802.259456, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 1.0017737293243407, | |
"mean": 0.007532133303190532, | |
"stdev": 0.0004877636108401558, | |
"p50": 0.007443488121032715, | |
"p90": 0.007982974910736084, | |
"p95": 0.008125437927246093, | |
"p99": 0.008304739837646484, | |
"values": [ | |
0.008073407173156738, | |
0.007920607089996338, | |
0.00818492603302002, | |
0.008331005096435546, | |
0.008124925613403321, | |
0.008126206398010254, | |
0.007898366928100586, | |
0.008173886299133301, | |
0.008212125778198243, | |
0.008063325881958008, | |
0.007902206897735596, | |
0.007942367076873779, | |
0.007983646869659423, | |
0.00793420696258545, | |
0.008042045593261719, | |
0.007862206935882568, | |
0.007518689155578614, | |
0.007564767837524414, | |
0.0075287680625915525, | |
0.007687488079071045, | |
0.007443488121032715, | |
0.007289569854736328, | |
0.007289888858795166, | |
0.007251329898834228, | |
0.007298049926757813, | |
0.007227808952331543, | |
0.007278369903564453, | |
0.010715154647827149, | |
0.007481248855590821, | |
0.0073063688278198246, | |
0.007336130142211914, | |
0.007285729885101318, | |
0.00748092794418335, | |
0.007005570888519287, | |
0.0070292501449584965, | |
0.007487329006195068, | |
0.007301088809967041, | |
0.007164609909057617, | |
0.007073729991912842, | |
0.007149409770965576, | |
0.0073873291015625, | |
0.006990690231323243, | |
0.007003011226654053, | |
0.007200129985809326, | |
0.007679488182067871, | |
0.007338688850402832, | |
0.007162209987640381, | |
0.007329089164733887, | |
0.007254049777984619, | |
0.007541408061981201, | |
0.007238210201263428, | |
0.007328289031982422, | |
0.007462528228759766, | |
0.00732652997970581, | |
0.007291648864746094, | |
0.007213890075683594, | |
0.0075150089263916016, | |
0.007344129085540771, | |
0.00739500904083252, | |
0.007214369773864746, | |
0.006973569869995117, | |
0.006937571048736572, | |
0.007041730880737305, | |
0.0076332478523254395, | |
0.007510529041290283, | |
0.007000609874725342, | |
0.0070785307884216305, | |
0.007043810844421386, | |
0.007011651039123535, | |
0.007042691230773925, | |
0.007043330192565918, | |
0.00706541109085083, | |
0.006996291160583496, | |
0.007061089992523193, | |
0.0072617301940917965, | |
0.007043489933013916, | |
0.007328928947448731, | |
0.007055810928344727, | |
0.0070487699508666995, | |
0.007056930065155029, | |
0.007064451217651367, | |
0.007035329818725586, | |
0.007580287933349609, | |
0.007020131111145019, | |
0.007047490119934082, | |
0.00707004976272583, | |
0.007307650089263916, | |
0.007049410820007324, | |
0.007042689800262451, | |
0.007059650897979736, | |
0.007459168910980225, | |
0.007071010112762451, | |
0.0070730910301208495, | |
0.0072185292243957516, | |
0.00707149076461792, | |
0.007036611080169678, | |
0.007065889835357666, | |
0.007047811031341553, | |
0.007053730964660644, | |
0.007458048820495606, | |
0.007920446872711182, | |
0.007904606819152832, | |
0.007874526977539063, | |
0.007968445777893067, | |
0.007966526985168457, | |
0.00806204605102539, | |
0.007926207065582275, | |
0.007945887088775635, | |
0.007963167190551759, | |
0.007945887088775635, | |
0.007944127082824708, | |
0.007930205821990968, | |
0.007958366870880126, | |
0.007987165927886963, | |
0.008248926162719727, | |
0.007969566822052002, | |
0.007955007076263428, | |
0.007910847187042236, | |
0.007942367076873779, | |
0.007916286945343017, | |
0.00796748685836792, | |
0.007946366786956788, | |
0.007933406829833985, | |
0.007958847045898438, | |
0.007874367237091064, | |
0.007931807041168214, | |
0.007950047016143798, | |
0.007941086769104004, | |
0.007980287075042725, | |
0.007964925765991211, | |
0.007976446151733398, | |
0.007935166835784912, | |
0.007918686866760253 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.76451169237944 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |