{ "config": { "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+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-1025-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": "0b698510ea1d823135aec78328a8e6e308aed8da", "transformers_version": "4.44.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 945.586176, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.385501696000006, "mean": 4.385501696000006, "stdev": 0.0, "p50": 4.385501696000006, "p90": 4.385501696000006, "p95": 4.385501696000006, "p99": 4.385501696000006, "values": [ 4.385501696000006 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.871564390000048e-05, "ram": 2.0360772534656194e-06, "gpu": 0, "total": 5.07517211534661e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 953.843712, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 33, "total": 1.02561434099988, "mean": 0.031079222454541814, "stdev": 0.0007946932724854302, "p50": 0.030761052000002564, "p90": 0.031751247799991236, "p95": 0.03216346539996948, "p99": 0.033790643600000295, "values": [ 0.03186388499995019, 0.03145917800003417, 0.03153802600002109, 0.03062759200003029, 0.031780287999993106, 0.03058386100002508, 0.030927272999974775, 0.030872048999981416, 0.03057464300002266, 0.030761052000002564, 0.030394265999973413, 0.03070105000000467, 0.03065406099995016, 0.030606613000031757, 0.031137946999990618, 0.031366143000013835, 0.030665361999979268, 0.030230920000008155, 0.03061756400001059, 0.030362717000002704, 0.03069188199998507, 0.031261997999990854, 0.03158457299997508, 0.03133187999998199, 0.03163508699998374, 0.03103287999999793, 0.030357546999994156, 0.03030845500001078, 0.034344906000001174, 0.032612835999998424, 0.030661585000018476, 0.030456922999974267, 0.03160929899996745 ] }, "throughput": { "unit": "samples/s", "value": 32.175837135650845 }, "energy": { "unit": "kWh", "cpu": 1.1974270730639747e-06, "ram": 5.004086939006099e-08, "gpu": 0.0, "total": 1.2474679424540358e-06 }, "efficiency": { "unit": "samples/kWh", "value": 801623.8060857792 } } } }