{ "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.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": "a24cd34532cdb9c93a3944992e210e603d844e1c", "transformers_version": "4.44.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "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": 968.282112, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.3266918269999906, "mean": 4.3266918269999906, "stdev": 0.0, "p50": 4.3266918269999906, "p90": 4.3266918269999906, "p95": 4.3266918269999906, "p99": 4.3266918269999906, "values": [ 4.3266918269999906 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 5.1558943333332906e-05, "ram": 2.1549391963074287e-06, "gpu": 0, "total": 5.3713882529640335e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 882.19648, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 25, "total": 1.0289467470000773, "mean": 0.04115786988000309, "stdev": 0.0025234331505911583, "p50": 0.04177557200000592, "p90": 0.04429688100000249, "p95": 0.04447801979996484, "p99": 0.04453395320000254, "values": [ 0.03815243400003965, 0.038522387000000435, 0.0377879409999764, 0.03827565599999616, 0.038230330999965645, 0.037614044999997986, 0.03836207799997737, 0.03788425200002621, 0.03776846599998862, 0.04076596100003371, 0.04291554700000688, 0.0439129659999935, 0.043061651000016354, 0.041068277000022135, 0.04370532699999785, 0.04205374299999676, 0.04332077600003004, 0.04290326399996047, 0.041886099000009835, 0.04177557200000592, 0.04448989599995912, 0.044430514999987736, 0.04409643000002461, 0.044547866000016256, 0.041415267000047606 ] }, "throughput": { "unit": "samples/s", "value": 24.296689865523355 }, "energy": { "unit": "kWh", "cpu": 1.4680192491769232e-06, "ram": 6.135033940027686e-08, "gpu": 0.0, "total": 1.5293695885772e-06 }, "efficiency": { "unit": "samples/kWh", "value": 653864.1852623197 } } } }