IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
4ced589
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.2.1", | |
"optimum_benchmark_commit": "3b8c49a169ebd79001b2a83fbf2b332612417102", | |
"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": 1825.214464, | |
"max_global_vram": 541.310976, | |
"max_process_vram": 87900.131328, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 163, | |
"total": 0.9957303414344789, | |
"mean": 0.006108775100825023, | |
"stdev": 0.00035052735165384477, | |
"p50": 0.00592274284362793, | |
"p90": 0.006507961177825927, | |
"p95": 0.006517560815811157, | |
"p99": 0.006625673217773437, | |
"values": [ | |
0.006332024097442627, | |
0.006016182899475098, | |
0.005859382152557373, | |
0.005912662982940674, | |
0.005959222793579102, | |
0.005937141895294189, | |
0.00592274284362793, | |
0.005922262191772461, | |
0.005863862037658691, | |
0.005905782222747803, | |
0.0058702630996704105, | |
0.005835862159729004, | |
0.005860022068023682, | |
0.005841622829437256, | |
0.0058056221008300785, | |
0.005852662086486817, | |
0.005867702960968018, | |
0.005878262042999268, | |
0.0058558621406555175, | |
0.005888982772827149, | |
0.005874422073364258, | |
0.005889462947845459, | |
0.005875061988830566, | |
0.0059057831764221195, | |
0.005847062110900879, | |
0.005865302085876465, | |
0.005858101844787598, | |
0.005889622211456299, | |
0.005867383003234863, | |
0.005911861896514893, | |
0.005909623146057129, | |
0.005893941879272461, | |
0.005887382030487061, | |
0.005899861812591552, | |
0.005879382133483887, | |
0.006047543048858643, | |
0.005917942047119141, | |
0.005867541790008545, | |
0.005873621940612793, | |
0.005836822986602783, | |
0.005809782028198242, | |
0.005860981941223145, | |
0.005900022029876709, | |
0.005887222766876221, | |
0.006122103214263916, | |
0.005901302814483643, | |
0.005868981838226319, | |
0.005888662815093994, | |
0.005911702156066894, | |
0.005954903125762939, | |
0.00594338321685791, | |
0.005932022094726563, | |
0.007756189823150635, | |
0.006733305931091308, | |
0.005683381080627442, | |
0.005687541961669922, | |
0.005860181808471679, | |
0.005749620914459228, | |
0.0060608229637146, | |
0.006073782920837403, | |
0.005727221965789795, | |
0.005717461109161377, | |
0.0057325010299682615, | |
0.005760342121124268, | |
0.005810421943664551, | |
0.005845141887664795, | |
0.005728181838989258, | |
0.006164662837982178, | |
0.006151383876800537, | |
0.005758101940155029, | |
0.005728822231292724, | |
0.005717620849609375, | |
0.005726582050323487, | |
0.006055062770843506, | |
0.005745461940765381, | |
0.005723542213439942, | |
0.0057133021354675295, | |
0.0057120218276977535, | |
0.005731381893157959, | |
0.005728021144866944, | |
0.005731060981750489, | |
0.005752501964569091, | |
0.006075862884521484, | |
0.0057091407775878905, | |
0.0057254619598388675, | |
0.005740982055664062, | |
0.005717301845550537, | |
0.005745141983032226, | |
0.005719701766967774, | |
0.005717940807342529, | |
0.005736340999603271, | |
0.005719061851501465, | |
0.005724661827087403, | |
0.005694742202758789, | |
0.005732662200927734, | |
0.0057305808067321775, | |
0.005947862148284912, | |
0.005714422225952149, | |
0.005714262008666992, | |
0.00575746202468872, | |
0.006279064178466797, | |
0.0065597047805786134, | |
0.006257463932037353, | |
0.006193623065948486, | |
0.0061825838088989254, | |
0.0064848241806030275, | |
0.006489624977111816, | |
0.006484984874725342, | |
0.006474104881286621, | |
0.006482103824615479, | |
0.006512664794921875, | |
0.0065070648193359375, | |
0.006532344818115234, | |
0.006508504867553711, | |
0.006524825096130371, | |
0.0064517040252685546, | |
0.006470584869384765, | |
0.006481144905090332, | |
0.006509144783020019, | |
0.006480184078216553, | |
0.006495544910430908, | |
0.006508025169372558, | |
0.006479704856872558, | |
0.006468183994293213, | |
0.006488504886627197, | |
0.006482584953308106, | |
0.006512505054473877, | |
0.006517944812774658, | |
0.006510104179382324, | |
0.00648194408416748, | |
0.0064691448211669925, | |
0.006526265144348144, | |
0.006498425006866455, | |
0.006490104198455811, | |
0.006472505092620849, | |
0.006478905200958252, | |
0.006514104843139648, | |
0.006497464179992676, | |
0.006444664001464844, | |
0.006507705211639405, | |
0.006495705127716064, | |
0.006487063884735108, | |
0.006467864036560058, | |
0.006472185134887696, | |
0.0064827451705932616, | |
0.006493624210357666, | |
0.006470425128936768, | |
0.006459384918212891, | |
0.0065072250366210935, | |
0.006492343902587891, | |
0.006488345146179199, | |
0.006546265125274659, | |
0.006492024898529053, | |
0.00648674488067627, | |
0.006477784156799316, | |
0.006512505054473877, | |
0.0065371451377868655, | |
0.006491865158081055, | |
0.006506905078887939, | |
0.006487223148345947, | |
0.0064995441436767575, | |
0.006506424903869629, | |
0.0065022649765014645 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 163.69893857525457 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |