
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
faaa919
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", | |
"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.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.1", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 949.321728, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 176, | |
"total": 0.9953190054893488, | |
"mean": 0.005655221622098576, | |
"stdev": 0.0003270059594058411, | |
"p50": 0.005609983921051025, | |
"p90": 0.005902335882186889, | |
"p95": 0.005966096043586731, | |
"p99": 0.0073218559026718135, | |
"values": [ | |
0.006253632068634033, | |
0.0058787841796875, | |
0.005966911792755127, | |
0.0059658241271972655, | |
0.005933055877685547, | |
0.005917695999145508, | |
0.0059248957633972164, | |
0.005903359889984131, | |
0.00591871976852417, | |
0.005896192073822021, | |
0.005917727947235107, | |
0.005879871845245362, | |
0.005855167865753174, | |
0.0057825279235839844, | |
0.0055316481590271, | |
0.005484543800354004, | |
0.005396480083465576, | |
0.005363743782043457, | |
0.0053043198585510255, | |
0.005380095958709717, | |
0.005458943843841553, | |
0.005449728012084961, | |
0.005534719944000244, | |
0.005538879871368408, | |
0.005543935775756836, | |
0.006048736095428467, | |
0.005817344188690185, | |
0.005852159976959229, | |
0.007856128215789794, | |
0.007460864067077637, | |
0.007275519847869873, | |
0.006346752166748047, | |
0.006064127922058105, | |
0.00582144021987915, | |
0.005815296173095703, | |
0.005811200141906738, | |
0.005795839786529541, | |
0.0058388481140136715, | |
0.005829631805419922, | |
0.005857279777526855, | |
0.005763072013854981, | |
0.005653503894805908, | |
0.005603328227996827, | |
0.00572108793258667, | |
0.005708767890930176, | |
0.005754879951477051, | |
0.005693439960479736, | |
0.005727231979370117, | |
0.0057712640762329105, | |
0.005823488235473633, | |
0.005830656051635743, | |
0.005837823867797852, | |
0.005606400012969971, | |
0.005534719944000244, | |
0.005586944103240967, | |
0.005909503936767578, | |
0.0058091521263122555, | |
0.0057415680885314945, | |
0.005751808166503906, | |
0.00556441593170166, | |
0.0055285758972167965, | |
0.005513216018676758, | |
0.0054917120933532714, | |
0.005757952213287353, | |
0.00578656005859375, | |
0.00566374397277832, | |
0.00576204776763916, | |
0.005895167827606201, | |
0.005736447811126709, | |
0.005829631805419922, | |
0.006046720027923584, | |
0.00588595199584961, | |
0.005696512222290039, | |
0.005718016147613526, | |
0.00577942419052124, | |
0.005808127880096436, | |
0.005724160194396972, | |
0.005788671970367432, | |
0.005709824085235596, | |
0.005751808166503906, | |
0.005761023998260498, | |
0.005742591857910156, | |
0.005901311874389649, | |
0.0058726401329040525, | |
0.005890048027038574, | |
0.005848063945770264, | |
0.00587775993347168, | |
0.005795839786529541, | |
0.005830656051635743, | |
0.005795839786529541, | |
0.005795839786529541, | |
0.005736447811126709, | |
0.00586956787109375, | |
0.005681151866912842, | |
0.005652480125427246, | |
0.0055808000564575196, | |
0.005411839962005615, | |
0.005696512222290039, | |
0.005689343929290771, | |
0.005518335819244385, | |
0.005400576114654541, | |
0.005371903896331787, | |
0.005420032024383545, | |
0.005439487934112549, | |
0.005795839786529541, | |
0.005755904197692871, | |
0.005635072231292724, | |
0.005642176151275635, | |
0.0056555519104003905, | |
0.005769216060638428, | |
0.005909503936767578, | |
0.005864448070526123, | |
0.00562278413772583, | |
0.005467135906219483, | |
0.005407743930816651, | |
0.005429247856140137, | |
0.005370880126953125, | |
0.005451776027679443, | |
0.005390336036682129, | |
0.005380095958709717, | |
0.005439487934112549, | |
0.0053760638236999515, | |
0.00542416000366211, | |
0.0054271998405456545, | |
0.005414912223815918, | |
0.005401599884033203, | |
0.005436416149139404, | |
0.005409759998321533, | |
0.005442527770996094, | |
0.005403647899627686, | |
0.005432320117950439, | |
0.005441535949707031, | |
0.005384191989898681, | |
0.005403647899627686, | |
0.005395455837249756, | |
0.005379072189331055, | |
0.005379072189331055, | |
0.005411839962005615, | |
0.005380095958709717, | |
0.0053975038528442385, | |
0.005399551868438721, | |
0.00561356782913208, | |
0.005420032024383545, | |
0.005403647899627686, | |
0.005400576114654541, | |
0.005413887977600097, | |
0.0053678078651428224, | |
0.005407743930816651, | |
0.005401663780212403, | |
0.005392416000366211, | |
0.005405695915222168, | |
0.005400576114654541, | |
0.005411839962005615, | |
0.005428192138671875, | |
0.005380095958709717, | |
0.0053944640159606936, | |
0.005400576114654541, | |
0.0053821439743042, | |
0.00541593599319458, | |
0.005431295871734619, | |
0.0053821439743042, | |
0.0053944640159606936, | |
0.005391359806060791, | |
0.00537395191192627, | |
0.005534719944000244, | |
0.005453824043273926, | |
0.005406720161437988, | |
0.005410816192626953, | |
0.005377024173736572, | |
0.00552345609664917, | |
0.005534719944000244, | |
0.005494783878326416, | |
0.005481472015380859, | |
0.005433343887329102, | |
0.005402624130249023, | |
0.005403647899627686 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 176.827729631737 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.466206649075384e-08, | |
"ram": 3.535142966385414e-08, | |
"gpu": 1.311987764565227e-07, | |
"total": 2.3121227261113067e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4325029.933345586 | |
} | |
} | |
} | |
} |