{ "config": { "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.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": null, "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 4, "cpu_ram_mb": 16766.7712, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.15", "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": "c3b26af3412e601d30a07497cb23b6d2ce1f38a3", "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "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": 941.38368, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.288691576000019, "mean": 4.288691576000019, "stdev": 0.0, "p50": 4.288691576000019, "p90": 4.288691576000019, "p95": 4.288691576000019, "p99": 4.288691576000019, "values": [ 4.288691576000019 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.801848150555467e-05, "ram": 2.0080855823309784e-06, "gpu": 0, "total": 5.0026567087885655e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 949.248, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 32, "total": 1.0038227609998671, "mean": 0.03136946128124585, "stdev": 0.0008801699418074432, "p50": 0.031167210999996087, "p90": 0.03204500150001195, "p95": 0.033200786999995555, "p99": 0.03434662994996927, "values": [ 0.032919311999989986, 0.03144318699997939, 0.03124467499998218, 0.030974730000025374, 0.03122189300000855, 0.03195651799995858, 0.03136470999999119, 0.03127910000000611, 0.030589087999999265, 0.030901853999978357, 0.030928694000010637, 0.031363849000001665, 0.03152732499995636, 0.033544812000002366, 0.03184152200003609, 0.03139578799999754, 0.030818557000031888, 0.031112528999983624, 0.030998063000026832, 0.030935276000036538, 0.03131914499999766, 0.03149728800002549, 0.03073191499998984, 0.03077474499997379, 0.030714833999979874, 0.031040754000002835, 0.030971964999991997, 0.03205483300001788, 0.0347068669999544, 0.030488138999999137, 0.030712308999966353, 0.03044848499996533 ] }, "throughput": { "unit": "samples/s", "value": 31.878137499219584 }, "energy": { "unit": "kWh", "cpu": 1.19799290286191e-06, "ram": 5.009293693850846e-08, "gpu": 0.0, "total": 1.2480858398004183e-06 }, "efficiency": { "unit": "samples/kWh", "value": 801226.941377614 } } } }