{ "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.0", "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": 869.29408, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 187, "total": 1.0045194258689878, "mean": 0.005371761635663036, "stdev": 0.00018888844671055663, "p50": 0.0053821439743042, "p90": 0.005588992118835449, "p95": 0.005623910474777222, "p99": 0.00571176959991455, "values": [ 0.0063498239517211915, 0.005635072231292724, 0.005786623954772949, 0.005634047985076904, 0.00567193603515625, 0.005624832153320313, 0.005599232196807862, 0.0056514558792114256, 0.005639167785644531, 0.005650432109832764, 0.005561344146728516, 0.005554175853729248, 0.005588992118835449, 0.00552243185043335, 0.005484543800354004, 0.005393407821655274, 0.005426176071166992, 0.005571584224700928, 0.005494783878326416, 0.0056217598915100095, 0.005566463947296142, 0.005552127838134766, 0.005557248115539551, 0.005492735862731934, 0.005478400230407715, 0.005586944103240967, 0.005537792205810547, 0.005532671928405761, 0.005569536209106446, 0.005541888236999512, 0.005568511962890625, 0.005486591815948487, 0.005554175853729248, 0.005516287803649903, 0.005526527881622314, 0.005472256183624268, 0.005370880126953125, 0.005350399971008301, 0.005445631980895996, 0.00547430419921875, 0.005391359806060791, 0.005577727794647217, 0.00551423978805542, 0.005595136165618897, 0.005600255966186523, 0.005588992118835449, 0.005615615844726562, 0.005577727794647217, 0.005549056053161621, 0.005494783878326416, 0.005505023956298828, 0.005581823825836182, 0.0055214080810546875, 0.005488639831542969, 0.005545983791351319, 0.005451776027679443, 0.005419007778167725, 0.005576704025268555, 0.005468160152435303, 0.005581823825836182, 0.00551526403427124, 0.0054241280555725096, 0.00550707197189331, 0.005486591815948487, 0.005511168003082275, 0.0054876160621643065, 0.0054568958282470706, 0.005527552127838135, 0.005553152084350586, 0.005601280212402344, 0.00556441593170166, 0.005571584224700928, 0.005604351997375488, 0.0055244798660278325, 0.0055244798660278325, 0.005557248115539551, 0.005420032024383545, 0.005553152084350586, 0.005481472015380859, 0.005400576114654541, 0.005411839962005615, 0.005258240222930908, 0.005257215976715088, 0.005534719944000244, 0.005434368133544922, 0.005256192207336426, 0.005275648117065429, 0.0051968002319335935, 0.005197824001312256, 0.005224448204040527, 0.005206016063690186, 0.005232639789581299, 0.005616640090942383, 0.005475327968597412, 0.005495808124542236, 0.005585919857025146, 0.005699584007263184, 0.0055316481590271, 0.005392384052276611, 0.005370880126953125, 0.005433343887329102, 0.005455872058868408, 0.005362688064575195, 0.005388288021087646, 0.005468160152435303, 0.0053606400489807126, 0.005400576114654541, 0.0053821439743042, 0.0053606400489807126, 0.005276671886444092, 0.005191679954528809, 0.005187583923339844, 0.005202943801879883, 0.005198847770690918, 0.005189631938934326, 0.0052111358642578124, 0.005202943801879883, 0.005163008213043213, 0.005163008213043213, 0.005223423957824707, 0.005201920032501221, 0.005172224044799805, 0.005203968048095703, 0.005194752216339111, 0.005186560153961181, 0.005188608169555664, 0.005193727970123291, 0.005164031982421875, 0.005190656185150146, 0.005202943801879883, 0.0051773438453674315, 0.005184512138366699, 0.005204991817474365, 0.005188608169555664, 0.005174272060394287, 0.0051773438453674315, 0.00520908784866333, 0.0051701760292053225, 0.005172224044799805, 0.005193727970123291, 0.0051998720169067385, 0.005186560153961181, 0.0051998720169067385, 0.0051476478576660155, 0.005127168178558349, 0.005155839920043945, 0.005184512138366699, 0.005131264209747314, 0.005130239963531494, 0.005153791904449463, 0.005111807823181152, 0.005154816150665284, 0.00517632007598877, 0.005210112094879151, 0.005186560153961181, 0.005184512138366699, 0.005216256141662597, 0.005198847770690918, 0.005191679954528809, 0.005213183879852295, 0.005197824001312256, 0.0051660799980163576, 0.00516812801361084, 0.005227519989013672, 0.005186560153961181, 0.005190656185150146, 0.005232639789581299, 0.005220352172851562, 0.005221375942230225, 0.005237760066986084, 0.0052408318519592285, 0.005180416107177735, 0.005215231895446777, 0.005237760066986084, 0.005186560153961181, 0.005190656185150146, 0.0052008957862854, 0.005206016063690186, 0.005179391860961914, 0.005197824001312256, 0.005202943801879883, 0.005184512138366699, 0.005180416107177735, 0.005214208126068115, 0.005129216194152832, 0.005117951869964599, 0.005154816150665284 ] }, "throughput": { "unit": "samples/s", "value": 186.15866969245556 }, "energy": { "unit": "kWh", "cpu": 6.181919360878291e-08, "ram": 3.378954609984645e-08, "gpu": 1.2395264545833073e-07, "total": 2.195613851669601e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4554534.939008398 } } } }