IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c634fc4
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": {}, | |
"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, | |
"memory": true, | |
"latency": true, | |
"energy": false, | |
"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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "0aac0108c378c328492774ddb431ea89a3c2b507", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.847488, | |
"max_global_vram": 409.178112, | |
"max_process_vram": 42971.512832, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.992126953125, | |
"mean": 6.992126953125, | |
"stdev": 0.0, | |
"p50": 6.992126953125, | |
"p90": 6.992126953125, | |
"p95": 6.992126953125, | |
"p99": 6.992126953125, | |
"values": [ | |
6.992126953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1841.7664, | |
"max_global_vram": 520.523776, | |
"max_process_vram": 259571.87584, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 0.9993704824447629, | |
"mean": 0.006988604772341002, | |
"stdev": 0.00036446596044039395, | |
"p50": 0.0069135608673095705, | |
"p90": 0.00705784797668457, | |
"p95": 0.00717410306930542, | |
"p99": 0.008795415973663354, | |
"values": [ | |
0.007177238941192627, | |
0.006992280006408691, | |
0.007051000118255615, | |
0.007006680011749268, | |
0.0070577201843261715, | |
0.006981241226196289, | |
0.00704203987121582, | |
0.006975640773773193, | |
0.007037559986114502, | |
0.006929241180419922, | |
0.0070434799194335936, | |
0.006948919773101807, | |
0.007015160083770752, | |
0.007011640071868897, | |
0.007007800102233887, | |
0.0070409197807312016, | |
0.007007800102233887, | |
0.007078999042510986, | |
0.007026040077209473, | |
0.007023159980773926, | |
0.009556586265563966, | |
0.00774427604675293, | |
0.006965559959411621, | |
0.006889400959014892, | |
0.006879800796508789, | |
0.006879800796508789, | |
0.006876921176910401, | |
0.010230981826782226, | |
0.0069889211654663086, | |
0.006932441234588623, | |
0.00689884090423584, | |
0.0068903608322143555, | |
0.006907320976257324, | |
0.0069108400344848634, | |
0.006913880825042725, | |
0.006891641139984131, | |
0.006869081020355224, | |
0.006917080879211426, | |
0.006917880058288574, | |
0.006899800777435303, | |
0.006855960845947266, | |
0.006897881031036377, | |
0.006905720233917236, | |
0.006873081207275391, | |
0.006910040855407715, | |
0.006875000953674317, | |
0.006904760837554932, | |
0.006924439907073974, | |
0.006881560802459717, | |
0.006898520946502685, | |
0.006886199951171875, | |
0.006910040855407715, | |
0.006930359840393066, | |
0.006908121109008789, | |
0.006898361206054688, | |
0.006909400939941406, | |
0.006915801048278809, | |
0.006920280933380127, | |
0.006907320976257324, | |
0.0069225201606750485, | |
0.00690700101852417, | |
0.006930840015411377, | |
0.006893721103668213, | |
0.006910200119018555, | |
0.0068074817657470706, | |
0.006885721206665039, | |
0.006886681079864502, | |
0.006899800777435303, | |
0.006923320770263672, | |
0.006899800777435303, | |
0.006879480838775634, | |
0.0069151611328125, | |
0.006915480136871338, | |
0.006930360794067383, | |
0.0069180397987365725, | |
0.006915640830993652, | |
0.006845720767974853, | |
0.006831480979919434, | |
0.006917719841003418, | |
0.006916440963745117, | |
0.006874200820922852, | |
0.006952441215515136, | |
0.006977880001068115, | |
0.006985879898071289, | |
0.00691900110244751, | |
0.006905560970306397, | |
0.006900600910186768, | |
0.006876760959625244, | |
0.006907320976257324, | |
0.0068922810554504395, | |
0.006876921176910401, | |
0.006907481193542481, | |
0.006821081161499023, | |
0.006811000823974609, | |
0.00690700101852417, | |
0.006829401016235351, | |
0.006899799823760986, | |
0.006907801151275635, | |
0.006871800899505615, | |
0.006908760070800781, | |
0.006912761211395264, | |
0.006912280082702637, | |
0.00689884090423584, | |
0.006940279960632324, | |
0.006795801162719726, | |
0.0069135608673095705, | |
0.006884440898895263, | |
0.0068922810554504395, | |
0.006863801002502441, | |
0.00718779993057251, | |
0.007177879810333252, | |
0.007287959098815918, | |
0.007127479076385498, | |
0.00705787992477417, | |
0.007056280136108399, | |
0.007033559799194336, | |
0.006901081085205078, | |
0.006894521236419678, | |
0.006906839847564697, | |
0.0069228410720825195, | |
0.006922039985656738, | |
0.006917720794677735, | |
0.006922359943389893, | |
0.00689500093460083, | |
0.006911159992218018, | |
0.00692556095123291, | |
0.006882680892944336, | |
0.007023160934448242, | |
0.007145880222320556, | |
0.0071357998847961426, | |
0.0072346792221069335, | |
0.007012280941009521, | |
0.006890201091766358, | |
0.007082200050354004, | |
0.006978838920593262, | |
0.00695628023147583, | |
0.006970680236816406, | |
0.00704476022720337, | |
0.007110360145568847, | |
0.006882680892944336, | |
0.006877241134643555, | |
0.006882841110229492, | |
0.006883481025695801 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.09007771590234 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |