{ "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": 870.469632, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 183, "total": 1.0042103042602537, "mean": 0.005487488001422153, "stdev": 0.00034262751830022703, "p50": 0.005411839962005615, "p90": 0.00564510726928711, "p95": 0.005767065620422364, "p99": 0.007550197858810425, "values": [ 0.008142848014831543, 0.007649280071258545, 0.007528448104858398, 0.00581324815750122, 0.005840896129608154, 0.005744639873504639, 0.005766143798828125, 0.005757952213287353, 0.00577023983001709, 0.00568832015991211, 0.0056852478981018065, 0.0057149438858032225, 0.005635072231292724, 0.005538815975189209, 0.005563392162322998, 0.005601280212402344, 0.005767168045043946, 0.005604351997375488, 0.005529600143432617, 0.005533696174621582, 0.005495808124542236, 0.00546611213684082, 0.005430272102355957, 0.005470208168029785, 0.005532671928405761, 0.005477375984191894, 0.00551526403427124, 0.00550707197189331, 0.005479423999786377, 0.0054568958282470706, 0.005463039875030518, 0.005471231937408447, 0.005537792205810547, 0.005417984008789062, 0.005322751998901368, 0.0053678078651428224, 0.005467135906219483, 0.005610496044158936, 0.005482495784759522, 0.005477375984191894, 0.005472256183624268, 0.005480447769165039, 0.005517312049865723, 0.0055848960876464845, 0.005543935775756836, 0.005464064121246338, 0.005512191772460938, 0.005439487934112549, 0.0054906878471374515, 0.005499904155731201, 0.005485568046569824, 0.005646336078643799, 0.005530623912811279, 0.005409791946411133, 0.005409791946411133, 0.005440512180328369, 0.0054876160621643065, 0.0055582718849182125, 0.005443583965301513, 0.005377056121826172, 0.005416959762573242, 0.005421055793762207, 0.005450751781463623, 0.005441535949707031, 0.005422080039978027, 0.005469183921813964, 0.005504000186920166, 0.005565440177917481, 0.0055285758972167965, 0.005484543800354004, 0.0055623679161071774, 0.005464064121246338, 0.005454847812652588, 0.005455872058868408, 0.005396480083465576, 0.005484543800354004, 0.005378047943115235, 0.005318655967712403, 0.005319680213928223, 0.005156864166259765, 0.0052111358642578124, 0.005370880126953125, 0.005430272102355957, 0.005174272060394287, 0.00511897611618042, 0.0051363840103149415, 0.005181439876556396, 0.005161983966827393, 0.005173247814178467, 0.0052008957862854, 0.0053350400924682614, 0.005561344146728516, 0.005640192031860352, 0.005734399795532226, 0.005849088191986084, 0.005661695957183838, 0.00620851182937622, 0.005634047985076904, 0.005537792205810547, 0.005402624130249023, 0.005393407821655274, 0.005532671928405761, 0.005381120204925537, 0.005381120204925537, 0.005395455837249756, 0.005368832111358642, 0.005351424217224121, 0.005384191989898681, 0.005506048202514649, 0.005451776027679443, 0.005380095958709717, 0.00541593599319458, 0.005391359806060791, 0.005390336036682129, 0.0053975038528442385, 0.005413887977600097, 0.00538316822052002, 0.005393407821655274, 0.005398528099060058, 0.005371903896331787, 0.005411839962005615, 0.0053637118339538575, 0.00536678409576416, 0.005381120204925537, 0.005386240005493164, 0.00536678409576416, 0.005362688064575195, 0.005361695766448974, 0.00535859203338623, 0.005362688064575195, 0.0053678078651428224, 0.0053821439743042, 0.005341184139251709, 0.005370880126953125, 0.005339136123657226, 0.005265408039093018, 0.005298175811767578, 0.005269504070281982, 0.005307392120361328, 0.005314559936523438, 0.005292031764984131, 0.005278719902038574, 0.005359615802764893, 0.005406720161437988, 0.00536575984954834, 0.005375999927520752, 0.005368832111358642, 0.005349376201629639, 0.005416959762573242, 0.00536575984954834, 0.0053821439743042, 0.005354496002197265, 0.0053534722328186036, 0.00536678409576416, 0.005342207908630371, 0.005377024173736572, 0.005388288021087646, 0.005391359806060791, 0.005399551868438721, 0.005377024173736572, 0.005395455837249756, 0.00537497615814209, 0.005416959762573242, 0.0053678078651428224, 0.005371903896331787, 0.005381120204925537, 0.005361663818359375, 0.005354496002197265, 0.00537395191192627, 0.005379072189331055, 0.005381120204925537, 0.005370880126953125, 0.005417984008789062, 0.006763519763946534, 0.005435391902923584, 0.005440512180328369, 0.005422080039978027, 0.005388288021087646, 0.005398528099060058, 0.005391359806060791, 0.005353536128997803, 0.005362688064575195, 0.005395455837249756 ] }, "throughput": { "unit": "samples/s", "value": 182.23274469863756 }, "energy": { "unit": "kWh", "cpu": 5.989967020673784e-08, "ram": 3.274725627804813e-08, "gpu": 1.2221670832322707e-07, "total": 2.1486363480801303e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4654114.694157201 } } } }