{
    "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.5.0",
            "optimum_benchmark_commit": "9a4762e599f7bc3e4d476e246e8a5ba803715a46",
            "transformers_version": "4.45.0",
            "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": 946.511872,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "count": 1,
                "total": 1.2218110240000328,
                "mean": 1.2218110240000328,
                "stdev": 0.0,
                "p50": 1.2218110240000328,
                "p90": 1.2218110240000328,
                "p95": 1.2218110240000328,
                "p99": 1.2218110240000328,
                "values": [
                    1.2218110240000328
                ]
            },
            "throughput": null,
            "energy": {
                "unit": "kWh",
                "cpu": 4.748117142222144e-05,
                "ram": 1.9855714804454953e-06,
                "gpu": 0,
                "total": 4.946674290266693e-05
            },
            "efficiency": null
        },
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 957.259776,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "count": 26,
                "total": 1.0305981060000136,
                "mean": 0.039638388692308214,
                "stdev": 0.0005150599316248474,
                "p50": 0.039638897000003226,
                "p90": 0.04006468000000041,
                "p95": 0.04055544649997955,
                "p99": 0.041007586500015236,
                "values": [
                    0.039860051000005114,
                    0.0396232180000311,
                    0.039845124000009946,
                    0.03965457599997535,
                    0.039667651000002024,
                    0.039448831000015616,
                    0.040089040999987446,
                    0.04004031900001337,
                    0.04110647700002801,
                    0.0400373639999998,
                    0.03926970499998106,
                    0.039288921000036225,
                    0.03895552599999519,
                    0.038717931000007866,
                    0.039199153000026854,
                    0.039369893000014144,
                    0.039973102999965704,
                    0.03965463699995553,
                    0.03975682800000868,
                    0.03952452200002199,
                    0.03917322399996692,
                    0.039204072000018186,
                    0.039962102999993476,
                    0.038983840000014425,
                    0.039481080999962614,
                    0.04071091499997692
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 25.228068874405302
            },
            "energy": {
                "unit": "kWh",
                "cpu": 1.535244295726557e-06,
                "ram": 6.419791236969913e-08,
                "gpu": 0.0,
                "total": 1.5994422080962563e-06
            },
            "efficiency": {
                "unit": "samples/kWh",
                "value": 625217.9634488043
            }
        }
    }
}