IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
17c859c
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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": "5", | |
"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]", | |
"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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"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": 1469.349888, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.0655986328125, | |
"mean": 8.0655986328125, | |
"stdev": 0.0, | |
"p50": 8.0655986328125, | |
"p90": 8.0655986328125, | |
"p95": 8.0655986328125, | |
"p99": 8.0655986328125, | |
"values": [ | |
8.0655986328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1555.968, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 1.0028047728538514, | |
"mean": 0.007483617707864563, | |
"stdev": 0.0004083238121730666, | |
"p50": 0.007325173139572143, | |
"p90": 0.007706867742538453, | |
"p95": 0.00786862678527832, | |
"p99": 0.008358474502563475, | |
"values": [ | |
0.008294368743896484, | |
0.008250849723815918, | |
0.007940451145172119, | |
0.007836931228637696, | |
0.007864931106567382, | |
0.007803010940551758, | |
0.007733251094818115, | |
0.007695011138916016, | |
0.007635811805725098, | |
0.007654851913452149, | |
0.007605412006378174, | |
0.007654051780700683, | |
0.007633892059326172, | |
0.007610692024230957, | |
0.0076354918479919435, | |
0.007643332004547119, | |
0.007647332191467285, | |
0.0077158122062683104, | |
0.007671172142028808, | |
0.007666532039642334, | |
0.007668292045593262, | |
0.007811491012573242, | |
0.0076465320587158206, | |
0.007678532123565674, | |
0.00768333101272583, | |
0.007673892021179199, | |
0.007674050807952881, | |
0.007711812019348145, | |
0.011429877281188964, | |
0.007451492786407471, | |
0.0073215727806091304, | |
0.007309412956237793, | |
0.007310853004455566, | |
0.007292613029479981, | |
0.007309092998504639, | |
0.007295012950897217, | |
0.007310052871704101, | |
0.007304452896118164, | |
0.00730413293838501, | |
0.007319812774658203, | |
0.007304933071136475, | |
0.0072983732223510745, | |
0.0073020529747009275, | |
0.0073254132270812984, | |
0.0072970929145812985, | |
0.007279492855072021, | |
0.007317252159118652, | |
0.007333093166351319, | |
0.007339492797851562, | |
0.007374053001403809, | |
0.007673251152038574, | |
0.0076185321807861325, | |
0.007608451843261719, | |
0.007308932781219482, | |
0.007310372829437256, | |
0.007333892822265625, | |
0.007303012847900391, | |
0.007290213108062744, | |
0.007328932762145996, | |
0.007299653053283691, | |
0.0073086128234863285, | |
0.0073105330467224125, | |
0.007282853126525879, | |
0.007311653137207031, | |
0.007259973049163818, | |
0.007284132957458496, | |
0.007295012950897217, | |
0.007305092811584472, | |
0.00731885290145874, | |
0.007324933052062988, | |
0.007307652950286865, | |
0.007315173149108887, | |
0.007299333095550537, | |
0.007317092895507813, | |
0.007362213134765625, | |
0.007289894104003906, | |
0.007303012847900391, | |
0.0073282928466796874, | |
0.007346532821655274, | |
0.007327813148498535, | |
0.007321093082427978, | |
0.007317732810974121, | |
0.00731229305267334, | |
0.00730845308303833, | |
0.0073228530883789065, | |
0.007318052768707275, | |
0.007329092979431152, | |
0.007325892925262451, | |
0.0073057332038879395, | |
0.007337092876434326, | |
0.007331812858581543, | |
0.007329572200775147, | |
0.007318373203277588, | |
0.007313413143157959, | |
0.0072849330902099605, | |
0.007299653053283691, | |
0.0073161330223083494, | |
0.007329092979431152, | |
0.007309731960296631, | |
0.0073036527633667, | |
0.007315332889556885, | |
0.007325572967529297, | |
0.007319333076477051, | |
0.007304452896118164, | |
0.0073215727806091304, | |
0.007318052768707275, | |
0.007297893047332763, | |
0.00730413293838501, | |
0.007323973178863526, | |
0.007281892776489258, | |
0.007292613029479981, | |
0.007326212882995606, | |
0.007315812110900879, | |
0.007303332805633545, | |
0.007309732913970947, | |
0.007345252990722656, | |
0.0073282928466796874, | |
0.007303493022918701, | |
0.007318052768707275, | |
0.007307493209838868, | |
0.007333252906799316, | |
0.00839004898071289, | |
0.0076514921188354495, | |
0.007646691799163818, | |
0.007655972003936767, | |
0.007940609931945801, | |
0.007670211791992188, | |
0.007666851043701172, | |
0.007632132053375244, | |
0.007646371841430664, | |
0.007598691940307617, | |
0.007659811973571778, | |
0.00769533109664917, | |
0.007875490188598632 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.6252116338193 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |