
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8366bfb
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.704704, | |
"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.52848974609375, | |
"mean": 7.52848974609375, | |
"stdev": 0.0, | |
"p50": 7.52848974609375, | |
"p90": 7.52848974609375, | |
"p95": 7.52848974609375, | |
"p99": 7.52848974609375, | |
"values": [ | |
7.52848974609375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.299066795243158e-06, | |
"ram": 2.340530552792567e-06, | |
"gpu": 6.641394201999107e-06, | |
"total": 1.3280991550034833e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.596992, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 0.9991720938682551, | |
"mean": 0.006661147292455037, | |
"stdev": 0.00022045156666351722, | |
"p50": 0.006714879989624023, | |
"p90": 0.006932787084579468, | |
"p95": 0.006977587270736694, | |
"p99": 0.007369251499176025, | |
"values": [ | |
0.007039999961853028, | |
0.006954016208648682, | |
0.006971392154693603, | |
0.006982656002044678, | |
0.006962111949920654, | |
0.0068986878395080565, | |
0.006892543792724609, | |
0.007314400196075439, | |
0.006511616230010986, | |
0.006376448154449463, | |
0.006403071880340576, | |
0.006385632038116455, | |
0.006401055812835693, | |
0.006396959781646729, | |
0.006377471923828125, | |
0.006400000095367431, | |
0.006428671836853027, | |
0.006388735771179199, | |
0.006433792114257812, | |
0.006351871967315674, | |
0.006405119895935059, | |
0.0063610877990722655, | |
0.006370304107666015, | |
0.006394879817962646, | |
0.006351871967315674, | |
0.006415359973907471, | |
0.006379519939422608, | |
0.006384640216827392, | |
0.006385663986206055, | |
0.00633241605758667, | |
0.006427648067474365, | |
0.006376448154449463, | |
0.006384640216827392, | |
0.0063907837867736815, | |
0.0064245758056640625, | |
0.00643884801864624, | |
0.006371327877044678, | |
0.006466559886932373, | |
0.006436863899230957, | |
0.006359039783477783, | |
0.006378496170043945, | |
0.006362112045288086, | |
0.006432703971862793, | |
0.00632422399520874, | |
0.006340608119964599, | |
0.006418432235717773, | |
0.006409215927124024, | |
0.006371327877044678, | |
0.006406144142150879, | |
0.006354944229125976, | |
0.006379519939422608, | |
0.006388735771179199, | |
0.006364160060882569, | |
0.006387712001800537, | |
0.0063836159706115725, | |
0.006799359798431396, | |
0.00672870397567749, | |
0.006690815925598144, | |
0.006724607944488525, | |
0.0067358717918396, | |
0.006715392112731934, | |
0.006716415882110595, | |
0.006730815887451172, | |
0.006737919807434082, | |
0.006714367866516113, | |
0.006731776237487793, | |
0.006732800006866455, | |
0.00667852783203125, | |
0.006739967823028564, | |
0.0067338237762451176, | |
0.006690815925598144, | |
0.006723584175109864, | |
0.007155776023864746, | |
0.00742195177078247, | |
0.007513088226318359, | |
0.006859807968139648, | |
0.006806528091430664, | |
0.006811647891998291, | |
0.006725632190704346, | |
0.006755328178405762, | |
0.006761472225189209, | |
0.006709248065948486, | |
0.006719488143920899, | |
0.006719488143920899, | |
0.00672870397567749, | |
0.006686719894409179, | |
0.006749184131622315, | |
0.006710271835327148, | |
0.0066744318008422855, | |
0.006732800006866455, | |
0.006740992069244385, | |
0.006700032234191895, | |
0.006756351947784424, | |
0.0067358717918396, | |
0.00672051191329956, | |
0.007021567821502686, | |
0.006737919807434082, | |
0.006706175804138184, | |
0.006957056045532227, | |
0.0069632000923156735, | |
0.007013343811035157, | |
0.006919167995452881, | |
0.00693555212020874, | |
0.006947840213775635, | |
0.0069324798583984375, | |
0.0067338237762451176, | |
0.00677785587310791, | |
0.00679423999786377, | |
0.006831103801727295, | |
0.006770688056945801, | |
0.0068055038452148435, | |
0.006754303932189941, | |
0.006709248065948486, | |
0.00673686408996582, | |
0.006734879970550537, | |
0.006721536159515381, | |
0.006716415882110595, | |
0.00674508810043335, | |
0.0067276802062988285, | |
0.006723584175109864, | |
0.006724607944488525, | |
0.006724607944488525, | |
0.006706175804138184, | |
0.006759424209594727, | |
0.0067358717918396, | |
0.006688767910003662, | |
0.0067420158386230465, | |
0.0067276802062988285, | |
0.006713344097137451, | |
0.006713344097137451, | |
0.006725632190704346, | |
0.0067010560035705566, | |
0.00672870397567749, | |
0.006718463897705078, | |
0.0067133760452270505, | |
0.0066406397819519045, | |
0.006661151885986328, | |
0.0066078720092773435, | |
0.006619135856628418, | |
0.006652927875518798, | |
0.006650879859924317, | |
0.006713344097137451, | |
0.006755328178405762, | |
0.006722559928894043, | |
0.00669593620300293, | |
0.006708223819732666, | |
0.00670307207107544, | |
0.006683648109436035, | |
0.006716415882110595, | |
0.006749184131622315 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.12428881923722 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.566486743014499e-08, | |
"ram": 4.136952043205019e-08, | |
"gpu": 1.663713291337673e-07, | |
"total": 2.8340571699596245e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3528510.3299953775 | |
} | |
} | |
} | |
} |