{
    "config": {
        "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
        "backend": {
            "name": "pytorch",
            "version": "2.3.1+cpu",
            "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
            "task": "text-classification",
            "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-1023-azure-x86_64-with-glibc2.35",
            "processor": "x86_64",
            "python_version": "3.10.14",
            "optimum_benchmark_version": "0.3.1",
            "optimum_benchmark_commit": "c2e285b1b04b59538000b19edb9ba8775216af9c",
            "transformers_version": "4.42.4",
            "transformers_commit": null,
            "accelerate_version": "0.32.1",
            "accelerate_commit": null,
            "diffusers_version": "0.29.2",
            "diffusers_commit": null,
            "optimum_version": null,
            "optimum_commit": null,
            "timm_version": "1.0.7",
            "timm_commit": null,
            "peft_version": null,
            "peft_commit": null
        }
    },
    "report": {
        "load": {
            "memory": {
                "unit": "MB",
                "max_ram": 941.805568,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "count": 1,
                "total": 4.298214290000033,
                "mean": 4.298214290000033,
                "stdev": 0.0,
                "p50": 4.298214290000033,
                "p90": 4.298214290000033,
                "p95": 4.298214290000033,
                "p99": 4.298214290000033,
                "values": [
                    4.298214290000033
                ]
            },
            "throughput": null,
            "energy": {
                "unit": "kWh",
                "cpu": 4.883906841278076e-05,
                "ram": 2.041237699781959e-06,
                "gpu": 0,
                "total": 5.088030611256272e-05
            },
            "efficiency": null
        },
        "forward": {
            "memory": {
                "unit": "MB",
                "max_ram": 950.45632,
                "max_global_vram": null,
                "max_process_vram": null,
                "max_reserved": null,
                "max_allocated": null
            },
            "latency": {
                "unit": "s",
                "count": 29,
                "total": 1.0086462969998138,
                "mean": 0.034780906793097026,
                "stdev": 0.0023613328358714418,
                "p50": 0.0357547070000237,
                "p90": 0.03708604339994963,
                "p95": 0.038089035600023635,
                "p99": 0.03847176671999478,
                "values": [
                    0.0327151200000344,
                    0.03227530900005604,
                    0.03206384199995682,
                    0.03123324099999536,
                    0.03130548399997224,
                    0.03177829699995982,
                    0.03194446899999548,
                    0.03112830199995642,
                    0.03192430199999308,
                    0.03182142900004692,
                    0.0343453310000541,
                    0.036916120000000774,
                    0.036348678000081236,
                    0.03628675199990994,
                    0.03594577499995921,
                    0.03637184100000468,
                    0.03475855399994998,
                    0.03622627900006137,
                    0.03564521199996307,
                    0.03656031499997425,
                    0.038481587999967815,
                    0.038446512000064104,
                    0.03672658599998613,
                    0.036405595000019275,
                    0.03690313499998865,
                    0.036969348999946305,
                    0.0357547070000237,
                    0.03755282099996293,
                    0.033811351999929684
                ]
            },
            "throughput": {
                "unit": "samples/s",
                "value": 28.751406797664924
            },
            "energy": {
                "unit": "kWh",
                "cpu": 1.2019923640421345e-06,
                "ram": 5.023358359597875e-08,
                "gpu": 0.0,
                "total": 1.2522259476381132e-06
            },
            "efficiency": {
                "unit": "samples/kWh",
                "value": 798577.9258816276
            }
        }
    }
}