IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
5141cfe
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "6", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1153.540096, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 43762.97472, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.95778515625, | |
"mean": 8.95778515625, | |
"stdev": 0.0, | |
"p50": 8.95778515625, | |
"p90": 8.95778515625, | |
"p95": 8.95778515625, | |
"p99": 8.95778515625, | |
"values": [ | |
8.95778515625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.9136, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 115978.227712, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 120, | |
"total": 0.9995317575931545, | |
"mean": 0.00832943131327629, | |
"stdev": 0.0009124427890116449, | |
"p50": 0.008249938011169433, | |
"p90": 0.008484305858612061, | |
"p95": 0.008533234548568726, | |
"p99": 0.011649809408187868, | |
"values": [ | |
0.008422577857971191, | |
0.008350737571716308, | |
0.008325298309326172, | |
0.008299057960510253, | |
0.008360978126525878, | |
0.008270257949829102, | |
0.008249137878417969, | |
0.00828993797302246, | |
0.008231377601623536, | |
0.00826817798614502, | |
0.008280497550964355, | |
0.008243698120117188, | |
0.008285298347473144, | |
0.008184337615966797, | |
0.008249938011169433, | |
0.008214898109436035, | |
0.008224337577819825, | |
0.008206736564636231, | |
0.008163537979125977, | |
0.008148978233337403, | |
0.008144658088684082, | |
0.008200016975402832, | |
0.008175058364868164, | |
0.00819601821899414, | |
0.008272337913513183, | |
0.008205617904663086, | |
0.008181617736816407, | |
0.008174097061157227, | |
0.008229138374328614, | |
0.008208658218383789, | |
0.008206738471984863, | |
0.008180018424987792, | |
0.0156917142868042, | |
0.0038276879787445066, | |
0.008383698463439941, | |
0.008270897865295411, | |
0.008270097732543944, | |
0.008229297637939453, | |
0.008227058410644531, | |
0.008249938011169433, | |
0.008218418121337891, | |
0.008227538108825684, | |
0.008191537857055665, | |
0.008188657760620117, | |
0.008200017929077149, | |
0.008202096939086915, | |
0.008349778175354004, | |
0.008544178009033203, | |
0.008532658576965332, | |
0.008411857604980469, | |
0.008346737861633301, | |
0.008365617752075196, | |
0.008311858177185058, | |
0.008314098358154297, | |
0.008311058044433594, | |
0.008222097396850587, | |
0.008266416549682618, | |
0.00823825740814209, | |
0.008406739234924316, | |
0.008301617622375489, | |
0.008266898155212402, | |
0.008216817855834961, | |
0.008252177238464355, | |
0.008468817710876465, | |
0.008301777839660645, | |
0.008505297660827636, | |
0.00856353759765625, | |
0.011872185707092284, | |
0.006265293121337891, | |
0.008438258171081544, | |
0.008378897666931152, | |
0.00843073844909668, | |
0.008480178833007812, | |
0.008371538162231445, | |
0.008517298698425293, | |
0.008510417938232422, | |
0.008496978759765624, | |
0.008409618377685547, | |
0.008411377906799316, | |
0.008373297691345215, | |
0.008285138130187988, | |
0.008232498168945312, | |
0.008212657928466796, | |
0.008209938049316407, | |
0.008198098182678222, | |
0.008195378303527833, | |
0.008178096771240234, | |
0.008182737350463867, | |
0.008196176528930664, | |
0.008115697860717773, | |
0.008119057655334473, | |
0.00814289665222168, | |
0.008140337944030763, | |
0.008154897689819337, | |
0.008504178047180176, | |
0.008482897758483886, | |
0.008356818199157715, | |
0.008703858375549316, | |
0.008286096572875977, | |
0.008248497009277343, | |
0.010701784133911133, | |
0.007206095218658447, | |
0.008234257698059083, | |
0.008233457565307618, | |
0.008198898315429687, | |
0.008240017890930176, | |
0.008255698204040528, | |
0.008216817855834961, | |
0.00826977825164795, | |
0.008253618240356446, | |
0.008288018226623535, | |
0.008304338455200195, | |
0.008296657562255859, | |
0.00828993797302246, | |
0.00815585708618164, | |
0.008146097183227539, | |
0.008133618354797364, | |
0.008136337280273437, | |
0.008175376892089845, | |
0.008172337532043456 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 120.0562154112609 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |