{ "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_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.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.4", "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": { "load": { "memory": { "unit": "MB", "max_ram": 713.4208, "max_global_vram": 1218.9696, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 533.571072 }, "latency": { "unit": "s", "count": 1, "total": 7.149091796875, "mean": 7.149091796875, "stdev": 0.0, "p50": 7.149091796875, "p90": 7.149091796875, "p95": 7.149091796875, "p99": 7.149091796875, "values": [ 7.149091796875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.741748372713726e-07, "ram": 5.182819342772405e-07, "gpu": 1.886668175999761e-06, "total": 3.3791249475483737e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 880.283648, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 449.025024 }, "latency": { "unit": "s", "count": 189, "total": 1.0036706252098084, "mean": 0.005310426588411684, "stdev": 0.00015751961459919538, "p50": 0.005255167961120606, "p90": 0.005539020729064942, "p95": 0.005642649555206299, "p99": 0.005785149593353272, "values": [ 0.005743616104125977, 0.006003712177276611, 0.005796864032745362, 0.005783552169799804, 0.005728256225585937, 0.005706751823425293, 0.005637119770050049, 0.005392384052276611, 0.005410816192626953, 0.005325823783874512, 0.005288959980010987, 0.005321728229522705, 0.005284863948822022, 0.0052899842262268066, 0.00535859203338623, 0.005283840179443359, 0.005156864166259765, 0.005178368091583252, 0.0051773438453674315, 0.005254144191741943, 0.0053002238273620605, 0.00531660795211792, 0.0053534722328186036, 0.005351424217224121, 0.005307392120361328, 0.005321728229522705, 0.0053012480735778805, 0.005187583923339844, 0.005224448204040527, 0.005288959980010987, 0.00535859203338623, 0.0053002238273620605, 0.005328896045684814, 0.005343232154846191, 0.00532480001449585, 0.005321728229522705, 0.0053309440612792965, 0.005286911964416504, 0.005299200057983398, 0.005325823783874512, 0.0053043198585510255, 0.005329919815063477, 0.005256192207336426, 0.0051773438453674315, 0.005131264209747314, 0.005185535907745361, 0.0052111358642578124, 0.005237760066986084, 0.005191679954528809, 0.005208064079284668, 0.005261312007904053, 0.0052367358207702636, 0.005284863948822022, 0.005319680213928223, 0.00530944013595581, 0.005378047943115235, 0.005341184139251709, 0.005310463905334473, 0.005315584182739258, 0.005264383792877197, 0.005153791904449463, 0.0052336640357971195, 0.0053309440612792965, 0.005279744148254394, 0.0053350400924682614, 0.005283840179443359, 0.00531660795211792, 0.005371903896331787, 0.005231616020202637, 0.005163008213043213, 0.00522547197341919, 0.005241856098175048, 0.005234687805175781, 0.005310463905334473, 0.005666816234588623, 0.005607423782348633, 0.00552345609664917, 0.005489664077758789, 0.005548031806945801, 0.005482495784759522, 0.00546611213684082, 0.005501952171325684, 0.005533696174621582, 0.005720064163208007, 0.005620736122131348, 0.005615615844726562, 0.005617663860321045, 0.0055920639038085935, 0.005342207908630371, 0.0053975038528442385, 0.005361663818359375, 0.00551423978805542, 0.005571584224700928, 0.005536767959594726, 0.005478400230407715, 0.005496831893920898, 0.005526527881622314, 0.0054579200744628905, 0.005416959762573242, 0.005344255924224854, 0.005224448204040527, 0.005298175811767578, 0.005409791946411133, 0.00537395191192627, 0.005201920032501221, 0.005692416191101074, 0.005306367874145508, 0.005214208126068115, 0.005347328186035156, 0.005348351955413819, 0.005398528099060058, 0.005440512180328369, 0.005479423999786377, 0.005469183921813964, 0.005553152084350586, 0.005646336078643799, 0.005478400230407715, 0.005264383792877197, 0.00516096019744873, 0.005230591773986816, 0.005242879867553711, 0.005198847770690918, 0.00520908784866333, 0.005243904113769531, 0.005197824001312256, 0.0052111358642578124, 0.005198847770690918, 0.005201920032501221, 0.0052111358642578124, 0.005183487892150879, 0.005217311859130859, 0.00522649621963501, 0.005216256141662597, 0.005255167961120606, 0.005191679954528809, 0.005241856098175048, 0.005193727970123291, 0.00520908784866333, 0.005223423957824707, 0.0051660799980163576, 0.005187583923339844, 0.00515993595123291, 0.0051998720169067385, 0.005174272060394287, 0.00516812801361084, 0.005215231895446777, 0.005186560153961181, 0.00520908784866333, 0.005182464122772217, 0.005174272060394287, 0.005185535907745361, 0.005190656185150146, 0.005215231895446777, 0.005201920032501221, 0.005188608169555664, 0.005181439876556396, 0.005183487892150879, 0.00520908784866333, 0.005214208126068115, 0.0052008957862854, 0.005204991817474365, 0.00521727991104126, 0.005175295829772949, 0.00521727991104126, 0.0051476478576660155, 0.005223423957824707, 0.005186560153961181, 0.005203968048095703, 0.0051998720169067385, 0.005153791904449463, 0.00521830415725708, 0.005134399890899658, 0.005178368091583252, 0.005175295829772949, 0.005165056228637695, 0.005201920032501221, 0.005157887935638428, 0.005210112094879151, 0.005154816150665284, 0.005189631938934326, 0.005197824001312256, 0.005182464122772217, 0.0052008957862854, 0.005164031982421875, 0.005192704200744629, 0.005165056228637695, 0.005172224044799805, 0.005187583923339844, 0.005189631938934326 ] }, "throughput": { "unit": "samples/s", "value": 188.30878901182473 }, "energy": { "unit": "kWh", "cpu": 6.080528270145428e-08, "ram": 3.324356039920861e-08, "gpu": 1.3357275643076905e-07, "total": 2.2762159953143194e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4393256.1850832235 } } } }