{ "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.2736, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 166, "total": 1.0052814078330996, "mean": 0.006055912095380117, "stdev": 0.00022971367249452137, "p50": 0.0059842560291290285, "p90": 0.006327808141708374, "p95": 0.006424319982528686, "p99": 0.006675046348571776, "values": [ 0.006752255916595459, 0.006347775936126709, 0.006543360233306885, 0.006445055961608887, 0.006425600051879882, 0.0064204797744750975, 0.006319104194641113, 0.006467584133148193, 0.006284287929534912, 0.006253568172454834, 0.006322175979614258, 0.00621670389175415, 0.006296576023101807, 0.006164480209350586, 0.00636518383026123, 0.006223872184753418, 0.0062904319763183595, 0.006285312175750732, 0.006264832019805908, 0.006281216144561768, 0.00619212818145752, 0.006188032150268555, 0.006230016231536865, 0.006335487842559814, 0.006206463813781738, 0.0062904319763183595, 0.00633241605758667, 0.006157311916351318, 0.006250495910644531, 0.006181888103485108, 0.006280191898345947, 0.006148096084594727, 0.006138879776000977, 0.0061337599754333495, 0.006189055919647217, 0.006160384178161621, 0.006214655876159668, 0.006200319766998291, 0.006221824169158936, 0.006511616230010986, 0.006231040000915527, 0.006292479991912842, 0.006210559844970703, 0.0061859841346740725, 0.00618393611907959, 0.006245440006256104, 0.006264832019805908, 0.006142975807189942, 0.006633471965789795, 0.006128640174865723, 0.006269951820373535, 0.006463488101959228, 0.006875135898590088, 0.006306816101074219, 0.0061521921157836916, 0.00616755199432373, 0.006240255832672119, 0.006161407947540283, 0.006191103935241699, 0.006159359931945801, 0.006235136032104492, 0.006200319766998291, 0.0063498239517211915, 0.006238207817077636, 0.006323200225830078, 0.006315008163452148, 0.006194176197052002, 0.006305791854858398, 0.006202367782592774, 0.006242303848266601, 0.006209536075592041, 0.006173696041107178, 0.006112256050109863, 0.005950463771820068, 0.006395904064178467, 0.006201344013214111, 0.006064127922058105, 0.005859327793121338, 0.0058429441452026365, 0.005898240089416504, 0.006014976024627685, 0.005881855964660645, 0.0059361281394958495, 0.006141952037811279, 0.00607539176940918, 0.006086656093597412, 0.0063539199829101565, 0.006173696041107178, 0.005946368217468262, 0.005920767784118652, 0.0059955201148986816, 0.005889023780822754, 0.005972991943359375, 0.0059064321517944334, 0.005972991943359375, 0.005836800098419189, 0.00587775993347168, 0.005860352039337159, 0.005817344188690185, 0.005849088191986084, 0.00582144021987915, 0.005863423824310303, 0.005808127880096436, 0.0058388481140136715, 0.005846015930175781, 0.005840896129608154, 0.005850111961364746, 0.005858304023742676, 0.005854207992553711, 0.005837823867797852, 0.005835775852203369, 0.005839871883392334, 0.005860352039337159, 0.005847040176391601, 0.005863423824310303, 0.00582860803604126, 0.00588595199584961, 0.005801983833312988, 0.005858304023742676, 0.005795839786529541, 0.005859327793121338, 0.005786623954772949, 0.005865471839904785, 0.005852159976959229, 0.005799935817718506, 0.0058726401329040525, 0.005796864032745362, 0.00587059211730957, 0.0058009600639343266, 0.005855231761932373, 0.005806079864501953, 0.0058716158866882326, 0.005827583789825439, 0.005823488235473633, 0.005837823867797852, 0.005825535774230957, 0.005849088191986084, 0.0058122239112854005, 0.005818367958068848, 0.00582860803604126, 0.005853184223175049, 0.005853184223175049, 0.005866496086120605, 0.005794816017150879, 0.005865471839904785, 0.005798912048339844, 0.0058419198989868165, 0.00581324815750122, 0.005848063945770264, 0.005867519855499268, 0.0058122239112854005, 0.005898240089416504, 0.0058009600639343266, 0.005883903980255127, 0.005807104110717773, 0.005855231761932373, 0.005827648162841797, 0.005819392204284668, 0.005866496086120605, 0.00586137580871582, 0.005876736164093017, 0.0058091521263122555, 0.00586240005493164, 0.005857279777526855, 0.005856256008148194, 0.005823488235473633 ] }, "throughput": { "unit": "samples/s", "value": 165.127892256374 }, "energy": { "unit": "kWh", "cpu": 6.877097301783283e-08, "ram": 3.759782394531418e-08, "gpu": 1.3296895672832195e-07, "total": 2.393377536914689e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4178195.8114686045 } } } }