IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1ce97eb
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_type": "resnet50", | |
"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": {}, | |
"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": "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": "76a02351fb822bf768d5e23c9b8129d5e0d491b2", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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, | |
"llama_cpp_version": null, | |
"llama_cpp_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.929408, | |
"max_global_vram": 2114.629632, | |
"max_process_vram": 48121.757696, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.32798876953125, | |
"mean": 7.32798876953125, | |
"stdev": 0.0, | |
"p50": 7.32798876953125, | |
"p90": 7.32798876953125, | |
"p95": 7.32798876953125, | |
"p99": 7.32798876953125, | |
"values": [ | |
7.32798876953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1830.535168, | |
"max_global_vram": 2226.028544, | |
"max_process_vram": 323923.623936, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9998893637657164, | |
"mean": 0.007632743234852799, | |
"stdev": 0.0003684653657201143, | |
"p50": 0.007528542995452881, | |
"p90": 0.008172215461730957, | |
"p95": 0.008256773471832275, | |
"p99": 0.00874295988082885, | |
"values": [ | |
0.008367092132568359, | |
0.008228854179382324, | |
0.008116214752197266, | |
0.00827733325958252, | |
0.008172215461730957, | |
0.007961818218231201, | |
0.007996057033538818, | |
0.008046296119689942, | |
0.008085655212402345, | |
0.007933658123016357, | |
0.007910297870635987, | |
0.007863258838653565, | |
0.00818085479736328, | |
0.007787899971008301, | |
0.007746620178222656, | |
0.007971898078918457, | |
0.007682301044464111, | |
0.007670621871948242, | |
0.007663421154022217, | |
0.00766278076171875, | |
0.0076359019279479984, | |
0.007627901077270508, | |
0.0076423010826110836, | |
0.007627902030944825, | |
0.00766326093673706, | |
0.007676061153411865, | |
0.007655261993408203, | |
0.007629662036895752, | |
0.00819621467590332, | |
0.007997976779937745, | |
0.007944857120513916, | |
0.009680834770202637, | |
0.008904046058654785, | |
0.007503583908081055, | |
0.007573503017425537, | |
0.007386145114898682, | |
0.007376064777374267, | |
0.007400865077972412, | |
0.0073946242332458495, | |
0.007396385192871093, | |
0.007317825794219971, | |
0.007521183967590332, | |
0.007561822891235351, | |
0.007602141857147217, | |
0.00754006290435791, | |
0.007377025127410889, | |
0.007412543773651123, | |
0.007425024032592774, | |
0.007399744033813477, | |
0.007545342922210693, | |
0.007408225059509278, | |
0.007584221839904785, | |
0.007422783851623535, | |
0.007429344177246094, | |
0.00746230411529541, | |
0.007462143898010254, | |
0.007415904045104981, | |
0.007260066032409668, | |
0.0074827828407287595, | |
0.007239266872406006, | |
0.007244866847991943, | |
0.007241507053375244, | |
0.007256226062774658, | |
0.007314145088195801, | |
0.007274785995483399, | |
0.007312066078186035, | |
0.007318146228790283, | |
0.0073392648696899414, | |
0.007275745868682861, | |
0.007316386222839356, | |
0.007548061847686768, | |
0.0073325448036193844, | |
0.007310306072235108, | |
0.007352066040039062, | |
0.007333506107330323, | |
0.007357184886932373, | |
0.007507583141326904, | |
0.007659261226654053, | |
0.007602141857147217, | |
0.007309346199035644, | |
0.007453023910522461, | |
0.007281986236572266, | |
0.00727414608001709, | |
0.007309025764465332, | |
0.007528542995452881, | |
0.0073197450637817385, | |
0.007342784881591797, | |
0.007303586006164551, | |
0.007321186065673828, | |
0.007503583908081055, | |
0.007300065994262695, | |
0.007308385848999024, | |
0.007304865837097168, | |
0.007298145771026611, | |
0.007503583908081055, | |
0.007511423110961914, | |
0.007538622856140137, | |
0.007285826206207276, | |
0.007479263782501221, | |
0.007318625926971436, | |
0.0072943072319030765, | |
0.007466464042663574, | |
0.007348065853118897, | |
0.007484384059906006, | |
0.007314146041870117, | |
0.007341825008392334, | |
0.0074477438926696775, | |
0.0083178129196167, | |
0.008233174324035645, | |
0.008243574142456054, | |
0.007916858196258545, | |
0.008117975234985352, | |
0.007993017196655273, | |
0.007877499103546142, | |
0.00793573808670044, | |
0.00793653678894043, | |
0.007906618118286133, | |
0.007836059093475341, | |
0.007828059196472168, | |
0.007708061218261719, | |
0.007554782867431641, | |
0.007412545204162598, | |
0.007649342060089112, | |
0.008258773803710937, | |
0.008261974334716798, | |
0.008254773139953613, | |
0.007753980159759521, | |
0.00772774076461792, | |
0.007614302158355713, | |
0.007522943019866943, | |
0.00753046178817749 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.01449495035786 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |