
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
0748c5a
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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-211.872.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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 853.64736, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.65905224609375, | |
"mean": 7.65905224609375, | |
"stdev": 0.0, | |
"p50": 7.65905224609375, | |
"p90": 7.65905224609375, | |
"p95": 7.65905224609375, | |
"p99": 7.65905224609375, | |
"values": [ | |
7.65905224609375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.341521684027683e-06, | |
"ram": 2.340291555337955e-06, | |
"gpu": 4.93167061199997e-06, | |
"total": 1.1613483851365609e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1093.07904, | |
"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.9983159689903256, | |
"mean": 0.0070303941478191976, | |
"stdev": 0.0003726064512424739, | |
"p50": 0.006999552011489868, | |
"p90": 0.007319142341613769, | |
"p95": 0.007420364809036255, | |
"p99": 0.008581881031990058, | |
"values": [ | |
0.009663488388061523, | |
0.009313216209411621, | |
0.007529471874237061, | |
0.00742195177078247, | |
0.007420928001403809, | |
0.007420928001403809, | |
0.007422976016998291, | |
0.007234560012817383, | |
0.007050240039825439, | |
0.007039999961853028, | |
0.007072768211364746, | |
0.006980607986450196, | |
0.007027711868286133, | |
0.007258111953735351, | |
0.007172095775604248, | |
0.007128064155578613, | |
0.007409664154052734, | |
0.007391232013702393, | |
0.007319551944732666, | |
0.007206912040710449, | |
0.007163904190063477, | |
0.007314432144165039, | |
0.007315455913543701, | |
0.007300064086914062, | |
0.007319551944732666, | |
0.007278592109680176, | |
0.007278592109680176, | |
0.007245823860168457, | |
0.007287807941436767, | |
0.007270400047302246, | |
0.007097343921661377, | |
0.0069550080299377445, | |
0.006944767951965332, | |
0.006940671920776367, | |
0.006923264026641846, | |
0.006966271877288818, | |
0.007015423774719238, | |
0.007012351989746094, | |
0.006971392154693603, | |
0.0070266880989074704, | |
0.007124991893768311, | |
0.007145472049713135, | |
0.007156735897064209, | |
0.007085055828094483, | |
0.007065599918365479, | |
0.007001088142395019, | |
0.0070553598403930665, | |
0.007104576110839844, | |
0.007085055828094483, | |
0.007057407855987549, | |
0.007078911781311035, | |
0.007071743965148926, | |
0.006913023948669434, | |
0.007010240077972412, | |
0.007051263809204102, | |
0.007020544052124023, | |
0.007126048088073731, | |
0.006949888229370117, | |
0.00699180793762207, | |
0.00738918399810791, | |
0.007225344181060791, | |
0.007088128089904785, | |
0.007310336112976074, | |
0.007368703842163086, | |
0.007304192066192627, | |
0.007370751857757568, | |
0.007137279987335205, | |
0.0070830078125, | |
0.007133152008056641, | |
0.007107583999633789, | |
0.007062528133392334, | |
0.007061503887176514, | |
0.006972479820251465, | |
0.006980607986450196, | |
0.007037951946258545, | |
0.006914015769958496, | |
0.007069695949554444, | |
0.006849535942077637, | |
0.006810624122619629, | |
0.006941696166992187, | |
0.0068884482383728025, | |
0.006692863941192627, | |
0.0066416640281677245, | |
0.006651904106140137, | |
0.0067123198509216305, | |
0.006743040084838867, | |
0.006915071964263916, | |
0.007234560012817383, | |
0.007228415966033935, | |
0.007278592109680176, | |
0.007432191848754883, | |
0.007122943878173828, | |
0.007101439952850342, | |
0.007079936027526855, | |
0.006919167995452881, | |
0.006876160144805908, | |
0.00688640022277832, | |
0.006906879901885986, | |
0.0068884482383728025, | |
0.006879199981689453, | |
0.006874176025390625, | |
0.006863872051239014, | |
0.006870016098022461, | |
0.00684441614151001, | |
0.006876160144805908, | |
0.0068986878395080565, | |
0.006811647891998291, | |
0.0068577280044555666, | |
0.00690176010131836, | |
0.006852575778961182, | |
0.006860799789428711, | |
0.006825984001159668, | |
0.006790143966674805, | |
0.006754303932189941, | |
0.0066304001808166506, | |
0.006660096168518067, | |
0.006628352165222168, | |
0.0066344962120056155, | |
0.006649856090545654, | |
0.006603775978088379, | |
0.006636544227600098, | |
0.00667852783203125, | |
0.0067123198509216305, | |
0.006636544227600098, | |
0.006654975891113281, | |
0.006650879859924317, | |
0.006645760059356689, | |
0.006642687797546387, | |
0.006654975891113281, | |
0.006636544227600098, | |
0.006650879859924317, | |
0.006636576175689697, | |
0.006758399963378906, | |
0.006636544227600098, | |
0.006631423950195312, | |
0.006867968082427979, | |
0.006998015880584717, | |
0.00688640022277832, | |
0.006870016098022461, | |
0.00688643217086792, | |
0.006875135898590088, | |
0.006874112129211426 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.23953578907043 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.172014554597399e-08, | |
"ram": 4.4680691889831437e-08, | |
"gpu": 1.7497140434482647e-07, | |
"total": 3.013722417806319e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3318155.6273782426 | |
} | |
} | |
} | |
} |