
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6959d14
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": 950.771712, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 190, | |
"total": 0.9987408332824708, | |
"mean": 0.005256530701486688, | |
"stdev": 0.00016137970958387138, | |
"p50": 0.0052689919471740725, | |
"p90": 0.00534271993637085, | |
"p95": 0.005555763173103332, | |
"p99": 0.005869312081336974, | |
"values": [ | |
0.005684224128723145, | |
0.00556441593170166, | |
0.00555622386932373, | |
0.0055552000999450684, | |
0.005780479907989502, | |
0.005784575939178467, | |
0.005892096042633056, | |
0.005784575939178467, | |
0.005866496086120605, | |
0.0057487359046936035, | |
0.00601087999343872, | |
0.005212096214294434, | |
0.005087232112884522, | |
0.005125120162963868, | |
0.005028863906860351, | |
0.005058559894561767, | |
0.0050432000160217285, | |
0.005035999774932861, | |
0.0050032639503479, | |
0.0050063362121582035, | |
0.004989952087402344, | |
0.00502784013748169, | |
0.005014527797698975, | |
0.0050022401809692385, | |
0.005035007953643799, | |
0.005107711791992187, | |
0.005104640007019043, | |
0.005380095958709717, | |
0.00526643180847168, | |
0.005214144229888916, | |
0.005255167961120606, | |
0.005338111877441406, | |
0.005256192207336426, | |
0.0052674560546875, | |
0.0053340158462524415, | |
0.005250048160552978, | |
0.0052367358207702636, | |
0.00531763219833374, | |
0.005251071929931641, | |
0.005231616020202637, | |
0.005319680213928223, | |
0.005339136123657226, | |
0.0053944320678710935, | |
0.005305344104766845, | |
0.005254144191741943, | |
0.005232639789581299, | |
0.005280767917633057, | |
0.0052408318519592285, | |
0.005228544235229492, | |
0.005295104026794434, | |
0.005260287761688232, | |
0.005233632087707519, | |
0.0052367358207702636, | |
0.005359615802764893, | |
0.005214208126068115, | |
0.005233695983886719, | |
0.005273600101470947, | |
0.005216288089752197, | |
0.00522547197341919, | |
0.005291007995605469, | |
0.005219327926635742, | |
0.005235712051391602, | |
0.005273600101470947, | |
0.005241856098175048, | |
0.005228544235229492, | |
0.00521830415725708, | |
0.0051435518264770505, | |
0.00517632007598877, | |
0.00520908784866333, | |
0.005124127864837647, | |
0.0050728960037231445, | |
0.00521727991104126, | |
0.005202879905700683, | |
0.00526643180847168, | |
0.005251071929931641, | |
0.0053309440612792965, | |
0.00526643180847168, | |
0.005273600101470947, | |
0.005340159893035889, | |
0.005280767917633057, | |
0.005280767917633057, | |
0.0053340158462524415, | |
0.0052715520858764645, | |
0.005275648117065429, | |
0.005331967830657959, | |
0.0052705278396606445, | |
0.0052899842262268066, | |
0.005347328186035156, | |
0.005274623870849609, | |
0.005279744148254394, | |
0.0053340158462524415, | |
0.005280767917633057, | |
0.005296127796173096, | |
0.005342207908630371, | |
0.00530841588973999, | |
0.005253119945526123, | |
0.00526643180847168, | |
0.005194752216339111, | |
0.005206016063690186, | |
0.005340159893035889, | |
0.005279744148254394, | |
0.0052715520858764645, | |
0.0053309440612792965, | |
0.005252096176147461, | |
0.005300191879272461, | |
0.005321728229522705, | |
0.005256192207336426, | |
0.005274623870849609, | |
0.005323775768280029, | |
0.005275648117065429, | |
0.005286911964416504, | |
0.005307392120361328, | |
0.005269504070281982, | |
0.005253119945526123, | |
0.005304287910461425, | |
0.005318655967712403, | |
0.00527558422088623, | |
0.005321728229522705, | |
0.005321728229522705, | |
0.005284863948822022, | |
0.005302271842956543, | |
0.005311488151550293, | |
0.005296127796173096, | |
0.005275648117065429, | |
0.005306367874145508, | |
0.0052715520858764645, | |
0.005287936210632324, | |
0.00532480001449585, | |
0.00537497615814209, | |
0.005419007778167725, | |
0.00530944013595581, | |
0.005286911964416504, | |
0.005331967830657959, | |
0.005299200057983398, | |
0.005338111877441406, | |
0.005352447986602784, | |
0.0053340158462524415, | |
0.0052971520423889164, | |
0.005341184139251709, | |
0.005280767917633057, | |
0.005261312007904053, | |
0.0053125438690185545, | |
0.0051998720169067385, | |
0.0051998720169067385, | |
0.005276639938354492, | |
0.005326848030090332, | |
0.005284863948822022, | |
0.0053002238273620605, | |
0.00535756778717041, | |
0.005283840179443359, | |
0.0052715520858764645, | |
0.005298175811767578, | |
0.005248000144958496, | |
0.005254144191741943, | |
0.0052930560111999515, | |
0.005245952129364013, | |
0.005273632049560547, | |
0.005303296089172363, | |
0.005245952129364013, | |
0.005268479824066162, | |
0.005291007995605469, | |
0.005204991817474365, | |
0.00517632007598877, | |
0.005093376159667969, | |
0.00501043176651001, | |
0.005028863906860351, | |
0.005056511878967285, | |
0.0051138558387756345, | |
0.005039135932922364, | |
0.005057504177093506, | |
0.005096447944641113, | |
0.005087232112884522, | |
0.0050698561668396, | |
0.005058559894561767, | |
0.0051036162376403805, | |
0.005071872234344482, | |
0.005049344062805176, | |
0.005065792083740235, | |
0.005093376159667969, | |
0.005075967788696289, | |
0.0050769920349121095, | |
0.005085184097290039, | |
0.005051392078399658, | |
0.005059584140777588, | |
0.005067776203155518, | |
0.005102591991424561, | |
0.005062655925750732, | |
0.0050657281875610355, | |
0.005064703941345215, | |
0.005087232112884522 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 190.23954330128294 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.9564933305609374e-08, | |
"ram": 3.256845068529917e-08, | |
"gpu": 1.2958134319597952e-07, | |
"total": 2.2171472718688807e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4510300.297539905 | |
} | |
} | |
} | |
} |