IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7c5cfb5
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"model": "timm/resnet50.a1_in1k", | |
"library": "timm", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": "b0a0b933f18d5fa56eadb290a26cc2099f2dd4d8", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1819.42272, | |
"max_global_vram": 520.364032, | |
"max_process_vram": 109652.00896, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 170, | |
"total": 0.999107000827789, | |
"mean": 0.0058771000048693485, | |
"stdev": 0.0003145546855145893, | |
"p50": 0.005715085029602051, | |
"p90": 0.006340056943893432, | |
"p95": 0.006433728528022766, | |
"p99": 0.006635021982192993, | |
"values": [ | |
0.006310842037200928, | |
0.0062007617950439456, | |
0.006078042984008789, | |
0.005968122959136963, | |
0.006076282978057861, | |
0.005827324867248535, | |
0.005850365161895752, | |
0.005834044933319092, | |
0.0058065252304077145, | |
0.005799324035644531, | |
0.005786843776702881, | |
0.005775324821472168, | |
0.005743003845214843, | |
0.005743965148925782, | |
0.005722364902496338, | |
0.005707005023956299, | |
0.005712285041809082, | |
0.005893084049224853, | |
0.005795164108276367, | |
0.005719325065612793, | |
0.005723965167999267, | |
0.006138843059539795, | |
0.0057167649269104, | |
0.005721405029296875, | |
0.005701244831085205, | |
0.0057116451263427735, | |
0.005735484123229981, | |
0.005757084846496582, | |
0.006246840953826905, | |
0.00593804407119751, | |
0.0057329249382019045, | |
0.005767805099487305, | |
0.005724924087524414, | |
0.006799959182739258, | |
0.007903151035308838, | |
0.00619500207901001, | |
0.006261561870574951, | |
0.0062100419998168946, | |
0.006052443027496338, | |
0.006376760959625244, | |
0.006363961219787597, | |
0.006425879955291748, | |
0.006431000232696533, | |
0.006260601997375488, | |
0.005941243171691895, | |
0.006084443092346192, | |
0.006063162803649902, | |
0.005910364151000977, | |
0.005823644161224365, | |
0.005863324165344238, | |
0.005641085147857666, | |
0.005653564929962158, | |
0.0057134051322937016, | |
0.005765244007110596, | |
0.005646046161651611, | |
0.005651646137237549, | |
0.0056406049728393555, | |
0.005637885093688965, | |
0.00566764497756958, | |
0.005649405002593994, | |
0.005666046142578125, | |
0.005640446186065674, | |
0.0056548452377319335, | |
0.005652605056762695, | |
0.005660765171051026, | |
0.005644124984741211, | |
0.005661884784698487, | |
0.0058518037796020505, | |
0.005633086204528809, | |
0.005679326057434082, | |
0.005647325992584228, | |
0.005636445045471191, | |
0.005638364791870117, | |
0.005637246131896973, | |
0.005649886131286621, | |
0.005661725044250488, | |
0.005643004894256592, | |
0.005661244869232178, | |
0.005676284790039062, | |
0.00568012523651123, | |
0.0056737251281738284, | |
0.005689565181732178, | |
0.005645724773406982, | |
0.005677084922790527, | |
0.0056687650680541995, | |
0.005651965141296387, | |
0.005674046039581299, | |
0.005633245944976806, | |
0.005652285099029541, | |
0.00564908504486084, | |
0.006039322853088379, | |
0.0056546850204467775, | |
0.005661725044250488, | |
0.005639965057373047, | |
0.005647965908050537, | |
0.0056551661491394045, | |
0.005642365932464599, | |
0.005689085006713867, | |
0.005637885093688965, | |
0.005647164821624756, | |
0.005650684833526611, | |
0.00562812614440918, | |
0.005663646221160889, | |
0.005679965019226074, | |
0.005596605777740479, | |
0.005681405067443848, | |
0.005644445896148682, | |
0.005670206069946289, | |
0.005633565902709961, | |
0.0056622052192687984, | |
0.005646685123443604, | |
0.005654045104980469, | |
0.00565052604675293, | |
0.0056679658889770505, | |
0.005668766021728515, | |
0.005651485919952392, | |
0.005655805110931397, | |
0.005631965160369873, | |
0.005661564826965332, | |
0.005660604953765869, | |
0.005659164905548096, | |
0.005655486106872559, | |
0.005649566173553467, | |
0.005677565097808838, | |
0.006337400913238526, | |
0.005791164875030517, | |
0.005673884868621826, | |
0.005680604934692383, | |
0.00565180492401123, | |
0.005646204948425293, | |
0.006114043235778808, | |
0.005989563941955566, | |
0.006371641159057617, | |
0.00644140100479126, | |
0.006420920848846436, | |
0.006419641017913818, | |
0.006131642818450927, | |
0.0061580419540405275, | |
0.005962362766265869, | |
0.006168921947479248, | |
0.005948122978210449, | |
0.006178041934967041, | |
0.005997562885284424, | |
0.006124282836914062, | |
0.006043162822723389, | |
0.006124123096466065, | |
0.006274521827697754, | |
0.006143641948699951, | |
0.006113081932067871, | |
0.005674685001373291, | |
0.005956284046173096, | |
0.005694046020507813, | |
0.006043962955474854, | |
0.005684124946594238, | |
0.0057134051322937016, | |
0.005709565162658691, | |
0.0057042851448059085, | |
0.005774205207824707, | |
0.006171641826629638, | |
0.006134202003479004, | |
0.006188121795654297, | |
0.0060710029602050785, | |
0.006233401775360107, | |
0.006459159851074219, | |
0.00643596076965332, | |
0.006424120903015137, | |
0.006447638988494873, | |
0.0065609197616577145, | |
0.006490200042724609, | |
0.006520760059356689 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 170.15194554652308 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |