{ "config": { "name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.3.0+cpu", "_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": "cpu", "device_ids": null, "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": false, "device_isolation_action": "error", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 4, "cpu_ram_mb": 16757.3504, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.2.0", "optimum_benchmark_commit": "6422f8f56820540ec4876445962a50a44754b92e", "transformers_version": "4.40.2", "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": 865.349632, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 22, "total": 1.0254694729997595, "mean": 0.046612248772716344, "stdev": 0.0008058048499494237, "p50": 0.046596800499997926, "p90": 0.047706023899991123, "p95": 0.04775190604996453, "p99": 0.048061045449993574, "values": [ 0.04772247599998991, 0.04617116800000076, 0.04755795500000204, 0.04472943499996518, 0.04728700499998695, 0.04705209100001184, 0.04662096599997767, 0.046303378000004614, 0.045416531999990184, 0.04560314399998333, 0.046700446999977885, 0.04643181899996307, 0.04638662399997884, 0.046911865999959446, 0.047753454999963196, 0.04556607500001064, 0.047072920999994494, 0.046621877999996286, 0.04632271299999502, 0.046522079999988364, 0.04657263500001818, 0.048142810000001646 ] }, "throughput": { "unit": "samples/s", "value": 21.453588409262338 }, "energy": { "unit": "kWh", "cpu": 1.5813279151916505e-06, "ram": 6.608453637170442e-08, "gpu": 0.0, "total": 1.6474124515633549e-06 }, "efficiency": { "unit": "samples/kWh", "value": 607012.5298925743 } } } }