IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b7f231e
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]", | |
"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.33.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.17376, | |
"max_global_vram": 11.087872, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.102890625, | |
"mean": 8.102890625, | |
"stdev": 0.0, | |
"p50": 8.102890625, | |
"p90": 8.102890625, | |
"p95": 8.102890625, | |
"p99": 8.102890625, | |
"values": [ | |
8.102890625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1555.685376, | |
"max_global_vram": 11.149312, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 120, | |
"total": 1.0023021020889287, | |
"mean": 0.008352517517407735, | |
"stdev": 0.0005699882983985471, | |
"p50": 0.008188376426696776, | |
"p90": 0.009083766078948976, | |
"p95": 0.009262909984588624, | |
"p99": 0.009770253772735596, | |
"values": [ | |
0.008870534896850586, | |
0.00904989528656006, | |
0.009182853698730469, | |
0.009250534057617188, | |
0.009229892730712891, | |
0.009240934371948242, | |
0.009499492645263672, | |
0.010093091011047363, | |
0.00978685188293457, | |
0.009699493408203126, | |
0.009082694053649903, | |
0.00894173526763916, | |
0.008972614288330079, | |
0.008921895027160644, | |
0.008835814476013183, | |
0.008806694984436035, | |
0.008882695198059083, | |
0.008918214797973632, | |
0.008795655250549317, | |
0.008846214294433594, | |
0.008869415283203124, | |
0.008893733978271484, | |
0.009093414306640625, | |
0.009142053604125977, | |
0.009498052597045899, | |
0.009579973220825195, | |
0.008549256324768066, | |
0.008538535118103027, | |
0.008540936470031738, | |
0.008596454620361328, | |
0.008634855270385742, | |
0.008693414688110352, | |
0.008634535789489747, | |
0.008660615921020508, | |
0.008611495018005372, | |
0.008676135063171386, | |
0.00862749481201172, | |
0.008669095993041992, | |
0.008649255752563477, | |
0.008672454833984374, | |
0.008676295280456542, | |
0.008655335426330566, | |
0.008614695549011231, | |
0.008636775970458985, | |
0.008657574653625488, | |
0.008645255088806153, | |
0.008697574615478515, | |
0.008756295204162597, | |
0.008730375289916992, | |
0.008782375335693359, | |
0.008779814720153808, | |
0.008296775817871093, | |
0.007967977046966553, | |
0.0077566180229187015, | |
0.007780938148498535, | |
0.007785737037658691, | |
0.008008617401123047, | |
0.007809738159179688, | |
0.007835658073425292, | |
0.007802217960357666, | |
0.00783693790435791, | |
0.0078246169090271, | |
0.007795177936553955, | |
0.007750217914581299, | |
0.007722698211669922, | |
0.0077834978103637695, | |
0.007801417827606201, | |
0.007830536842346192, | |
0.007824617862701416, | |
0.007851817131042481, | |
0.007869257926940917, | |
0.00781725788116455, | |
0.007796617984771728, | |
0.007713098049163819, | |
0.007779337882995605, | |
0.007827336788177491, | |
0.007983656883239746, | |
0.007747178077697754, | |
0.007859017848968506, | |
0.00784317684173584, | |
0.007833258152008056, | |
0.007817737102508545, | |
0.007813737869262696, | |
0.00781357717514038, | |
0.007832618236541748, | |
0.007813258171081543, | |
0.007852458000183105, | |
0.007801578044891357, | |
0.007827657222747803, | |
0.007781737804412841, | |
0.007803338050842285, | |
0.007829738140106202, | |
0.0077993378639221195, | |
0.007809257030487061, | |
0.007823338031768799, | |
0.0077823781967163086, | |
0.007844137191772462, | |
0.00780413818359375, | |
0.007834376811981202, | |
0.00781885814666748, | |
0.0078049378395080565, | |
0.007842217922210694, | |
0.00807997703552246, | |
0.008055657386779784, | |
0.008025096893310548, | |
0.007935816764831544, | |
0.007706058025360107, | |
0.007874376773834228, | |
0.007873258113861085, | |
0.007948456764221191, | |
0.008064777374267577, | |
0.008497414588928222, | |
0.008787654876708984, | |
0.008774054527282716, | |
0.008755494117736816, | |
0.007946217060089111, | |
0.008303976058959961, | |
0.008560296058654784, | |
0.00870589542388916, | |
0.008750855445861816 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 119.72438224952772 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |