{ "config": { "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.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": null, "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 4, "cpu_ram_mb": 16766.7712, "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": "0876a1b3ff6de017d3dc76fabb58b5a1d2aecb9e", "transformers_version": "4.45.2", "transformers_commit": null, "accelerate_version": "1.0.0", "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 }, "print_report": true, "log_report": true }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 948.187136, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 1.2456151650000038 ], "count": 1, "total": 1.2456151650000038, "mean": 1.2456151650000038, "p50": 1.2456151650000038, "p90": 1.2456151650000038, "p95": 1.2456151650000038, "p99": 1.2456151650000038, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 956.444672, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.03691444999998339, 0.0361043890000019, 0.03608699699998397, 0.03633071100000507, 0.036674973000003774, 0.03668063399999255, 0.03602166499996429, 0.03643431400001873, 0.036521187000005284, 0.03693226300003971, 0.037008816000025035, 0.03649861500002771, 0.035970149000036145, 0.036517369000023336, 0.03602351800003589, 0.036992574999999306, 0.03747086800001398, 0.03647687400001587, 0.036697064999998474, 0.03660689599996658, 0.03722009000000526, 0.03623799899997948, 0.033444796999958726, 0.031526211000027615, 0.03136821499998632, 0.03175233100000696, 0.03201679400001467, 0.03169876999999133, 0.03277679200004968 ], "count": 29, "total": 1.029006327000161, "mean": 0.035482976793109, "p50": 0.03643431400001873, "p90": 0.036995823200004455, "p95": 0.03713558040001317, "p99": 0.03740065016001154, "stdev": 0.0019789166681531715, "stdev_": 5.577087513518563 }, "throughput": { "unit": "samples/s", "value": 28.182528366509704 }, "energy": { "unit": "kWh", "cpu": 1.2865396043010537e-06, "ram": 5.3796110039456855e-08, "gpu": 0.0, "total": 1.3403357143405105e-06 }, "efficiency": { "unit": "samples/kWh", "value": 746081.7385531155 } } } }