IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8ca5273
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": 1466.171392, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.992591796875, | |
"mean": 7.992591796875, | |
"stdev": 0.0, | |
"p50": 7.992591796875, | |
"p90": 7.992591796875, | |
"p95": 7.992591796875, | |
"p99": 7.992591796875, | |
"values": [ | |
7.992591796875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 2436.112384, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 0.9983576383590697, | |
"mean": 0.007861083766606849, | |
"stdev": 0.00036242858251910547, | |
"p50": 0.007764143943786621, | |
"p90": 0.008137584114074708, | |
"p95": 0.008285295009613038, | |
"p99": 0.00875450963973999, | |
"values": [ | |
0.008162544250488282, | |
0.008206382751464843, | |
0.008345903396606446, | |
0.00834366226196289, | |
0.00828830337524414, | |
0.008244783401489257, | |
0.008264782905578614, | |
0.00820926284790039, | |
0.008031184196472169, | |
0.008029903411865234, | |
0.00799406385421753, | |
0.007966383934020996, | |
0.007897744178771973, | |
0.007907504081726075, | |
0.007931824207305909, | |
0.007851984024047852, | |
0.007880623817443849, | |
0.007913104057312012, | |
0.007915503978729248, | |
0.007891823768615722, | |
0.007854703903198243, | |
0.007833903789520263, | |
0.011140617370605468, | |
0.008120944023132324, | |
0.00794014310836792, | |
0.007916304111480713, | |
0.007908624172210693, | |
0.00781886386871338, | |
0.007829103946685791, | |
0.008012463569641113, | |
0.0080108642578125, | |
0.007901263236999512, | |
0.007857103824615479, | |
0.00788702392578125, | |
0.00785262393951416, | |
0.007870704174041747, | |
0.007914543151855469, | |
0.00785918378829956, | |
0.00788318395614624, | |
0.007764143943786621, | |
0.007808144092559814, | |
0.007829264163970947, | |
0.007820144176483154, | |
0.007851183891296387, | |
0.007739823818206787, | |
0.007783184051513672, | |
0.007819024085998535, | |
0.007846384048461915, | |
0.007862383842468262, | |
0.007881423950195313, | |
0.007650544166564941, | |
0.007859824180603027, | |
0.00763246488571167, | |
0.007635024070739746, | |
0.007790383815765381, | |
0.007737904071807861, | |
0.007583183765411377, | |
0.007765583992004395, | |
0.007931024074554443, | |
0.00778110408782959, | |
0.007616943836212158, | |
0.007612305164337158, | |
0.0075971040725708, | |
0.0076022248268127444, | |
0.007619824886322022, | |
0.00759278392791748, | |
0.0076022248268127444, | |
0.007595503807067871, | |
0.007629263877868653, | |
0.007633584976196289, | |
0.007689585208892822, | |
0.007720943927764893, | |
0.007695184230804443, | |
0.007699664115905762, | |
0.007702064037322998, | |
0.007729423999786377, | |
0.007747344970703125, | |
0.0077135848999023435, | |
0.007702703952789307, | |
0.0076820640563964844, | |
0.007688144207000733, | |
0.007731503963470459, | |
0.007687184810638428, | |
0.007692784786224365, | |
0.007699024200439453, | |
0.0077009439468383786, | |
0.007691664218902588, | |
0.007666224002838134, | |
0.007692305088043213, | |
0.007704463958740235, | |
0.007666224002838134, | |
0.007701903820037842, | |
0.007664463996887207, | |
0.00767166519165039, | |
0.007718224048614502, | |
0.007662064075469971, | |
0.00770798397064209, | |
0.007704304218292236, | |
0.007699823856353759, | |
0.007691824913024902, | |
0.007681104183197021, | |
0.007702383995056152, | |
0.007698224067687988, | |
0.007708144187927246, | |
0.0076921448707580565, | |
0.007688304901123047, | |
0.00770366382598877, | |
0.007687024116516113, | |
0.007676303863525391, | |
0.0076612639427185054, | |
0.007699985027313233, | |
0.00770142412185669, | |
0.007705103874206543, | |
0.007691823959350586, | |
0.0076723041534423825, | |
0.007739984035491944, | |
0.007760784149169922, | |
0.007944143772125245, | |
0.008752141952514648, | |
0.008755341529846191, | |
0.008059343338012696, | |
0.008072623252868652, | |
0.008065262794494628, | |
0.008101263999938964, | |
0.008287982940673828, | |
0.008081903457641601, | |
0.008279023170471191 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.20892305561058 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |