IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
eb9a556
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-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.2.1", | |
"optimum_benchmark_commit": "c1d0b062e90b79e7705510c58cea731c0d90da8a", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1820.921856, | |
"max_global_vram": 1521.647616, | |
"max_process_vram": 100882.30912, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 159, | |
"total": 0.995585117340088, | |
"mean": 0.00626154161849112, | |
"stdev": 0.0006557796893937076, | |
"p50": 0.006425929069519043, | |
"p90": 0.0065106330871582034, | |
"p95": 0.006521817922592163, | |
"p99": 0.009845882625579833, | |
"values": [ | |
0.010615694999694824, | |
0.009822093963623046, | |
0.00987873363494873, | |
0.008211530685424805, | |
0.00573776912689209, | |
0.005739208221435547, | |
0.00573200798034668, | |
0.005748009204864502, | |
0.00572432804107666, | |
0.005742087841033936, | |
0.005732809066772461, | |
0.005714407920837402, | |
0.005719848155975342, | |
0.0057379288673400876, | |
0.005712647914886474, | |
0.005707047939300537, | |
0.005740649223327636, | |
0.005737127780914307, | |
0.005729447841644287, | |
0.005755689144134522, | |
0.005751688003540039, | |
0.005767528057098389, | |
0.005744167804718018, | |
0.005776008129119873, | |
0.0057441692352294925, | |
0.005746247768402099, | |
0.005759367942810059, | |
0.005749769210815429, | |
0.00576912784576416, | |
0.00575056791305542, | |
0.005760808944702148, | |
0.005742087841033936, | |
0.00577056884765625, | |
0.005742728233337402, | |
0.005752327919006347, | |
0.005786408901214599, | |
0.005767367839813233, | |
0.0057792081832885745, | |
0.005776968955993653, | |
0.005753767967224121, | |
0.0056568078994750975, | |
0.005772808074951172, | |
0.005769449234008789, | |
0.0059742479324340824, | |
0.005751208782196045, | |
0.005755208015441895, | |
0.005755688190460205, | |
0.005771688938140869, | |
0.005762887954711914, | |
0.00594304895401001, | |
0.005766568183898926, | |
0.005760328769683838, | |
0.005787367820739746, | |
0.005892327785491943, | |
0.005767687797546387, | |
0.005739848136901856, | |
0.00577920913696289, | |
0.005911208152770996, | |
0.00594464921951294, | |
0.00593120813369751, | |
0.005928808212280273, | |
0.0057400078773498535, | |
0.005733128070831299, | |
0.005761288166046143, | |
0.005728649139404297, | |
0.005905928134918213, | |
0.0059649691581726075, | |
0.005771048069000244, | |
0.005768649101257324, | |
0.005813608169555664, | |
0.006521770000457764, | |
0.0065147290229797365, | |
0.006518729209899902, | |
0.006486248970031738, | |
0.0064137687683105465, | |
0.0064350500106811525, | |
0.00646928882598877, | |
0.006458088874816894, | |
0.006490089893341064, | |
0.006499369144439698, | |
0.006503210067749023, | |
0.006473289012908935, | |
0.006507850170135498, | |
0.006479049205780029, | |
0.006509610176086426, | |
0.0064915289878845215, | |
0.006421928882598877, | |
0.0064393701553344725, | |
0.006507688999176025, | |
0.006473289966583252, | |
0.006510889053344727, | |
0.006497929096221924, | |
0.006460649013519287, | |
0.006431209087371826, | |
0.0064937701225280765, | |
0.006513449192047119, | |
0.006515530109405518, | |
0.0064841690063476565, | |
0.006541930198669434, | |
0.0064840087890625, | |
0.006505289077758789, | |
0.006509769916534424, | |
0.006510569095611572, | |
0.006503210067749023, | |
0.006386728763580323, | |
0.0065035300254821776, | |
0.0065222492218017574, | |
0.006576010227203369, | |
0.006469929218292236, | |
0.006441450119018555, | |
0.006459848880767822, | |
0.00646304988861084, | |
0.0064486489295959475, | |
0.006478408813476563, | |
0.006500010013580322, | |
0.0064884891510009765, | |
0.0064924898147583005, | |
0.0064670491218566896, | |
0.006445929050445557, | |
0.006426569938659668, | |
0.0064419288635253905, | |
0.0064113688468933104, | |
0.006458569049835205, | |
0.006437929153442383, | |
0.006418889999389649, | |
0.006425929069519043, | |
0.00640912914276123, | |
0.0064252901077270505, | |
0.0064724888801574705, | |
0.006430728912353516, | |
0.006420010089874267, | |
0.006437129020690918, | |
0.006466729164123535, | |
0.00640480899810791, | |
0.006442728996276855, | |
0.0064084892272949215, | |
0.00646928882598877, | |
0.006422089099884033, | |
0.0064444899559021, | |
0.006430889129638672, | |
0.006412168979644775, | |
0.006448170185089111, | |
0.006425128936767578, | |
0.006513769149780273, | |
0.006490569114685058, | |
0.0064603290557861326, | |
0.006519370079040528, | |
0.006499369144439698, | |
0.0064444899559021, | |
0.0064486489295959475, | |
0.0064848089218139645, | |
0.006476009845733642, | |
0.006484329223632812, | |
0.006457769870758056, | |
0.006478408813476563, | |
0.006488328933715821, | |
0.006470889091491699, | |
0.00648560905456543, | |
0.006531849861145019 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 159.7050791847928 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |