
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
57c23fe
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", | |
"model": "timm/resnet50.a1_in1k", | |
"library": "timm", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 951.074816, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 178, | |
"total": 0.9985461096763611, | |
"mean": 0.0056098096049233765, | |
"stdev": 0.00022060374583268984, | |
"p50": 0.005669375896453857, | |
"p90": 0.005848985624313355, | |
"p95": 0.005906964683532715, | |
"p99": 0.006061609010696409, | |
"values": [ | |
0.005985280036926269, | |
0.005852159976959229, | |
0.005906335830688477, | |
0.0059658241271972655, | |
0.005962751865386963, | |
0.0058787841796875, | |
0.005860352039337159, | |
0.0057630081176757815, | |
0.00582144021987915, | |
0.005820320129394531, | |
0.005847072124481201, | |
0.005728256225585937, | |
0.0057907838821411135, | |
0.005670911788940429, | |
0.005742591857910156, | |
0.005986303806304932, | |
0.005727231979370117, | |
0.005671967983245849, | |
0.005632959842681885, | |
0.005653503894805908, | |
0.005672959804534912, | |
0.005746592044830323, | |
0.005789696216583252, | |
0.005827583789825439, | |
0.005684224128723145, | |
0.0057825279235839844, | |
0.005764095783233642, | |
0.006014976024627685, | |
0.0057487359046936035, | |
0.005716991901397705, | |
0.0058388481140136715, | |
0.005745664119720459, | |
0.005795839786529541, | |
0.00572108793258667, | |
0.005807104110717773, | |
0.005829631805419922, | |
0.005753856182098388, | |
0.005716991901397705, | |
0.005723135948181152, | |
0.005827583789825439, | |
0.005773312091827393, | |
0.005851136207580566, | |
0.0058091521263122555, | |
0.005587967872619629, | |
0.005571584224700928, | |
0.005598015785217285, | |
0.005596096038818359, | |
0.005743616104125977, | |
0.005697535991668701, | |
0.005658624172210694, | |
0.0058009600639343266, | |
0.005458975791931152, | |
0.005502975940704345, | |
0.005767168045043946, | |
0.005793791770935058, | |
0.005910528182983398, | |
0.00586956787109375, | |
0.005982207775115967, | |
0.005808127880096436, | |
0.0058787841796875, | |
0.005732351779937744, | |
0.005657599925994873, | |
0.005810175895690918, | |
0.005848063945770264, | |
0.005817344188690185, | |
0.005735424041748047, | |
0.005760000228881836, | |
0.005751808166503906, | |
0.005718016147613526, | |
0.005635072231292724, | |
0.005805056095123291, | |
0.005710847854614258, | |
0.0056934719085693355, | |
0.005793791770935058, | |
0.005822559833526611, | |
0.005698560237884521, | |
0.005596159934997558, | |
0.005641215801239013, | |
0.00573747205734253, | |
0.00576204776763916, | |
0.005667840003967285, | |
0.005746687889099121, | |
0.005703680038452149, | |
0.005670911788940429, | |
0.005716991901397705, | |
0.005720064163208007, | |
0.005895167827606201, | |
0.00586240005493164, | |
0.005791744232177734, | |
0.005775360107421875, | |
0.00581324815750122, | |
0.0057794561386108395, | |
0.005848063945770264, | |
0.005835775852203369, | |
0.005744639873504639, | |
0.0057497601509094234, | |
0.005777408123016357, | |
0.00562063980102539, | |
0.0055285758972167965, | |
0.0055214080810546875, | |
0.005495744228363037, | |
0.005497856140136719, | |
0.005681151866912842, | |
0.0055797758102417, | |
0.005413887977600097, | |
0.005399551868438721, | |
0.005326943874359131, | |
0.005513216018676758, | |
0.005500927925109863, | |
0.0054609918594360355, | |
0.005584864139556884, | |
0.005566431999206543, | |
0.00567193603515625, | |
0.005618720054626465, | |
0.005627903938293457, | |
0.005698560237884521, | |
0.00577023983001709, | |
0.006339583873748779, | |
0.006217728137969971, | |
0.005418975830078125, | |
0.005347455978393555, | |
0.005297279834747314, | |
0.005425151824951172, | |
0.005318655967712403, | |
0.005292031764984131, | |
0.0053944320678710935, | |
0.005338111877441406, | |
0.005372928142547607, | |
0.005355519771575928, | |
0.005339136123657226, | |
0.005365695953369141, | |
0.005356544017791748, | |
0.005332992076873779, | |
0.005325823783874512, | |
0.00531660795211792, | |
0.005342207908630371, | |
0.005354496002197265, | |
0.005295199871063232, | |
0.00531763219833374, | |
0.0053606400489807126, | |
0.0053340158462524415, | |
0.00531763219833374, | |
0.005406720161437988, | |
0.005608448028564453, | |
0.005350399971008301, | |
0.005372928142547607, | |
0.005327871799468994, | |
0.005288896083831787, | |
0.005339136123657226, | |
0.005255167961120606, | |
0.005332992076873779, | |
0.005389311790466309, | |
0.005355519771575928, | |
0.005338111877441406, | |
0.005314559936523438, | |
0.005264383792877197, | |
0.005280767917633057, | |
0.005379072189331055, | |
0.0053422398567199705, | |
0.005336063861846924, | |
0.0053821439743042, | |
0.005331967830657959, | |
0.0053534722328186036, | |
0.005375999927520752, | |
0.005338111877441406, | |
0.005350399971008301, | |
0.005341087818145752, | |
0.0053350400924682614, | |
0.0053606400489807126, | |
0.005368832111358642, | |
0.00535756778717041, | |
0.0053534722328186036, | |
0.005461056232452393, | |
0.005338111877441406, | |
0.00536678409576416, | |
0.005356544017791748, | |
0.005319680213928223, | |
0.005354464054107666 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 178.25916928131804 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.283473295719746e-08, | |
"ram": 3.435486656627969e-08, | |
"gpu": 1.2593337529100556e-07, | |
"total": 2.231229748144827e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4481833.396276011 | |
} | |
} | |
} | |
} |