IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
cb54947
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.33.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": 1384.79616, | |
"max_global_vram": 11.20256, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.71164208984375, | |
"mean": 7.71164208984375, | |
"stdev": 0.0, | |
"p50": 7.71164208984375, | |
"p90": 7.71164208984375, | |
"p95": 7.71164208984375, | |
"p99": 7.71164208984375, | |
"values": [ | |
7.71164208984375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1484.038144, | |
"max_global_vram": 11.264, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 1.0043431382179258, | |
"mean": 0.006695620921452841, | |
"stdev": 0.001085625500033163, | |
"p50": 0.006451494932174682, | |
"p90": 0.0068565820693969725, | |
"p95": 0.007041421055793762, | |
"p99": 0.01252131572723383, | |
"values": [ | |
0.007047973155975342, | |
0.00703341293334961, | |
0.0070025320053100585, | |
0.006885892868041992, | |
0.006869254112243653, | |
0.00689773416519165, | |
0.006820134162902832, | |
0.00678605318069458, | |
0.0067977337837219235, | |
0.0069692530632019046, | |
0.006730372905731201, | |
0.006716934204101563, | |
0.006666533946990967, | |
0.006640775203704834, | |
0.006665733814239502, | |
0.006659334182739258, | |
0.006585413932800293, | |
0.006589415073394775, | |
0.006602055072784424, | |
0.006569893836975098, | |
0.00658429479598999, | |
0.006663494110107422, | |
0.006590854167938232, | |
0.006609893798828125, | |
0.006572134971618652, | |
0.006550054073333741, | |
0.006561254978179932, | |
0.006567173957824707, | |
0.006570535182952881, | |
0.009346842765808105, | |
0.006748134136199951, | |
0.006403335094451904, | |
0.006395814895629882, | |
0.006500134944915772, | |
0.006439495086669922, | |
0.006610214233398437, | |
0.006697894096374512, | |
0.006402854919433594, | |
0.006452294826507568, | |
0.006412294864654541, | |
0.006373735904693603, | |
0.006417415142059326, | |
0.006621253967285156, | |
0.006372135162353515, | |
0.006374855041503907, | |
0.006372775077819824, | |
0.006399335861206054, | |
0.006631653785705566, | |
0.0064140548706054686, | |
0.006388454914093017, | |
0.006360935211181641, | |
0.00655581521987915, | |
0.00642973518371582, | |
0.006388615131378174, | |
0.006602374076843262, | |
0.006434374809265136, | |
0.006406374931335449, | |
0.006410695075988769, | |
0.00640061616897583, | |
0.006629414081573486, | |
0.006408774852752685, | |
0.0063761348724365235, | |
0.006454695224761963, | |
0.006454695224761963, | |
0.00660845422744751, | |
0.006432775020599365, | |
0.00642109489440918, | |
0.006432775020599365, | |
0.006450695037841797, | |
0.0064404549598693845, | |
0.006446215152740478, | |
0.006367975234985351, | |
0.006418535232543945, | |
0.0064441351890563965, | |
0.0064276552200317385, | |
0.0064233350753784176, | |
0.0063975749015808105, | |
0.006440774917602539, | |
0.006432935237884522, | |
0.006417415142059326, | |
0.015571299552917481, | |
0.006397415161132813, | |
0.0064134149551391606, | |
0.006438694953918457, | |
0.0064564552307128905, | |
0.006459014892578125, | |
0.00645981502532959, | |
0.0064140548706054686, | |
0.006423494815826416, | |
0.006665254116058349, | |
0.006750372886657715, | |
0.006855174064636231, | |
0.006814692974090576, | |
0.006503174781799317, | |
0.006452294826507568, | |
0.006429894924163819, | |
0.0064042949676513675, | |
0.006629414081573486, | |
0.006402375221252442, | |
0.006399815082550049, | |
0.006415016174316406, | |
0.006389894962310791, | |
0.006692934036254883, | |
0.006415335178375245, | |
0.006444455146789551, | |
0.0064282951354980465, | |
0.006400294780731201, | |
0.0063927750587463375, | |
0.006432455062866211, | |
0.006442695140838623, | |
0.006416775226593017, | |
0.006386374950408936, | |
0.006438374996185303, | |
0.006399014949798584, | |
0.006376935005187988, | |
0.006411334991455078, | |
0.006392615795135498, | |
0.006412934780120849, | |
0.006424135208129883, | |
0.006417415142059326, | |
0.006428774833679199, | |
0.006398055076599121, | |
0.006429574966430664, | |
0.0064281349182128905, | |
0.006588453769683838, | |
0.006729574203491211, | |
0.006640294075012207, | |
0.006628133773803711, | |
0.006422854900360107, | |
0.006398215770721436, | |
0.006415174961090088, | |
0.0064116549491882325, | |
0.006403174877166748, | |
0.01574617862701416, | |
0.006422854900360107, | |
0.006463014125823975, | |
0.006459175109863281, | |
0.0072943720817565914, | |
0.007261092185974121, | |
0.007268771171569825, | |
0.007325891971588135, | |
0.006927813053131103, | |
0.00680125379562378, | |
0.006604613780975342, | |
0.006809412956237793, | |
0.006827013969421387, | |
0.006634054183959961, | |
0.006853413105010986, | |
0.006851653099060059, | |
0.006702854156494141 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.3513464592939 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |