
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e3becd8
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_type": "resnet50", | |
"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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": 964.431872, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 0.9993131170272832, | |
"mean": 0.006844610390597827, | |
"stdev": 0.00038581649018210105, | |
"p50": 0.006653439998626709, | |
"p90": 0.007242239952087403, | |
"p95": 0.00743116807937622, | |
"p99": 0.008064665293693544, | |
"values": [ | |
0.007443456172943115, | |
0.006927360057830811, | |
0.006946815967559815, | |
0.006930431842803955, | |
0.006938623905181885, | |
0.007002111911773682, | |
0.006894591808319092, | |
0.006890495777130127, | |
0.006754303932189941, | |
0.006638591766357422, | |
0.00674508810043335, | |
0.0076871681213378906, | |
0.009498623847961426, | |
0.007829504013061523, | |
0.007237631797790528, | |
0.008148991584777832, | |
0.007173120021820068, | |
0.007110655784606934, | |
0.007187456130981445, | |
0.007311359882354736, | |
0.00786636781692505, | |
0.007101439952850342, | |
0.007046144008636474, | |
0.006982656002044678, | |
0.0072468481063842774, | |
0.007394303798675537, | |
0.0072837119102478025, | |
0.007137279987335205, | |
0.007120895862579346, | |
0.007068672180175781, | |
0.00724889612197876, | |
0.007131135940551757, | |
0.007279615879058838, | |
0.007456768035888672, | |
0.0070860800743103025, | |
0.007961599826812745, | |
0.0072120318412780765, | |
0.007032832145690918, | |
0.0070563840866088865, | |
0.007185408115386963, | |
0.00719152021408081, | |
0.007068672180175781, | |
0.007296000003814697, | |
0.007044095993041993, | |
0.007071680068969727, | |
0.006922239780426025, | |
0.006924287796020508, | |
0.007027711868286133, | |
0.007031775951385498, | |
0.006903808116912841, | |
0.006681600093841553, | |
0.007009280204772949, | |
0.0067358717918396, | |
0.0066979842185974124, | |
0.006968319892883301, | |
0.0070563840866088865, | |
0.006975488185882568, | |
0.0071116480827331545, | |
0.007071743965148926, | |
0.007079936027526855, | |
0.006804480075836182, | |
0.006825984001159668, | |
0.006882304191589355, | |
0.006762527942657471, | |
0.006700064182281494, | |
0.006626304149627686, | |
0.006575104236602783, | |
0.006481919765472412, | |
0.00653107213973999, | |
0.006652927875518798, | |
0.006493184089660644, | |
0.006524928092956543, | |
0.006608895778656006, | |
0.006550528049468994, | |
0.006601696014404297, | |
0.006717440128326416, | |
0.006614016056060791, | |
0.006597631931304931, | |
0.006617087841033936, | |
0.006545407772064209, | |
0.0065781760215759275, | |
0.00652185583114624, | |
0.0065812478065490725, | |
0.006585343837738037, | |
0.006574079990386963, | |
0.006621183872222901, | |
0.006602752208709717, | |
0.0065413122177124024, | |
0.006597631931304931, | |
0.006614016056060791, | |
0.006597631931304931, | |
0.006599679946899414, | |
0.006642687797546387, | |
0.006585343837738037, | |
0.006590464115142822, | |
0.00659660816192627, | |
0.006556672096252441, | |
0.006608895778656006, | |
0.006623231887817383, | |
0.006589439868927002, | |
0.006707200050354004, | |
0.00659660816192627, | |
0.006659071922302246, | |
0.006860799789428711, | |
0.006730751991271973, | |
0.0065812478065490725, | |
0.006642687797546387, | |
0.006693855762481689, | |
0.006595583915710449, | |
0.006625279903411865, | |
0.006608895778656006, | |
0.006554624080657959, | |
0.006608831882476807, | |
0.006589439868927002, | |
0.0066007041931152345, | |
0.006569983959197998, | |
0.006625279903411865, | |
0.006560768127441406, | |
0.006653952121734619, | |
0.006567935943603515, | |
0.006700032234191895, | |
0.006624256134033203, | |
0.006622208118438721, | |
0.006608895778656006, | |
0.006609920024871826, | |
0.006620160102844238, | |
0.006592512130737305, | |
0.006623231887817383, | |
0.006595583915710449, | |
0.006638591766357422, | |
0.006593535900115967, | |
0.006599679946899414, | |
0.006620160102844238, | |
0.0066406397819519045, | |
0.0065484800338745115, | |
0.006668288230895996, | |
0.006650879859924317, | |
0.006612991809844971, | |
0.006642687797546387, | |
0.006632448196411133, | |
0.006574079990386963, | |
0.006618112087249756, | |
0.006617023944854737, | |
0.00658739185333252, | |
0.006649856090545654, | |
0.0066007041931152345 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.10035384536434 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.998407245040299e-08, | |
"ram": 4.372662983537149e-08, | |
"gpu": 1.67715975013506e-07, | |
"total": 2.914266772992805e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3431394.851244351 | |
} | |
} | |
} | |
} |