IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
bc07a33
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", | |
"library": "timm", | |
"model": "timm/resnet50.a1_in1k", | |
"processor": "timm/resnet50.a1_in1k", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_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, | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.3.1", | |
"optimum_benchmark_commit": "f6013cec1a849341c31271831560b1681406c092", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1832.98048, | |
"max_global_vram": 65046.85568, | |
"max_process_vram": 85577.48224, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 179, | |
"total": 0.9985621004104618, | |
"mean": 0.005578559220170176, | |
"stdev": 0.00022035316266330026, | |
"p50": 0.005480783939361572, | |
"p90": 0.005753744029998779, | |
"p95": 0.0060058071136474605, | |
"p99": 0.006221028194427491, | |
"values": [ | |
0.005987823009490967, | |
0.00565934419631958, | |
0.005663504123687744, | |
0.005673422813415528, | |
0.005670544147491455, | |
0.0056716642379760745, | |
0.005703022956848144, | |
0.005719664096832275, | |
0.00570270299911499, | |
0.0056881442070007325, | |
0.005672783851623535, | |
0.0056571030616760255, | |
0.005647823810577392, | |
0.005684783935546875, | |
0.005660304069519043, | |
0.0056667041778564456, | |
0.0056740641593933105, | |
0.005675024032592774, | |
0.0056966238021850584, | |
0.0056716642379760745, | |
0.005690062999725342, | |
0.005683023929595948, | |
0.005677584171295166, | |
0.005673583030700684, | |
0.005679664134979248, | |
0.005675024032592774, | |
0.005693422794342041, | |
0.0057265439033508305, | |
0.005723022937774659, | |
0.005722064018249512, | |
0.0057139029502868656, | |
0.005694384098052978, | |
0.007200139045715332, | |
0.006188941955566406, | |
0.00546046495437622, | |
0.005667503833770752, | |
0.0055302238464355466, | |
0.0054975848197937015, | |
0.0055116648674011235, | |
0.005495183944702149, | |
0.005493104934692383, | |
0.005501743793487549, | |
0.005486224174499512, | |
0.005478544235229492, | |
0.00549886417388916, | |
0.005483184814453125, | |
0.005487343788146973, | |
0.005494863986968994, | |
0.005483344078063965, | |
0.0055015840530395505, | |
0.005489264965057373, | |
0.0055063838958740235, | |
0.005502384185791015, | |
0.005503183841705323, | |
0.005510223865509033, | |
0.005475183963775635, | |
0.005495025157928467, | |
0.005528304100036621, | |
0.005482063770294189, | |
0.005523183822631836, | |
0.005486544132232666, | |
0.005489105224609375, | |
0.005493104934692383, | |
0.005464784145355225, | |
0.005462863922119141, | |
0.005466704845428467, | |
0.005488464832305908, | |
0.005452943801879883, | |
0.00544814395904541, | |
0.0056801438331604, | |
0.005485743999481201, | |
0.005452785015106201, | |
0.005477745056152344, | |
0.005470064163208008, | |
0.005461264133453369, | |
0.005490865230560303, | |
0.005463025093078613, | |
0.005438704013824463, | |
0.005465583801269531, | |
0.005444944858551026, | |
0.005468783855438232, | |
0.005446224212646484, | |
0.0054811048507690426, | |
0.005469903945922851, | |
0.005442063808441162, | |
0.005475503921508789, | |
0.005461424827575684, | |
0.005455344200134277, | |
0.0054691038131713865, | |
0.0054495849609375, | |
0.005469423770904541, | |
0.005480783939361572, | |
0.005455183982849121, | |
0.005439825057983398, | |
0.005467184066772461, | |
0.005459343910217285, | |
0.005455025196075439, | |
0.005462543964385986, | |
0.005467663764953614, | |
0.00547486400604248, | |
0.005454705238342285, | |
0.005447504043579102, | |
0.005457583904266357, | |
0.00545774507522583, | |
0.00545390510559082, | |
0.005459504127502441, | |
0.005479504108428955, | |
0.005448624134063721, | |
0.005468305110931397, | |
0.005444464206695557, | |
0.005474703788757324, | |
0.005438865184783936, | |
0.005459023952484131, | |
0.005491184234619141, | |
0.005464144229888916, | |
0.005488144874572754, | |
0.006117581844329834, | |
0.006228141784667969, | |
0.006219021797180176, | |
0.00600510311126709, | |
0.005989743232727051, | |
0.006209742069244384, | |
0.006192781925201416, | |
0.006207342147827148, | |
0.006012143135070801, | |
0.006002223014831543, | |
0.0057475042343139646, | |
0.005988462924957276, | |
0.005732462882995605, | |
0.005919503211975098, | |
0.005782383918762207, | |
0.005864462852478027, | |
0.005778703212738037, | |
0.005714863777160645, | |
0.005725742816925049, | |
0.005651343822479248, | |
0.005599184036254883, | |
0.0054188637733459475, | |
0.005442864894866943, | |
0.005434225082397461, | |
0.0054443039894104, | |
0.00544686508178711, | |
0.005447343826293945, | |
0.0054539041519165036, | |
0.005443504810333252, | |
0.005439984798431397, | |
0.005439824104309082, | |
0.0054431848526000975, | |
0.005439984798431397, | |
0.005462063789367676, | |
0.00547214412689209, | |
0.005465264797210693, | |
0.005450704097747803, | |
0.005450704097747803, | |
0.005464944839477539, | |
0.005448463916778564, | |
0.005460303783416748, | |
0.005441905021667481, | |
0.0054897451400756836, | |
0.005462863922119141, | |
0.005454703807830811, | |
0.005477105140686035, | |
0.0054572649002075195, | |
0.005454864025115967, | |
0.005453104019165039, | |
0.005474705219268799, | |
0.0054446239471435546, | |
0.005455984115600586, | |
0.005451505184173584, | |
0.0054569439888000485, | |
0.005451663970947266, | |
0.00543918514251709, | |
0.005416304111480713, | |
0.005455344200134277, | |
0.005417425155639649, | |
0.005462862968444824, | |
0.005455823898315429, | |
0.0054574251174926754, | |
0.0054758238792419435 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 179.25775465183548 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |