
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
664e4c3
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.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.304, | |
"max_global_vram": 716.701696, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.291740234375, | |
"mean": 8.291740234375, | |
"stdev": 0.0, | |
"p50": 8.291740234375, | |
"p90": 8.291740234375, | |
"p95": 8.291740234375, | |
"p99": 8.291740234375, | |
"values": [ | |
8.291740234375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.8193332305557756e-06, | |
"ram": 3.1703761667293215e-06, | |
"gpu": 8.1116731559999e-06, | |
"total": 1.7101382553284997e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1105.3056, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 1.0023677110671991, | |
"mean": 0.007263534138168114, | |
"stdev": 0.00019339868566441555, | |
"p50": 0.007243775844573974, | |
"p90": 0.007536230564117431, | |
"p95": 0.007623991870880127, | |
"p99": 0.007739433002471923, | |
"values": [ | |
0.00743833589553833, | |
0.007497727870941162, | |
0.00744652795791626, | |
0.007416831970214844, | |
0.007384064197540283, | |
0.007374847888946533, | |
0.007312384128570557, | |
0.007365632057189942, | |
0.0073400321006774905, | |
0.007293951988220215, | |
0.007316480159759522, | |
0.007305215835571289, | |
0.007294976234436036, | |
0.007311359882354736, | |
0.007277567863464355, | |
0.007231488227844239, | |
0.007237631797790528, | |
0.007265247821807861, | |
0.007250944137573242, | |
0.007260159969329834, | |
0.0073359360694885255, | |
0.007241727828979493, | |
0.007251967906951904, | |
0.007219200134277344, | |
0.007147520065307617, | |
0.007208960056304932, | |
0.007280640125274658, | |
0.007245823860168457, | |
0.007245823860168457, | |
0.007222271919250488, | |
0.007280640125274658, | |
0.007252992153167725, | |
0.007261184215545655, | |
0.007270400047302246, | |
0.007245823860168457, | |
0.007227392196655274, | |
0.007263232231140137, | |
0.007175168037414551, | |
0.007114751815795899, | |
0.007110655784606934, | |
0.007185408115386963, | |
0.007188479900360107, | |
0.0071905279159545895, | |
0.007201791763305664, | |
0.007176191806793213, | |
0.007162911891937256, | |
0.007293951988220215, | |
0.007360511779785156, | |
0.0073175039291381834, | |
0.007307231903076172, | |
0.007294976234436036, | |
0.007218175888061523, | |
0.007211040019989014, | |
0.007172095775604248, | |
0.007259136199951172, | |
0.0072499198913574215, | |
0.007194560050964355, | |
0.0072202239036560055, | |
0.007247871875762939, | |
0.007201791763305664, | |
0.007102464199066162, | |
0.007121888160705567, | |
0.007250944137573242, | |
0.007185408115386963, | |
0.007655424118041992, | |
0.007453695774078369, | |
0.007742464065551758, | |
0.008078335762023926, | |
0.007734272003173828, | |
0.007518208026885987, | |
0.007498752117156982, | |
0.0074291200637817386, | |
0.007482367992401123, | |
0.007590911865234375, | |
0.007654399871826172, | |
0.007730175971984863, | |
0.007605247974395752, | |
0.007592959880828858, | |
0.007525279998779297, | |
0.0074700798988342285, | |
0.007562240123748779, | |
0.007428095817565918, | |
0.007475200176239013, | |
0.007544832229614258, | |
0.007391232013702393, | |
0.007384064197540283, | |
0.007231488227844239, | |
0.007315455913543701, | |
0.007643167972564697, | |
0.007209983825683594, | |
0.007078911781311035, | |
0.007054336071014404, | |
0.0071198720932006835, | |
0.007354368209838867, | |
0.007457791805267334, | |
0.007414783954620361, | |
0.007532544136047363, | |
0.007577600002288819, | |
0.007620607852935791, | |
0.007252992153167725, | |
0.007081984043121338, | |
0.007153664112091064, | |
0.0070830078125, | |
0.007088064193725586, | |
0.007090144157409668, | |
0.007058432102203369, | |
0.0070891518592834475, | |
0.007105535984039306, | |
0.007110655784606934, | |
0.007077888011932373, | |
0.00703385591506958, | |
0.007077888011932373, | |
0.0070553598403930665, | |
0.007058432102203369, | |
0.0070256638526916505, | |
0.007061503887176514, | |
0.007079936027526855, | |
0.007030784130096435, | |
0.007022560119628906, | |
0.007038976192474365, | |
0.007070720195770264, | |
0.007064576148986816, | |
0.007054336071014404, | |
0.007038976192474365, | |
0.00709119987487793, | |
0.007080959796905518, | |
0.007023615837097168, | |
0.007020544052124023, | |
0.0070594558715820314, | |
0.007070720195770264, | |
0.007057407855987549, | |
0.007029759883880615, | |
0.007053311824798584, | |
0.007078911781311035, | |
0.007048192024230957, | |
0.007046144008636474, | |
0.0070553598403930665, | |
0.007050240039825439 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.67402768099373 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.160039055365257e-08, | |
"ram": 4.459320307484296e-08, | |
"gpu": 1.6750393917808265e-07, | |
"total": 2.9369753280657816e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3404863.4676770503 | |
} | |
} | |
} | |
} |