{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.3.0+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.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.41.1", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 869.208064, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 177, "total": 1.0042329287528995, "mean": 0.005673632365835588, "stdev": 0.0002255925016277513, "p50": 0.005618688106536865, "p90": 0.005950873470306396, "p95": 0.00601907205581665, "p99": 0.006297518177032472, "values": [ 0.006268928050994873, 0.005730303764343261, 0.0057415680885314945, 0.0059770879745483394, 0.00587775993347168, 0.005884928226470947, 0.005765151977539062, 0.005815296173095703, 0.005819392204284668, 0.005750783920288086, 0.005757952213287353, 0.005699584007263184, 0.005578752040863037, 0.005544960021972656, 0.005615615844726562, 0.005710847854614258, 0.005573631763458252, 0.005548031806945801, 0.005526527881622314, 0.005489664077758789, 0.005575679779052735, 0.005425151824951172, 0.00561356782913208, 0.005610496044158936, 0.0056442880630493165, 0.005574656009674072, 0.005563392162322998, 0.005554175853729248, 0.0054876160621643065, 0.005517312049865723, 0.005661695957183838, 0.0056145920753479005, 0.005608448028564453, 0.005558400154113769, 0.00557260799407959, 0.005618688106536865, 0.006061056137084961, 0.005950463771820068, 0.005938176155090332, 0.00591871976852417, 0.0059361281394958495, 0.005983232021331787, 0.005787648200988769, 0.005847040176391601, 0.005753856182098388, 0.005793791770935058, 0.005682176113128662, 0.005653503894805908, 0.005921792030334472, 0.00568832015991211, 0.005701632022857666, 0.005938176155090332, 0.005980160236358643, 0.00592793607711792, 0.005981184005737304, 0.005911551952362061, 0.005868544101715088, 0.005806079864501953, 0.005697535991668701, 0.005790719985961914, 0.005890048027038574, 0.005848063945770264, 0.005776383876800537, 0.005787648200988769, 0.005718016147613526, 0.005642240047454834, 0.005690368175506591, 0.0058757119178771975, 0.005832704067230224, 0.005928959846496582, 0.005891071796417236, 0.005788671970367432, 0.005888000011444092, 0.0059023361206054685, 0.006090752124786377, 0.00602726411819458, 0.005874688148498535, 0.006277120113372803, 0.006182911872863769, 0.006362112045288086, 0.005914624214172363, 0.005951488018035888, 0.006017024040222168, 0.005961728096008301, 0.005960703849792481, 0.005868544101715088, 0.005961728096008301, 0.005898240089416504, 0.0058716158866882326, 0.005925888061523437, 0.00586137580871582, 0.005681151866912842, 0.005708799839019775, 0.0056145920753479005, 0.005606400012969971, 0.005794816017150879, 0.005796864032745362, 0.005666816234588623, 0.0055623679161071774, 0.005464064121246338, 0.005438464164733887, 0.005618688106536865, 0.005593088150024414, 0.005764095783233642, 0.005833727836608887, 0.0057825279235839844, 0.005822463989257813, 0.0059023361206054685, 0.006187007904052734, 0.005640192031860352, 0.005433343887329102, 0.005434368133544922, 0.005442560195922852, 0.005402624130249023, 0.005451776027679443, 0.005401599884033203, 0.005500927925109863, 0.005420032024383545, 0.00541593599319458, 0.005458943843841553, 0.00541593599319458, 0.005392384052276611, 0.005432320117950439, 0.005404672145843506, 0.005388288021087646, 0.005447679996490478, 0.005465087890625, 0.005386240005493164, 0.005506048202514649, 0.005435391902923584, 0.005479423999786377, 0.005463039875030518, 0.005426176071166992, 0.005404672145843506, 0.005393407821655274, 0.005398528099060058, 0.005393407821655274, 0.0056258559226989744, 0.005436416149139404, 0.005434368133544922, 0.005393407821655274, 0.005368832111358642, 0.005469183921813964, 0.005430272102355957, 0.005419007778167725, 0.005409791946411133, 0.005399551868438721, 0.005421055793762207, 0.0054609918594360355, 0.005419072151184082, 0.005420032024383545, 0.005600255966186523, 0.005949440002441406, 0.005449728012084961, 0.006471680164337158, 0.005696512222290039, 0.00587775993347168, 0.005532671928405761, 0.005500927925109863, 0.0055203838348388675, 0.005508096218109131, 0.005485568046569824, 0.005436416149139404, 0.005458943843841553, 0.005465087890625, 0.00550707197189331, 0.005440512180328369, 0.005473279953002929, 0.005450751781463623, 0.005465087890625, 0.005575679779052735, 0.005543935775756836, 0.005563392162322998, 0.005566463947296142, 0.005536767959594726, 0.005550079822540284, 0.005560319900512695 ] }, "throughput": { "unit": "samples/s", "value": 176.25392967327454 }, "energy": { "unit": "kWh", "cpu": 6.333479676583802e-08, "ram": 3.461584478560219e-08, "gpu": 1.3496742823529406e-07, "total": 2.3291806978673424e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4293355.173841281 } } } }