{ "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.338112, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.5.0-1024-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": "d662120356cf9cce87fb802aea1c49ce74710c29", "transformers_version": "4.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "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": 947.75296, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.347912285000007, "mean": 4.347912285000007, "stdev": 0.0, "p50": 4.347912285000007, "p90": 4.347912285000007, "p95": 4.347912285000007, "p99": 4.347912285000007, "values": [ 4.347912285000007 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.868911504745484e-05, "ram": 2.034975275730631e-06, "gpu": 0, "total": 5.072409032318547e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 955.355136, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 31, "total": 1.0090774900000952, "mean": 0.03255088677419662, "stdev": 0.0018502176581201722, "p50": 0.03168366599999217, "p90": 0.03562797900002579, "p95": 0.036052899999987176, "p99": 0.03629028429996879, "values": [ 0.036372000999961074, 0.03600618799998756, 0.03469117499997765, 0.03440914800000883, 0.03562797900002579, 0.03558319600000459, 0.03609961199998679, 0.03357571700001927, 0.032226342000001296, 0.03156299000005447, 0.030876815999988594, 0.031664309999996476, 0.031660833000046296, 0.03175552099997958, 0.03194125800001757, 0.03117177800004356, 0.031153974000005746, 0.03125570399998878, 0.03157761700003903, 0.03186297199999899, 0.03168366599999217, 0.030562958999951206, 0.03089535999998816, 0.032590233999997054, 0.031364547999999104, 0.031060969999998633, 0.030450518000009197, 0.03102969200000416, 0.03134149599998182, 0.03197576300004812, 0.035047152999993614 ] }, "throughput": { "unit": "samples/s", "value": 30.72112925638355 }, "energy": { "unit": "kWh", "cpu": 1.1960142790669142e-06, "ram": 4.998385681072748e-08, "gpu": 0.0, "total": 1.2459981358776419e-06 }, "efficiency": { "unit": "samples/kWh", "value": 802569.4190109132 } } } }