{ "config": { "name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.4.1+cpu", "_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": "cpu", "device_ids": null, "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": false, "device_isolation_action": null, "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 4, "cpu_ram_mb": 16757.342208, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.5.0-1025-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": "1cf5bfa2950404184ab9e18b574b5cfdc4aa0503", "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.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": 968.384512, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.408281637000016, "mean": 4.408281637000016, "stdev": 0.0, "p50": 4.408281637000016, "p90": 4.408281637000016, "p95": 4.408281637000016, "p99": 4.408281637000016, "values": [ 4.408281637000016 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 5.116074627222058e-05, "ram": 2.138275604421624e-06, "gpu": 0, "total": 5.32990218766422e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 882.176, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 23, "total": 1.0113737640000977, "mean": 0.043972772347830334, "stdev": 0.0010032973211317527, "p50": 0.044226933000004465, "p90": 0.045153216200026235, "p95": 0.04516997609999294, "p99": 0.04561271381997017, "values": [ 0.04496890100000428, 0.043513187999963066, 0.04243561100003035, 0.044086219999996956, 0.04462665100004415, 0.044834680999997545, 0.042857521000030374, 0.04257061399999884, 0.042200703000048634, 0.0443030760000056, 0.044315358000005745, 0.045170477999988634, 0.04359044199998152, 0.0439157810000097, 0.042805514000008316, 0.0438079990000233, 0.044226933000004465, 0.044368277999979, 0.04235432999996647, 0.04516545900003166, 0.04510424500000454, 0.0444143340000096, 0.04573744699996496 ] }, "throughput": { "unit": "samples/s", "value": 22.74134530545107 }, "energy": { "unit": "kWh", "cpu": 1.528743929700865e-06, "ram": 6.388816520501981e-08, "gpu": 0.0, "total": 1.5926320949058848e-06 }, "efficiency": { "unit": "samples/kWh", "value": 627891.4026651549 } } } }