
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
ac60b70
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"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 | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.266432, | |
"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.4737744140625, | |
"mean": 7.4737744140625, | |
"stdev": 0.0, | |
"p50": 7.4737744140625, | |
"p90": 7.4737744140625, | |
"p95": 7.4737744140625, | |
"p99": 7.4737744140625, | |
"values": [ | |
7.4737744140625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.306615723503961e-06, | |
"ram": 2.3443872648385875e-06, | |
"gpu": 6.719172041980137e-06, | |
"total": 1.3370175030322686e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 975.593472, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 1.0002235512733462, | |
"mean": 0.0068508462415982595, | |
"stdev": 0.00014923008283140426, | |
"p50": 0.006827008008956909, | |
"p90": 0.007022591829299927, | |
"p95": 0.007121664166450501, | |
"p99": 0.007418521451950074, | |
"values": [ | |
0.006952960014343262, | |
0.006989823818206787, | |
0.006952960014343262, | |
0.007032832145690918, | |
0.0069816322326660156, | |
0.006994944095611572, | |
0.007079936027526855, | |
0.007027711868286133, | |
0.006825984001159668, | |
0.0067983360290527345, | |
0.006789120197296142, | |
0.006842368125915528, | |
0.006780928134918213, | |
0.00673689603805542, | |
0.006692863941192627, | |
0.006698016166687012, | |
0.006789120197296142, | |
0.006846464157104492, | |
0.006825984001159668, | |
0.006851583957672119, | |
0.006882304191589355, | |
0.006816768169403077, | |
0.006730815887451172, | |
0.006759424209594727, | |
0.006903808116912841, | |
0.006801407814025879, | |
0.006873087882995605, | |
0.00688640022277832, | |
0.006851583957672119, | |
0.006754303932189941, | |
0.006831103801727295, | |
0.00687820816040039, | |
0.006834176063537598, | |
0.006845439910888672, | |
0.006804480075836182, | |
0.006755328178405762, | |
0.006731776237487793, | |
0.006778848171234131, | |
0.006760447978973389, | |
0.006763519763946534, | |
0.006862847805023193, | |
0.006779903888702392, | |
0.00688640022277832, | |
0.006890495777130127, | |
0.006923264026641846, | |
0.006896639823913574, | |
0.006829055786132812, | |
0.006855679988861084, | |
0.006818816184997558, | |
0.0068392958641052244, | |
0.006811647891998291, | |
0.006862847805023193, | |
0.006858751773834228, | |
0.006797311782836914, | |
0.006781951904296875, | |
0.006755328178405762, | |
0.006809567928314209, | |
0.006743040084838867, | |
0.006920191764831543, | |
0.006812672138214112, | |
0.006756351947784424, | |
0.006795199871063232, | |
0.006834176063537598, | |
0.006858751773834228, | |
0.0068167362213134765, | |
0.006792191982269287, | |
0.006985727787017822, | |
0.006917119979858399, | |
0.006892543792724609, | |
0.006899712085723877, | |
0.006945792198181152, | |
0.006849535942077637, | |
0.006920191764831543, | |
0.006867968082427979, | |
0.0068280320167541505, | |
0.0067983360290527345, | |
0.006889535903930664, | |
0.006753183841705322, | |
0.00672051191329956, | |
0.0065812478065490725, | |
0.00672051191329956, | |
0.00674508810043335, | |
0.006628352165222168, | |
0.006509568214416504, | |
0.0064174079895019534, | |
0.006509568214416504, | |
0.00653926420211792, | |
0.0074700798988342285, | |
0.006959104061126709, | |
0.007060480117797851, | |
0.007187456130981445, | |
0.007394303798675537, | |
0.007060480117797851, | |
0.007017471790313721, | |
0.007102464199066162, | |
0.0072325439453125, | |
0.007131135940551757, | |
0.007063551902770996, | |
0.006813695907592773, | |
0.0068618240356445315, | |
0.00683622407913208, | |
0.006666240215301514, | |
0.006833151817321777, | |
0.006837247848510742, | |
0.006790143966674805, | |
0.00729702377319336, | |
0.0068321280479431154, | |
0.006875135898590088, | |
0.006796288013458252, | |
0.006812607765197754, | |
0.006780928134918213, | |
0.006788095951080322, | |
0.0068280320167541505, | |
0.006799359798431396, | |
0.006806528091430664, | |
0.006762495994567871, | |
0.0068280320167541505, | |
0.006874112129211426, | |
0.006744063854217529, | |
0.007128064155578613, | |
0.006876160144805908, | |
0.00743833589553833, | |
0.00688640022277832, | |
0.006853631973266602, | |
0.006956031799316406, | |
0.006959104061126709, | |
0.006766592025756836, | |
0.0068280320167541505, | |
0.006746111869812011, | |
0.006808576107025147, | |
0.006757343769073486, | |
0.0068055038452148435, | |
0.006813695907592773, | |
0.006763519763946534, | |
0.00676966381072998, | |
0.0067983360290527345, | |
0.006790048122406006, | |
0.006754303932189941, | |
0.006778880119323731, | |
0.006867968082427979, | |
0.0067573761940002445, | |
0.006790175914764405, | |
0.0067983360290527345, | |
0.006753215789794922, | |
0.006816768169403077, | |
0.006776927947998047 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.96736880883583 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.600745138449547e-08, | |
"ram": 4.155623051995508e-08, | |
"gpu": 1.6448374982044095e-07, | |
"total": 2.8204743172489144e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3545502.9456726206 | |
} | |
} | |
} | |
} |