{ "config": { "name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cpu", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "library": "transformers", "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": {}, "hub_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, "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.354496, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.2.0", "optimum_benchmark_commit": "a84403909b6e036e6ac3ccba23f1df81c197a364", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 940.425216, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 23, "total": 1.022984197999989, "mean": 0.044477573826086476, "stdev": 0.0011577001753387346, "p50": 0.0447925400000031, "p90": 0.04549232180001468, "p95": 0.04567796829998656, "p99": 0.04578687864000017, "values": [ 0.04581238500000495, 0.044977447999997366, 0.04541496900000652, 0.04281758999999852, 0.04551166000001672, 0.0449578299999871, 0.04504167800001824, 0.04501056899999867, 0.04244574300000181, 0.04446229900000276, 0.044928435000002764, 0.0442664819999834, 0.04477149999999597, 0.04430712800001402, 0.04451420699999176, 0.04436180100000797, 0.04569644699998321, 0.04486840299998107, 0.0441369479999878, 0.04494135999999571, 0.0447925400000031, 0.04455295899998646, 0.04039381700002309 ] }, "throughput": { "unit": "samples/s", "value": 22.483240743079637 }, "energy": { "unit": "kWh", "cpu": 1.4906162097130296e-06, "ram": 6.2296204425357e-08, "gpu": 0.0, "total": 1.5529124141383865e-06 }, "efficiency": { "unit": "samples/kWh", "value": 643951.3206898002 } } } }