IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
5471bbe
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.691648, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 50356.736, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.709298828125, | |
"mean": 8.709298828125, | |
"stdev": 0.0, | |
"p50": 8.709298828125, | |
"p90": 8.709298828125, | |
"p95": 8.709298828125, | |
"p99": 8.709298828125, | |
"values": [ | |
8.709298828125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1238.093824, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 106488.99584, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.994286311388016, | |
"mean": 0.007475836927729441, | |
"stdev": 0.0008188499013308919, | |
"p50": 0.007395662784576416, | |
"p90": 0.007925327014923097, | |
"p95": 0.007957070446014404, | |
"p99": 0.00949178722381593, | |
"values": [ | |
0.007846382141113281, | |
0.00787518310546875, | |
0.0077169427871704105, | |
0.007721582889556885, | |
0.007569744110107422, | |
0.007634542942047119, | |
0.007584143161773682, | |
0.007393104076385498, | |
0.007403984069824219, | |
0.007345424175262451, | |
0.007743823051452637, | |
0.007395662784576416, | |
0.007607823848724366, | |
0.007542542934417725, | |
0.007274064064025879, | |
0.0072103838920593265, | |
0.0071987051963806154, | |
0.007173903942108154, | |
0.007171504020690918, | |
0.007133903980255127, | |
0.007131185054779053, | |
0.007187664031982422, | |
0.007175343990325928, | |
0.007125104904174805, | |
0.007101103782653808, | |
0.007091825008392334, | |
0.007183664798736572, | |
0.01015021800994873, | |
0.0070708651542663575, | |
0.006966384887695312, | |
0.006956144809722901, | |
0.006980625152587891, | |
0.006971344947814941, | |
0.0069259052276611326, | |
0.007117904186248779, | |
0.007191184043884277, | |
0.0071471848487854005, | |
0.006925104141235351, | |
0.006903345108032226, | |
0.007115345001220703, | |
0.006930224895477295, | |
0.00693054485321045, | |
0.0069270248413085935, | |
0.006942544937133789, | |
0.006922224998474121, | |
0.00714446496963501, | |
0.014316768646240234, | |
0.0038193509578704835, | |
0.00701838493347168, | |
0.006960464954376221, | |
0.0069588651657104495, | |
0.006945584774017334, | |
0.006968625068664551, | |
0.006942385196685791, | |
0.006940945148468018, | |
0.0069380650520324706, | |
0.006933104991912842, | |
0.006935025215148926, | |
0.006946864128112793, | |
0.0069495849609375, | |
0.006945905208587647, | |
0.0069283051490783695, | |
0.006937425136566162, | |
0.007031983852386474, | |
0.006960144996643066, | |
0.00693918514251709, | |
0.006952943801879882, | |
0.006957264900207519, | |
0.006960144996643066, | |
0.007150383949279785, | |
0.007037905216217041, | |
0.0069995040893554685, | |
0.006999664783477784, | |
0.0069809451103210445, | |
0.007555343151092529, | |
0.007822863101959229, | |
0.007868943214416503, | |
0.00786158323287964, | |
0.00809262180328369, | |
0.007872622966766357, | |
0.007865901947021484, | |
0.00786702299118042, | |
0.007879502773284912, | |
0.007854702949523926, | |
0.007886861801147461, | |
0.007870223045349121, | |
0.007880143165588379, | |
0.007866063117980958, | |
0.007890222072601318, | |
0.00786702299118042, | |
0.00786206293106079, | |
0.007853902816772462, | |
0.007890381813049317, | |
0.007867823123931885, | |
0.007848783016204834, | |
0.00787470293045044, | |
0.007872142791748048, | |
0.007890703201293946, | |
0.00790910291671753, | |
0.00790766191482544, | |
0.007899662971496583, | |
0.007930383205413819, | |
0.007907502174377442, | |
0.007881903171539306, | |
0.007906542778015137, | |
0.007961583137512208, | |
0.007962862968444824, | |
0.007932942867279053, | |
0.007962701797485351, | |
0.007937582969665527, | |
0.00795406198501587, | |
0.007949422836303711, | |
0.007362544059753418, | |
0.007038383960723877, | |
0.0075278239250183105, | |
0.007921102046966553, | |
0.00792110300064087, | |
0.007992143154144288, | |
0.007613903999328613, | |
0.00738974380493164, | |
0.007340464115142822, | |
0.007460624217987061, | |
0.007415184020996094, | |
0.007926383018493653, | |
0.007895022869110107, | |
0.007926863193511963, | |
0.007916942119598388, | |
0.007902543067932128, | |
0.00788942289352417, | |
0.007485904216766357, | |
0.007405262947082519, | |
0.007035984039306641, | |
0.007039344787597656 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.76428748609953 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |