{ "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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.32.1", "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": 874.602496, "max_global_vram": 1231.552512, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.261056 }, "latency": { "unit": "s", "count": 186, "total": 1.0025627193450932, "mean": 0.005390122147016627, "stdev": 0.00018565354396259137, "p50": 0.0052858879566192625, "p90": 0.005678079843521118, "p95": 0.005705728054046631, "p99": 0.005770700836181641, "values": [ 0.006080512046813965, 0.005767168045043946, 0.005732351779937744, 0.005790719985961914, 0.0057497601509094234, 0.005705728054046631, 0.0057292799949646, 0.005708799839019775, 0.005694464206695556, 0.00568012809753418, 0.005604351997375488, 0.0055203838348388675, 0.005548031806945801, 0.005599232196807862, 0.005642240047454834, 0.0056217598915100095, 0.00563097620010376, 0.005578752040863037, 0.005679103851318359, 0.005723135948181152, 0.005615615844726562, 0.005649407863616943, 0.0056217598915100095, 0.005677055835723877, 0.005596159934997558, 0.005517312049865723, 0.005502975940704345, 0.005500927925109863, 0.00550707197189331, 0.005571584224700928, 0.005602303981781006, 0.005679103851318359, 0.005696512222290039, 0.005649407863616943, 0.005633024215698243, 0.0055808000564575196, 0.005682176113128662, 0.005629951953887939, 0.0056483840942382815, 0.005575679779052735, 0.0055848960876464845, 0.005679103851318359, 0.005606400012969971, 0.005583871841430664, 0.005581823825836182, 0.0055582718849182125, 0.0055920639038085935, 0.005677055835723877, 0.005705728054046631, 0.005661695957183838, 0.0056852478981018065, 0.005611519813537597, 0.005565440177917481, 0.005669888019561768, 0.005548031806945801, 0.005459968090057373, 0.005462016105651855, 0.00532480001449585, 0.0053534722328186036, 0.005483520030975342, 0.005472256183624268, 0.0053340158462524415, 0.005251071929931641, 0.005261312007904053, 0.005341184139251709, 0.00530841588973999, 0.005296127796173096, 0.005322751998901368, 0.005381120204925537, 0.005399551868438721, 0.005488639831542969, 0.005517312049865723, 0.005525504112243652, 0.005656576156616211, 0.005390336036682129, 0.005336063861846924, 0.005291007995605469, 0.005284863948822022, 0.005602303981781006, 0.005305344104766845, 0.005302271842956543, 0.005315584182739258, 0.005287936210632324, 0.005412864208221436, 0.0057077760696411135, 0.005504000186920166, 0.005295104026794434, 0.005322783946990967, 0.005255167961120606, 0.005265408039093018, 0.0053043198585510255, 0.005242879867553711, 0.00525216007232666, 0.005262335777282715, 0.0052295680046081545, 0.005257215976715088, 0.005283840179443359, 0.005239808082580567, 0.005264383792877197, 0.005228544235229492, 0.005254144191741943, 0.005239808082580567, 0.005219327926635742, 0.005237760066986084, 0.005256192207336426, 0.005227519989013672, 0.005279744148254394, 0.005273600101470947, 0.005269504070281982, 0.005265408039093018, 0.005234687805175781, 0.005230591773986816, 0.005279744148254394, 0.005223423957824707, 0.005246975898742676, 0.0052367358207702636, 0.0052674560546875, 0.005260287761688232, 0.005242879867553711, 0.005245952129364013, 0.00526643180847168, 0.005252096176147461, 0.005238783836364746, 0.0051968002319335935, 0.0051968002319335935, 0.00520908784866333, 0.005212160110473632, 0.005224448204040527, 0.005182464122772217, 0.005215231895446777, 0.005201920032501221, 0.005180416107177735, 0.005219327926635742, 0.005185535907745361, 0.00520908784866333, 0.005215231895446777, 0.005201920032501221, 0.005180416107177735, 0.0052111358642578124, 0.005202943801879883, 0.005197824001312256, 0.005175295829772949, 0.00521727991104126, 0.0051998720169067385, 0.005278719902038574, 0.0053043198585510255, 0.005274623870849609, 0.005261312007904053, 0.0052971520423889164, 0.005246975898742676, 0.005254144191741943, 0.005280767917633057, 0.005262335777282715, 0.005248000144958496, 0.005237760066986084, 0.005261312007904053, 0.005256192207336426, 0.005243904113769531, 0.005262335777282715, 0.005256192207336426, 0.005241856098175048, 0.005278719902038574, 0.005249023914337158, 0.005246975898742676, 0.00532480001449585, 0.005239808082580567, 0.005252096176147461, 0.005280767917633057, 0.005246975898742676, 0.005272575855255127, 0.005272575855255127, 0.005254144191741943, 0.005284863948822022, 0.005274623870849609, 0.005312511920928955, 0.005286911964416504, 0.0052705278396606445, 0.0052930560111999515, 0.005268479824066162, 0.005254144191741943, 0.005264383792877197, 0.005279744148254394, 0.005281792163848877, 0.005300288200378418, 0.005250048160552978, 0.005252096176147461 ] }, "throughput": { "unit": "samples/s", "value": 185.52455263995992 }, "energy": { "unit": "kWh", "cpu": 5.9494849591864887e-08, "ram": 3.2529726521052e-08, "gpu": 1.2539094341705435e-07, "total": 2.1741551952997123e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4599487.663814854 } } } }