IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1d9a00c verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.0.dev20231010+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"model": "google-bert/bert-base-uncased",
"processor": "google-bert/bert-base-uncased",
"device": "cuda",
"device_ids": "5",
"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": 947.421184,
"max_global_vram": 68702.69952,
"max_process_vram": 48398.659584,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.2336181640625,
"mean": 8.2336181640625,
"stdev": 0.0,
"p50": 8.2336181640625,
"p90": 8.2336181640625,
"p95": 8.2336181640625,
"p99": 8.2336181640625,
"values": [
8.2336181640625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1084.98944,
"max_global_vram": 68702.69952,
"max_process_vram": 237257.48224,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 143,
"total": 1.0046105508804328,
"mean": 0.007025248607555468,
"stdev": 0.0003039473976602411,
"p50": 0.00691390323638916,
"p90": 0.007555341148376465,
"p95": 0.007575404930114746,
"p99": 0.007820197706222536,
"values": [
0.007755980014801025,
0.007687819957733154,
0.007406540870666504,
0.007414540767669678,
0.007304461002349854,
0.007213262081146241,
0.007129580974578858,
0.007135982036590576,
0.007293741226196289,
0.007213741779327393,
0.008271658897399902,
0.006972782135009766,
0.00679022216796875,
0.006801582813262939,
0.006802223205566406,
0.006793901920318603,
0.006800783157348633,
0.007023982048034668,
0.006795341968536377,
0.0067524628639221195,
0.006745102882385254,
0.00683934211730957,
0.006777102947235107,
0.006848621845245362,
0.006791502952575684,
0.006810702800750732,
0.006762062072753906,
0.007866700172424317,
0.007194861888885498,
0.006859342098236084,
0.0068775820732116695,
0.007008942127227783,
0.006867823123931885,
0.006952782154083252,
0.007107501983642578,
0.00694094181060791,
0.006913581848144531,
0.006921903133392334,
0.006955502033233643,
0.00698078203201294,
0.007214540958404541,
0.0071761422157287594,
0.0070353422164916996,
0.007069742202758789,
0.00704414176940918,
0.006932462215423584,
0.006882543087005615,
0.006892621994018555,
0.00719854211807251,
0.006912622928619385,
0.006907981872558594,
0.007174382209777832,
0.006935021877288818,
0.006904461860656738,
0.006917582988739014,
0.007071660995483398,
0.007046381950378418,
0.006935342788696289,
0.0072067008018493655,
0.006925902843475342,
0.006920302867889404,
0.006685742855072022,
0.006824302196502686,
0.006735023021697998,
0.006721743106842041,
0.006706862926483154,
0.00673134183883667,
0.006734063148498535,
0.0066982231140136714,
0.006718702793121338,
0.006689743041992187,
0.006705421924591065,
0.00670222282409668,
0.006748942852020263,
0.0066742229461669925,
0.006754222869873047,
0.006722062110900879,
0.006732142925262451,
0.006941582202911377,
0.006907342910766601,
0.006921261787414551,
0.00693486213684082,
0.0068187031745910644,
0.006903021812438965,
0.006878382205963135,
0.00691390323638916,
0.0069031820297241215,
0.006907021999359131,
0.006911663055419922,
0.006898541927337646,
0.006951662063598632,
0.006832783222198486,
0.006826062202453614,
0.0068406229019165035,
0.00690814208984375,
0.00691198205947876,
0.006888623237609863,
0.006921741962432861,
0.006900142192840577,
0.006842223167419434,
0.006873901844024658,
0.006902061939239502,
0.00685886287689209,
0.007147501945495605,
0.006856781959533691,
0.006929262161254883,
0.0069292631149292,
0.007153420925140381,
0.006892463207244873,
0.006893901824951172,
0.006877741813659668,
0.00693198299407959,
0.006674703121185303,
0.0067335829734802245,
0.006659022808074951,
0.006747982978820801,
0.007597420215606689,
0.007562541007995606,
0.0076092610359191895,
0.007553579807281494,
0.007513421058654785,
0.007554060935974121,
0.007553420066833496,
0.007571660995483399,
0.007564940929412842,
0.007561580181121826,
0.007551980972290039,
0.007555661201477051,
0.007527659893035889,
0.007563820838928223,
0.007575820922851562,
0.007619659900665283,
0.007547181129455566,
0.007563340187072754,
0.007191980838775635,
0.007344141006469727,
0.007064462184906006,
0.007064941883087158,
0.006868782043457031,
0.006713582992553711,
0.006891663074493408,
0.006927183151245117,
0.0066982231140136714
]
},
"throughput": {
"unit": "samples/s",
"value": 142.34371705003102
},
"energy": null,
"efficiency": null
}
}
}