{ "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": {}, "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": 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.293824, "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.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 713.756672, "max_global_vram": 1218.9696, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 533.571072 }, "latency": { "unit": "s", "count": 1, "total": 7.1984140625, "mean": 7.1984140625, "stdev": 0.0, "p50": 7.1984140625, "p90": 7.1984140625, "p95": 7.1984140625, "p99": 7.1984140625, "values": [ 7.1984140625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.666850169499717e-07, "ram": 4.930775497140871e-07, "gpu": 1.7475013980028375e-06, "total": 3.207263964666896e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 880.369664, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 449.025024 }, "latency": { "unit": "s", "count": 185, "total": 1.0030687017440791, "mean": 0.005421992982400431, "stdev": 0.0003743692361370175, "p50": 0.005336063861846924, "p90": 0.005508096122741699, "p95": 0.005821030235290526, "p99": 0.007501537189483642, "values": [ 0.007666687965393066, 0.007741439819335938, 0.0074700798988342285, 0.007404543876647949, 0.005757952213287353, 0.005458943843841553, 0.005478400230407715, 0.0055623679161071774, 0.0055101442337036136, 0.005483520030975342, 0.00536678409576416, 0.005356544017791748, 0.005414912223815918, 0.005389311790466309, 0.005406720161437988, 0.005342207908630371, 0.005235712051391602, 0.005185535907745361, 0.005264383792877197, 0.005307392120361328, 0.005393407821655274, 0.005467135906219483, 0.005413887977600097, 0.005470208168029785, 0.005459968090057373, 0.0054282240867614745, 0.005328896045684814, 0.005336063861846924, 0.005414912223815918, 0.005474336147308349, 0.005645311832427978, 0.005511168003082275, 0.005469183921813964, 0.00546611213684082, 0.00542310380935669, 0.005438464164733887, 0.005403647899627686, 0.005425151824951172, 0.005379072189331055, 0.005352447986602784, 0.005336063861846924, 0.005299200057983398, 0.005223423957824707, 0.0052899842262268066, 0.005312511920928955, 0.005328896045684814, 0.005310463905334473, 0.005265408039093018, 0.005338111877441406, 0.005459968090057373, 0.005372928142547607, 0.005349376201629639, 0.005459968090057373, 0.005494783878326416, 0.005370912075042725, 0.005505023956298828, 0.005387263774871826, 0.00537497615814209, 0.00531660795211792, 0.005298175811767578, 0.005833727836608887, 0.005465087890625, 0.005395455837249756, 0.0053043198585510255, 0.0053975038528442385, 0.00537497615814209, 0.00538316822052002, 0.005284863948822022, 0.005319680213928223, 0.005361663818359375, 0.005377024173736572, 0.005440512180328369, 0.005478400230407715, 0.0053012480735778805, 0.005336063861846924, 0.005422080039978027, 0.005392384052276611, 0.005370880126953125, 0.005351424217224121, 0.00530841588973999, 0.005359615802764893, 0.005435391902923584, 0.005454847812652588, 0.005479423999786377, 0.0054568958282470706, 0.005401599884033203, 0.005463039875030518, 0.005473279953002929, 0.005346303939819336, 0.00541593599319458, 0.005448703765869141, 0.0053340158462524415, 0.005268479824066162, 0.005447679996490478, 0.005331967830657959, 0.0052674560546875, 0.005221375942230225, 0.005115903854370117, 0.005074944019317627, 0.005258240222930908, 0.005312511920928955, 0.0051660799980163576, 0.004989952087402344, 0.005021696090698242, 0.0050063362121582035, 0.0050165758132934574, 0.005070847988128662, 0.00577023983001709, 0.0064849920272827145, 0.006457344055175781, 0.006462463855743408, 0.005884928226470947, 0.0055582718849182125, 0.006166528224945069, 0.005441535949707031, 0.0053350400924682614, 0.005328896045684814, 0.0053678078651428224, 0.005325823783874512, 0.005325823783874512, 0.005323775768280029, 0.005339136123657226, 0.005557248115539551, 0.005350399971008301, 0.005322751998901368, 0.0053012480735778805, 0.005359615802764893, 0.005332992076873779, 0.005371903896331787, 0.005347328186035156, 0.005302271842956543, 0.0053002238273620605, 0.0052971520423889164, 0.005273600101470947, 0.0053002238273620605, 0.005307392120361328, 0.0052930560111999515, 0.005518335819244385, 0.00537395191192627, 0.005262335777282715, 0.0052930560111999515, 0.005344255924224854, 0.005281792163848877, 0.005268479824066162, 0.005302271842956543, 0.005287936210632324, 0.005299200057983398, 0.005282815933227539, 0.005255167961120606, 0.005216256141662597, 0.005328896045684814, 0.005272575855255127, 0.005249023914337158, 0.005288959980010987, 0.005292031764984131, 0.005283840179443359, 0.005256192207336426, 0.005303296089172363, 0.005281792163848877, 0.005303296089172363, 0.005276671886444092, 0.005257215976715088, 0.005288959980010987, 0.005292031764984131, 0.005278719902038574, 0.005287936210632324, 0.005306367874145508, 0.00526854419708252, 0.005306528091430664, 0.0053043198585510255, 0.005292031764984131, 0.005278719902038574, 0.005337088108062744, 0.005249023914337158, 0.005276671886444092, 0.0053002238273620605, 0.005272575855255127, 0.005471231937408447, 0.00531763219833374, 0.005235712051391602, 0.00531763219833374, 0.0053309440612792965, 0.00531660795211792, 0.005322751998901368, 0.005310463905334473 ] }, "throughput": { "unit": "samples/s", "value": 184.43402697973963 }, "energy": { "unit": "kWh", "cpu": 6.214770260350937e-08, "ram": 3.397956350068479e-08, "gpu": 1.2777933433506637e-07, "total": 2.2390660043926057e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4466147.929709072 } } } }