IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
33f39e4
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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 984.252416, | |
"max_global_vram": 409.178112, | |
"max_process_vram": 47767.662592, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.439666015625, | |
"mean": 7.439666015625, | |
"stdev": 0.0, | |
"p50": 7.439666015625, | |
"p90": 7.439666015625, | |
"p95": 7.439666015625, | |
"p99": 7.439666015625, | |
"values": [ | |
7.439666015625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1842.884608, | |
"max_global_vram": 520.507392, | |
"max_process_vram": 248670.920704, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.9945551228523253, | |
"mean": 0.007155072826275723, | |
"stdev": 0.0003416737662471699, | |
"p50": 0.00705470085144043, | |
"p90": 0.007446220970153809, | |
"p95": 0.007520107841491699, | |
"p99": 0.007867479906082154, | |
"values": [ | |
0.007560140132904053, | |
0.007515659809112549, | |
0.007385419845581055, | |
0.007470540046691895, | |
0.00747245979309082, | |
0.007440141201019287, | |
0.00749454116821289, | |
0.007386701107025146, | |
0.007359499931335449, | |
0.007385580062866211, | |
0.007415020942687988, | |
0.007287341117858887, | |
0.007179340839385986, | |
0.007135180950164795, | |
0.007113901138305664, | |
0.007087020874023437, | |
0.007102701187133789, | |
0.007136620998382568, | |
0.007105101108551026, | |
0.007113901138305664, | |
0.007095820903778076, | |
0.007086221218109131, | |
0.007133261203765869, | |
0.007105101108551026, | |
0.01053293228149414, | |
0.007473259925842285, | |
0.007033580780029297, | |
0.0070409421920776365, | |
0.0072527799606323246, | |
0.007021101951599121, | |
0.0070604619979858394, | |
0.007030220985412597, | |
0.007044140815734863, | |
0.007034060955047608, | |
0.007047341823577881, | |
0.007028302192687988, | |
0.007029901027679444, | |
0.007063180923461914, | |
0.007030381202697754, | |
0.007020781993865967, | |
0.00701134204864502, | |
0.007014541149139404, | |
0.007053421020507812, | |
0.0070166211128234865, | |
0.007001582145690918, | |
0.007026061058044434, | |
0.00729262113571167, | |
0.007053582191467285, | |
0.007038701057434082, | |
0.0071236610412597655, | |
0.007012940883636474, | |
0.007190701007843018, | |
0.007067340850830078, | |
0.007059660911560059, | |
0.007051180839538574, | |
0.00722606086730957, | |
0.007044140815734863, | |
0.007078061103820801, | |
0.007054222106933594, | |
0.007066861152648925, | |
0.007079980850219727, | |
0.007076140880584717, | |
0.007036460876464844, | |
0.007049420833587647, | |
0.0070145421028137206, | |
0.00708910083770752, | |
0.007076301097869873, | |
0.007056140899658203, | |
0.0070380611419677734, | |
0.007079660892486572, | |
0.0070623822212219235, | |
0.007028141975402832, | |
0.007045741081237793, | |
0.0070550208091735836, | |
0.007022700786590576, | |
0.0070455818176269535, | |
0.0069729418754577634, | |
0.006980620861053467, | |
0.007095820903778076, | |
0.0070603017807006835, | |
0.007048302173614502, | |
0.007060461044311524, | |
0.007053740978240967, | |
0.0070617408752441406, | |
0.0070431809425354, | |
0.007039661884307861, | |
0.007049901008605957, | |
0.007051980972290039, | |
0.007053101062774658, | |
0.007031661033630371, | |
0.0070334219932556155, | |
0.007064940929412841, | |
0.007003180980682373, | |
0.006965901851654053, | |
0.007091661930084228, | |
0.006988780975341797, | |
0.007095180988311768, | |
0.006980300903320313, | |
0.007075662136077881, | |
0.006985901832580566, | |
0.007074541091918946, | |
0.00705470085144043, | |
0.007038381099700928, | |
0.007053741931915283, | |
0.007656779766082764, | |
0.007838698863983154, | |
0.007860138893127441, | |
0.007871979236602784, | |
0.0076369400024414065, | |
0.007240621089935303, | |
0.007404300212860107, | |
0.0074759812355041505, | |
0.007510860919952392, | |
0.007330541133880615, | |
0.007037741184234619, | |
0.007048780918121338, | |
0.007046381950378418, | |
0.007042061805725097, | |
0.0070569410324096676, | |
0.007051980972290039, | |
0.007051821231842041, | |
0.007021582126617432, | |
0.007060781955718994, | |
0.007061581134796143, | |
0.007055340766906738, | |
0.007037100791931153, | |
0.007041581153869629, | |
0.007029101848602295, | |
0.006996780872344971, | |
0.006938861846923828, | |
0.007046061992645264, | |
0.0070263810157775875, | |
0.007032461166381836, | |
0.007040141105651855, | |
0.007018062114715576, | |
0.007033259868621826, | |
0.007227341175079346, | |
0.007033421039581299, | |
0.006933741092681885 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.76098137361777 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |