IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7be6756
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.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": 1152.589824, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45796.974592, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.9399375, | |
"mean": 8.9399375, | |
"stdev": 0.0, | |
"p50": 8.9399375, | |
"p90": 8.9399375, | |
"p95": 8.9399375, | |
"p99": 8.9399375, | |
"values": [ | |
8.9399375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.819392, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 115741.474816, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.999005841016769, | |
"mean": 0.007511322112908041, | |
"stdev": 0.0016177938058015622, | |
"p50": 0.0069360132217407226, | |
"p90": 0.00816535987854004, | |
"p95": 0.00939716911315918, | |
"p99": 0.014316877288818362, | |
"values": [ | |
0.008245615005493164, | |
0.009129297256469727, | |
0.009997299194335937, | |
0.014167386054992676, | |
0.007609774112701416, | |
0.009253296852111816, | |
0.012886903762817382, | |
0.009441617965698243, | |
0.009367536544799805, | |
0.008940176963806152, | |
0.008431215286254883, | |
0.008175536155700684, | |
0.00812465476989746, | |
0.00807617473602295, | |
0.008069774627685548, | |
0.008029294013977051, | |
0.00798737382888794, | |
0.007987215042114257, | |
0.007965455055236817, | |
0.007936655044555664, | |
0.007918414115905761, | |
0.007923695087432861, | |
0.007971855163574218, | |
0.00794529390335083, | |
0.007952974796295167, | |
0.007914094924926758, | |
0.007931214809417724, | |
0.007907854080200196, | |
0.007878735065460205, | |
0.007843533992767333, | |
0.007846574783325195, | |
0.007853293895721435, | |
0.007852334022521973, | |
0.007845934867858886, | |
0.007845133781433105, | |
0.00786753511428833, | |
0.014387226104736328, | |
0.005571051120758057, | |
0.007888974189758301, | |
0.0075038537979125975, | |
0.006942092895507812, | |
0.0069388928413391116, | |
0.0071169729232788085, | |
0.006880813121795655, | |
0.006913612842559815, | |
0.0069147319793701175, | |
0.006890091896057129, | |
0.007111052989959717, | |
0.007102572917938232, | |
0.007104493141174316, | |
0.006881612777709961, | |
0.0068952121734619145, | |
0.006907853126525879, | |
0.006902412891387939, | |
0.006898413181304932, | |
0.006884811878204345, | |
0.006906413078308106, | |
0.006917293071746826, | |
0.006914732933044433, | |
0.006904013156890869, | |
0.006956811904907227, | |
0.006913931846618653, | |
0.0068937730789184574, | |
0.00717745304107666, | |
0.006964333057403564, | |
0.006934573173522949, | |
0.006936973094940186, | |
0.0069360132217407226, | |
0.0069054532051086425, | |
0.006918891906738282, | |
0.006899853229522705, | |
0.006938252925872803, | |
0.006924492835998535, | |
0.0068987331390380855, | |
0.018265312194824218, | |
0.002297445058822632, | |
0.004799208164215088, | |
0.006940011978149414, | |
0.0069224128723144535, | |
0.006922092914581299, | |
0.00692577314376831, | |
0.006922573089599609, | |
0.006901772022247315, | |
0.0068961730003356935, | |
0.006896973133087158, | |
0.006918093204498291, | |
0.006900652885437012, | |
0.0069166522026062015, | |
0.006916012763977051, | |
0.006894893169403076, | |
0.006904653072357178, | |
0.006905932903289795, | |
0.006903371810913086, | |
0.006890253067016601, | |
0.006903052806854248, | |
0.006916012763977051, | |
0.00691441297531128, | |
0.006894731998443603, | |
0.006889293193817139, | |
0.006890732765197754, | |
0.006909293174743652, | |
0.006908172130584716, | |
0.006892333030700684, | |
0.006912172794342041, | |
0.0069318528175354, | |
0.006926572799682617, | |
0.006931373119354248, | |
0.006920813083648681, | |
0.006929452896118164, | |
0.006934892177581787, | |
0.0069318528175354, | |
0.00690513277053833, | |
0.006917293071746826, | |
0.006903852939605713, | |
0.006924652099609375, | |
0.006922252178192138, | |
0.006903052806854248, | |
0.01055858039855957, | |
0.004284327030181885, | |
0.006918571949005127, | |
0.007464014053344727, | |
0.007882734775543214, | |
0.0078857741355896, | |
0.0077080149650573734, | |
0.007313132762908936, | |
0.007331374168395996, | |
0.00737617301940918, | |
0.007424173831939697, | |
0.007400973796844483, | |
0.007378893852233887, | |
0.00789345407485962, | |
0.007368173122406006, | |
0.00736449384689331 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.1323547264099 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |