IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c9f2490
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"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", | |
"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.0", | |
"optimum_benchmark_commit": "6422f8f56820540ec4876445962a50a44754b92e", | |
"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": 999.501824, | |
"max_global_vram": 930.553856, | |
"max_process_vram": 228963.36896, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9993402862548826, | |
"mean": 0.0076285518034723875, | |
"stdev": 0.0004296629559832714, | |
"p50": 0.007525410175323486, | |
"p90": 0.00806348705291748, | |
"p95": 0.008087487697601318, | |
"p99": 0.008134350872039795, | |
"values": [ | |
0.008035167694091797, | |
0.00768812894821167, | |
0.007636929035186767, | |
0.0073361310958862305, | |
0.007447329044342041, | |
0.007611010074615478, | |
0.007477408885955811, | |
0.0075105299949646, | |
0.007510369777679444, | |
0.007526848793029785, | |
0.007479169845581055, | |
0.007425089836120605, | |
0.007353731155395508, | |
0.007312129974365234, | |
0.00725261116027832, | |
0.007253570079803467, | |
0.0073287711143493655, | |
0.007331490039825439, | |
0.007206050872802734, | |
0.007185891151428223, | |
0.007224451065063477, | |
0.007200450897216797, | |
0.007244610786437988, | |
0.007210210800170898, | |
0.007260290145874024, | |
0.007229890823364258, | |
0.0071673312187194825, | |
0.00718061113357544, | |
0.007251330852508545, | |
0.007389410018920899, | |
0.007422369956970215, | |
0.007479489803314209, | |
0.0075044498443603514, | |
0.007474208831787109, | |
0.007422370910644531, | |
0.007427010059356689, | |
0.0074140501022338864, | |
0.007448770046234131, | |
0.007376450061798096, | |
0.007573888778686523, | |
0.007244450092315674, | |
0.01073483657836914, | |
0.007630208969116211, | |
0.0076447691917419435, | |
0.007581729888916016, | |
0.007555169105529785, | |
0.007787649154663086, | |
0.007760128021240234, | |
0.008073887825012206, | |
0.007491169929504394, | |
0.007632608890533447, | |
0.008094687461853028, | |
0.008047167778015136, | |
0.008033567428588868, | |
0.008092767715454101, | |
0.008049567222595215, | |
0.008066368103027344, | |
0.008027967453002929, | |
0.008117886543273925, | |
0.008086048126220702, | |
0.0080580472946167, | |
0.0081079683303833, | |
0.008055807113647461, | |
0.00807084846496582, | |
0.008051966667175293, | |
0.008041248321533204, | |
0.008019166946411133, | |
0.008033087730407715, | |
0.008082047462463379, | |
0.008078847885131836, | |
0.008055006980895996, | |
0.008088927268981933, | |
0.008063008308410644, | |
0.008015487670898437, | |
0.00806348705291748, | |
0.008045248031616211, | |
0.008043967247009277, | |
0.008041567802429199, | |
0.008034047126770019, | |
0.007984928131103516, | |
0.00798956823348999, | |
0.008141407012939453, | |
0.00800540828704834, | |
0.008047327041625977, | |
0.007808128833770752, | |
0.007764448165893554, | |
0.008037407875061036, | |
0.007620449066162109, | |
0.007628609180450439, | |
0.00751757001876831, | |
0.007390850067138672, | |
0.007435009956359863, | |
0.007433569908142089, | |
0.0074689297676086425, | |
0.007491489887237549, | |
0.007193251132965088, | |
0.0072583708763122555, | |
0.007185251235961914, | |
0.007204130172729493, | |
0.0072034912109375, | |
0.0072052512168884275, | |
0.007235970973968506, | |
0.007210210800170898, | |
0.007221090793609619, | |
0.007174850940704346, | |
0.007245410919189453, | |
0.007176130771636963, | |
0.007140611171722412, | |
0.007159972190856933, | |
0.007164451122283935, | |
0.007173891067504883, | |
0.007225410938262939, | |
0.007401889801025391, | |
0.008014686584472656, | |
0.008057567596435547, | |
0.007921567916870117, | |
0.007491330146789551, | |
0.008000126838684082, | |
0.007864608764648437, | |
0.007556128978729248, | |
0.007535809993743896, | |
0.007529408931732178, | |
0.0075154900550842285, | |
0.007434050083160401, | |
0.007525410175323486, | |
0.00753036880493164, | |
0.00759404993057251, | |
0.007599648952484131, | |
0.007632928848266602, | |
0.007233251094818116, | |
0.007146689891815185 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.08647955235972 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |