
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8394431
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.197696, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 187, | |
"total": 1.000021599769592, | |
"mean": 0.005347709089676964, | |
"stdev": 0.00018694058945395824, | |
"p50": 0.005312511920928955, | |
"p90": 0.005634048080444337, | |
"p95": 0.005827833557128906, | |
"p99": 0.005997670497894287, | |
"values": [ | |
0.0059955201148986816, | |
0.005697504043579101, | |
0.005854207992553711, | |
0.005816319942474365, | |
0.005805024147033691, | |
0.005832767963409423, | |
0.005898240089416504, | |
0.00588595199584961, | |
0.005853184223175049, | |
0.005867519855499268, | |
0.005783520221710205, | |
0.005748799800872803, | |
0.00576204776763916, | |
0.00601087999343872, | |
0.005141503810882568, | |
0.005044223785400391, | |
0.005078015804290771, | |
0.005025792121887207, | |
0.005009471893310547, | |
0.005066751956939697, | |
0.005142528057098389, | |
0.00501043176651001, | |
0.005221375942230225, | |
0.005025792121887207, | |
0.005071872234344482, | |
0.005378047943115235, | |
0.005471231937408447, | |
0.0053441920280456546, | |
0.005418111801147461, | |
0.005265279769897461, | |
0.005344255924224854, | |
0.005337088108062744, | |
0.0052971520423889164, | |
0.005292096138000488, | |
0.005421055793762207, | |
0.005316512107849121, | |
0.00521727991104126, | |
0.0051363840103149415, | |
0.005231616020202637, | |
0.005253119945526123, | |
0.005253119945526123, | |
0.00530944013595581, | |
0.005319680213928223, | |
0.005302239894866943, | |
0.005300288200378418, | |
0.005298175811767578, | |
0.005295104026794434, | |
0.00531763219833374, | |
0.00546611213684082, | |
0.0053002238273620605, | |
0.005560319900512695, | |
0.005312511920928955, | |
0.005326752185821533, | |
0.005338111877441406, | |
0.005287936210632324, | |
0.005296127796173096, | |
0.005347328186035156, | |
0.0053043198585510255, | |
0.005327807903289795, | |
0.005337088108062744, | |
0.005313536167144775, | |
0.005319680213928223, | |
0.0053350400924682614, | |
0.005237760066986084, | |
0.005284736156463623, | |
0.005331967830657959, | |
0.005312511920928955, | |
0.005298175811767578, | |
0.005323775768280029, | |
0.005306303977966309, | |
0.0052930560111999515, | |
0.005287936210632324, | |
0.00522438383102417, | |
0.005243008136749268, | |
0.0052336640357971195, | |
0.005193727970123291, | |
0.005215231895446777, | |
0.005230591773986816, | |
0.005270463943481445, | |
0.00515993595123291, | |
0.00515993595123291, | |
0.005219327926635742, | |
0.005234687805175781, | |
0.0052674560546875, | |
0.0053678078651428224, | |
0.005257215976715088, | |
0.005228544235229492, | |
0.005198847770690918, | |
0.005175295829772949, | |
0.0051363840103149415, | |
0.0052008957862854, | |
0.005519360065460205, | |
0.0053340158462524415, | |
0.005277696132659912, | |
0.0052971520423889164, | |
0.005221183776855469, | |
0.005237760066986084, | |
0.00531763219833374, | |
0.005214176177978516, | |
0.005242879867553711, | |
0.005252096176147461, | |
0.0052295680046081545, | |
0.00537497615814209, | |
0.005378047943115235, | |
0.005332992076873779, | |
0.005353407859802246, | |
0.005338143825531006, | |
0.0052899842262268066, | |
0.0052295680046081545, | |
0.00532480001449585, | |
0.005307392120361328, | |
0.005370880126953125, | |
0.005342207908630371, | |
0.006011903762817383, | |
0.005601280212402344, | |
0.005287936210632324, | |
0.005320703983306885, | |
0.005361663818359375, | |
0.005343232154846191, | |
0.005339136123657226, | |
0.005327871799468994, | |
0.005314559936523438, | |
0.00535756778717041, | |
0.00526643180847168, | |
0.0052971520423889164, | |
0.005292031764984131, | |
0.005312511920928955, | |
0.0052399678230285645, | |
0.005272575855255127, | |
0.005282783985137939, | |
0.005379072189331055, | |
0.005435391902923584, | |
0.005386240005493164, | |
0.005337088108062744, | |
0.005349376201629639, | |
0.005439487934112549, | |
0.0053309440612792965, | |
0.005344255924224854, | |
0.0053043198585510255, | |
0.005343232154846191, | |
0.005380095958709717, | |
0.005349376201629639, | |
0.005339136123657226, | |
0.005379072189331055, | |
0.0053340158462524415, | |
0.0053944320678710935, | |
0.005354496002197265, | |
0.005292064189910889, | |
0.005288896083831787, | |
0.005325856208801269, | |
0.005305344104766845, | |
0.0052930560111999515, | |
0.005296127796173096, | |
0.005288959980010987, | |
0.005291007995605469, | |
0.005332992076873779, | |
0.005328896045684814, | |
0.005284863948822022, | |
0.0052715520858764645, | |
0.005683199882507324, | |
0.005848063945770264, | |
0.005757952213287353, | |
0.005744639873504639, | |
0.005489664077758789, | |
0.0053647360801696775, | |
0.005331967830657959, | |
0.0053105602264404295, | |
0.005301152229309082, | |
0.005313536167144775, | |
0.005286911964416504, | |
0.005234687805175781, | |
0.005243904113769531, | |
0.005320703983306885, | |
0.005312511920928955, | |
0.005323775768280029, | |
0.005332992076873779, | |
0.005328896045684814, | |
0.00530953598022461, | |
0.005321728229522705, | |
0.005306367874145508, | |
0.005332992076873779, | |
0.00530841588973999, | |
0.005222400188446045, | |
0.005285727977752686, | |
0.005246047973632813, | |
0.005228544235229492, | |
0.0053002238273620605 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 186.99596093032923 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.289136875804069e-08, | |
"ram": 3.438567129041841e-08, | |
"gpu": 1.3353626203174786e-07, | |
"total": 2.3081330208020695e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4332505.93006335 | |
} | |
} | |
} | |
} |