{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.4.0+cu124", "_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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.223-212.873.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 784.22016, "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.427857421875, "mean": 7.427857421875, "stdev": 0.0, "p50": 7.427857421875, "p90": 7.427857421875, "p95": 7.427857421875, "p99": 7.427857421875, "values": [ 7.427857421875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.220222118055215e-07, "ram": 4.894804969339166e-07, "gpu": 1.87694594599953e-06, "total": 3.2884486547389683e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1039.802368, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 449.025024 }, "latency": { "unit": "s", "count": 172, "total": 1.002416191577911, "mean": 0.005828001113825066, "stdev": 0.00020938993826302395, "p50": 0.005879807949066162, "p90": 0.0060530686378479, "p95": 0.006120140671730041, "p99": 0.006359500756263733, "values": [ 0.006395904064178467, 0.006358016014099121, 0.006337535858154297, 0.006123519897460937, 0.006062079906463623, 0.006103040218353272, 0.006089727878570556, 0.006056960105895996, 0.0059955201148986816, 0.005979135990142822, 0.0059770879745483394, 0.005956607818603516, 0.005975103855133056, 0.005975039958953857, 0.005975039958953857, 0.005917695999145508, 0.005768191814422607, 0.005836800098419189, 0.005859327793121338, 0.0060999679565429685, 0.006045695781707764, 0.006030335903167725, 0.0059770879745483394, 0.006003712177276611, 0.005944320201873779, 0.005933055877685547, 0.005920767784118652, 0.005879807949066162, 0.006053887844085694, 0.006013951778411865, 0.005981184005737304, 0.005948416233062744, 0.005981184005737304, 0.005948416233062744, 0.005992447853088379, 0.005917695999145508, 0.006115327835083008, 0.006137856006622314, 0.005962751865386963, 0.006022143840789795, 0.005940224170684814, 0.005817344188690185, 0.005826560020446778, 0.0058009600639343266, 0.00586956787109375, 0.0059054079055786135, 0.005910528182983398, 0.005904384136199951, 0.005951488018035888, 0.005892096042633056, 0.005988351821899414, 0.005949440002441406, 0.006023168087005615, 0.005970943927764893, 0.006137856006622314, 0.00611737585067749, 0.0059269118309021, 0.005840896129608154, 0.005888000011444092, 0.005959680080413818, 0.006013951778411865, 0.005904384136199951, 0.005937151908874512, 0.005894144058227539, 0.00597811222076416, 0.005853184223175049, 0.005879807949066162, 0.00586137580871582, 0.005911551952362061, 0.0059023361206054685, 0.005980160236358643, 0.005981184005737304, 0.0060282878875732426, 0.00602623987197876, 0.005907455921173096, 0.005888000011444092, 0.005899263858795166, 0.005874688148498535, 0.005874688148498535, 0.005896192073822021, 0.005958655834197998, 0.006003712177276611, 0.0060702719688415525, 0.006014976024627685, 0.006008831977844238, 0.005971968173980713, 0.005971968173980713, 0.005904384136199951, 0.005945343971252442, 0.006248447895050049, 0.005941247940063477, 0.00582041597366333, 0.006363135814666748, 0.005946368217468262, 0.0058419198989868165, 0.005819392204284668, 0.005801983833312988, 0.005617663860321045, 0.00568012809753418, 0.005865471839904785, 0.005754879951477051, 0.005557248115539551, 0.0055848960876464845, 0.005547008037567139, 0.005634047985076904, 0.005578752040863037, 0.0056442880630493165, 0.006210559844970703, 0.005866496086120605, 0.005844992160797119, 0.00591974401473999, 0.006032383918762207, 0.006007808208465576, 0.005857279777526855, 0.005794816017150879, 0.005837823867797852, 0.005684224128723145, 0.005653503894805908, 0.005616640090942383, 0.005605375766754151, 0.005654528141021729, 0.005560319900512695, 0.005629951953887939, 0.005548031806945801, 0.005735424041748047, 0.005810175895690918, 0.005646336078643799, 0.005600255966186523, 0.005559296131134033, 0.00553984022140503, 0.005559296131134033, 0.005540863990783691, 0.005599232196807862, 0.0055285758972167965, 0.005547008037567139, 0.005534719944000244, 0.005538815975189209, 0.005571584224700928, 0.005578752040863037, 0.005545983791351319, 0.005626880168914795, 0.0055203838348388675, 0.0055552000999450684, 0.005886975765228271, 0.005552127838134766, 0.005550079822540284, 0.005529600143432617, 0.005559296131134033, 0.005554175853729248, 0.0055582718849182125, 0.005597184181213379, 0.005530623912811279, 0.005560319900512695, 0.0055623679161071774, 0.005567488193511963, 0.0055582718849182125, 0.005563392162322998, 0.0055316481590271, 0.005550079822540284, 0.005533696174621582, 0.005566463947296142, 0.0059391999244689945, 0.005659647941589355, 0.005571584224700928, 0.005565440177917481, 0.0057190399169921875, 0.005554175853729248, 0.005517312049865723, 0.005553152084350586, 0.005534719944000244, 0.005638144016265869, 0.005525504112243652 ] }, "throughput": { "unit": "samples/s", "value": 171.58541676112935 }, "energy": { "unit": "kWh", "cpu": 6.44392015964658e-08, "ram": 3.5172931287734804e-08, "gpu": 1.4350705925000063e-07, "total": 2.4311919213420126e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4113208.7977982513 } } } }