{ "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_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": {}, "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.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.3.1", "optimum_benchmark_commit": "3b109cf557e2496fe3c954817385781e6dc5cad1", "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, "llama_cpp_version": null, "llama_cpp_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 897.916928, "max_global_vram": 875.339776, "max_process_vram": 48112.14848, "max_reserved": 589.299712, "max_allocated": 533.571072 }, "latency": { "unit": "s", "count": 1, "total": 7.291982421875, "mean": 7.291982421875, "stdev": 0.0, "p50": 7.291982421875, "p90": 7.291982421875, "p95": 7.291982421875, "p99": 7.291982421875, "values": [ 7.291982421875 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1017.32352, "max_global_vram": 938.881024, "max_process_vram": 234634.330112, "max_reserved": 589.299712, "max_allocated": 439.456768 }, "latency": { "unit": "s", "count": 146, "total": 1.0003899607658384, "mean": 0.0068519860326427305, "stdev": 0.00036813094244269456, "p50": 0.006798356533050537, "p90": 0.007238354444503784, "p95": 0.007419073104858398, "p99": 0.007620096111297608, "values": [ 0.007606192111968994, 0.007631472110748291, 0.007303153038024902, 0.007366034030914306, 0.007178034782409668, 0.007365552902221679, 0.007043954849243164, 0.00690747594833374, 0.006877076148986816, 0.006854356765747071, 0.007073394775390625, 0.006868596076965332, 0.006833395957946777, 0.006838356971740723, 0.006820277214050293, 0.006806036949157715, 0.006783476829528809, 0.006777556896209716, 0.0067481169700622555, 0.006718037128448487, 0.006982356071472168, 0.0067364368438720705, 0.010202654838562012, 0.00733115291595459, 0.0066721181869506836, 0.006667636871337891, 0.006900276184082031, 0.006636918067932129, 0.006845876216888428, 0.006910837173461914, 0.0066489181518554685, 0.006880276203155518, 0.007050835132598877, 0.007266833782196045, 0.007436752796173096, 0.007471951961517334, 0.007438992977142334, 0.00727819299697876, 0.007115954875946045, 0.006700757026672363, 0.006884596824645996, 0.006797875881195068, 0.0069271559715271, 0.006823637008666992, 0.007018354892730713, 0.006816436767578125, 0.006882036209106445, 0.006907316207885742, 0.006802677154541015, 0.0069649147987365725, 0.007209875106811523, 0.0070010747909545895, 0.00684795618057251, 0.006806356906890869, 0.006883635997772217, 0.00694571590423584, 0.006598998069763184, 0.006792596817016602, 0.006753877162933349, 0.006815317153930664, 0.006724757194519043, 0.0068217158317565914, 0.0067793169021606444, 0.0069719557762146, 0.006771797180175781, 0.006933236122131347, 0.006629716873168945, 0.0070842747688293455, 0.006793716907501221, 0.006813557147979737, 0.006709076881408691, 0.006815476894378662, 0.006798837184906006, 0.0068813967704772945, 0.006796916007995605, 0.0066201181411743165, 0.006572119235992432, 0.006787157058715821, 0.006896115779876709, 0.006756277084350586, 0.006802036762237549, 0.006798996925354004, 0.006617877960205078, 0.006620758056640625, 0.006596598148345947, 0.006636436939239502, 0.006553878784179687, 0.006610198020935059, 0.006604598045349121, 0.006815636157989502, 0.00662923812866211, 0.006639957904815674, 0.00677851676940918, 0.0068301959037780765, 0.006857077121734619, 0.006623477935791016, 0.0065986781120300295, 0.006598038196563721, 0.006788756847381592, 0.006588438034057617, 0.006571638107299805, 0.006586358070373535, 0.006556758880615235, 0.006628437042236328, 0.0065666790008544924, 0.0066153168678283695, 0.007202195167541504, 0.00664683723449707, 0.006618998050689697, 0.006586197853088379, 0.00656507921218872, 0.006631317138671875, 0.00659099817276001, 0.0065969181060791015, 0.006613557815551758, 0.006577398777008057, 0.0066109981536865235, 0.006769717216491699, 0.006800277233123779, 0.006587478160858154, 0.006603318214416504, 0.006598038196563721, 0.006731156826019287, 0.006581398010253906, 0.006589398860931396, 0.006589078903198242, 0.006590517997741699, 0.006592117786407471, 0.006708917140960694, 0.006715476989746094, 0.006581878185272217, 0.006750997066497803, 0.006590678215026856, 0.006578039169311523, 0.006761396884918213, 0.006881075859069824, 0.007443471908569336, 0.007511792182922364, 0.0072951531410217286, 0.00691515588760376, 0.006891955852508545, 0.0068146767616271975, 0.006886516094207764, 0.006954996109008789, 0.006881556034088135, 0.00682443618774414 ] }, "throughput": { "unit": "samples/s", "value": 145.9430879216652 }, "energy": null, "efficiency": null } } }