IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
21ea09c
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": "6", | |
"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": "warn", | |
"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]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1030.848512, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 43306.041344, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.5256123046875, | |
"mean": 8.5256123046875, | |
"stdev": 0.0, | |
"p50": 8.5256123046875, | |
"p90": 8.5256123046875, | |
"p95": 8.5256123046875, | |
"p99": 8.5256123046875, | |
"values": [ | |
8.5256123046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1128.255488, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 112568.840192, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0017071247100826, | |
"mean": 0.007206526077050957, | |
"stdev": 0.0006141067720876695, | |
"p50": 0.006996654033660889, | |
"p90": 0.007639182949066162, | |
"p95": 0.007818079042434693, | |
"p99": 0.009468796615600598, | |
"values": [ | |
0.007617774963378906, | |
0.007522095203399659, | |
0.007465775012969971, | |
0.007325135231018067, | |
0.0072817749977111814, | |
0.007371533870697022, | |
0.007392815113067627, | |
0.007587535858154297, | |
0.007600494861602783, | |
0.007724814891815186, | |
0.00753713607788086, | |
0.007607534885406494, | |
0.007477934837341309, | |
0.0073814549446105954, | |
0.007360974788665772, | |
0.0072169737815856935, | |
0.007320014953613281, | |
0.0074113750457763675, | |
0.007344015121459961, | |
0.007302413940429688, | |
0.0071342549324035645, | |
0.007071214199066162, | |
0.007120334148406983, | |
0.007139373779296875, | |
0.007143214225769043, | |
0.007140493869781494, | |
0.007121614933013916, | |
0.007175213813781738, | |
0.00716849422454834, | |
0.007176014900207519, | |
0.007160014152526856, | |
0.007155535221099854, | |
0.007153294086456299, | |
0.007124973773956299, | |
0.007091215133666992, | |
0.007123693943023681, | |
0.010438740730285645, | |
0.0072107348442077635, | |
0.006973293781280518, | |
0.007091373920440674, | |
0.006984973907470703, | |
0.006972814083099365, | |
0.006951694011688232, | |
0.00696161413192749, | |
0.0069400138854980465, | |
0.007006894111633301, | |
0.006963054180145264, | |
0.006959373950958252, | |
0.0069491338729858396, | |
0.006964494228363037, | |
0.007187694072723389, | |
0.006969133853912354, | |
0.006956813812255859, | |
0.006967373847961426, | |
0.006968654155731201, | |
0.006967373847961426, | |
0.0069632139205932616, | |
0.006960974216461181, | |
0.0069632139205932616, | |
0.006986573219299317, | |
0.006997454166412354, | |
0.006966894149780274, | |
0.006987373828887939, | |
0.0069896140098571775, | |
0.006878573894500733, | |
0.006981294155120849, | |
0.007013934135437012, | |
0.012685785293579102, | |
0.006034731864929199, | |
0.00697153377532959, | |
0.006909934043884278, | |
0.006985613822937012, | |
0.006956654071807861, | |
0.006984814167022705, | |
0.006982734203338623, | |
0.0069680137634277346, | |
0.006940333843231201, | |
0.006894574165344238, | |
0.007014093875885009, | |
0.0069395341873168944, | |
0.007032174110412598, | |
0.006979373931884766, | |
0.006982734203338623, | |
0.006958573818206787, | |
0.006984333992004394, | |
0.0069755339622497555, | |
0.006980332851409912, | |
0.006983213901519776, | |
0.0069785737991333, | |
0.0069785737991333, | |
0.006957774162292481, | |
0.0069774541854858395, | |
0.006913934230804443, | |
0.0068803329467773434, | |
0.007050254821777344, | |
0.0068942527770996095, | |
0.006996654033660889, | |
0.006882412910461426, | |
0.007015054225921631, | |
0.006985613822937012, | |
0.006988493919372558, | |
0.0069700942039489745, | |
0.0069606537818908696, | |
0.0070484938621521, | |
0.006904813766479492, | |
0.006984814167022705, | |
0.006981294155120849, | |
0.006992973804473877, | |
0.006928493976593017, | |
0.006889453887939453, | |
0.0070110540390014645, | |
0.006901453971862793, | |
0.006993934154510498, | |
0.007781774997711182, | |
0.007815375804901123, | |
0.007812816143035889, | |
0.007782255172729492, | |
0.007294095039367675, | |
0.007320815086364746, | |
0.007307855129241944, | |
0.007203693866729736, | |
0.007306574821472168, | |
0.007793775081634521, | |
0.007886256217956543, | |
0.007862736225128173, | |
0.007859055995941161, | |
0.007832335948944091, | |
0.007869134902954102, | |
0.007816494941711426, | |
0.007371534824371338, | |
0.007337134838104248, | |
0.007412974834442139, | |
0.006926094055175781, | |
0.006971374034881592, | |
0.006960333824157715, | |
0.006983373165130615, | |
0.0069720139503479, | |
0.006936654090881348, | |
0.006956173896789551 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.76311405914157 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |