
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
4c4880f
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 853.823488, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.63525634765625, | |
"mean": 7.63525634765625, | |
"stdev": 0.0, | |
"p50": 7.63525634765625, | |
"p90": 7.63525634765625, | |
"p95": 7.63525634765625, | |
"p99": 7.63525634765625, | |
"values": [ | |
7.63525634765625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.327717459722496e-06, | |
"ram": 2.3351023022193095e-06, | |
"gpu": 6.3288939519998795e-06, | |
"total": 1.2991713713941684e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.677632, | |
"max_global_vram": 782.761984, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9979311027526856, | |
"mean": 0.007337728696710922, | |
"stdev": 0.00020461931317762211, | |
"p50": 0.007419903993606567, | |
"p90": 0.0075617280006408695, | |
"p95": 0.007594751834869385, | |
"p99": 0.007677030372619629, | |
"values": [ | |
0.0076912641525268555, | |
0.007682047843933106, | |
0.007667712211608887, | |
0.007588863849639893, | |
0.007548927783966064, | |
0.007518208026885987, | |
0.007510015964508057, | |
0.007482367992401123, | |
0.007434239864349365, | |
0.0074741759300231934, | |
0.007506944179534912, | |
0.007459839820861816, | |
0.007370751857757568, | |
0.007322624206542969, | |
0.007459839820861816, | |
0.007452672004699707, | |
0.007529471874237061, | |
0.007557119846343994, | |
0.007528448104858398, | |
0.0074711041450500485, | |
0.00740556812286377, | |
0.007455743789672851, | |
0.007523327827453613, | |
0.007516160011291504, | |
0.007562240123748779, | |
0.007513023853302002, | |
0.007515135765075683, | |
0.0075642881393432615, | |
0.007483391761779785, | |
0.00742195177078247, | |
0.007523327827453613, | |
0.007450623989105225, | |
0.007361536026000977, | |
0.007407616138458252, | |
0.007451648235321045, | |
0.007561215877532959, | |
0.007507967948913574, | |
0.007408639907836914, | |
0.007458816051483155, | |
0.007640063762664795, | |
0.0076267518997192385, | |
0.0075642881393432615, | |
0.007556159973144531, | |
0.007507967948913574, | |
0.007463935852050781, | |
0.007468031883239746, | |
0.0075335679054260255, | |
0.007544832229614258, | |
0.007490560054779053, | |
0.007522304058074952, | |
0.007458816051483155, | |
0.007451648235321045, | |
0.007477248191833496, | |
0.007490560054779053, | |
0.007579648017883301, | |
0.007205920219421387, | |
0.007402495861053467, | |
0.007493631839752197, | |
0.007501823902130127, | |
0.007464960098266602, | |
0.007459839820861816, | |
0.0074700798988342285, | |
0.0075304961204528805, | |
0.0075304961204528805, | |
0.007581759929656982, | |
0.007566336154937744, | |
0.007642111778259277, | |
0.007515135765075683, | |
0.007480319976806641, | |
0.0075335679054260255, | |
0.007418879985809326, | |
0.0074926080703735356, | |
0.007416831970214844, | |
0.00745577621459961, | |
0.007397408008575439, | |
0.007244800090789795, | |
0.007420928001403809, | |
0.007395328044891358, | |
0.007101439952850342, | |
0.00709939193725586, | |
0.007127039909362793, | |
0.007184383869171143, | |
0.007459839820861816, | |
0.007385087966918945, | |
0.007396351814270019, | |
0.007525375843048096, | |
0.007612415790557861, | |
0.00738099193572998, | |
0.007193600177764893, | |
0.007104512214660645, | |
0.0070348801612854, | |
0.007111680030822754, | |
0.007096320152282715, | |
0.007105535984039306, | |
0.007107583999633789, | |
0.00707583999633789, | |
0.007136256217956543, | |
0.007120895862579346, | |
0.007134208202362061, | |
0.007087103843688965, | |
0.0070553598403930665, | |
0.007081984043121338, | |
0.007070720195770264, | |
0.0070635838508605955, | |
0.007060480117797851, | |
0.007080959796905518, | |
0.007104512214660645, | |
0.00709119987487793, | |
0.007038976192474365, | |
0.007103456020355225, | |
0.007079936027526855, | |
0.007086048126220703, | |
0.00709939193725586, | |
0.007067647933959961, | |
0.007106560230255127, | |
0.007120895862579346, | |
0.007112703800201416, | |
0.0070553598403930665, | |
0.007098368167877197, | |
0.007078911781311035, | |
0.007109568119049072, | |
0.007074816226959229, | |
0.007053311824798584, | |
0.007087103843688965, | |
0.007095295906066895, | |
0.007066624164581299, | |
0.007050271987915039, | |
0.007102464199066162, | |
0.0071198720932006835, | |
0.00708403205871582, | |
0.007088128089904785, | |
0.007063551902770996, | |
0.007112703800201416, | |
0.007098368167877197, | |
0.007097343921661377, | |
0.00704307222366333 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.28195335816136 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.393022295579119e-08, | |
"ram": 4.576889581499184e-08, | |
"gpu": 1.759038965915484e-07, | |
"total": 3.0560301536233143e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3272219.0218390753 | |
} | |
} | |
} | |
} |