{ "config": { "name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+cpu", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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-1024-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.3.1", "optimum_benchmark_commit": "d3c098f7db730a120ce09e9c390325447583d3b3", "transformers_version": "4.43.2", "transformers_commit": null, "accelerate_version": "0.33.0", "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": 947.109888, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.2516832889999705, "mean": 4.2516832889999705, "stdev": 0.0, "p50": 4.2516832889999705, "p90": 4.2516832889999705, "p95": 4.2516832889999705, "p99": 4.2516832889999705, "values": [ 4.2516832889999705 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.7319498327043325e-05, "ram": 1.977736275339339e-06, "gpu": 0, "total": 4.9297234602382665e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 957.80864, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 24, "total": 1.029964734000032, "mean": 0.042915197250001334, "stdev": 0.0018739611183676195, "p50": 0.04343676000002006, "p90": 0.04444390990000215, "p95": 0.044542927000026114, "p99": 0.04501621871000282, "values": [ 0.043731780999962666, 0.043067280000002484, 0.041901413999994475, 0.04455258400003004, 0.04379598100001658, 0.04356912700001203, 0.04293273899997985, 0.04186563700000079, 0.04347678400000632, 0.04448820400000386, 0.04335312399996383, 0.04336721999999327, 0.04227690499999426, 0.04515470699999469, 0.04374724000001606, 0.04434055699999817, 0.04352228999999852, 0.04257750499999702, 0.0433967360000338, 0.044253534999995736, 0.043743131999974594, 0.04220377100000405, 0.03738536200000908, 0.0372611190000498 ] }, "throughput": { "unit": "samples/s", "value": 23.301768699198252 }, "energy": { "unit": "kWh", "cpu": 1.4419212262816883e-06, "ram": 6.026083017673045e-08, "gpu": 0.0, "total": 1.5021820564584186e-06 }, "efficiency": { "unit": "samples/kWh", "value": 665698.2725233882 } } } }