IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7ced3e2 verified
raw
history blame
11.7 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.224-212.876.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.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 866.824192,
"max_global_vram": 695.730176,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.27771875,
"mean": 8.27771875,
"stdev": 0.0,
"p50": 8.27771875,
"p90": 8.27771875,
"p95": 8.27771875,
"p99": 8.27771875,
"values": [
8.27771875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.820618961806506e-06,
"ram": 3.1698679941759453e-06,
"gpu": 7.806672912001253e-06,
"total": 1.6797159867983704e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1105.764352,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.9962588143348696,
"mean": 0.007325432458344628,
"stdev": 0.00022111329481310288,
"p50": 0.007262208223342895,
"p90": 0.007600144147872925,
"p95": 0.007647487878799438,
"p99": 0.008322662186622623,
"values": [
0.007686143875122071,
0.007670783996582031,
0.007606272220611572,
0.007625728130340576,
0.007642111778259277,
0.007614463806152344,
0.007574495792388916,
0.00729702377319336,
0.007263232231140137,
0.00722431993484497,
0.007247871875762939,
0.007314432144165039,
0.007269375801086426,
0.00719155216217041,
0.007172095775604248,
0.007225344181060791,
0.0072202239036560055,
0.0072468481063842774,
0.007256063938140869,
0.007312384128570557,
0.007311359882354736,
0.007251967906951904,
0.007178239822387696,
0.007211008071899414,
0.007266304016113281,
0.007305215835571289,
0.007318528175354004,
0.007286784172058106,
0.00729702377319336,
0.007284736156463623,
0.007209983825683594,
0.007241727828979493,
0.007261184215545655,
0.007308288097381592,
0.007296000003814697,
0.007161856174468994,
0.007143424034118652,
0.00714035177230835,
0.007224256038665771,
0.00724070405960083,
0.007177216053009033,
0.007234560012817383,
0.007275519847869873,
0.007237631797790528,
0.007285759925842285,
0.0073400321006774905,
0.007232480049133301,
0.007286784172058106,
0.007290880203247071,
0.007246816158294677,
0.007198719978332519,
0.007200767993927002,
0.007269375801086426,
0.007291903972625732,
0.007255040168762207,
0.007247871875762939,
0.007304192066192627,
0.007174143791198731,
0.007164927959442138,
0.007237631797790528,
0.007221248149871826,
0.00728985595703125,
0.007307231903076172,
0.007154655933380127,
0.007219200134277344,
0.007222271919250488,
0.007238656044006348,
0.007187456130981445,
0.007195648193359375,
0.007271423816680909,
0.007267327785491944,
0.007309311866760254,
0.007323647975921631,
0.007323616027832032,
0.007282688140869141,
0.007308351993560791,
0.007271488189697265,
0.0072765440940856935,
0.007301119804382325,
0.007138304233551026,
0.007444479942321777,
0.007571455955505371,
0.0074700798988342285,
0.008774656295776367,
0.00851046371459961,
0.0075304961204528805,
0.007501823902130127,
0.007196671962738037,
0.00714035177230835,
0.0071188478469848635,
0.0073994240760803225,
0.007425024032592774,
0.007478208065032959,
0.007541696071624756,
0.00760319995880127,
0.007663616180419922,
0.007470143795013428,
0.007277567863464355,
0.007237631797790528,
0.007206943988800049,
0.00797388792037964,
0.007536704063415527,
0.007328767776489258,
0.007252031803131103,
0.007190591812133789,
0.007066624164581299,
0.007110655784606934,
0.007185408115386963,
0.007174143791198731,
0.007164927959442138,
0.007189504146575928,
0.007222271919250488,
0.007284736156463623,
0.007227392196655274,
0.007713791847229004,
0.00725708818435669,
0.007611392021179199,
0.00727347183227539,
0.0075981121063232425,
0.0075632638931274416,
0.007258111953735351,
0.007252992153167725,
0.00723967981338501,
0.007171072006225586,
0.007269375801086426,
0.007602176189422607,
0.007263232231140137,
0.007252992153167725,
0.007220191955566406,
0.007221216201782226,
0.00722431993484497,
0.007230463981628418,
0.007233535766601563,
0.0072130560874938965,
0.007211008071899414,
0.007245823860168457
]
},
"throughput": {
"unit": "samples/s",
"value": 136.51071191856653
},
"energy": {
"unit": "kWh",
"cpu": 8.468171834323132e-08,
"ram": 4.627668975154103e-08,
"gpu": 1.6805965825715975e-07,
"total": 2.990180663519321e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3344279.535347676
}
}
}
}