
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
822e42e
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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.1", | |
"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.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 869.429248, | |
"max_global_vram": 716.701696, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.3598837890625 | |
], | |
"count": 1, | |
"total": 0.3598837890625, | |
"mean": 0.3598837890625, | |
"p50": 0.3598837890625, | |
"p90": 0.3598837890625, | |
"p95": 0.3598837890625, | |
"p99": 0.3598837890625, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1110.052864, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 122.937344 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007633920192718506, | |
0.007616511821746826, | |
0.008238080024719239, | |
0.008604672431945801, | |
0.00743833589553833, | |
0.0070830078125, | |
0.007020544052124023, | |
0.007081984043121338, | |
0.007058432102203369, | |
0.00709939193725586, | |
0.0072120318412780765, | |
0.007057407855987549, | |
0.007005184173583984, | |
0.007090176105499267, | |
0.007057439804077148, | |
0.0070522880554199216, | |
0.0070481600761413575, | |
0.0073400321006774905, | |
0.00704204797744751, | |
0.007003136157989502, | |
0.007065599918365479, | |
0.007047167778015137, | |
0.0070225920677185055, | |
0.0070225920677185055, | |
0.007007232189178467, | |
0.00724070405960083, | |
0.00698367977142334, | |
0.0069847040176391605, | |
0.006970367908477783, | |
0.007013376235961914, | |
0.007097343921661377, | |
0.007053311824798584, | |
0.007062560081481934, | |
0.007007232189178467, | |
0.007047167778015137, | |
0.007053311824798584, | |
0.006988800048828125, | |
0.006966271877288818, | |
0.0069918718338012695, | |
0.0069959678649902345, | |
0.007037951946258545, | |
0.007053311824798584, | |
0.007001088142395019, | |
0.006988800048828125, | |
0.007000063896179199, | |
0.007017471790313721, | |
0.007064576148986816, | |
0.007013376235961914, | |
0.006994944095611572, | |
0.006994944095611572, | |
0.00703385591506958, | |
0.006998015880584717, | |
0.007039999961853028, | |
0.006994944095611572, | |
0.007009280204772949, | |
0.0070553598403930665, | |
0.007057407855987549, | |
0.007003136157989502, | |
0.007005184173583984, | |
0.007004159927368164, | |
0.007017471790313721, | |
0.007020544052124023, | |
0.007014400005340577, | |
0.007005184173583984, | |
0.007007232189178467, | |
0.007045119762420654, | |
0.007064576148986816, | |
0.007005184173583984, | |
0.006969344139099121, | |
0.007046144008636474, | |
0.007005184173583984, | |
0.006990880012512207, | |
0.0071485438346862796, | |
0.007038976192474365, | |
0.007118783950805664, | |
0.007060448169708252, | |
0.007019519805908203, | |
0.007058432102203369, | |
0.00704307222366333, | |
0.007293951988220215, | |
0.00704307222366333, | |
0.006986752033233643, | |
0.007054336071014404, | |
0.006985727787017822, | |
0.007029759883880615, | |
0.007061503887176514, | |
0.007064576148986816, | |
0.007198719978332519, | |
0.007070720195770264, | |
0.006996992111206054, | |
0.007048192024230957, | |
0.007063551902770996, | |
0.007028736114501953, | |
0.006967296123504638, | |
0.006975488185882568, | |
0.007031807899475098, | |
0.006972415924072266, | |
0.006952960014343262, | |
0.006999040126800537, | |
0.007027711868286133, | |
0.007010303974151612, | |
0.006980607986450196, | |
0.006952000141143799, | |
0.007031807899475098, | |
0.006982656002044678, | |
0.007081984043121338, | |
0.006973440170288086, | |
0.006993919849395752, | |
0.007009280204772949, | |
0.006977536201477051, | |
0.007020544052124023, | |
0.007060480117797851, | |
0.00708403205871582, | |
0.006958047866821289, | |
0.006948863983154297, | |
0.007006207942962647, | |
0.007029759883880615, | |
0.007071743965148926, | |
0.007002048015594483, | |
0.007074816226959229, | |
0.006977536201477051, | |
0.007000063896179199, | |
0.006974463939666748, | |
0.0069959678649902345, | |
0.007088128089904785, | |
0.007079936027526855, | |
0.006994944095611572, | |
0.007080959796905518, | |
0.007070720195770264, | |
0.007076863765716553, | |
0.006999040126800537, | |
0.007001088142395019, | |
0.0070348801612854, | |
0.006998015880584717, | |
0.007112703800201416, | |
0.007020544052124023, | |
0.006980607986450196, | |
0.007016448020935059, | |
0.007050240039825439, | |
0.00698367977142334, | |
0.006970367908477783, | |
0.007072768211364746 | |
], | |
"count": 142, | |
"total": 1.0031349139213563, | |
"mean": 0.00706433037972786, | |
"p50": 0.0070225920677185055, | |
"p90": 0.007096627140045167, | |
"p95": 0.007239270448684692, | |
"p99": 0.007990374493598941, | |
"stdev": 0.00018995933355903734, | |
"stdev_": 2.6889927756515144 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.55623339328068 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.309249160352327e-08, | |
"ram": 4.534585535621597e-08, | |
"gpu": 1.7149974869930416e-07, | |
"total": 2.999380956590434e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3334021.3013046416 | |
} | |
} | |
} | |
} |