{ "config": { "name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.4.0+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": "error", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 4, "cpu_ram_mb": 16757.338112, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.5.0-1024-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": "d662120356cf9cce87fb802aea1c49ce74710c29", "transformers_version": "4.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 970.99776, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.3802295619999825, "mean": 4.3802295619999825, "stdev": 0.0, "p50": 4.3802295619999825, "p90": 4.3802295619999825, "p95": 4.3802295619999825, "p99": 4.3802295619999825, "values": [ 4.3802295619999825 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 5.047213501400418e-05, "ram": 2.1095137346310365e-06, "gpu": 0, "total": 5.258164874863522e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 884.75648, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 26, "total": 1.028085639999972, "mean": 0.03954175538461431, "stdev": 0.001104034488464639, "p50": 0.039196200000020553, "p90": 0.04064177199998653, "p95": 0.04141552599998022, "p99": 0.04292994899999769, "values": [ 0.039404564999983904, 0.0383175210000104, 0.03882906799998409, 0.038903978000007555, 0.038841220999984216, 0.040816489000008005, 0.039096989000029225, 0.03954645099997833, 0.038772751999999855, 0.038547450999999455, 0.03889272700001811, 0.040171450999991976, 0.04020743900002799, 0.038948261000030016, 0.03979245400000764, 0.041615204999970956, 0.038530067000010604, 0.040053840999974, 0.03952760499998931, 0.03929541100001188, 0.03876057999997329, 0.03848109599999816, 0.04007867799998621, 0.038819088000025204, 0.0433681970000066, 0.04046705499996506 ] }, "throughput": { "unit": "samples/s", "value": 25.289721972967843 }, "energy": { "unit": "kWh", "cpu": 1.4903552247663587e-06, "ram": 6.228431480471842e-08, "gpu": 0.0, "total": 1.5526395395710772e-06 }, "efficiency": { "unit": "samples/kWh", "value": 644064.4943746917 } } } }