
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
67fc924
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.43.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.95456, | |
"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.45278662109375, | |
"mean": 7.45278662109375, | |
"stdev": 0.0, | |
"p50": 7.45278662109375, | |
"p90": 7.45278662109375, | |
"p95": 7.45278662109375, | |
"p99": 7.45278662109375, | |
"values": [ | |
7.45278662109375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.410068690776826e-06, | |
"ram": 2.3501368511567952e-06, | |
"gpu": 6.545838570000059e-06, | |
"total": 1.330604411193368e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.273408, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 0.9985560011863709, | |
"mean": 0.00698290909920539, | |
"stdev": 0.0003104573319037982, | |
"p50": 0.007046175956726074, | |
"p90": 0.0072497151374816896, | |
"p95": 0.007409459161758423, | |
"p99": 0.00813387746810913, | |
"values": [ | |
0.007414783954620361, | |
0.007267327785491944, | |
0.007361536026000977, | |
0.007279615879058838, | |
0.0072724480628967286, | |
0.007263232231140137, | |
0.0072499198913574215, | |
0.007143424034118652, | |
0.007205887794494629, | |
0.007136256217956543, | |
0.007195648193359375, | |
0.007127039909362793, | |
0.0069928960800170895, | |
0.007065599918365479, | |
0.007110655784606934, | |
0.007169023990631103, | |
0.007161856174468994, | |
0.007145472049713135, | |
0.007177216053009033, | |
0.0071157760620117185, | |
0.007317440032958984, | |
0.007139328002929687, | |
0.007159808158874512, | |
0.0071485438346862796, | |
0.007156735897064209, | |
0.007159808158874512, | |
0.0070522880554199216, | |
0.007178239822387696, | |
0.007144383907318115, | |
0.00719974422454834, | |
0.007107583999633789, | |
0.007000063896179199, | |
0.007046175956726074, | |
0.00707583999633789, | |
0.0070891518592834475, | |
0.007035903930664063, | |
0.0070891518592834475, | |
0.007103487968444824, | |
0.007169023990631103, | |
0.007236608028411865, | |
0.00724889612197876, | |
0.007166975975036621, | |
0.007129087924957276, | |
0.007080959796905518, | |
0.007070720195770264, | |
0.007415808200836181, | |
0.00714035177230835, | |
0.007101439952850342, | |
0.007131135940551757, | |
0.007165952205657959, | |
0.007046144008636474, | |
0.007055391788482666, | |
0.007121920108795166, | |
0.007181312084197998, | |
0.007458816051483155, | |
0.007050240039825439, | |
0.007061503887176514, | |
0.00707689619064331, | |
0.007139328002929687, | |
0.007150591850280762, | |
0.00710041618347168, | |
0.007204864025115967, | |
0.00724291181564331, | |
0.007192575931549072, | |
0.007146495819091797, | |
0.00711568021774292, | |
0.0071495680809020995, | |
0.007194560050964355, | |
0.007132160186767578, | |
0.0070358400344848636, | |
0.0071823358535766605, | |
0.007041024208068848, | |
0.007095295906066895, | |
0.006881279945373535, | |
0.006955967903137207, | |
0.0069918718338012695, | |
0.006842527866363525, | |
0.0067276802062988285, | |
0.006698016166687012, | |
0.0067276802062988285, | |
0.0067604160308837894, | |
0.006982656002044678, | |
0.008004608154296875, | |
0.008117247581481933, | |
0.008264736175537109, | |
0.008145919799804687, | |
0.007524352073669433, | |
0.006952960014343262, | |
0.006949888229370117, | |
0.0068618240356445315, | |
0.006808576107025147, | |
0.006716415882110595, | |
0.006772736072540283, | |
0.006632448196411133, | |
0.0066713600158691405, | |
0.006673408031463623, | |
0.006717440128326416, | |
0.006673408031463623, | |
0.006774784088134766, | |
0.006660096168518067, | |
0.0066703038215637205, | |
0.006680575847625733, | |
0.006684671878814697, | |
0.006661119937896728, | |
0.006718463897705078, | |
0.006719488143920899, | |
0.006635519981384277, | |
0.006684671878814697, | |
0.006627327919006347, | |
0.006660096168518067, | |
0.006650879859924317, | |
0.006700032234191895, | |
0.006681600093841553, | |
0.006694911956787109, | |
0.006676479816436768, | |
0.006669312000274658, | |
0.0067051520347595215, | |
0.0066938881874084475, | |
0.006546592235565186, | |
0.006652927875518798, | |
0.006765567779541016, | |
0.006585343837738037, | |
0.006636544227600098, | |
0.006705120086669922, | |
0.006669312000274658, | |
0.0066416640281677245, | |
0.0066641921997070315, | |
0.00658841609954834, | |
0.006651040077209473, | |
0.006661087989807129, | |
0.006638591766357422, | |
0.006681600093841553, | |
0.006723584175109864, | |
0.006621183872222901, | |
0.0066641921997070315, | |
0.006747136116027832, | |
0.006658048152923584, | |
0.0066416640281677245, | |
0.00665503978729248, | |
0.006686719894409179, | |
0.0066416640281677245, | |
0.006725664138793945, | |
0.006706175804138184 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.2067904354925 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.864051307274017e-08, | |
"ram": 4.2996137924487953e-08, | |
"gpu": 1.7129152776159014e-07, | |
"total": 2.929281787588183e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3413806.0880218274 | |
} | |
} | |
} | |
} |