{ "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": "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.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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "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": 869.912576, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 172, "total": 1.0027295060157773, "mean": 0.005829822709394055, "stdev": 0.00026071673269576677, "p50": 0.005810688018798828, "p90": 0.006101811170578003, "p95": 0.0062601215839385976, "p99": 0.006917601194381714, "values": [ 0.006501376152038574, 0.0060999679565429685, 0.006289408206939697, 0.0061634559631347655, 0.006236159801483154, 0.006162432193756104, 0.006147071838378906, 0.006609920024871826, 0.006017024040222168, 0.0056514558792114256, 0.005634047985076904, 0.0056514558792114256, 0.0056145920753479005, 0.005817344188690185, 0.005835775852203369, 0.005853184223175049, 0.005793791770935058, 0.005736447811126709, 0.005718016147613526, 0.005742591857910156, 0.0057118721008300784, 0.005739520072937012, 0.005695487976074219, 0.00572108793258667, 0.005738495826721191, 0.005706751823425293, 0.005727231979370117, 0.005702655792236328, 0.005857279777526855, 0.0058009600639343266, 0.005858304023742676, 0.00587059211730957, 0.005832704067230224, 0.005822463989257813, 0.005894144058227539, 0.005798912048339844, 0.0058787841796875, 0.005814271926879883, 0.005860352039337159, 0.005792768001556397, 0.005811200141906738, 0.005833727836608887, 0.006136832237243653, 0.006179840087890625, 0.006217728137969971, 0.006599679946899414, 0.0058757119178771975, 0.005826560020446778, 0.0058388481140136715, 0.005789696216583252, 0.005805056095123291, 0.005849088191986084, 0.005795839786529541, 0.005831679821014404, 0.005783552169799804, 0.0058009600639343266, 0.005833727836608887, 0.005817344188690185, 0.0058122239112854005, 0.005807104110717773, 0.005829631805419922, 0.005777408123016357, 0.005830656051635743, 0.005804031848907471, 0.00586137580871582, 0.005803008079528809, 0.005846015930175781, 0.00581324815750122, 0.005849088191986084, 0.005817344188690185, 0.005852159976959229, 0.00582041597366333, 0.005950463771820068, 0.00582144021987915, 0.005807104110717773, 0.00582144021987915, 0.005783552169799804, 0.005815296173095703, 0.005798912048339844, 0.00582041597366333, 0.005847040176391601, 0.005823488235473633, 0.005831679821014404, 0.005834752082824707, 0.005811200141906738, 0.005824512004852295, 0.006142975807189942, 0.005900288105010986, 0.005840896129608154, 0.0058091521263122555, 0.005837823867797852, 0.005810175895690918, 0.005832704067230224, 0.005786623954772949, 0.005830656051635743, 0.005839871883392334, 0.005895167827606201, 0.006811647891998291, 0.006948863983154297, 0.006866943836212158, 0.006904831886291504, 0.007035903930664063, 0.0059391999244689945, 0.0058726401329040525, 0.005933055877685547, 0.005815296173095703, 0.005864448070526123, 0.005852159976959229, 0.005815296173095703, 0.005784575939178467, 0.0057784318923950195, 0.005827583789825439, 0.005752831935882568, 0.005791744232177734, 0.005811200141906738, 0.005831679821014404, 0.005832704067230224, 0.005797887802124023, 0.005789696216583252, 0.005783552169799804, 0.005803008079528809, 0.005764095783233642, 0.005849088191986084, 0.005776383876800537, 0.005772287845611572, 0.005766143798828125, 0.005792768001556397, 0.0059699201583862304, 0.005835775852203369, 0.005781504154205322, 0.005683199882507324, 0.006102015972137451, 0.005836800098419189, 0.0058757119178771975, 0.0057794561386108395, 0.00581324815750122, 0.005609471797943116, 0.005573631763458252, 0.005569536209106446, 0.005591040134429932, 0.005598207950592041, 0.005590015888214111, 0.005600255966186523, 0.00556441593170166, 0.005560319900512695, 0.005582848072052002, 0.005576704025268555, 0.005590015888214111, 0.005568511962890625, 0.005578752040863037, 0.005582848072052002, 0.0055552000999450684, 0.0055808000564575196, 0.005569536209106446, 0.005541888236999512, 0.0055808000564575196, 0.005597184181213379, 0.005565440177917481, 0.005590015888214111, 0.005549056053161621, 0.005574656009674072, 0.00557260799407959, 0.005547008037567139, 0.005566463947296142, 0.005567520141601562, 0.005586944103240967, 0.005566463947296142, 0.005553152084350586, 0.005588992118835449, 0.005575679779052735, 0.005583871841430664, 0.005567488193511963 ] }, "throughput": { "unit": "samples/s", "value": 171.5318029120544 }, "energy": { "unit": "kWh", "cpu": 6.574217968736419e-08, "ram": 3.5943439740120056e-08, "gpu": 1.3301422550276276e-07, "total": 2.3469984493024702e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4260761.230145682 } } } }