{ "config": { "name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.3.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": {}, "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, "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.342208, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.5.0-1023-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.3.1", "optimum_benchmark_commit": "33013b51e0268a2fd7f07c903783b994ac1e0021", "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": { "load": { "memory": { "unit": "MB", "max_ram": 963.198976, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.352177931999961, "mean": 4.352177931999961, "stdev": 0.0, "p50": 4.352177931999961, "p90": 4.352177931999961, "p95": 4.352177931999961, "p99": 4.352177931999961, "values": [ 4.352177931999961 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 5.1083918412526455e-05, "ram": 2.135096057775172e-06, "gpu": 0, "total": 5.3219014470301625e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 876.941312, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 24, "total": 1.0279229290000558, "mean": 0.04283012204166899, "stdev": 0.0019246788466403865, "p50": 0.0432004809999853, "p90": 0.0444373321000171, "p95": 0.044739973850036564, "p99": 0.0448792903099968, "values": [ 0.043857488999947236, 0.04452256000001853, 0.04225450399997044, 0.044778341000039745, 0.0431085900000312, 0.04304060300000856, 0.04408195100000967, 0.04194681500001707, 0.043457287000023825, 0.04318220900000824, 0.04290418599998702, 0.04270935900001405, 0.04265712099999064, 0.043894763000025705, 0.042411314000048606, 0.04363866699998198, 0.043542172999991635, 0.04345961500001749, 0.04208258399995657, 0.04490944399998398, 0.04423846700001377, 0.04321875299996236, 0.03737579799997093, 0.03665033600003653 ] }, "throughput": { "unit": "samples/s", "value": 23.34805394733898 }, "energy": { "unit": "kWh", "cpu": 1.4528053287615994e-06, "ram": 6.071471406016826e-08, "gpu": 0.0, "total": 1.5135200428217677e-06 }, "efficiency": { "unit": "samples/kWh", "value": 660711.4354003703 } } } }