IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
bd920b7
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+rocm6.1", | |
"_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": "error", | |
"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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1468.878848, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.1192060546875, | |
"mean": 8.1192060546875, | |
"stdev": 0.0, | |
"p50": 8.1192060546875, | |
"p90": 8.1192060546875, | |
"p95": 8.1192060546875, | |
"p99": 8.1192060546875, | |
"values": [ | |
8.1192060546875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1555.283968, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 1.0023432707786557, | |
"mean": 0.007955105323640126, | |
"stdev": 0.00031914541713698463, | |
"p50": 0.007873578071594238, | |
"p90": 0.008511496067047118, | |
"p95": 0.008614776134490966, | |
"p99": 0.008696855306625367, | |
"values": [ | |
0.008321576118469239, | |
0.008231017112731933, | |
0.008136457443237304, | |
0.00799741792678833, | |
0.007943498134613038, | |
0.0077687778472900395, | |
0.007702058792114258, | |
0.007732298851013184, | |
0.00789277696609497, | |
0.0076374192237854, | |
0.007568778991699218, | |
0.007591498851776123, | |
0.00779053783416748, | |
0.007596778869628906, | |
0.0074260587692260745, | |
0.007420938968658447, | |
0.007438378810882568, | |
0.007441419124603272, | |
0.007433739185333252, | |
0.007417098999023437, | |
0.007446059226989746, | |
0.007450539112091065, | |
0.007434218883514404, | |
0.0074585390090942385, | |
0.007441099166870117, | |
0.007671817779541016, | |
0.007613578796386719, | |
0.007723497867584229, | |
0.008709575653076172, | |
0.008143817901611328, | |
0.00795389699935913, | |
0.007952457904815673, | |
0.007740618228912354, | |
0.00781069803237915, | |
0.007815338134765626, | |
0.007940456867218018, | |
0.008238057136535644, | |
0.008032137870788575, | |
0.0079892578125, | |
0.007984938144683838, | |
0.007996617794036865, | |
0.007994216918945312, | |
0.007972457885742187, | |
0.008008936882019042, | |
0.007799017906188965, | |
0.007816137790679932, | |
0.007801578044891357, | |
0.0080986967086792, | |
0.007842058181762696, | |
0.008045257568359375, | |
0.00786765718460083, | |
0.007851017951965331, | |
0.007866218090057372, | |
0.00788605785369873, | |
0.008359975814819336, | |
0.008630855560302735, | |
0.008600935935974122, | |
0.008570534706115723, | |
0.008475337028503418, | |
0.008241737365722656, | |
0.008222376823425293, | |
0.00819197654724121, | |
0.007959497928619384, | |
0.007838858127593993, | |
0.007769739151000977, | |
0.007777419090270996, | |
0.007815178871154784, | |
0.007806219100952148, | |
0.007804617881774902, | |
0.007725419044494629, | |
0.007781898021697998, | |
0.00792829704284668, | |
0.007980618000030517, | |
0.008075337409973144, | |
0.008486696243286133, | |
0.008322216987609864, | |
0.008064456939697266, | |
0.0082698974609375, | |
0.008135658264160156, | |
0.008006057739257812, | |
0.007852458000183105, | |
0.007871017932891846, | |
0.007847658157348633, | |
0.00791933822631836, | |
0.008019818305969238, | |
0.008132778167724609, | |
0.007737897872924805, | |
0.007764778137207031, | |
0.007814857959747314, | |
0.0077946982383728025, | |
0.007750698089599609, | |
0.00774909782409668, | |
0.007804778099060059, | |
0.007826858043670655, | |
0.007776457786560059, | |
0.007820618152618409, | |
0.00781789779663086, | |
0.007845258235931397, | |
0.0078298978805542, | |
0.007786538124084473, | |
0.00782381820678711, | |
0.0078042979240417485, | |
0.007727818012237549, | |
0.007755978107452393, | |
0.007966698169708252, | |
0.007880298137664795, | |
0.007857898235321044, | |
0.00787613821029663, | |
0.008258377075195313, | |
0.00801069736480713, | |
0.007864458084106445, | |
0.007886218070983888, | |
0.00788333797454834, | |
0.007896937847137452, | |
0.008120616912841798, | |
0.00821485710144043, | |
0.008399815559387206, | |
0.008578696250915528, | |
0.008536295890808105, | |
0.008618056297302246, | |
0.008662534713745116, | |
0.008634535789489747, | |
0.008688935279846191, | |
0.008699495315551758, | |
0.008601256370544434, | |
0.008604935646057129 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.70543812013496 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |