{
    "config": {
        "name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base",
        "backend": {
            "name": "pytorch",
            "version": "2.3.0+cpu",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "multiple-choice",
            "library": "transformers",
            "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": {},
            "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,
            "latency": true,
            "memory": 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",
            "start_method": "spawn"
        },
        "environment": {
            "cpu": " AMD EPYC 7763 64-Core Processor",
            "cpu_count": 4,
            "cpu_ram_mb": 16757.3504,
            "system": "Linux",
            "machine": "x86_64",
            "platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35",
            "processor": "x86_64",
            "python_version": "3.10.14",
            "optimum_benchmark_version": "0.2.0",
            "optimum_benchmark_commit": "90aae7d9a74aeabd69ab3338806fa9a29ef64627",
            "transformers_version": "4.40.2",
            "transformers_commit": null,
            "accelerate_version": "0.30.1",
            "accelerate_commit": null,
            "diffusers_version": "0.27.2",
            "diffusers_commit": null,
            "optimum_version": null,
            "optimum_commit": null,
            "timm_version": "1.0.3",
            "timm_commit": null,
            "peft_version": null,
            "peft_commit": null
        }
    },
    "report": {
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 939.823104,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "count": 22,
                "total": 1.0463529269999867,
                "mean": 0.047561496681817576,
                "stdev": 0.0009572186636403976,
                "p50": 0.047460034000010864,
                "p90": 0.04896106840001835,
                "p95": 0.04919967320002172,
                "p99": 0.0493095378299688,
                "values": [
                    0.049336265999954776,
                    0.047986483999977736,
                    0.0490226730000245,
                    0.04611089399998036,
                    0.048292353000022104,
                    0.04731742899997471,
                    0.04721910600000001,
                    0.047362903000021106,
                    0.04554247600003691,
                    0.0466827770000009,
                    0.04840662699996301,
                    0.046447829999976875,
                    0.04739745799997763,
                    0.0473095040000544,
                    0.049208989000021575,
                    0.046701181999992514,
                    0.04775423099999898,
                    0.04824224999998705,
                    0.04785397800003466,
                    0.04669168399999535,
                    0.047943222999947466,
                    0.047522610000044097
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 21.025410673888505
            },
            "energy": {
                "unit": "kWh",
                "cpu": 1.5520600172189566e-06,
                "ram": 6.486328834671876e-08,
                "gpu": 0.0,
                "total": 1.6169233055656754e-06
            },
            "efficiency": {
                "unit": "samples/kWh",
                "value": 618458.5233930766
            }
        }
    }
}