{ "config": { "name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.1+cpu", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "library": "transformers", "model_type": "roberta", "model": "FacebookAI/roberta-base", "processor": "FacebookAI/roberta-base", "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": 16766.767104, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.15", "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": "ca2be18fea34395d17487b7c6eecaa82f8012043", "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "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": 939.692032, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.22957719599998, "mean": 4.22957719599998, "stdev": 0.0, "p50": 4.22957719599998, "p90": 4.22957719599998, "p95": 4.22957719599998, "p99": 4.22957719599998, "values": [ 4.22957719599998 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.7017521522220965e-05, "ram": 1.9662093621703576e-06, "gpu": 0, "total": 4.898373088439132e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 950.70208, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 23, "total": 1.0178264630000058, "mean": 0.04425332447826112, "stdev": 0.0022791539117684115, "p50": 0.04502474600002415, "p90": 0.0462807125999916, "p95": 0.046513683800026226, "p99": 0.0466925395599651, "values": [ 0.04507487000000765, 0.04553543299999774, 0.04390238500002397, 0.04591043499999614, 0.04511029600001848, 0.04502474600002415, 0.04520056500001601, 0.04356577299995479, 0.04637328199999047, 0.044882319999999254, 0.0449420909999958, 0.04391630000003488, 0.046738585999946736, 0.0443521259999784, 0.0465292840000302, 0.04512811000000738, 0.043980491000013444, 0.045121998000013264, 0.044736757000009675, 0.04523840699999937, 0.040576906000012514, 0.03812768899996399, 0.03785761299997148 ] }, "throughput": { "unit": "samples/s", "value": 22.597172343317105 }, "energy": { "unit": "kWh", "cpu": 1.4913963253086342e-06, "ram": 6.236477820206734e-08, "gpu": 0.0, "total": 1.5537611035107015e-06 }, "efficiency": { "unit": "samples/kWh", "value": 643599.5840934067 } } } }