{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_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": "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": true, "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 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.285632, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 868.72064, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.261056 }, "latency": { "unit": "s", "count": 183, "total": 1.0048071684837343, "mean": 0.005490749554555924, "stdev": 0.00028367097121473523, "p50": 0.005392384052276611, "p90": 0.005773926448822022, "p95": 0.00609904637336731, "p99": 0.006565396556854248, "values": [ 0.006102015972137451, 0.005603328227996827, 0.005677055835723877, 0.005736447811126709, 0.005849088191986084, 0.00573747205734253, 0.005790719985961914, 0.005679103851318359, 0.005731328010559082, 0.005534719944000244, 0.005479423999786377, 0.005375999927520752, 0.005361663818359375, 0.005775360107421875, 0.005681151866912842, 0.005665791988372803, 0.005679103851318359, 0.00563097620010376, 0.005692416191101074, 0.005478400230407715, 0.005540863990783691, 0.006360064029693604, 0.006723584175109864, 0.005670911788940429, 0.00568832015991211, 0.005639167785644531, 0.005340159893035889, 0.005361663818359375, 0.005322751998901368, 0.005370880126953125, 0.005477375984191894, 0.005429247856140137, 0.005452799797058106, 0.005494783878326416, 0.005410816192626953, 0.005618688106536865, 0.005987328052520752, 0.00566476821899414, 0.005768191814422607, 0.006120448112487793, 0.0062044157981872555, 0.005636096000671387, 0.005731328010559082, 0.005617663860321045, 0.00570470380783081, 0.0054876160621643065, 0.005667840003967285, 0.0058388481140136715, 0.0057497601509094234, 0.005736447811126709, 0.005492735862731934, 0.005438464164733887, 0.005496831893920898, 0.005411839962005615, 0.00542310380935669, 0.005405695915222168, 0.005285888195037842, 0.0053309440612792965, 0.00537497615814209, 0.005345280170440674, 0.005482495784759522, 0.00531660795211792, 0.005208064079284668, 0.005067776203155518, 0.005108736038208008, 0.005086207866668701, 0.005146624088287354, 0.005155839920043945, 0.005122047901153564, 0.005468160152435303, 0.005519360065460205, 0.005565440177917481, 0.005559296131134033, 0.005701632022857666, 0.006436863899230957, 0.006562816143035889, 0.0065771517753601075, 0.006341631889343262, 0.006044672012329101, 0.00550707197189331, 0.00570470380783081, 0.005732351779937744, 0.005793791770935058, 0.005480447769165039, 0.005408768177032471, 0.005446656227111817, 0.005464064121246338, 0.005380095958709717, 0.005437439918518067, 0.005405695915222168, 0.005391359806060791, 0.005437439918518067, 0.005390336036682129, 0.005370880126953125, 0.00542310380935669, 0.00536678409576416, 0.005386240005493164, 0.005396480083465576, 0.0053678078651428224, 0.005403647899627686, 0.005393407821655274, 0.005371903896331787, 0.005406720161437988, 0.005395455837249756, 0.005392384052276611, 0.005392384052276611, 0.005402624130249023, 0.005391359806060791, 0.005453824043273926, 0.005372928142547607, 0.005359615802764893, 0.005470208168029785, 0.0053678078651428224, 0.005370880126953125, 0.005398528099060058, 0.005359615802764893, 0.0053637118339538575, 0.005407743930816651, 0.005351424217224121, 0.005347328186035156, 0.005386240005493164, 0.005343232154846191, 0.005343232154846191, 0.005384191989898681, 0.005345280170440674, 0.005387263774871826, 0.00536678409576416, 0.0053606400489807126, 0.005327871799468994, 0.005279744148254394, 0.005262335777282715, 0.005258240222930908, 0.005344255924224854, 0.005277696132659912, 0.0052705278396606445, 0.005339136123657226, 0.0052971520423889164, 0.005275648117065429, 0.0053340158462524415, 0.005284863948822022, 0.005322751998901368, 0.005306367874145508, 0.005262335777282715, 0.005269504070281982, 0.00530944013595581, 0.005254144191741943, 0.005284863948822022, 0.005314559936523438, 0.005296127796173096, 0.005256192207336426, 0.0052674560546875, 0.005282815933227539, 0.005268479824066162, 0.0052715520858764645, 0.005269504070281982, 0.005280767917633057, 0.005287936210632324, 0.005281792163848877, 0.005257215976715088, 0.005277696132659912, 0.005277696132659912, 0.00526643180847168, 0.0052930560111999515, 0.005320703983306885, 0.005279744148254394, 0.005265408039093018, 0.005299200057983398, 0.00537497615814209, 0.005803008079528809, 0.0065484800338745115, 0.006072319984436035, 0.005575679779052735, 0.005459968090057373, 0.00546611213684082, 0.00536678409576416, 0.005432320117950439, 0.005385216236114502, 0.005352447986602784, 0.00537497615814209, 0.00537497615814209, 0.0053350400924682614, 0.00536575984954834, 0.005405695915222168 ] }, "throughput": { "unit": "samples/s", "value": 182.12449685858547 }, "energy": { "unit": "kWh", "cpu": 6.206805203944324e-08, "ram": 3.392450729352431e-08, "gpu": 1.3506555307853337e-07, "total": 2.3105811241150095e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4327915.560129993 } } } }