{ "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.4.0", "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.78944, "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.16309716796875, "mean": 7.16309716796875, "stdev": 0.0, "p50": 7.16309716796875, "p90": 7.16309716796875, "p95": 7.16309716796875, "p99": 7.16309716796875, "values": [ 7.16309716796875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.796972076098125e-07, "ram": 5.211266450823852e-07, "gpu": 1.6888902399998969e-06, "total": 3.1897140926920945e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 880.80384, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 449.025024 }, "latency": { "unit": "s", "count": 189, "total": 1.003617409229279, "mean": 0.005310145022377136, "stdev": 0.00032946697135489056, "p50": 0.005319680213928223, "p90": 0.005531033706665039, "p95": 0.005651660919189453, "p99": 0.006416670818328864, "values": [ 0.007672832012176513, 0.007786496162414551, 0.006245376110076905, 0.005803008079528809, 0.005563392162322998, 0.005444608211517334, 0.005416959762573242, 0.005443583965301513, 0.005407743930816651, 0.005387263774871826, 0.005392384052276611, 0.00537497615814209, 0.005400576114654541, 0.005420032024383545, 0.005319680213928223, 0.005213183879852295, 0.005256192207336426, 0.005310463905334473, 0.005321728229522705, 0.005440512180328369, 0.00541593599319458, 0.005400576114654541, 0.005470208168029785, 0.005412864208221436, 0.0053637118339538575, 0.00536575984954834, 0.005336063861846924, 0.005385216236114502, 0.0054609918594360355, 0.005410816192626953, 0.005443583965301513, 0.005419007778167725, 0.005386240005493164, 0.005422080039978027, 0.005413887977600097, 0.005337088108062744, 0.0053975038528442385, 0.005413887977600097, 0.005401599884033203, 0.0054241280555725096, 0.005326848030090332, 0.00521830415725708, 0.0052633600234985355, 0.0052899842262268066, 0.005269504070281982, 0.005408768177032471, 0.005256192207336426, 0.005306367874145508, 0.005381120204925537, 0.005354496002197265, 0.005354496002197265, 0.0054241280555725096, 0.005460063934326172, 0.005405695915222168, 0.005476352214813233, 0.005450751781463623, 0.005379072189331055, 0.005323775768280029, 0.005282815933227539, 0.005344255924224854, 0.005464064121246338, 0.005384191989898681, 0.00537395191192627, 0.005359615802764893, 0.005385216236114502, 0.005343232154846191, 0.005245952129364013, 0.005230591773986816, 0.005280767917633057, 0.005341184139251709, 0.005341184139251709, 0.005408768177032471, 0.005279744148254394, 0.005281792163848877, 0.0052930560111999515, 0.005312511920928955, 0.005311488151550293, 0.005279744148254394, 0.0053043198585510255, 0.005310463905334473, 0.005312511920928955, 0.005437439918518067, 0.005434368133544922, 0.0054568958282470706, 0.005407743930816651, 0.005433343887329102, 0.005436416149139404, 0.005401599884033203, 0.00536575984954834, 0.005395455837249756, 0.005379072189331055, 0.005260287761688232, 0.0052930560111999515, 0.005369855880737305, 0.005219327926635742, 0.005242879867553711, 0.005697535991668701, 0.005816319942474365, 0.005518335819244385, 0.005627903938293457, 0.005581823825836182, 0.005391359806060791, 0.005352447986602784, 0.005361663818359375, 0.005351424217224121, 0.005385216236114502, 0.005512191772460938, 0.005553152084350586, 0.00555622386932373, 0.005561344146728516, 0.005591040134429932, 0.005650432109832764, 0.005672959804534912, 0.005775360107421875, 0.005652480125427246, 0.005525504112243652, 0.005553152084350586, 0.00586240005493164, 0.005410816192626953, 0.005091328144073487, 0.005073919773101807, 0.005488639831542969, 0.005107711791992187, 0.005059584140777588, 0.005066751956939697, 0.0050841598510742185, 0.005025792121887207, 0.005067776203155518, 0.005038080215454102, 0.005067776203155518, 0.005059584140777588, 0.0050462718009948735, 0.005022719860076904, 0.005028863906860351, 0.0050360321998596195, 0.005017600059509277, 0.00501145601272583, 0.005017600059509277, 0.00496230411529541, 0.0049530878067016604, 0.005132287979125977, 0.005059584140777588, 0.0050135040283203125, 0.0050032639503479, 0.005018623828887939, 0.005059584140777588, 0.0050063362121582035, 0.005017600059509277, 0.0050503678321838375, 0.0050063362121582035, 0.004997119903564453, 0.004930560111999512, 0.004951039791107178, 0.004981760025024414, 0.004957183837890625, 0.004952064037322998, 0.004986879825592041, 0.004974592208862305, 0.00495411205291748, 0.004939775943756103, 0.004959231853485108, 0.004951039791107178, 0.00506879997253418, 0.005021696090698242, 0.0050094079971313476, 0.005041152000427246, 0.00502784013748169, 0.005021696090698242, 0.00501043176651001, 0.0050657281875610355, 0.00501964807510376, 0.005023744106292725, 0.0050165758132934574, 0.005018623828887939, 0.005018623828887939, 0.004993023872375488, 0.005047296047210693, 0.005283840179443359, 0.005386240005493164, 0.005212192058563232, 0.005268479824066162, 0.005241856098175048, 0.0052111358642578124, 0.0052408318519592285, 0.005219327926635742, 0.005202943801879883, 0.005246975898742676, 0.005222400188446045, 0.0052295680046081545 ] }, "throughput": { "unit": "samples/s", "value": 188.31877392914225 }, "energy": { "unit": "kWh", "cpu": 6.077782890395902e-08, "ram": 3.323016673050315e-08, "gpu": 1.2926221167179656e-07, "total": 2.232702073062587e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4478877.91239565 } } } }