IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
27cce50
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": "bb03882362b0d86ebdf2f3e66d54ac5dde388b89", | |
"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": 1831.358464, | |
"max_global_vram": 541.278208, | |
"max_process_vram": 108523.347968, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 174, | |
"total": 0.997766574859619, | |
"mean": 0.005734290660112752, | |
"stdev": 0.0002689151764075091, | |
"p50": 0.005568320989608765, | |
"p90": 0.006233441066741944, | |
"p95": 0.006310272908210754, | |
"p99": 0.006381553030014038, | |
"values": [ | |
0.006093601226806641, | |
0.005738720893859863, | |
0.005819361209869384, | |
0.005712481021881104, | |
0.006017920970916748, | |
0.005815200805664063, | |
0.0058281607627868656, | |
0.00604384183883667, | |
0.005882720947265625, | |
0.005846880912780762, | |
0.0060401611328125, | |
0.005852641105651856, | |
0.005833761215209961, | |
0.005846880912780762, | |
0.005813920974731445, | |
0.005862561225891114, | |
0.006059200763702393, | |
0.005881600856781006, | |
0.0057929611206054684, | |
0.005783201217651367, | |
0.0057825608253479, | |
0.005774880886077881, | |
0.005770240783691406, | |
0.005778080940246582, | |
0.005833761215209961, | |
0.005794560909271241, | |
0.005796801090240478, | |
0.0057873611450195315, | |
0.005790881156921387, | |
0.005808961868286133, | |
0.005800800800323486, | |
0.005802401065826416, | |
0.005731201171875, | |
0.005853920936584473, | |
0.005836161136627197, | |
0.005866081237792969, | |
0.005809121131896973, | |
0.007071520805358887, | |
0.0057310409545898435, | |
0.005514400959014893, | |
0.005524641036987305, | |
0.005535680770874024, | |
0.0055652809143066405, | |
0.0055849609375, | |
0.00556912088394165, | |
0.005564160823822021, | |
0.005558880805969238, | |
0.005535040855407715, | |
0.005547841072082519, | |
0.00556640100479126, | |
0.00559264087677002, | |
0.005536800861358643, | |
0.0055739212036132815, | |
0.005535040855407715, | |
0.005567521095275879, | |
0.00555872106552124, | |
0.0055536007881164555, | |
0.00557072114944458, | |
0.005537440776824951, | |
0.005555201053619385, | |
0.005518721103668213, | |
0.005556800842285156, | |
0.005573760986328125, | |
0.006084160804748535, | |
0.00632512092590332, | |
0.00630224084854126, | |
0.006309600830078125, | |
0.00631840181350708, | |
0.006192000865936279, | |
0.005547680854797363, | |
0.005536800861358643, | |
0.005564160823822021, | |
0.0055206408500671385, | |
0.00553584098815918, | |
0.005548000812530518, | |
0.005539680957794189, | |
0.005525920867919922, | |
0.005522881031036377, | |
0.0055505609512329105, | |
0.0055574412345886235, | |
0.0058564810752868655, | |
0.006311521053314209, | |
0.006267361164093018, | |
0.005866721153259278, | |
0.005521760940551758, | |
0.005518401145935058, | |
0.005743521213531494, | |
0.005872800827026368, | |
0.005683041095733642, | |
0.005785760879516602, | |
0.005618401050567627, | |
0.0056508808135986325, | |
0.005515360832214355, | |
0.005508161067962646, | |
0.005546560764312744, | |
0.0055292811393737795, | |
0.00552768087387085, | |
0.005543520927429199, | |
0.00553856086730957, | |
0.005523681163787842, | |
0.005531361103057861, | |
0.005540960788726806, | |
0.0055268812179565426, | |
0.005564160823822021, | |
0.005526081085205078, | |
0.00557072114944458, | |
0.005534080982208252, | |
0.005548641204833984, | |
0.005549921035766602, | |
0.005528641223907471, | |
0.005563200950622559, | |
0.005544480800628662, | |
0.0055488009452819825, | |
0.005538240909576416, | |
0.0055225610733032225, | |
0.0055574412345886235, | |
0.005554561138153076, | |
0.0055297608375549315, | |
0.005548641204833984, | |
0.005550240993499756, | |
0.005532320976257324, | |
0.005756161212921143, | |
0.005519841194152832, | |
0.0055505609512329105, | |
0.005536800861358643, | |
0.005548961162567138, | |
0.005533121109008789, | |
0.005524480819702148, | |
0.005543200969696045, | |
0.005516641139984131, | |
0.005530560970306396, | |
0.005547360897064209, | |
0.005697121143341064, | |
0.006305760860443115, | |
0.006309441089630127, | |
0.006334401130676269, | |
0.006338561058044433, | |
0.005946081161499023, | |
0.005768160820007324, | |
0.0060136008262634275, | |
0.006306080818176269, | |
0.0062998409271240235, | |
0.006332321166992188, | |
0.006251201152801513, | |
0.0059347209930419925, | |
0.0058142409324645995, | |
0.005892961025238037, | |
0.005870241165161133, | |
0.005875041007995605, | |
0.00586720085144043, | |
0.005882081031799317, | |
0.0055224008560180666, | |
0.005538081169128418, | |
0.005524960994720459, | |
0.005530560970306396, | |
0.005546560764312744, | |
0.005525600910186767, | |
0.0055273609161376955, | |
0.005544160842895508, | |
0.005549281120300293, | |
0.005556480884552002, | |
0.005548480987548828, | |
0.005526081085205078, | |
0.005540481090545654, | |
0.005539361000061035, | |
0.0055384011268615726, | |
0.005537920951843261, | |
0.005547040939331054, | |
0.006376801013946533, | |
0.006277280807495117, | |
0.006394401073455811, | |
0.00573728084564209, | |
0.005523520946502686, | |
0.006061601161956787 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 174.3894858619422 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |