{ "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.138432, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 181, "total": 1.0023773460388188, "mean": 0.005537996386954796, "stdev": 0.00020026132220488826, "p50": 0.005496831893920898, "p90": 0.005794816017150879, "p95": 0.005896192073822021, "p99": 0.00631357440948486, "values": [ 0.006560768127441406, 0.005860352039337159, 0.005874688148498535, 0.005929984092712402, 0.005849088191986084, 0.005894144058227539, 0.006048768043518066, 0.005896192073822021, 0.006533120155334473, 0.005961728096008301, 0.0058726401329040525, 0.006258687973022461, 0.006188032150268555, 0.005986303806304932, 0.0058122239112854005, 0.00582144021987915, 0.005794816017150879, 0.005866496086120605, 0.005672959804534912, 0.0057149438858032225, 0.005681151866912842, 0.0056442880630493165, 0.005709824085235596, 0.0055552000999450684, 0.0055511040687561035, 0.0055203838348388675, 0.005574656009674072, 0.0055848960876464845, 0.005560319900512695, 0.005609471797943116, 0.005545983791351319, 0.005496831893920898, 0.005540863990783691, 0.00551423978805542, 0.0055848960876464845, 0.005509119987487793, 0.005372928142547607, 0.005442560195922852, 0.005432320117950439, 0.0054609918594360355, 0.005476352214813233, 0.005506048202514649, 0.005533696174621582, 0.005541888236999512, 0.005578752040863037, 0.0056145920753479005, 0.005601280212402344, 0.005638144016265869, 0.005591040134429932, 0.005473279953002929, 0.005594111919403076, 0.0055808000564575196, 0.005543935775756836, 0.005574656009674072, 0.005568511962890625, 0.005516287803649903, 0.005422080039978027, 0.005508096218109131, 0.0055316481590271, 0.0055808000564575196, 0.005583871841430664, 0.0054609918594360355, 0.005601280212402344, 0.0055203838348388675, 0.00552243185043335, 0.005575679779052735, 0.0055848960876464845, 0.005603328227996827, 0.005609471797943116, 0.005628928184509278, 0.005585951805114746, 0.005640192031860352, 0.005591040134429932, 0.005601280212402344, 0.005583871841430664, 0.00551526403427124, 0.005504000186920166, 0.005527552127838135, 0.0054579200744628905, 0.005404672145843506, 0.005343232154846191, 0.005278719902038574, 0.00532480001449585, 0.005448703765869141, 0.005406720161437988, 0.005219327926635742, 0.00522547197341919, 0.005221375942230225, 0.0052111358642578124, 0.005208064079284668, 0.005192704200744629, 0.005287936210632324, 0.005306367874145508, 0.00522649621963501, 0.005616640090942383, 0.0056483840942382815, 0.005766143798828125, 0.005754879951477051, 0.00552243185043335, 0.005565440177917481, 0.005536767959594726, 0.005583871841430664, 0.005611519813537597, 0.0055285758972167965, 0.0055552000999450684, 0.005478400230407715, 0.005459968090057373, 0.00541593599319458, 0.005416959762573242, 0.005581823825836182, 0.005459968090057373, 0.005400576114654541, 0.005403647899627686, 0.005431295871734619, 0.005399551868438721, 0.005473279953002929, 0.005465087890625, 0.005441535949707031, 0.005504000186920166, 0.005406720161437988, 0.005497856140136719, 0.0054282240867614745, 0.0056483840942382815, 0.005458943843841553, 0.005479423999786377, 0.005458943843841553, 0.005582848072052002, 0.005436416149139404, 0.005469183921813964, 0.005431295871734619, 0.005414912223815918, 0.005463039875030518, 0.005411839962005615, 0.005459968090057373, 0.005440512180328369, 0.005412864208221436, 0.005426176071166992, 0.0054876160621643065, 0.005429247856140137, 0.005440512180328369, 0.005432320117950439, 0.005398528099060058, 0.005399551868438721, 0.00561356782913208, 0.005405695915222168, 0.005454847812652588, 0.005437439918518067, 0.005434368133544922, 0.005446656227111817, 0.0054241280555725096, 0.005435391902923584, 0.005409791946411133, 0.00553984022140503, 0.005960703849792481, 0.005412864208221436, 0.005405695915222168, 0.0054620480537414555, 0.005403647899627686, 0.005412864208221436, 0.005392384052276611, 0.005389311790466309, 0.005416959762573242, 0.005389311790466309, 0.005389311790466309, 0.005425151824951172, 0.005435391902923584, 0.0054609918594360355, 0.0054917120933532714, 0.005400576114654541, 0.005396480083465576, 0.005496831893920898, 0.00547430419921875, 0.005477375984191894, 0.005425151824951172, 0.005388288021087646, 0.005426176071166992, 0.005432320117950439, 0.005396480083465576, 0.0054170241355896, 0.005473279953002929, 0.005516287803649903 ] }, "throughput": { "unit": "samples/s", "value": 180.57072091191353 }, "energy": { "unit": "kWh", "cpu": 6.362821417625505e-08, "ram": 3.4648626774585466e-08, "gpu": 1.3250159144385064e-07, "total": 2.3077843239469116e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4333160.554144591 } } } }