
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
02a6665
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 949.39136, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 184, | |
"total": 0.9952434883117676, | |
"mean": 0.0054089320016943885, | |
"stdev": 0.00016287170236563975, | |
"p50": 0.00538368010520935, | |
"p90": 0.005465497732162475, | |
"p95": 0.005834622359275818, | |
"p99": 0.0060776139068603515, | |
"values": [ | |
0.006078464031219482, | |
0.005921792030334472, | |
0.0059054079055786135, | |
0.006060031890869141, | |
0.005874688148498535, | |
0.006014976024627685, | |
0.005839839935302734, | |
0.0059361281394958495, | |
0.006145023822784424, | |
0.00530944013595581, | |
0.0051036162376403805, | |
0.005105696201324463, | |
0.005100543975830078, | |
0.005192704200744629, | |
0.005124095916748047, | |
0.0050360321998596195, | |
0.005058656215667725, | |
0.005039103984832764, | |
0.005327871799468994, | |
0.005313536167144775, | |
0.005450751781463623, | |
0.00536678409576416, | |
0.005405695915222168, | |
0.005375999927520752, | |
0.005406720161437988, | |
0.0054579200744628905, | |
0.005411839962005615, | |
0.005439487934112549, | |
0.005434368133544922, | |
0.005651487827301026, | |
0.0053944320678710935, | |
0.00541593599319458, | |
0.00536575984954834, | |
0.005419007778167725, | |
0.005375999927520752, | |
0.00536678409576416, | |
0.005422080039978027, | |
0.005365791797637939, | |
0.0053606400489807126, | |
0.005436416149139404, | |
0.0053821439743042, | |
0.005412864208221436, | |
0.00541593599319458, | |
0.005380127906799316, | |
0.005377024173736572, | |
0.005429247856140137, | |
0.005313536167144775, | |
0.005281792163848877, | |
0.005371903896331787, | |
0.005322751998901368, | |
0.005399551868438721, | |
0.005375999927520752, | |
0.0053534722328186036, | |
0.005372928142547607, | |
0.005401599884033203, | |
0.0054282240867614745, | |
0.0054579200744628905, | |
0.005306367874145508, | |
0.005323775768280029, | |
0.005368896007537842, | |
0.0052971520423889164, | |
0.005318655967712403, | |
0.0053534722328186036, | |
0.005314559936523438, | |
0.005302271842956543, | |
0.005340159893035889, | |
0.005298175811767578, | |
0.005345280170440674, | |
0.005448703765869141, | |
0.005307392120361328, | |
0.0052971520423889164, | |
0.005338111877441406, | |
0.005350399971008301, | |
0.005379072189331055, | |
0.005389311790466309, | |
0.005351359844207764, | |
0.005380095958709717, | |
0.005401599884033203, | |
0.005372928142547607, | |
0.005406720161437988, | |
0.0053821439743042, | |
0.005359615802764893, | |
0.0053944320678710935, | |
0.005361663818359375, | |
0.005349376201629639, | |
0.005410816192626953, | |
0.005375999927520752, | |
0.005543935775756836, | |
0.005447679996490478, | |
0.005379072189331055, | |
0.005390336036682129, | |
0.005438464164733887, | |
0.005382207870483399, | |
0.005409791946411133, | |
0.005464064121246338, | |
0.005426176071166992, | |
0.005492735862731934, | |
0.005355519771575928, | |
0.005355519771575928, | |
0.005388319969177246, | |
0.00536678409576416, | |
0.005569536209106446, | |
0.005445631980895996, | |
0.005388288021087646, | |
0.0053975038528442385, | |
0.005370880126953125, | |
0.00535859203338623, | |
0.005401599884033203, | |
0.005407743930816651, | |
0.005375967979431152, | |
0.005411839962005615, | |
0.005433343887329102, | |
0.005338111877441406, | |
0.0053975038528442385, | |
0.00535859203338623, | |
0.005384191989898681, | |
0.005405695915222168, | |
0.005340159893035889, | |
0.005368832111358642, | |
0.0053944320678710935, | |
0.005352447986602784, | |
0.005384191989898681, | |
0.00536575984954834, | |
0.0053534722328186036, | |
0.005805056095123291, | |
0.005455872058868408, | |
0.005432320117950439, | |
0.00546611213684082, | |
0.005390336036682129, | |
0.005420032024383545, | |
0.005480447769165039, | |
0.005399551868438721, | |
0.005486591815948487, | |
0.005426176071166992, | |
0.005425151824951172, | |
0.005493760108947754, | |
0.005408768177032471, | |
0.005419040203094482, | |
0.005464064121246338, | |
0.0054159040451049805, | |
0.005359615802764893, | |
0.005377024173736572, | |
0.00538316822052002, | |
0.005395455837249756, | |
0.005387263774871826, | |
0.0053678078651428224, | |
0.005371903896331787, | |
0.005313536167144775, | |
0.005412864208221436, | |
0.005432320117950439, | |
0.00535859203338623, | |
0.005390336036682129, | |
0.005408768177032471, | |
0.005393407821655274, | |
0.005370880126953125, | |
0.005405695915222168, | |
0.0053606400489807126, | |
0.00536678409576416, | |
0.005370880126953125, | |
0.005345280170440674, | |
0.005384191989898681, | |
0.005385216236114502, | |
0.005359615802764893, | |
0.006077439785003662, | |
0.005345280170440674, | |
0.005326848030090332, | |
0.00535756778717041, | |
0.0053125758171081545, | |
0.005355552196502685, | |
0.005405695915222168, | |
0.005352447986602784, | |
0.005401599884033203, | |
0.005392384052276611, | |
0.0053637118339538575, | |
0.005386240005493164, | |
0.005369855880737305, | |
0.005395455837249756, | |
0.0054026880264282226, | |
0.005396543979644775, | |
0.005352447986602784, | |
0.005396480083465576, | |
0.005339136123657226, | |
0.005312511920928955, | |
0.005351424217224121 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 184.87938093633687 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.366392670993737e-08, | |
"ram": 3.480598236438386e-08, | |
"gpu": 1.3708045613978544e-07, | |
"total": 2.3555036521410668e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4245376.5634837225 | |
} | |
} | |
} | |
} |