IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c9c4e3d verified
raw
history blame
12 kB
{
"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.223-212.873.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 865.972224,
"max_global_vram": 688.390144,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.281369140625,
"mean": 8.281369140625,
"stdev": 0.0,
"p50": 8.281369140625,
"p90": 8.281369140625,
"p95": 8.281369140625,
"p99": 8.281369140625,
"values": [
8.281369140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.2919007027782485e-06,
"ram": 2.3364765503656818e-06,
"gpu": 6.433060702000092e-06,
"total": 1.3061437955144022e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1105.645568,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 142,
"total": 0.9993556795120238,
"mean": 0.007037716052901579,
"stdev": 0.0002149869652623255,
"p50": 0.007054847955703735,
"p90": 0.007183155298233032,
"p95": 0.007431782531738279,
"p99": 0.007820236711502076,
"values": [
0.007641088008880615,
0.007906303882598878,
0.007620607852935791,
0.007696383953094482,
0.007663616180419922,
0.007946208000183105,
0.007000063896179199,
0.007198719978332519,
0.007130112171173096,
0.007080927848815918,
0.0070860800743103025,
0.007107647895812988,
0.007166975975036621,
0.007207903861999512,
0.007106560230255127,
0.007030879974365235,
0.007096320152282715,
0.007287807941436767,
0.007069695949554444,
0.007070720195770264,
0.007102464199066162,
0.006985727787017822,
0.007019519805908203,
0.00695091199874878,
0.006985727787017822,
0.0069683837890625,
0.007044095993041993,
0.007030784130096435,
0.007163904190063477,
0.007002111911773682,
0.007024640083312988,
0.007057407855987549,
0.007063551902770996,
0.007029759883880615,
0.007061503887176514,
0.0071526398658752445,
0.007065567970275879,
0.007060480117797851,
0.007097343921661377,
0.007143295764923095,
0.0070553598403930665,
0.007073791980743408,
0.0070553598403930665,
0.0071320319175720214,
0.007486400127410889,
0.007128064155578613,
0.007041024208068848,
0.007039807796478272,
0.007023615837097168,
0.007165952205657959,
0.007095295906066895,
0.007020544052124023,
0.006980607986450196,
0.00692633581161499,
0.00688640022277832,
0.006929312229156494,
0.007017471790313721,
0.007004159927368164,
0.007039135932922364,
0.007063551902770996,
0.0070234560966491695,
0.007086143970489502,
0.00709939193725586,
0.007211008071899414,
0.007079936027526855,
0.00710041618347168,
0.007151616096496582,
0.00710041618347168,
0.007114751815795899,
0.00710969591140747,
0.007031807899475098,
0.006667263984680176,
0.006731776237487793,
0.006726655960083008,
0.006761472225189209,
0.0067983360290527345,
0.006709248065948486,
0.0067543678283691405,
0.006694911956787109,
0.006703135967254639,
0.006723648071289063,
0.006683648109436035,
0.006788095951080322,
0.006796288013458252,
0.006707200050354004,
0.006718463897705078,
0.006720448017120361,
0.006713344097137451,
0.006776832103729248,
0.0067870721817016606,
0.006765535831451416,
0.006793248176574707,
0.006784959793090821,
0.006743040084838867,
0.006712287902832031,
0.006704031944274902,
0.006711296081542969,
0.006687744140625,
0.0072130560874938965,
0.007078015804290771,
0.007087103843688965,
0.0070594558715820314,
0.007084991931915283,
0.007107583999633789,
0.00708403205871582,
0.007117824077606201,
0.007157760143280029,
0.007166975975036621,
0.007024640083312988,
0.007095295906066895,
0.007018496036529541,
0.006999040126800537,
0.007181312084197998,
0.00743936014175415,
0.007018496036529541,
0.006966271877288818,
0.007037983894348144,
0.00702348804473877,
0.007054336071014404,
0.007058432102203369,
0.0070553598403930665,
0.0071833600997924804,
0.006988671779632569,
0.006996992111206054,
0.007001088142395019,
0.00708403205871582,
0.007204864025115967,
0.007070720195770264,
0.007004159927368164,
0.007078911781311035,
0.007069695949554444,
0.007074816226959229,
0.007031744003295899,
0.007012351989746094,
0.0069845118522644046,
0.007085055828094483,
0.0070563840866088865,
0.007010303974151612,
0.007011424064636231,
0.006969344139099121,
0.0070594558715820314,
0.006986815929412842
]
},
"throughput": {
"unit": "samples/s",
"value": 142.09155249844304
},
"energy": {
"unit": "kWh",
"cpu": 7.889585651388868e-08,
"ram": 4.31381868358388e-08,
"gpu": 1.649223541599996e-07,
"total": 2.8695639750972704e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3484849.9935120028
}
}
}
}