{ "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.346304, "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": "bf12ccfcd7efa011d0d69377131432e9b545fd5a", "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.19296, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.272004899000024, "mean": 4.272004899000024, "stdev": 0.0, "p50": 4.272004899000024, "p90": 4.272004899000024, "p95": 4.272004899000024, "p99": 4.272004899000024, "values": [ 4.272004899000024 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.8083173094444635e-05, "ram": 2.0096482609454924e-06, "gpu": 0, "total": 5.009282135539013e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 952.664064, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 33, "total": 1.0251161479998814, "mean": 0.0310641256969661, "stdev": 0.0015175919950225574, "p50": 0.030549199999995835, "p90": 0.03313302460002206, "p95": 0.03505424140001878, "p99": 0.035591468399970835, "values": [ 0.03092420199999424, 0.03053029500000548, 0.030620924999993804, 0.02977266700003156, 0.030264907999992374, 0.030885950999959277, 0.030656311000029746, 0.03013696899995466, 0.030549199999995835, 0.030873757999984264, 0.030715731999976015, 0.031220535999977983, 0.0305441009999754, 0.03128734199998462, 0.03049605100000008, 0.030511068999999225, 0.029667831999972805, 0.030271991999995862, 0.029984604000048876, 0.030473809000000074, 0.029748863000008896, 0.03061196800001653, 0.031207511999980397, 0.03017448999997896, 0.03013052700003982, 0.03244821499998807, 0.03582906199994795, 0.03503268100001833, 0.03508658200001946, 0.03330422700003055, 0.030408085999965806, 0.03017605200000162, 0.03056962900001281 ] }, "throughput": { "unit": "samples/s", "value": 32.19147417040183 }, "energy": { "unit": "kWh", "cpu": 1.161148875490221e-06, "ram": 4.8527095026694404e-08, "gpu": 0.0, "total": 1.2096759705169155e-06 }, "efficiency": { "unit": "samples/kWh", "value": 826667.6567714928 } } } }