{ "config": { "name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+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": "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": "64616c22a81fbd56113ffbadbf137b852c35ed9d", "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.1", "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": 945.82784, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.470768648999979, "mean": 4.470768648999979, "stdev": 0.0, "p50": 4.470768648999979, "p90": 4.470768648999979, "p95": 4.470768648999979, "p99": 4.470768648999979, "values": [ 4.470768648999979 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 5.141416186666719e-05, "ram": 2.1488893416625005e-06, "gpu": 0, "total": 5.356305120832969e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 956.706816, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 22, "total": 1.0423202260000721, "mean": 0.04737819209091237, "stdev": 0.0011495435618548624, "p50": 0.04757245349998129, "p90": 0.04877065120001021, "p95": 0.04900418005001654, "p99": 0.049270555320011906, "values": [ 0.047433423000029507, 0.046994460999997045, 0.04647745099998701, 0.04933874400001059, 0.04825281900002665, 0.04762285799995425, 0.04607786200000419, 0.045063802000015585, 0.04901403600001686, 0.04881691700001056, 0.04804720399999951, 0.046791240000004564, 0.048354259000007005, 0.04752204900000834, 0.04763591299996506, 0.047966794000046775, 0.0471466050000231, 0.046842695999998796, 0.0477011149999953, 0.04713487399999394, 0.04768547599996964, 0.04439962800000785 ] }, "throughput": { "unit": "samples/s", "value": 21.10675726252143 }, "energy": { "unit": "kWh", "cpu": 1.592411888666599e-06, "ram": 6.655017347132729e-08, "gpu": 0.0, "total": 1.6589620621379263e-06 }, "efficiency": { "unit": "samples/kWh", "value": 602786.5391395912 } } } }