
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
057f564
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": "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", | |
"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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 952.172544, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 180, | |
"total": 0.9967301125526421, | |
"mean": 0.00553738951418135, | |
"stdev": 0.0003778096302840628, | |
"p50": 0.005437440156936646, | |
"p90": 0.005879500722885132, | |
"p95": 0.005916825819015503, | |
"p99": 0.00752602605342865, | |
"values": [ | |
0.007960576057434082, | |
0.007559167861938477, | |
0.007517216205596924, | |
0.007035903930664063, | |
0.005637119770050049, | |
0.0056442880630493165, | |
0.005603328227996827, | |
0.005618688106536865, | |
0.005496831893920898, | |
0.005462016105651855, | |
0.005513247966766358, | |
0.005496831893920898, | |
0.0054609918594360355, | |
0.00532480001449585, | |
0.00530841588973999, | |
0.005372928142547607, | |
0.0054271998405456545, | |
0.005470208168029785, | |
0.005596159934997558, | |
0.005508096218109131, | |
0.00552345609664917, | |
0.005442560195922852, | |
0.005422080039978027, | |
0.005436416149139404, | |
0.005557248115539551, | |
0.005512191772460938, | |
0.005545983791351319, | |
0.0055214080810546875, | |
0.00550707197189331, | |
0.005465087890625, | |
0.005453824043273926, | |
0.00555622386932373, | |
0.005512224197387695, | |
0.005485568046569824, | |
0.005339136123657226, | |
0.0053534722328186036, | |
0.005594111919403076, | |
0.0057784318923950195, | |
0.005696512222290039, | |
0.005752831935882568, | |
0.005786623954772949, | |
0.005787648200988769, | |
0.005916672229766846, | |
0.005933055877685547, | |
0.00587775993347168, | |
0.005915647983551026, | |
0.005815296173095703, | |
0.005792768001556397, | |
0.00582144021987915, | |
0.005950463771820068, | |
0.005826560020446778, | |
0.005831679821014404, | |
0.00582144021987915, | |
0.005983232021331787, | |
0.005901311874389649, | |
0.005790719985961914, | |
0.005777408123016357, | |
0.005895167827606201, | |
0.005795839786529541, | |
0.005739520072937012, | |
0.005789696216583252, | |
0.005835775852203369, | |
0.005767199993133545, | |
0.005792768001556397, | |
0.005801983833312988, | |
0.005849088191986084, | |
0.005942272186279297, | |
0.005907455921173096, | |
0.005903359889984131, | |
0.005912576198577881, | |
0.005898240089416504, | |
0.005850111961364746, | |
0.005811200141906738, | |
0.0057190399169921875, | |
0.0058419198989868165, | |
0.005742591857910156, | |
0.005706751823425293, | |
0.005624832153320313, | |
0.005438464164733887, | |
0.005573631763458252, | |
0.005727231979370117, | |
0.005577727794647217, | |
0.005536767959594726, | |
0.005895167827606201, | |
0.005430272102355957, | |
0.005433343887329102, | |
0.0053975038528442385, | |
0.0055101442337036136, | |
0.005738495826721191, | |
0.005518335819244385, | |
0.005609536170959472, | |
0.005635039806365967, | |
0.005846015930175781, | |
0.005641215801239013, | |
0.0053975038528442385, | |
0.005310463905334473, | |
0.0053103680610656736, | |
0.005319680213928223, | |
0.005279744148254394, | |
0.005302271842956543, | |
0.005304351806640625, | |
0.005320703983306885, | |
0.005291007995605469, | |
0.005298240184783936, | |
0.005284863948822022, | |
0.005279744148254394, | |
0.00535859203338623, | |
0.005269504070281982, | |
0.005279744148254394, | |
0.005259263992309571, | |
0.005265408039093018, | |
0.005252096176147461, | |
0.005224448204040527, | |
0.0052705278396606445, | |
0.0052705278396606445, | |
0.0052674560546875, | |
0.005259263992309571, | |
0.005252128124237061, | |
0.005269504070281982, | |
0.005265408039093018, | |
0.0052705278396606445, | |
0.0052285118103027346, | |
0.0053350400924682614, | |
0.005296127796173096, | |
0.005570559978485107, | |
0.005331967830657959, | |
0.0054026880264282226, | |
0.0052971520423889164, | |
0.005319680213928223, | |
0.005288959980010987, | |
0.005242879867553711, | |
0.005294079780578613, | |
0.005262335777282715, | |
0.005259263992309571, | |
0.005454847812652588, | |
0.005287936210632324, | |
0.005235712051391602, | |
0.005272575855255127, | |
0.0053012480735778805, | |
0.005265408039093018, | |
0.005285888195037842, | |
0.005250048160552978, | |
0.005252096176147461, | |
0.005272575855255127, | |
0.005322751998901368, | |
0.005274623870849609, | |
0.005306367874145508, | |
0.005281792163848877, | |
0.005254111766815186, | |
0.005261312007904053, | |
0.005257215976715088, | |
0.005261312007904053, | |
0.005274623870849609, | |
0.005615615844726562, | |
0.005368832111358642, | |
0.005432320117950439, | |
0.005642240047454834, | |
0.00591974401473999, | |
0.005582848072052002, | |
0.005325823783874512, | |
0.005339136123657226, | |
0.00553984022140503, | |
0.0053647360801696775, | |
0.005314559936523438, | |
0.005281792163848877, | |
0.005285888195037842, | |
0.00531660795211792, | |
0.005303296089172363, | |
0.005236800193786621, | |
0.0053002238273620605, | |
0.005252096176147461, | |
0.005231616020202637, | |
0.005265408039093018, | |
0.005286911964416504, | |
0.005254144191741943, | |
0.005312511920928955, | |
0.005257215976715088, | |
0.005253119945526123, | |
0.005279744148254394, | |
0.005296127796173096 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 180.59051064386617 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.114537875676892e-08, | |
"ram": 3.3429940254987896e-08, | |
"gpu": 1.2998149001030864e-07, | |
"total": 2.2455680902206546e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4453216.11201617 | |
} | |
} | |
} | |
} |