IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
67816cc
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": "2c28e6003745fe7e05d2d15f59cde0588e3c32a2", | |
"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.552576, | |
"max_global_vram": 2695.74144, | |
"max_process_vram": 48372.92032, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.5433115234375, | |
"mean": 7.5433115234375, | |
"stdev": 0.0, | |
"p50": 7.5433115234375, | |
"p90": 7.5433115234375, | |
"p95": 7.5433115234375, | |
"p99": 7.5433115234375, | |
"values": [ | |
7.5433115234375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1841.553408, | |
"max_global_vram": 2801.156096, | |
"max_process_vram": 307798.388736, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 121, | |
"total": 0.9949730930328367, | |
"mean": 0.008222918124238322, | |
"stdev": 0.00037919356501304644, | |
"p50": 0.00825772762298584, | |
"p90": 0.008315008163452148, | |
"p95": 0.00837548828125, | |
"p99": 0.009371964073181152, | |
"values": [ | |
0.008548287391662598, | |
0.008849885940551758, | |
0.008955965042114258, | |
0.009039805412292481, | |
0.011262036323547364, | |
0.008272607803344727, | |
0.008184927940368653, | |
0.008213567733764648, | |
0.00816716766357422, | |
0.008197728157043458, | |
0.008244128227233886, | |
0.008243967056274414, | |
0.008253727912902832, | |
0.008197088241577149, | |
0.008233247756958008, | |
0.008264287948608399, | |
0.008255006790161133, | |
0.008282527923583985, | |
0.008295647621154785, | |
0.008255488395690918, | |
0.00824284839630127, | |
0.008281567573547362, | |
0.008301727294921875, | |
0.008287487983703613, | |
0.008255807876586915, | |
0.00825324821472168, | |
0.008271648406982421, | |
0.008262207984924316, | |
0.008295807838439941, | |
0.008307007789611817, | |
0.008257086753845216, | |
0.008251487731933594, | |
0.008248607635498046, | |
0.008270208358764648, | |
0.008019968986511231, | |
0.00784108877182007, | |
0.007699170112609863, | |
0.007819169998168946, | |
0.007747330188751221, | |
0.0077338900566101074, | |
0.007649569988250732, | |
0.0076249299049377444, | |
0.007707009792327881, | |
0.007587649822235107, | |
0.007446691036224366, | |
0.007916769027709962, | |
0.007935489177703857, | |
0.007733570098876953, | |
0.008045408248901367, | |
0.007715010166168213, | |
0.00813484764099121, | |
0.00802060890197754, | |
0.007979649066925049, | |
0.008094528198242187, | |
0.008020769119262696, | |
0.00823628807067871, | |
0.008260928153991699, | |
0.008290207862854004, | |
0.008257887840270995, | |
0.008272607803344727, | |
0.008261247634887696, | |
0.008266367912292481, | |
0.008269408226013183, | |
0.008270208358764648, | |
0.008187487602233886, | |
0.008193728446960449, | |
0.008278846740722656, | |
0.008260607719421387, | |
0.008279487609863282, | |
0.008278046607971191, | |
0.008264927864074708, | |
0.008298687934875489, | |
0.008293408393859864, | |
0.008302687644958496, | |
0.00828604793548584, | |
0.00826972770690918, | |
0.008199328422546387, | |
0.00817420768737793, | |
0.008306366920471191, | |
0.00819388771057129, | |
0.008307168006896973, | |
0.00825612735748291, | |
0.008247167587280273, | |
0.008319328308105469, | |
0.008299167633056641, | |
0.008297887802124024, | |
0.008319327354431152, | |
0.008287648200988769, | |
0.0082938871383667, | |
0.008349568367004394, | |
0.008291327476501464, | |
0.008287327766418457, | |
0.008231807708740234, | |
0.00821100902557373, | |
0.00837548828125, | |
0.007967809200286865, | |
0.008056129455566406, | |
0.00805596923828125, | |
0.007815169811248779, | |
0.00797132921218872, | |
0.00798284912109375, | |
0.007679330825805664, | |
0.009455003738403321, | |
0.008261247634887696, | |
0.008068928718566895, | |
0.008259488105773925, | |
0.00828604793548584, | |
0.008331647872924805, | |
0.008195327758789063, | |
0.008162049293518067, | |
0.008322048187255859, | |
0.008295488357543946, | |
0.008315008163452148, | |
0.008283488273620606, | |
0.008249567031860352, | |
0.00831100845336914, | |
0.008268768310546876, | |
0.008280447959899902, | |
0.00825772762298584, | |
0.008299487113952637, | |
0.008237887382507324 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 121.61132883621272 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |