{ "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": "a15c900c7e611bd78abdf66d3df121367de8fb9d", "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.1", "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": 945.64352, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.523004976999971, "mean": 4.523004976999971, "stdev": 0.0, "p50": 4.523004976999971, "p90": 4.523004976999971, "p95": 4.523004976999971, "p99": 4.523004976999971, "values": [ 4.523004976999971 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.817173137777849e-05, "ram": 2.013332498037911e-06, "gpu": 0, "total": 5.01850638758164e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 953.245696, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 28, "total": 1.0138485579998928, "mean": 0.03620887707142474, "stdev": 0.001438273899839737, "p50": 0.03587399950001213, "p90": 0.037937692499974675, "p95": 0.0383363069499751, "p99": 0.04002601183997115, "values": [ 0.03829027199998336, 0.03692319599997518, 0.0377248310000482, 0.036215439000045535, 0.034940578000032474, 0.03441525300002013, 0.035791744999983166, 0.03516742400000794, 0.03438466599999401, 0.03645846500000971, 0.036902138000016294, 0.036978170999987015, 0.03778658699997095, 0.03563917799999672, 0.038361094999970646, 0.03556121299999404, 0.0359562540000411, 0.03500931799999307, 0.03557573999995611, 0.03487565599999698, 0.034452923000003466, 0.035124673999973766, 0.03562707699995826, 0.034494331000018974, 0.037187523000000056, 0.03646285299998908, 0.04064180299997133, 0.03690015499995525 ] }, "throughput": { "unit": "samples/s", "value": 27.617536937901292 }, "energy": { "unit": "kWh", "cpu": 1.386755623180098e-06, "ram": 5.795482058603515e-08, "gpu": 0.0, "total": 1.444710443766133e-06 }, "efficiency": { "unit": "samples/kWh", "value": 692180.2249820782 } } } }