
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8ddf18f
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2", | |
"_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.14", | |
"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.0", | |
"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": 945.455104, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 189, | |
"total": 0.9952217922210693, | |
"mean": 0.005265723768365446, | |
"stdev": 0.0002719233264942538, | |
"p50": 0.005286911964416504, | |
"p90": 0.0056401919364929215, | |
"p95": 0.005825331211090088, | |
"p99": 0.006334505004882813, | |
"values": [ | |
0.006032383918762207, | |
0.005742591857910156, | |
0.005814271926879883, | |
0.005566463947296142, | |
0.0056217598915100095, | |
0.005988416194915772, | |
0.005854207992553711, | |
0.006072319984436035, | |
0.006393856048583985, | |
0.005867519855499268, | |
0.005799935817718506, | |
0.005742591857910156, | |
0.005749855995178223, | |
0.005713920116424561, | |
0.005798912048339844, | |
0.0057415680885314945, | |
0.005730303764343261, | |
0.00633241605758667, | |
0.005279744148254394, | |
0.005056511878967285, | |
0.005041152000427246, | |
0.0050462718009948735, | |
0.005058559894561767, | |
0.00504527997970581, | |
0.005056511878967285, | |
0.005039072036743164, | |
0.0050657281875610355, | |
0.005056511878967285, | |
0.005132287979125977, | |
0.005058559894561767, | |
0.005071872234344482, | |
0.005057536125183106, | |
0.005040128231048584, | |
0.005069791793823242, | |
0.005033952236175537, | |
0.0050032639503479, | |
0.004986879825592041, | |
0.0050022401809692385, | |
0.004971519947052002, | |
0.004984896183013916, | |
0.0049530878067016604, | |
0.005035007953643799, | |
0.00497049617767334, | |
0.005004288196563721, | |
0.004977727890014648, | |
0.0050063362121582035, | |
0.004987904071807861, | |
0.004998144149780274, | |
0.0050657281875610355, | |
0.0050800638198852536, | |
0.005049344062805176, | |
0.00506060791015625, | |
0.005051392078399658, | |
0.0050462718009948735, | |
0.005081088066101074, | |
0.005049344062805176, | |
0.0051066880226135255, | |
0.005023744106292725, | |
0.005049280166625977, | |
0.005038080215454102, | |
0.005047296047210693, | |
0.005047296047210693, | |
0.005048319816589355, | |
0.005008384227752686, | |
0.0050728960037231445, | |
0.005064703941345215, | |
0.00506060791015625, | |
0.005067776203155518, | |
0.00506879997253418, | |
0.005028863906860351, | |
0.0050421757698059086, | |
0.005179391860961914, | |
0.005018623828887939, | |
0.005017600059509277, | |
0.0049684162139892575, | |
0.004989952087402344, | |
0.004989952087402344, | |
0.00499612808227539, | |
0.004987904071807861, | |
0.005026815891265869, | |
0.005026815891265869, | |
0.005059584140777588, | |
0.005029888153076172, | |
0.005047296047210693, | |
0.005044223785400391, | |
0.005017600059509277, | |
0.005053440093994141, | |
0.005018623828887939, | |
0.005059584140777588, | |
0.005031936168670655, | |
0.00517632007598877, | |
0.0050421757698059086, | |
0.005026815891265869, | |
0.0050206718444824215, | |
0.005056511878967285, | |
0.005056511878967285, | |
0.005024767875671386, | |
0.005024767875671386, | |
0.005026815891265869, | |
0.005055488109588623, | |
0.005296063899993896, | |
0.0063498239517211915, | |
0.005832704067230224, | |
0.005848063945770264, | |
0.005418975830078125, | |
0.0053944320678710935, | |
0.005312511920928955, | |
0.005352447986602784, | |
0.0053821439743042, | |
0.005329919815063477, | |
0.005355519771575928, | |
0.005381120204925537, | |
0.0053944320678710935, | |
0.005391392230987549, | |
0.005370880126953125, | |
0.005333024024963379, | |
0.005316671848297119, | |
0.0053340158462524415, | |
0.005319680213928223, | |
0.005305344104766845, | |
0.005375999927520752, | |
0.005318655967712403, | |
0.005302271842956543, | |
0.005331967830657959, | |
0.005332992076873779, | |
0.005328896045684814, | |
0.005320703983306885, | |
0.005342207908630371, | |
0.005294079780578613, | |
0.0053309440612792965, | |
0.005307392120361328, | |
0.005516287803649903, | |
0.00531660795211792, | |
0.005306367874145508, | |
0.005315584182739258, | |
0.005286911964416504, | |
0.005261248111724854, | |
0.005228544235229492, | |
0.005235712051391602, | |
0.005248000144958496, | |
0.005221407890319824, | |
0.005242879867553711, | |
0.005242879867553711, | |
0.00524294376373291, | |
0.005482495784759522, | |
0.005350399971008301, | |
0.005339200019836426, | |
0.005313536167144775, | |
0.0053084478378295896, | |
0.005321728229522705, | |
0.005320703983306885, | |
0.005388288021087646, | |
0.005312511920928955, | |
0.005349376201629639, | |
0.00539958381652832, | |
0.00531763219833374, | |
0.005310463905334473, | |
0.005331967830657959, | |
0.005328832149505615, | |
0.00532476806640625, | |
0.005356544017791748, | |
0.005397535800933838, | |
0.005361663818359375, | |
0.0053606400489807126, | |
0.005359615802764893, | |
0.005331967830657959, | |
0.0053309440612792965, | |
0.005349376201629639, | |
0.005299168109893799, | |
0.005331967830657959, | |
0.005337088108062744, | |
0.005352447986602784, | |
0.005315584182739258, | |
0.005314559936523438, | |
0.005215231895446777, | |
0.005254144191741943, | |
0.005274623870849609, | |
0.005305344104766845, | |
0.00531763219833374, | |
0.00535859203338623, | |
0.005315584182739258, | |
0.005319680213928223, | |
0.005398528099060058, | |
0.00530944013595581, | |
0.0053053760528564455, | |
0.005338111877441406, | |
0.005332992076873779, | |
0.005285888195037842, | |
0.005332992076873779 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 189.90741709765265 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.228548850064503e-08, | |
"ram": 3.401634771881518e-08, | |
"gpu": 1.40750548900521e-07, | |
"total": 2.370523851199812e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4218476.854784069 | |
} | |
} | |
} | |
} |