IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
bcca545
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_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.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.3.1", | |
"optimum_benchmark_commit": "3f7b9d2c002cca7024cac52f3c7535f2a03b7b03", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.593536, | |
"max_global_vram": 409.161728, | |
"max_process_vram": 45575.74144, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.42376708984375, | |
"mean": 7.42376708984375, | |
"stdev": 0.0, | |
"p50": 7.42376708984375, | |
"p90": 7.42376708984375, | |
"p95": 7.42376708984375, | |
"p99": 7.42376708984375, | |
"values": [ | |
7.42376708984375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1830.15424, | |
"max_global_vram": 520.515584, | |
"max_process_vram": 283670.89664, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 0.9973732199668887, | |
"mean": 0.00785333244068416, | |
"stdev": 0.0004506504212825043, | |
"p50": 0.007744143962860108, | |
"p90": 0.008413486099243164, | |
"p95": 0.008438702201843262, | |
"p99": 0.009415953903198236, | |
"values": [ | |
0.008173102378845215, | |
0.008462862014770508, | |
0.008277582168579102, | |
0.00852606201171875, | |
0.00843758201599121, | |
0.008284783363342286, | |
0.008218221664428711, | |
0.008298221588134766, | |
0.007942702770233154, | |
0.007946063041687011, | |
0.00778350305557251, | |
0.007728302955627441, | |
0.007739344120025635, | |
0.007658223152160645, | |
0.007664783954620362, | |
0.007708463191986084, | |
0.007935022830963135, | |
0.0077169427871704105, | |
0.00765934419631958, | |
0.007629583835601807, | |
0.007579023838043213, | |
0.007814063072204589, | |
0.007704463958740235, | |
0.009728618621826172, | |
0.007758862972259521, | |
0.007782063007354736, | |
0.007792463779449463, | |
0.008242061614990234, | |
0.0077238230705261235, | |
0.007855982780456542, | |
0.007774543762207031, | |
0.007905103206634522, | |
0.007719822883605957, | |
0.00787742280960083, | |
0.007932143211364746, | |
0.008453742027282714, | |
0.010522056579589843, | |
0.00820062255859375, | |
0.00835582160949707, | |
0.008308141708374024, | |
0.00838302230834961, | |
0.008400622367858887, | |
0.008384942054748535, | |
0.008375182151794433, | |
0.008397582054138184, | |
0.008409582138061523, | |
0.008419342041015625, | |
0.00843326187133789, | |
0.008407662391662598, | |
0.00843918228149414, | |
0.0084668607711792, | |
0.00842958164215088, | |
0.00843118190765381, | |
0.008345261573791504, | |
0.008189582824707031, | |
0.008073101997375489, | |
0.007957902908325196, | |
0.00807598304748535, | |
0.007561264038085938, | |
0.007509744167327881, | |
0.007511023998260498, | |
0.007537903785705566, | |
0.007545584201812744, | |
0.007780783176422119, | |
0.007426544189453125, | |
0.007790702819824219, | |
0.007763343811035156, | |
0.007521903038024903, | |
0.007510223865509033, | |
0.0075132641792297365, | |
0.0074684638977050785, | |
0.007532144069671631, | |
0.007500944137573243, | |
0.007554062843322754, | |
0.0075683040618896484, | |
0.007707024097442627, | |
0.007411183834075928, | |
0.007387184143066407, | |
0.007589103221893311, | |
0.0074078249931335445, | |
0.007522223949432373, | |
0.007398384094238281, | |
0.007576784133911133, | |
0.007544464111328125, | |
0.0075371041297912595, | |
0.007531023025512696, | |
0.0075590238571166994, | |
0.007499504089355469, | |
0.007502863883972168, | |
0.00750270414352417, | |
0.0075204639434814455, | |
0.008424141883850097, | |
0.007916303157806396, | |
0.007798704147338867, | |
0.007993422985076904, | |
0.008241263389587403, | |
0.007824303150177002, | |
0.007744303226470947, | |
0.007821103096008301, | |
0.007739984035491944, | |
0.007834383010864258, | |
0.007885902881622315, | |
0.007803183078765869, | |
0.007859182834625245, | |
0.0077457427978515625, | |
0.00796958303451538, | |
0.007744143962860108, | |
0.007436144828796387, | |
0.0073436651229858395, | |
0.0075983829498291015, | |
0.007457903861999512, | |
0.007460624217987061, | |
0.007448304176330567, | |
0.007460624217987061, | |
0.007473743915557861, | |
0.007460624217987061, | |
0.007477263927459717, | |
0.007481264114379883, | |
0.007473104000091553, | |
0.00747678279876709, | |
0.007448783874511719, | |
0.007489583969116211, | |
0.007489102840423584, | |
0.007471183776855469, | |
0.007480944156646728, | |
0.007476943969726563, | |
0.007488143920898437 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.33447966872045 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |