{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.3.0+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.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.41.0", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 869.134336, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 188, "total": 1.0009723496437077, "mean": 0.005324321008743124, "stdev": 0.00020050357825342443, "p50": 0.005359103918075562, "p90": 0.005482700824737548, "p95": 0.005686835193634034, "p99": 0.006140672173500061, "values": [ 0.006207488059997559, 0.005689343929290771, 0.0057077760696411135, 0.005727231979370117, 0.005696512222290039, 0.005682176113128662, 0.005645311832427978, 0.005617663860321045, 0.006253568172454834, 0.005502975940704345, 0.005232639789581299, 0.005164031982421875, 0.005332992076873779, 0.005197824001312256, 0.005139455795288086, 0.005142528057098389, 0.00515993595123291, 0.0052070398330688475, 0.005244927883148193, 0.0050841598510742185, 0.00511078405380249, 0.005086207866668701, 0.00506982421875, 0.0050728960037231445, 0.005096447944641113, 0.0050841598510742185, 0.005059584140777588, 0.005098495960235596, 0.005079040050506592, 0.005075967788696289, 0.005055488109588623, 0.0050954241752624516, 0.005088255882263183, 0.005105663776397705, 0.00510975980758667, 0.0051036162376403805, 0.00511078405380249, 0.005119999885559082, 0.005089280128479004, 0.005089280128479004, 0.0050954241752624516, 0.0050657281875610355, 0.005262335777282715, 0.005164031982421875, 0.005135359764099121, 0.00515993595123291, 0.005148672103881836, 0.005148672103881836, 0.005138432025909424, 0.005157887935638428, 0.0051435518264770505, 0.005114880084991455, 0.005144576072692871, 0.0051333122253417966, 0.005223423957824707, 0.005131264209747314, 0.005189631938934326, 0.0051476478576660155, 0.0052295680046081545, 0.005471231937408447, 0.00542310380935669, 0.005282815933227539, 0.0052336640357971195, 0.0051138558387756345, 0.005104640007019043, 0.0050841598510742185, 0.005157887935638428, 0.005131264209747314, 0.005172224044799805, 0.005220352172851562, 0.005184512138366699, 0.005154816150665284, 0.00522649621963501, 0.005191679954528809, 0.005163008213043213, 0.005154816150665284, 0.005220352172851562, 0.005173247814178467, 0.005172224044799805, 0.005204991817474365, 0.0052070398330688475, 0.005149695873260498, 0.005181439876556396, 0.005197824001312256, 0.005189631938934326, 0.005167103767395019, 0.00522649621963501, 0.005171199798583984, 0.005158912181854248, 0.005193727970123291, 0.005152768135070801, 0.00515993595123291, 0.0051773438453674315, 0.005188608169555664, 0.005190656185150146, 0.0051701760292053225, 0.005395455837249756, 0.00541593599319458, 0.005449728012084961, 0.005352447986602784, 0.005303296089172363, 0.005295104026794434, 0.0053340158462524415, 0.005313536167144775, 0.0053012480735778805, 0.0053309440612792965, 0.005291007995605469, 0.005306367874145508, 0.00536575984954834, 0.005486591815948487, 0.005513216018676758, 0.005458943843841553, 0.005430272102355957, 0.005422080039978027, 0.005405695915222168, 0.005408768177032471, 0.005429247856140137, 0.005404672145843506, 0.0053975038528442385, 0.005434368133544922, 0.005464064121246338, 0.005405695915222168, 0.005489664077758789, 0.005445631980895996, 0.005407743930816651, 0.005485568046569824, 0.005425151824951172, 0.005454847812652588, 0.005389311790466309, 0.005351424217224121, 0.005380095958709717, 0.005413887977600097, 0.005369855880737305, 0.005417984008789062, 0.005419007778167725, 0.005413887977600097, 0.005412864208221436, 0.005391359806060791, 0.0053678078651428224, 0.005379072189331055, 0.005417984008789062, 0.005378047943115235, 0.0054241280555725096, 0.005401599884033203, 0.00541593599319458, 0.00538316822052002, 0.005388288021087646, 0.005439487934112549, 0.005396480083465576, 0.005399551868438721, 0.005419007778167725, 0.0053821439743042, 0.005378047943115235, 0.005401599884033203, 0.005404672145843506, 0.005372928142547607, 0.005448736190795898, 0.005391359806060791, 0.005375999927520752, 0.005408768177032471, 0.005384191989898681, 0.005389311790466309, 0.005406720161437988, 0.00542310380935669, 0.0054282240867614745, 0.005460000038146973, 0.00582144021987915, 0.005480447769165039, 0.005481472015380859, 0.005784575939178467, 0.006130688190460205, 0.005451776027679443, 0.005534719944000244, 0.005425151824951172, 0.0054568958282470706, 0.005425151824951172, 0.00542310380935669, 0.005468160152435303, 0.005416959762573242, 0.005402624130249023, 0.005421055793762207, 0.005387263774871826, 0.0059064321517944334, 0.005436416149139404, 0.005380095958709717, 0.005403647899627686, 0.005399551868438721, 0.005389311790466309 ] }, "throughput": { "unit": "samples/s", "value": 187.81737584151844 }, "energy": { "unit": "kWh", "cpu": 6.367282467930974e-08, "ram": 3.480291358256738e-08, "gpu": 1.2877399788172062e-07, "total": 2.2724973614359776e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4400445.153292085 } } } }