
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
5a96e32
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.225-213.878.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.5.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": "1.22.0", | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 869.339136, | |
"max_global_vram": 718.798848, | |
"max_process_vram": 0.0, | |
"max_reserved": 125.82912, | |
"max_allocated": 103.077376 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
8.582736328125 | |
], | |
"count": 1, | |
"total": 8.582736328125, | |
"mean": 8.582736328125, | |
"p50": 8.582736328125, | |
"p90": 8.582736328125, | |
"p95": 8.582736328125, | |
"p99": 8.582736328125, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.293889029861476e-06, | |
"ram": 2.3338591482221533e-06, | |
"gpu": 4.9788928719999605e-06, | |
"total": 1.160664105008359e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1109.48352, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 122.937344 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007787519931793213, | |
0.007078911781311035, | |
0.006965312004089355, | |
0.007707647800445557, | |
0.008170495986938477, | |
0.008437760353088379, | |
0.0069959678649902345, | |
0.006790143966674805, | |
0.006825984001159668, | |
0.006756351947784424, | |
0.006821887969970703, | |
0.00679423999786377, | |
0.006752255916595459, | |
0.0067983360290527345, | |
0.006778880119323731, | |
0.007137248039245606, | |
0.0070860800743103025, | |
0.007109632015228271, | |
0.00710038423538208, | |
0.007110655784606934, | |
0.007104512214660645, | |
0.0070902080535888675, | |
0.007088128089904785, | |
0.007087103843688965, | |
0.007093247890472412, | |
0.007050240039825439, | |
0.007102431774139405, | |
0.00714137601852417, | |
0.007071743965148926, | |
0.0070860800743103025, | |
0.007057407855987549, | |
0.007073791980743408, | |
0.007088128089904785, | |
0.007093247890472412, | |
0.0070267200469970705, | |
0.007144447803497315, | |
0.007093183994293213, | |
0.007123968124389648, | |
0.007097343921661377, | |
0.007062528133392334, | |
0.007123968124389648, | |
0.007108607769012451, | |
0.007087103843688965, | |
0.007158783912658692, | |
0.007070720195770264, | |
0.007015423774719238, | |
0.007142399787902832, | |
0.007045119762420654, | |
0.0070860800743103025, | |
0.007114783763885498, | |
0.007111680030822754, | |
0.0071188478469848635, | |
0.007116799831390381, | |
0.007129024028778077, | |
0.007135231971740722, | |
0.007111680030822754, | |
0.007111680030822754, | |
0.007088064193725586, | |
0.007113728046417236, | |
0.007097343921661377, | |
0.007098368167877197, | |
0.007095295906066895, | |
0.007051199913024902, | |
0.007080959796905518, | |
0.007095295906066895, | |
0.007117824077606201, | |
0.007064576148986816, | |
0.007117824077606201, | |
0.0071649918556213376, | |
0.007128064155578613, | |
0.007314367771148682, | |
0.00714137601852417, | |
0.007170048236846924, | |
0.007130112171173096, | |
0.0071485438346862796, | |
0.007207935810089112, | |
0.007108607769012451, | |
0.007185376167297363, | |
0.007164927959442138, | |
0.007169023990631103, | |
0.007186431884765625, | |
0.007087103843688965, | |
0.007129087924957276, | |
0.007126016139984131, | |
0.007148608207702637, | |
0.007155712127685547, | |
0.007090176105499267, | |
0.007127039909362793, | |
0.007071743965148926, | |
0.0070860800743103025, | |
0.007057407855987549, | |
0.007079936027526855, | |
0.007072768211364746, | |
0.007077888011932373, | |
0.007084000110626221, | |
0.007060480117797851, | |
0.007513088226318359, | |
0.007076863765716553, | |
0.007072768211364746, | |
0.007070720195770264, | |
0.007049215793609619, | |
0.007068640232086182, | |
0.0070553598403930665, | |
0.007080959796905518, | |
0.007068672180175781, | |
0.007066624164581299, | |
0.007063551902770996, | |
0.00708403205871582, | |
0.007066624164581299, | |
0.007054336071014404, | |
0.0071157760620117185, | |
0.007074816226959229, | |
0.007070720195770264, | |
0.007063551902770996, | |
0.007080959796905518, | |
0.007067647933959961, | |
0.007071743965148926, | |
0.007109632015228271, | |
0.007069695949554444, | |
0.00708403205871582, | |
0.007076863765716553, | |
0.0071188478469848635, | |
0.007103487968444824, | |
0.0071495680809020995, | |
0.007124959945678711, | |
0.0070891518592834475, | |
0.007216127872467041, | |
0.007077888011932373, | |
0.007073791980743408, | |
0.007058432102203369, | |
0.007073791980743408, | |
0.007024640083312988, | |
0.007113759994506836, | |
0.007044095993041993, | |
0.007063551902770996, | |
0.007068672180175781, | |
0.007045119762420654, | |
0.007093247890472412, | |
0.007051199913024902, | |
0.007063551902770996, | |
0.0070563840866088865 | |
], | |
"count": 141, | |
"total": 1.0022509746551511, | |
"mean": 0.007108162940816676, | |
"p50": 0.007087103843688965, | |
"p90": 0.007158783912658692, | |
"p95": 0.007207935810089112, | |
"p99": 0.008017305564880369, | |
"stdev": 0.00018758530782417735, | |
"stdev_": 2.639012490091078 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.68332540012193 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.427916824139426e-08, | |
"ram": 4.5836894866261966e-08, | |
"gpu": 1.7597236300000074e-07, | |
"total": 3.0608842610765695e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3267029.7688690834 | |
} | |
} | |
} | |
} |