IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
46f08e1
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"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": true, | |
"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", | |
"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.2.1", | |
"optimum_benchmark_commit": "9c5b122c5b131ce085c14c11b158b31af90e674e", | |
"transformers_version": "4.41.0", | |
"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": 1004.199936, | |
"max_global_vram": 3097.419776, | |
"max_process_vram": 202966.122496, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 120, | |
"total": 0.9997242088317869, | |
"mean": 0.008331035073598227, | |
"stdev": 7.815843140861492e-05, | |
"p50": 0.008301018238067627, | |
"p90": 0.008418954181671143, | |
"p95": 0.008535232591629029, | |
"p99": 0.008603477411270141, | |
"values": [ | |
0.008383337020874024, | |
0.008521257400512695, | |
0.008597256660461426, | |
0.008578857421875, | |
0.008615177154541015, | |
0.008558377265930176, | |
0.008534696578979492, | |
0.008462218284606934, | |
0.008410218238830567, | |
0.008342218399047852, | |
0.008300618171691894, | |
0.008344778060913086, | |
0.008418537139892579, | |
0.008414057731628418, | |
0.00840333652496338, | |
0.0083844575881958, | |
0.008345256805419922, | |
0.008358697891235351, | |
0.008545416831970215, | |
0.00848941707611084, | |
0.008421257019042968, | |
0.008353898048400879, | |
0.008404617309570312, | |
0.008334857940673828, | |
0.00844477653503418, | |
0.008418698310852051, | |
0.008378216743469238, | |
0.008604936599731446, | |
0.008347497940063477, | |
0.008336936950683594, | |
0.008350217819213867, | |
0.008329257965087891, | |
0.00834125804901123, | |
0.008296618461608887, | |
0.00831277847290039, | |
0.008297738075256347, | |
0.008276938438415527, | |
0.008277097702026366, | |
0.008265257835388184, | |
0.00828349781036377, | |
0.008294536590576171, | |
0.008292938232421875, | |
0.008304457664489746, | |
0.008287657737731933, | |
0.008314216613769531, | |
0.008288457870483398, | |
0.00829917812347412, | |
0.00827085781097412, | |
0.008290058135986328, | |
0.008298857688903809, | |
0.008307818412780762, | |
0.008313576698303222, | |
0.008285737991333008, | |
0.008261258125305176, | |
0.008311978340148926, | |
0.008264138221740722, | |
0.008287817955017089, | |
0.008315817832946777, | |
0.008300617218017578, | |
0.008314698219299317, | |
0.008349738121032714, | |
0.008283496856689453, | |
0.008296937942504882, | |
0.008295178413391113, | |
0.008253738403320313, | |
0.008317256927490234, | |
0.0083679780960083, | |
0.008304938316345215, | |
0.008318537712097169, | |
0.008274217605590821, | |
0.00829981803894043, | |
0.008279177665710449, | |
0.0082850980758667, | |
0.008275177955627442, | |
0.0082982177734375, | |
0.008266218185424805, | |
0.008251017570495605, | |
0.00825181770324707, | |
0.008327817916870118, | |
0.008292617797851563, | |
0.008271657943725585, | |
0.00827085781097412, | |
0.008307337760925293, | |
0.008325576782226562, | |
0.008286538124084473, | |
0.008280298233032227, | |
0.008318218231201172, | |
0.008283018112182617, | |
0.008318697929382324, | |
0.008306537628173828, | |
0.00832941722869873, | |
0.008300138473510741, | |
0.008314698219299317, | |
0.00827757740020752, | |
0.008347658157348633, | |
0.008291817665100098, | |
0.008285097122192383, | |
0.00829917812347412, | |
0.008265737533569337, | |
0.008279817581176758, | |
0.008287337303161621, | |
0.008271178245544434, | |
0.008291658401489257, | |
0.008289418220520019, | |
0.008289737701416016, | |
0.008295818328857422, | |
0.008285577774047852, | |
0.008283178329467773, | |
0.008287178039550782, | |
0.008269577980041505, | |
0.008301418304443359, | |
0.00827245807647705, | |
0.008312296867370606, | |
0.008286538124084473, | |
0.008346536636352538, | |
0.008304938316345215, | |
0.008308137893676758, | |
0.008327337265014648, | |
0.008293578147888184, | |
0.008282217979431152 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 120.03310406999567 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |