{ "config": { "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.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": "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-1023-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.3.1", "optimum_benchmark_commit": "77ca106f4cf33f416814fc4a120313d806701176", "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 942.288896, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.245048488000009, "mean": 4.245048488000009, "stdev": 0.0, "p50": 4.245048488000009, "p90": 4.245048488000009, "p95": 4.245048488000009, "p99": 4.245048488000009, "values": [ 4.245048488000009 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.7338051266140414e-05, "ram": 1.978487815061953e-06, "gpu": 0, "total": 4.9316539081202367e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 950.153216, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 29, "total": 1.018980703000011, "mean": 0.035137265620690035, "stdev": 0.0011838554641811446, "p50": 0.03527102699996476, "p90": 0.03623993019999716, "p95": 0.0364862725999842, "p99": 0.03658256019997907, "values": [ 0.035859525000034864, 0.03551863899997443, 0.03618966099998033, 0.03377417500001911, 0.03642061099998273, 0.03588628400001426, 0.03588694600000508, 0.035210674999973435, 0.03600098900000148, 0.03454678600002126, 0.03505235900001935, 0.03653004699998519, 0.03527102699996476, 0.03481685999997808, 0.03476509299997588, 0.03514851899996074, 0.0346083410000233, 0.035062909000032505, 0.03476637500000379, 0.0355930190000322, 0.03619476000000077, 0.03552217600002905, 0.03453989399997681, 0.03470670400002973, 0.03541048700003557, 0.03660298199997669, 0.035347248999983094, 0.033443558000044504, 0.03030405299995209 ] }, "throughput": { "unit": "samples/s", "value": 28.459812746816745 }, "energy": { "unit": "kWh", "cpu": 1.174462075326957e-06, "ram": 4.908319539692108e-08, "gpu": 0.0, "total": 1.223545270723878e-06 }, "efficiency": { "unit": "samples/kWh", "value": 817297.0987893047 } } } }