IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cf1284c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "6", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_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, | |
"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": "warn", | |
"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.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1042.35008, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46905.040896, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.4980439453125, | |
"mean": 8.4980439453125, | |
"stdev": 0.0, | |
"p50": 8.4980439453125, | |
"p90": 8.4980439453125, | |
"p95": 8.4980439453125, | |
"p99": 8.4980439453125, | |
"values": [ | |
8.4980439453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1159.917568, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 232330.764288, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9945945172309874, | |
"mean": 0.007534806948719603, | |
"stdev": 0.0004742217596571401, | |
"p50": 0.0073120961189270025, | |
"p90": 0.008278418731689453, | |
"p95": 0.008379355430603027, | |
"p99": 0.008715436477661133, | |
"values": [ | |
0.008396339416503907, | |
0.00810545825958252, | |
0.008365459442138672, | |
0.008498738288879395, | |
0.008461618423461914, | |
0.008423059463500977, | |
0.008578099250793458, | |
0.008321779251098633, | |
0.007953617095947265, | |
0.007849298000335693, | |
0.007718737125396728, | |
0.007696977138519287, | |
0.007680016994476319, | |
0.007638737201690674, | |
0.007659377098083496, | |
0.00762753677368164, | |
0.007627696990966797, | |
0.007607057094573975, | |
0.007598736763000488, | |
0.007582417011260986, | |
0.007588175773620606, | |
0.007627376079559326, | |
0.010960824966430664, | |
0.007591536998748779, | |
0.007283535957336426, | |
0.007279376029968262, | |
0.0072980961799621585, | |
0.007282256126403808, | |
0.007243375778198242, | |
0.007285615921020508, | |
0.007242735862731934, | |
0.007312016010284424, | |
0.0073059358596801755, | |
0.007279215812683105, | |
0.007302257061004638, | |
0.00729633617401123, | |
0.007308015823364258, | |
0.0073102560043334965, | |
0.007581936836242676, | |
0.0073268961906433104, | |
0.007268496036529541, | |
0.007301616191864014, | |
0.007336976051330567, | |
0.0073259367942810055, | |
0.007307695865631104, | |
0.0072894558906555175, | |
0.0074838571548461914, | |
0.007241456031799316, | |
0.0072937760353088375, | |
0.007256815910339356, | |
0.0072747359275817875, | |
0.007464016914367676, | |
0.007263376235961914, | |
0.007252975940704346, | |
0.007260816097259521, | |
0.007445137023925782, | |
0.007255055904388428, | |
0.007259856224060059, | |
0.007272816181182861, | |
0.007331376075744629, | |
0.0072576160430908206, | |
0.00728801679611206, | |
0.00728929615020752, | |
0.007296656131744385, | |
0.0072766561508178715, | |
0.007292175769805908, | |
0.007295536994934082, | |
0.007359055995941162, | |
0.0073121762275695805, | |
0.007347216129302978, | |
0.007325776100158691, | |
0.007284815788269043, | |
0.007340015888214112, | |
0.007285935878753662, | |
0.007291057109832764, | |
0.007296495914459229, | |
0.007266895771026611, | |
0.00724513578414917, | |
0.007323535919189453, | |
0.007264336109161377, | |
0.0073108959197998044, | |
0.00727569580078125, | |
0.00729537582397461, | |
0.007370736122131348, | |
0.007321455955505371, | |
0.0072980961799621585, | |
0.007297455787658691, | |
0.007268815994262695, | |
0.007283055782318115, | |
0.007423696041107178, | |
0.007292175769805908, | |
0.007288335800170898, | |
0.007300336837768554, | |
0.007297776222229004, | |
0.007290736198425293, | |
0.007290575981140137, | |
0.007302735805511475, | |
0.00726145601272583, | |
0.007317935943603516, | |
0.007331535816192627, | |
0.007319056034088135, | |
0.007290256023406982, | |
0.007316656112670898, | |
0.007321455955505371, | |
0.0072558560371398925, | |
0.007324176788330078, | |
0.007353616237640381, | |
0.007302576065063476, | |
0.007292175769805908, | |
0.0072747359275817875, | |
0.007304656028747559, | |
0.007339216232299804, | |
0.0072985758781433105, | |
0.007298895835876465, | |
0.007282896995544434, | |
0.007659057140350342, | |
0.008247858047485351, | |
0.008777138710021972, | |
0.008280018806457519, | |
0.008264018058776855, | |
0.008334898948669433, | |
0.007624337196350098, | |
0.007668177127838135, | |
0.007721937179565429, | |
0.00795825719833374, | |
0.008340658187866211, | |
0.008306577682495117, | |
0.008301617622375489, | |
0.007935857772827149, | |
0.008140018463134766, | |
0.0076971368789672855, | |
0.007422094821929932 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.71740162764635 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |