IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0166346 verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.1+rocm6.1",
"_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": "4",
"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": "error",
"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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1385.299968,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.8497939453125,
"mean": 7.8497939453125,
"stdev": 0.0,
"p50": 7.8497939453125,
"p90": 7.8497939453125,
"p95": 7.8497939453125,
"p99": 7.8497939453125,
"values": [
7.8497939453125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1485.471744,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 152,
"total": 1.011947181224823,
"mean": 0.00665754724490015,
"stdev": 0.0008349427531112204,
"p50": 0.006534219980239868,
"p90": 0.006986315059661866,
"p95": 0.007241385984420776,
"p99": 0.007421022291183474,
"values": [
0.007138379096984863,
0.007056457996368408,
0.00726109790802002,
0.006852138996124268,
0.006852459907531738,
0.006814700126647949,
0.006769898891448974,
0.006726379871368408,
0.006713099002838134,
0.0069961390495300296,
0.006735660076141357,
0.006622379779815674,
0.006631499767303467,
0.006641099929809571,
0.006592780113220215,
0.006591340065002441,
0.0066083002090454104,
0.006569740772247315,
0.0065970997810363766,
0.00659197998046875,
0.006508140087127685,
0.006579820156097412,
0.006510540008544922,
0.006530540943145752,
0.006519020080566406,
0.006488460063934326,
0.006473580837249756,
0.006500939846038819,
0.0064492602348327635,
0.006513260841369629,
0.006488460063934326,
0.006507659912109375,
0.007575817108154297,
0.00702669906616211,
0.006533420085906983,
0.006772299766540527,
0.006580780029296875,
0.006590219974517822,
0.006535019874572754,
0.006606060028076172,
0.006521739959716797,
0.006570061206817627,
0.0065041399002075196,
0.006560460090637207,
0.006506539821624756,
0.006570539951324463,
0.0065542211532592775,
0.006531819820404052,
0.006560299873352051,
0.006535980224609375,
0.006604939937591553,
0.00651885986328125,
0.006570220947265625,
0.006532780170440674,
0.006579179763793946,
0.0065751800537109375,
0.0065641398429870604,
0.006614059925079346,
0.006535980224609375,
0.006583020210266113,
0.006489261150360108,
0.006599820137023925,
0.006537580013275147,
0.006599339962005615,
0.006537580013275147,
0.006583499908447266,
0.006619339942932129,
0.006556940078735351,
0.006376461029052734,
0.00647550106048584,
0.00641486120223999,
0.006429420948028564,
0.006420780181884766,
0.00642254114151001,
0.006642859935760498,
0.006628620147705078,
0.006897899150848388,
0.006607820034027099,
0.006562860012054444,
0.006441740036010743,
0.006413741111755371,
0.006404140949249268,
0.006424300193786621,
0.006442541122436523,
0.006415820121765137,
0.0064220609664916994,
0.006389579772949219,
0.006385741233825684,
0.006401741027832032,
0.0064113402366638185,
0.006404301166534424,
0.007031979084014893,
0.00723101806640625,
0.006776618957519531,
0.006643340110778808,
0.006383181095123291,
0.006385741233825684,
0.006605260848999024,
0.006819018840789795,
0.006779979228973389,
0.006557900905609131,
0.006403979778289795,
0.0063975811004638675,
0.006444300174713135,
0.0063975811004638675,
0.006446060180664063,
0.006410060882568359,
0.006423820972442627,
0.0064148597717285155,
0.006401421070098877,
0.006451819896697998,
0.006415660858154297,
0.0064134202003479,
0.006406860828399658,
0.0064385409355163575,
0.0064308600425720215,
0.006404301166534424,
0.0064204602241516116,
0.0064172611236572264,
0.0064166197776794436,
0.006422700881958007,
0.006405900955200195,
0.006435500144958496,
0.006446220874786377,
0.006417419910430908,
0.006428781032562256,
0.00638893985748291,
0.006408781051635742,
0.006423181056976319,
0.006408939838409424,
0.00642094087600708,
0.006387340068817139,
0.006393260955810547,
0.006437100887298584,
0.006408939838409424,
0.0063889408111572265,
0.006397900104522705,
0.006425100803375244,
0.007028459072113037,
0.00726973819732666,
0.0072593379020690916,
0.007254057884216308,
0.007272297859191894,
0.007267817974090576,
0.0070790181159973145,
0.0066871800422668454,
0.006775660037994385,
0.0067055788040161135,
0.006680459976196289,
0.006764139175415039,
0.0066676588058471676,
0.016513551712036133
]
},
"throughput": {
"unit": "samples/s",
"value": 150.2054680522208
},
"energy": null,
"efficiency": null
}
}
}