{ "config": { "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cpu", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "model": "FacebookAI/roberta-base", "library": "transformers", "device": "cpu", "device_ids": null, "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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, "latency": true, "memory": 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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 4, "cpu_ram_mb": 16757.3504, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.5.0-1018-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.2.0", "optimum_benchmark_commit": "8c941d382a8099afb1970de0d586e2ae6aa525e8", "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 937.975808, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 28, "total": 1.0005242020000082, "mean": 0.03573300721428601, "stdev": 0.000725269618269867, "p50": 0.03597269100001199, "p90": 0.03641050549998113, "p95": 0.03647341194999285, "p99": 0.03653340446999891, "values": [ 0.0363684299999818, 0.03608610300000237, 0.035256974999981594, 0.036030379999999695, 0.034260286000005635, 0.03602155200002244, 0.036400720999949954, 0.0363302590000103, 0.035435089000031894, 0.035868827999991026, 0.035638678999987405, 0.033900895000044784, 0.03600378900000578, 0.0364272599999822, 0.035903904000008424, 0.03538521500001934, 0.03592107600002237, 0.034531050999987656, 0.036546401999999034, 0.03470199099996307, 0.036072477999994135, 0.03649826299999859, 0.03580974800001968, 0.0359415930000182, 0.03439629900003638, 0.03605036599998357, 0.03633324499998025, 0.03640332499998067 ] }, "throughput": { "unit": "samples/s", "value": 27.98533003402527 }, "energy": { "unit": "kWh", "cpu": 1.1926643374793056e-06, "ram": 4.984338564000986e-08, "gpu": 0.0, "total": 1.2425077231193155e-06 }, "efficiency": { "unit": "samples/kWh", "value": 804823.9712261105 } } } }