{ "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": {}, "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.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": { "forward": { "memory": { "unit": "MB", "max_ram": 876.1344, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 189, "total": 0.9999251184463496, "mean": 0.00529060909230873, "stdev": 0.00022312527065562727, "p50": 0.005283840179443359, "p90": 0.005575679779052735, "p95": 0.00566046724319458, "p99": 0.00594317325592041, "values": [ 0.005964799880981446, 0.005414912223815918, 0.005403647899627686, 0.005596159934997558, 0.005563392162322998, 0.0053944320678710935, 0.005788671970367432, 0.005588992118835449, 0.005706751823425293, 0.005617663860321045, 0.005640192031860352, 0.005600255966186523, 0.0052930560111999515, 0.0053012480735778805, 0.005410816192626953, 0.005326848030090332, 0.005341184139251709, 0.005349472045898438, 0.005230591773986816, 0.005148672103881836, 0.005178368091583252, 0.005218368053436279, 0.0053975038528442385, 0.005413887977600097, 0.005295104026794434, 0.005318655967712403, 0.005351424217224121, 0.0053012480735778805, 0.005326848030090332, 0.0054906878471374515, 0.005202943801879883, 0.005201920032501221, 0.005337088108062744, 0.005326848030090332, 0.005636096000671387, 0.005561344146728516, 0.005441535949707031, 0.005329919815063477, 0.005371903896331787, 0.005283840179443359, 0.005269504070281982, 0.005313536167144775, 0.00568832015991211, 0.005344255924224854, 0.005326848030090332, 0.005320703983306885, 0.005203968048095703, 0.0052930560111999515, 0.005134335994720459, 0.005157887935638428, 0.00526643180847168, 0.005220352172851562, 0.005179391860961914, 0.005203968048095703, 0.005238783836364746, 0.005327871799468994, 0.005272575855255127, 0.00532480001449585, 0.005344255924224854, 0.005384191989898681, 0.005425151824951172, 0.005368832111358642, 0.005708799839019775, 0.005735424041748047, 0.005537792205810547, 0.00551423978805542, 0.005535744190216065, 0.005578752040863037, 0.005511168003082275, 0.005476352214813233, 0.005673984050750733, 0.005517312049865723, 0.005492735862731934, 0.005399551868438721, 0.005372928142547607, 0.005430272102355957, 0.005449728012084961, 0.005416959762573242, 0.005532671928405761, 0.005465087890625, 0.0053637118339538575, 0.005575679779052735, 0.005467135906219483, 0.005472256183624268, 0.005391359806060791, 0.005416959762573242, 0.005421055793762207, 0.005419007778167725, 0.005511168003082275, 0.005940224170684814, 0.005379072189331055, 0.005420032024383545, 0.005328896045684814, 0.005345280170440674, 0.0053678078651428224, 0.005296127796173096, 0.005268479824066162, 0.005311488151550293, 0.005277696132659912, 0.005273600101470947, 0.005187583923339844, 0.005244927883148193, 0.005262432098388672, 0.0051701760292053225, 0.005164031982421875, 0.005114880084991455, 0.004992000102996826, 0.005007359981536865, 0.005342207908630371, 0.00531763219833374, 0.0051138558387756345, 0.004973567962646484, 0.004963327884674072, 0.004965375900268554, 0.005146624088287354, 0.005264383792877197, 0.005237760066986084, 0.005326848030090332, 0.005575679779052735, 0.005291007995605469, 0.005430272102355957, 0.005477375984191894, 0.0056217598915100095, 0.0053350400924682614, 0.005123072147369385, 0.005105663776397705, 0.005219327926635742, 0.005135359764099121, 0.005237760066986084, 0.005255167961120606, 0.005182464122772217, 0.005133376121520996, 0.005137407779693603, 0.005183487892150879, 0.00515174388885498, 0.005221375942230225, 0.005237760066986084, 0.005823488235473633, 0.006384640216827392, 0.005274623870849609, 0.005117951869964599, 0.005121024131774903, 0.005152768135070801, 0.0050206718444824215, 0.005092351913452148, 0.005100543975830078, 0.005344255924224854, 0.005112832069396973, 0.005260287761688232, 0.005284863948822022, 0.0050954241752624516, 0.005130239963531494, 0.005135359764099121, 0.005116928100585938, 0.005130239963531494, 0.004955135822296143, 0.005414912223815918, 0.0049489917755126955, 0.004964352130889893, 0.004977663993835449, 0.0049807682037353515, 0.0049428482055664065, 0.004926464080810547, 0.004934656143188477, 0.004974592208862305, 0.004936704158782959, 0.004936704158782959, 0.004944896221160889, 0.0051066880226135255, 0.0050728960037231445, 0.004968448162078858, 0.004956160068511963, 0.0050094079971313476, 0.004931583881378174, 0.0049489917755126955, 0.004941823959350586, 0.0052111358642578124, 0.005132287979125977, 0.005131264209747314, 0.005117951869964599, 0.005157887935638428, 0.00511897611618042, 0.005137407779693603, 0.005135359764099121, 0.005155839920043945, 0.005086207866668701, 0.005111839771270752, 0.0051363840103149415, 0.005096447944641113 ] }, "throughput": { "unit": "samples/s", "value": 189.01415367348892 }, "energy": { "unit": "kWh", "cpu": 5.99274874598803e-08, "ram": 3.266558356347714e-08, "gpu": 1.2772623283417126e-07, "total": 2.203193038575287e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4538866.919471833 } } } }