{ "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": "f8984237ed319b3e2359229f9a715248aa496ad5", "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 947.736576, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.273493459999997, "mean": 4.273493459999997, "stdev": 0.0, "p50": 4.273493459999997, "p90": 4.273493459999997, "p95": 4.273493459999997, "p99": 4.273493459999997, "values": [ 4.273493459999997 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.761671646666723e-05, "ram": 1.990147738727704e-06, "gpu": 0, "total": 4.9606864205394935e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 956.125184, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 32, "total": 1.0222644590000982, "mean": 0.03194576434375307, "stdev": 0.0016096767413638388, "p50": 0.031045212500004027, "p90": 0.03497652700000344, "p95": 0.035121834900013485, "p99": 0.03563942564999593, "values": [ 0.0358185079999771, 0.035240823000037835, 0.03414696799995909, 0.03353975900000705, 0.034979206000002705, 0.030992910000009033, 0.030772609999985434, 0.03273770600003445, 0.030828294000002643, 0.03502448099999356, 0.030745569000032447, 0.03074374599998464, 0.030965539000021636, 0.03106380200000558, 0.031026623000002473, 0.031026130999975976, 0.03133234099999527, 0.030721485000015036, 0.030827742999974816, 0.030986778999988474, 0.03089984700000059, 0.03147070900001836, 0.03186803900001678, 0.03100344000000632, 0.03206824000000097, 0.03136827900004846, 0.030859330999987833, 0.031399145999955635, 0.031020261000037408, 0.03495241600001009, 0.03137372899999491, 0.030459999000015614 ] }, "throughput": { "unit": "samples/s", "value": 31.303054428107558 }, "energy": { "unit": "kWh", "cpu": 1.1853230749157665e-06, "ram": 4.953618734135145e-08, "gpu": 0.0, "total": 1.234859262257118e-06 }, "efficiency": { "unit": "samples/kWh", "value": 809808.8831371486 } } } }