{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.4.1+cu124", "_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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.225-213.878.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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.45.1", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 795.979776, "max_global_vram": 1226.309632, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 533.571072 }, "latency": { "unit": "s", "count": 1, "total": 8.38919140625, "mean": 8.38919140625, "stdev": 0.0, "p50": 8.38919140625, "p90": 8.38919140625, "p95": 8.38919140625, "p99": 8.38919140625, "values": [ 8.38919140625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 2.5942600076390145e-06, "ram": 1.4022917849785926e-06, "gpu": 3.4800027840001767e-06, "total": 7.476554576617784e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1051.435008, "max_global_vram": 1236.795392, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 449.025024 }, "latency": { "unit": "s", "count": 182, "total": 1.0029036474227906, "mean": 0.005510459601224124, "stdev": 0.0001591772481095558, "p50": 0.005525503873825073, "p90": 0.005704806470870972, "p95": 0.005774284672737121, "p99": 0.005918463959693909, "values": [ 0.0058787841796875, 0.00586956787109375, 0.005805056095123291, 0.005642240047454834, 0.00572211217880249, 0.005645311832427978, 0.005774335861206055, 0.0056258559226989744, 0.005640192031860352, 0.005696512222290039, 0.005602303981781006, 0.005550079822540284, 0.00553984022140503, 0.005549056053161621, 0.005570559978485107, 0.005570559978485107, 0.005626880168914795, 0.005552127838134766, 0.005484543800354004, 0.00541593599319458, 0.005399551868438721, 0.005615615844726562, 0.00601804780960083, 0.005751808166503906, 0.005893119812011719, 0.005831679821014404, 0.0059391999244689945, 0.005768191814422607, 0.005773312091827393, 0.00571289587020874, 0.005740543842315674, 0.005650432109832764, 0.005672959804534912, 0.005593088150024414, 0.005548031806945801, 0.005577727794647217, 0.005550079822540284, 0.005549056053161621, 0.005590015888214111, 0.0055244798660278325, 0.005600255966186523, 0.005542912006378174, 0.00563097620010376, 0.005565440177917481, 0.005560319900512695, 0.0055285758972167965, 0.005571584224700928, 0.005446656227111817, 0.00542310380935669, 0.005381120204925537, 0.005361663818359375, 0.005454847812652588, 0.005432320117950439, 0.005420032024383545, 0.005534719944000244, 0.005495808124542236, 0.0054988799095153805, 0.005541888236999512, 0.005624832153320313, 0.0055808000564575196, 0.005554175853729248, 0.005530623912811279, 0.005591040134429932, 0.005550079822540284, 0.005684224128723145, 0.005504000186920166, 0.005501952171325684, 0.005467135906219483, 0.005391359806060791, 0.005571584224700928, 0.005566463947296142, 0.005526527881622314, 0.005571584224700928, 0.005499904155731201, 0.0055582718849182125, 0.005639167785644531, 0.005676032066345215, 0.005591040134429932, 0.005582848072052002, 0.005604351997375488, 0.00553984022140503, 0.0054282240867614745, 0.005587967872619629, 0.0055214080810546875, 0.005393407821655274, 0.005462016105651855, 0.005450751781463623, 0.005448703765869141, 0.005506048202514649, 0.0054282240867614745, 0.00546611213684082, 0.005459968090057373, 0.005488639831542969, 0.005585919857025146, 0.005550079822540284, 0.005540863990783691, 0.005628928184509278, 0.005561344146728516, 0.005635072231292724, 0.005559296131134033, 0.005575679779052735, 0.005549056053161621, 0.00551526403427124, 0.005547008037567139, 0.005527552127838135, 0.005603328227996827, 0.0054271998405456545, 0.0054568958282470706, 0.005509119987487793, 0.0054241280555725096, 0.0055285758972167965, 0.005616640090942383, 0.0054271998405456545, 0.0054271998405456545, 0.005642240047454834, 0.00562278413772583, 0.005455872058868408, 0.0053606400489807126, 0.005372928142547607, 0.0053534722328186036, 0.005517312049865723, 0.00555622386932373, 0.005612544059753418, 0.005565440177917481, 0.005641215801239013, 0.005715968132019043, 0.005705728054046631, 0.0058716158866882326, 0.005739520072937012, 0.005478400230407715, 0.005440512180328369, 0.00535756778717041, 0.005532671928405761, 0.005388288021087646, 0.005389311790466309, 0.0054282240867614745, 0.005381120204925537, 0.005361663818359375, 0.005439487934112549, 0.005355519771575928, 0.005429247856140137, 0.005388288021087646, 0.00535756778717041, 0.005458943843841553, 0.005378047943115235, 0.005356544017791748, 0.005492735862731934, 0.005195775985717774, 0.00520195198059082, 0.005214208126068115, 0.005185535907745361, 0.0051794562339782715, 0.005190656185150146, 0.005230591773986816, 0.005206016063690186, 0.005173247814178467, 0.0052295680046081545, 0.005188608169555664, 0.0052008957862854, 0.005197824001312256, 0.005198847770690918, 0.005165056228637695, 0.005477375984191894, 0.005369855880737305, 0.005447679996490478, 0.005420032024383545, 0.0053647360801696775, 0.005362688064575195, 0.005396480083465576, 0.005338111877441406, 0.005359615802764893, 0.005479423999786377, 0.005406720161437988, 0.005442560195922852, 0.005913599967956543, 0.00538316822052002, 0.005429247856140137, 0.00536575984954834, 0.005368832111358642, 0.005391359806060791, 0.005337088108062744, 0.005544960021972656 ] }, "throughput": { "unit": "samples/s", "value": 181.4730661990253 }, "energy": { "unit": "kWh", "cpu": 6.312953020464075e-08, "ram": 3.4488763533829346e-08, "gpu": 1.2948887427659535e-07, "total": 2.2710716801506546e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4403207.563812621 } } } }